summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-07-27 23:45:54 +0200
committerMarius Bakke <mbakke@fastmail.com>2019-07-31 14:41:37 +0200
commitf9f72d35361bde53b8face634c72530aa7d81edf (patch)
tree59f98671b700dc5b9abef145a5d58a88d3601c25
parent014d4c149594f8e7f0e74eefd7255a03946596f3 (diff)
downloadguix-f9f72d35361bde53b8face634c72530aa7d81edf.tar.gz
gnu: glib: Update to 2.60.6.
* gnu/packages/patches/glib-keyfile-arguments.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/glib.scm (glib): Update to 2.60.6.
[source](patches): Remove obsolete patch.
-rw-r--r--gnu/local.mk1
-rw-r--r--gnu/packages/glib.scm7
-rw-r--r--gnu/packages/patches/glib-keyfile-arguments.patch20
3 files changed, 3 insertions, 25 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index 0517578bd2..27edacbc7e 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -856,7 +856,6 @@ dist_patch_DATA =						\
   %D%/packages/patches/ghostscript-no-header-uuid.patch		\
   %D%/packages/patches/ghostscript-no-header-creationdate.patch \
   %D%/packages/patches/giflib-make-reallocarray-private.patch	\
-  %D%/packages/patches/glib-keyfile-arguments.patch		\
   %D%/packages/patches/glib-tests-timer.patch			\
   %D%/packages/patches/glibc-CVE-2015-5180.patch		\
   %D%/packages/patches/glibc-CVE-2015-7547.patch		\
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 8f1b91e142..438c1f9cbc 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -159,7 +159,7 @@ shared NFS home directories.")
 (define glib
   (package
    (name "glib")
-   (version "2.60.5")
+   (version "2.60.6")
    (source (origin
             (method url-fetch)
             (uri (string-append "mirror://gnome/sources/"
@@ -167,9 +167,8 @@ shared NFS home directories.")
                                 name "-" version ".tar.xz"))
             (sha256
              (base32
-              "0bk2l9mhvc44c0gfg442wrifwj2fci1w71dsp3nb50pffvsivpry"))
-            (patches (search-patches "glib-tests-timer.patch"
-                                     "glib-keyfile-arguments.patch"))
+              "0v7vpx2md1gn0wwiirn7g4bhf2csfvcr03y96q2zv97ain6sp3zz"))
+            (patches (search-patches "glib-tests-timer.patch"))
             (modules '((guix build utils)))
             (snippet
              '(begin
diff --git a/gnu/packages/patches/glib-keyfile-arguments.patch b/gnu/packages/patches/glib-keyfile-arguments.patch
deleted file mode 100644
index 8d428f4192..0000000000
--- a/gnu/packages/patches/glib-keyfile-arguments.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Fix a problem with the keyfile backend whereby instantiating it with
-the default NULL value would cause an assertion error:
-
-https://gitlab.gnome.org/GNOME/glib/issues/1825
-
-This issue showed up when running the test suites of uhttpmock and spice.
-
-diff --git a/gio/gkeyfilesettingsbackend.c b/gio/gkeyfilesettingsbackend.c
---- a/gio/gkeyfilesettingsbackend.c
-+++ b/gio/gkeyfilesettingsbackend.c
-@@ -740,7 +740,8 @@ g_keyfile_settings_backend_set_property (GObject      *object,
-     case PROP_FILENAME:
-       /* Construct only. */
-       g_assert (kfsb->file == NULL);
--      kfsb->file = g_file_new_for_path (g_value_get_string (value));
-+      if (g_value_get_string (value))
-+        kfsb->file = g_file_new_for_path (g_value_get_string (value));
-       break;
- 
-     case PROP_ROOT_PATH: