guix-commits
[Top][All Lists]
Advanced

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

05/28: gnu: dconf: Fix build failure with Meson 0.52.


From: guix-commits
Subject: 05/28: gnu: dconf: Fix build failure with Meson 0.52.
Date: Wed, 8 Jan 2020 15:58:45 -0500 (EST)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 46c3a08b2ee8d5abae9f8fb42ff68dbf211dd261
Author: Marius Bakke <address@hidden>
AuthorDate: Fri Dec 6 18:20:51 2019 +0100

    gnu: dconf: Fix build failure with Meson 0.52.
    
    * gnu/packages/patches/dconf-meson-0.52.patch: New file.
    * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
    * gnu/packages/gnome.scm (dconf)[source](patches): New field.
---
 gnu/local.mk                                |  1 +
 gnu/packages/gnome.scm                      |  1 +
 gnu/packages/patches/dconf-meson-0.52.patch | 19 +++++++++++++++++++
 3 files changed, 21 insertions(+)

diff --git a/gnu/local.mk b/gnu/local.mk
index 7cb5cad..234d283 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -798,6 +798,7 @@ dist_patch_DATA =                                           
\
   %D%/packages/patches/dbus-helper-search-path.patch           \
   %D%/packages/patches/dbus-c++-gcc-compat.patch               \
   %D%/packages/patches/dbus-c++-threading-mutex.patch          \
+  %D%/packages/patches/dconf-meson-0.52.patch                  \
   %D%/packages/patches/debops-constants-for-external-program-names.patch \
   %D%/packages/patches/debops-debops-defaults-fall-back-to-less.patch \
   %D%/packages/patches/deja-dup-use-ref-keyword-for-iter.patch \
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index dd9ac29..37873e4 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2851,6 +2851,7 @@ and RDP protocols.")
                     "mirror://gnome/sources/" name "/"
                     (version-major+minor version) "/"
                     name "-" version ".tar.xz"))
+              (patches (search-patches "dconf-meson-0.52.patch"))
               (sha256
                (base32
                 "1azz4hb9z76yxn34yrrsiib3iqz5z4vpwn5q7cncp55w365ygg38"))))
diff --git a/gnu/packages/patches/dconf-meson-0.52.patch 
b/gnu/packages/patches/dconf-meson-0.52.patch
new file mode 100644
index 0000000..c636edc
--- /dev/null
+++ b/gnu/packages/patches/dconf-meson-0.52.patch
@@ -0,0 +1,19 @@
+Fix build failure with Meson 0.52.
+
+Taken from upstream:
+https://gitlab.gnome.org/GNOME/dconf/commit/7ad890fb7a2ec90a777a756a1fa20a615ec7245e
+https://gitlab.gnome.org/GNOME/dconf/merge_requests/54
+
+diff --git a/client/meson.build b/client/meson.build
+index 
f3b7122cb05bfa7bb481c487e3cd052aa1ad58e5..de6387e2cac2aba12b83f2614c277bada434fd16
 100644
+--- a/client/meson.build
++++ b/client/meson.build
+@@ -28,7 +28,7 @@ libdconf_client = static_library(
+ 
+ libdconf_client_dep = declare_dependency(
+   dependencies: gio_dep,
+-  link_whole: libdconf_client,
++  link_with: libdconf_client,
+ )
+ 
+ libdconf = shared_library(



reply via email to

[Prev in Thread] Current Thread [Next in Thread]