diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2013-10-09 00:09:04 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2013-10-09 00:11:34 +0200 |
| commit | 01eafd38fbeb49d8167d99569eb624ab404bbeb2 (patch) | |
| tree | cfbde1f3b011ee586bf4ce45b7f83d10fc28e2f4 /gnu/packages/avahi.scm | |
| parent | ac10e0e17e366d354ad8b3f91e03c1bdeddc7632 (diff) | |
gnu: Use the 'patches' field of <origin>.
* gnu/packages/apr.scm,
gnu/packages/autotools.scm,
gnu/packages/avahi.scm,
gnu/packages/cdrom.scm,
gnu/packages/cmake.scm,
gnu/packages/cpio.scm,
gnu/packages/cross-base.scm,
gnu/packages/emacs.scm,
gnu/packages/flex.scm,
gnu/packages/fontutils.scm,
gnu/packages/glib.scm,
gnu/packages/grub.scm,
gnu/packages/guile.scm,
gnu/packages/idutils.scm,
gnu/packages/libevent.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/make-bootstrap.scm,
gnu/packages/mp3.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/pdf.scm,
gnu/packages/plotutils.scm,
gnu/packages/qemu.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/system.scm,
gnu/packages/tcsh.scm,
gnu/packages/valgrind.scm,
gnu/packages/vpn.scm,
gnu/packages/w3m: Use the 'patches' field of <origin> instead of
adding a patch as input plus using #:patches.
Diffstat (limited to 'gnu/packages/avahi.scm')
| -rw-r--r-- | gnu/packages/avahi.scm | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/gnu/packages/avahi.scm b/gnu/packages/avahi.scm index 14073b32a0f..2d2a4a43c12 100644 --- a/gnu/packages/avahi.scm +++ b/gnu/packages/avahi.scm | |||
| @@ -39,7 +39,8 @@ | |||
| 39 | version ".tar.gz")) | 39 | version ".tar.gz")) |
| 40 | (sha256 | 40 | (sha256 |
| 41 | (base32 | 41 | (base32 |
| 42 | "0j5b5ld6bjyh3qhd2nw0jb84znq0wqai7fsrdzg7bpg24jdp2wl3")))) | 42 | "0j5b5ld6bjyh3qhd2nw0jb84znq0wqai7fsrdzg7bpg24jdp2wl3")) |
| 43 | (patches (list (search-patch "avahi-localstatedir.patch"))))) | ||
| 43 | (build-system gnu-build-system) | 44 | (build-system gnu-build-system) |
| 44 | (arguments | 45 | (arguments |
| 45 | '(#:configure-flags '("--with-distro=none" | 46 | '(#:configure-flags '("--with-distro=none" |
| @@ -50,8 +51,7 @@ | |||
| 50 | "--disable-xmltoman" | 51 | "--disable-xmltoman" |
| 51 | "--enable-tests" | 52 | "--enable-tests" |
| 52 | "--disable-qt3" "--disable-qt4" | 53 | "--disable-qt3" "--disable-qt4" |
| 53 | "--disable-gtk" "--disable-gtk3") | 54 | "--disable-gtk" "--disable-gtk3"))) |
| 54 | #:patches (list (assoc-ref %build-inputs "patch/localstatedir")))) | ||
| 55 | (inputs | 55 | (inputs |
| 56 | `(("expat" ,expat) | 56 | `(("expat" ,expat) |
| 57 | ("glib" ,glib) | 57 | ("glib" ,glib) |
| @@ -59,10 +59,7 @@ | |||
| 59 | ("libdaemon" ,libdaemon) | 59 | ("libdaemon" ,libdaemon) |
| 60 | ("intltool" ,intltool) | 60 | ("intltool" ,intltool) |
| 61 | ("pkg-config" ,pkg-config) | 61 | ("pkg-config" ,pkg-config) |
| 62 | ("gdbm" ,gdbm) | 62 | ("gdbm" ,gdbm))) |
| 63 | |||
| 64 | ("patch/localstatedir" | ||
| 65 | ,(search-patch "avahi-localstatedir.patch")))) | ||
| 66 | (synopsis "Avahi, an mDNS/DNS-SD implementation") | 63 | (synopsis "Avahi, an mDNS/DNS-SD implementation") |
| 67 | (description | 64 | (description |
| 68 | "Avahi is a system which facilitates service discovery on a local | 65 | "Avahi is a system which facilitates service discovery on a local |
