all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 1/2] gnu: dnsmasq: Enable dbus support
@ 2017-01-19  6:55 Christopher Baines
  2017-01-19  6:55 ` [PATCH 2/2] services: network-manager: Use record for configuration Christopher Baines
  2017-01-19 12:06 ` [PATCH 1/2] gnu: dnsmasq: Enable dbus support 宋文武
  0 siblings, 2 replies; 7+ messages in thread
From: Christopher Baines @ 2017-01-19  6:55 UTC (permalink / raw)
  To: guix-devel

* gnu/pacakges/dns.scm (dnsmasq): Enable dbus support to allow for
NetworkManager to use dnsmasq.
[native-inputs]: Add pkg-config.
[inputs]: Add dbus.
[arguments]: Add COPTS="-DHAVE_DBUS" to make-flags.
---
 gnu/packages/dns.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index 2934e8e27..9d7739524 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -28,6 +28,7 @@
   #:use-module (gnu packages base)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages crypto)
+  #:use-module (gnu packages glib)
   #:use-module (gnu packages groff)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages linux)
@@ -53,11 +54,16 @@
                (base32
                 "15lzih6671gh9knzpl8mxchiml7z5lfqzr7jm2r0rjhrxs6nk4jb"))))
     (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("dbus" ,dbus)))
     (arguments
      `(#:phases
        (alist-delete 'configure %standard-phases)
        #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
-                          "CC=gcc")
+                          "CC=gcc"
+                          "COPTS=\"-DHAVE_DBUS\"")
        ;; No 'check' target.
        #:tests? #f))
     (home-page "http://www.thekelleys.org.uk/dnsmasq/doc.html")
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-01-20 13:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-19  6:55 [PATCH 1/2] gnu: dnsmasq: Enable dbus support Christopher Baines
2017-01-19  6:55 ` [PATCH 2/2] services: network-manager: Use record for configuration Christopher Baines
2017-01-19 11:44   ` 宋文武
2017-01-20  8:01     ` [PATCH] " Christopher Baines
2017-01-20  8:48     ` [PATCH 2/2] " Christopher Baines
2017-01-20 13:48       ` 宋文武
2017-01-19 12:06 ` [PATCH 1/2] gnu: dnsmasq: Enable dbus support 宋文武

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.