[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
168/181: gnu: gupnp-igd: Build with gupnp-1.4.
From: |
guix-commits |
Subject: |
168/181: gnu: gupnp-igd: Build with gupnp-1.4. |
Date: |
Tue, 13 Sep 2022 02:26:32 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 042df7d4d82190a0b5fc1efffca07564d3bd4a78
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Sep 12 00:00:28 2022 -0400
gnu: gupnp-igd: Build with gupnp-1.4.
* gnu/packages/gnome.scm (gupnp-igd)
[arguments]: Use gexps.
[phases]: Delete trailing #t.
{patch-docbook-xml}: Use this-package-native-input.
{move-doc}: Use gexps.
[native-inputs]: Remove labels.
[propagated-inputs]: Remove gssdp, gupnp and libsoup. Add gupnp-1.4.
---
gnu/packages/gnome.scm | 69 +++++++++++++++++++++++++-------------------------
1 file changed, 35 insertions(+), 34 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index d375be34c2..a5bd7c397a 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -253,42 +253,43 @@
(build-system meson-build-system)
(outputs '("out" "doc"))
(arguments
- `(#:glib-or-gtk? #t ; To wrap binaries and compile schemas
- #:configure-flags (list "-Dgtk_doc=true")
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-docbook-xml
- (lambda* (#:key inputs #:allow-other-keys)
- (with-directory-excursion "doc"
- (substitute* "gupnp-igd-docs.xml"
- (("http://www.oasis-open.org/docbook/xml/4.1.2/")
- (string-append (assoc-ref inputs "docbook-xml-4.1.2")
- "/xml/dtd/docbook/"))))
- #t))
- (add-before 'check 'set-home
- (lambda _
- ;; A test using GIO expects ~/.config/glib-2.0/settings to be
- ;; writable.
- (setenv "HOME" (getcwd))))
- (add-after 'install 'move-doc
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (doc (assoc-ref outputs "doc")))
- (mkdir-p (string-append doc "/share"))
- (rename-file
- (string-append out "/share/gtk-doc")
- (string-append doc "/share/gtk-doc"))
- #t))))))
+ (list
+ #:glib-or-gtk? #t ; To wrap binaries and compile schemas
+ #:configure-flags #~(list "-Dgtk_doc=true")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "doc"
+ (substitute* "gupnp-igd-docs.xml"
+ (("http://www.oasis-open.org/docbook/xml/4.1.2/")
+ (string-append #$(this-package-native-input
+ "docbook-xml")
+ "/xml/dtd/docbook/"))))))
+ (add-before 'check 'set-home
+ (lambda _
+ ;; A test using GIO expects ~/.config/glib-2.0/settings to be
+ ;; writable.
+ (setenv "HOME" (getcwd))))
+ (add-after 'install 'move-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (mkdir-p (string-append #$output:doc "/share"))
+ (rename-file
+ (string-append #$output "/share/gtk-doc")
+ (string-append #$output:doc "/share/gtk-doc")))))))
(native-inputs
- `(("docbook-xml-4.1.2" ,docbook-xml-4.1.2)
- ("docbook-xsl" ,docbook-xsl)
- ("glib:bin" ,glib "bin")
- ("gobject-introspection" ,gobject-introspection)
- ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
- ("gtk-doc" ,gtk-doc/stable)
- ("pkg-config" ,pkg-config)))
+ (list docbook-xml-4.1.2
+ docbook-xsl
+ `(,glib "bin")
+ gobject-introspection
+ gsettings-desktop-schemas
+ gtk-doc/stable
+ pkg-config))
(propagated-inputs
- (list glib glib-networking gssdp gupnp libsoup))
+ ;; These libraries are required by the .pc file.
+ (list glib
+ glib-networking
+ gupnp-1.4))
(synopsis "UPnP IGD for GNOME")
(description "GUPnP-IGD is a library to handle UPnP IGD port mapping.")
(home-page "https://gitlab.gnome.org/GNOME/gupnp-igd")
- 101/181: gnu: libpeas: Update to 1.32.0., (continued)
- 101/181: gnu: libpeas: Update to 1.32.0., guix-commits, 2022/09/13
- 114/181: gnu: amtk: Update to 5.5.1., guix-commits, 2022/09/13
- 120/181: gnu: grilo-plugins: Update to 0.3.15., guix-commits, 2022/09/13
- 127/181: gnu: libgee: Update to 0.20.5., guix-commits, 2022/09/13
- 132/181: gnu: network-manager-openvpn: Update to 1.10.0., guix-commits, 2022/09/13
- 137/181: gnu: gtk-vnc: Update to 1.3.1., guix-commits, 2022/09/13
- 134/181: gnu: network-manager-openconnect: Update to 1.2.8., guix-commits, 2022/09/13
- 145/181: gnu: orca: Update to 42.3., guix-commits, 2022/09/13
- 148/181: gnu: cheese: Update to 41.1., guix-commits, 2022/09/13
- 147/181: gnu: lollypop: Update to 1.4.35 and enable tests., guix-commits, 2022/09/13
- 168/181: gnu: gupnp-igd: Build with gupnp-1.4.,
guix-commits <=
- 163/181: gnu: Add webkitgtk-next., guix-commits, 2022/09/13
- 154/181: gnu: polari: Update to 42.1., guix-commits, 2022/09/13
- 150/181: gnu: sound-juicer: Update to 3.38.0., guix-commits, 2022/09/13
- 151/181: gnu: ghex: Update to 42.3., guix-commits, 2022/09/13
- 152/181: gnu: libgit2-glib: Update to 1.1.0., guix-commits, 2022/09/13
- 159/181: gnu: sysprof: Update to 3.45.1., guix-commits, 2022/09/13
- 160/181: gnu: gnome-builder: Update to 42.1., guix-commits, 2022/09/13
- 58/181: gnu: gnome-bluetooth: Update to 42.4., guix-commits, 2022/09/13
- 65/181: gnu: evince: Update to 42.3., guix-commits, 2022/09/13
- 72/181: gnu: pango-next: Rename from "pango "to "pango-next"., guix-commits, 2022/09/13