[gnome-break-timer/dylanmccall/meson-build: 19/25] Put back Vala's Posix package



commit 5d26ed687c1718ce0afe8dd4be6b7d5cf8008906
Author: Dylan McCall <dylan dylanmccall com>
Date:   Wed Jan 9 23:45:15 2019 -0800

    Put back Vala's Posix package

 helper/main.vala   | 2 --
 helper/meson.build | 1 +
 meson.build        | 2 ++
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/helper/main.vala b/helper/main.vala
index 5c10de1..95fa01d 100644
--- a/helper/main.vala
+++ b/helper/main.vala
@@ -21,11 +21,9 @@ static HelperApplication application;
 
 public int main (string[] args) {
     application = new HelperApplication ();
-    /*
     Posix.signal (Posix.SIGINT, sigint_cb);
     Posix.signal (Posix.SIGTERM, sigint_cb);
     Posix.signal (Posix.SIGHUP, sigint_cb);
-    */
     int status = application.run (args);
     return status;
 }
diff --git a/helper/meson.build b/helper/meson.build
index 6ef6f09..bef2fce 100644
--- a/helper/meson.build
+++ b/helper/meson.build
@@ -36,6 +36,7 @@ helper_dependencies = [
     gee_dep,
     json_glib_dep,
     libnotify_dep,
+    posix_dep,
     m_dep
 ]
 
diff --git a/meson.build b/meson.build
index 040ea6d..c7b5403 100644
--- a/meson.build
+++ b/meson.build
@@ -17,6 +17,8 @@ gobject_dep = dependency('gobject-2.0')
 gtk_dep = dependency('gtk+-3.0')
 json_glib_dep = dependency('json-glib-1.0')
 libnotify_dep = dependency('libnotify')
+
+posix_dep = valac.find_library('posix')
 m_dep = cc.find_library('m', required : false)
 
 gettext_package = meson.project_name()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]