gnu: glib: Update to 2.46.0.
* gnu/packages/glib.scm (glib): Update to 2.46.0. * gnu/packages/patches/glib-tests-desktop.patch: Add hunk to disable 'gdbus-unix-addresses' test.
This commit is contained in:
		
							parent
							
								
									bbe04ae102
								
							
						
					
					
						commit
						53b5856ac1
					
				
					 2 changed files with 16 additions and 6 deletions
				
			
		| 
						 | 
					@ -124,7 +124,7 @@ shared NFS home directories.")
 | 
				
			||||||
(define glib
 | 
					(define glib
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
   (name "glib")
 | 
					   (name "glib")
 | 
				
			||||||
   (version "2.44.1")
 | 
					   (version "2.46.0")
 | 
				
			||||||
   (source (origin
 | 
					   (source (origin
 | 
				
			||||||
            (method url-fetch)
 | 
					            (method url-fetch)
 | 
				
			||||||
            (uri (string-append "mirror://gnome/sources/"
 | 
					            (uri (string-append "mirror://gnome/sources/"
 | 
				
			||||||
| 
						 | 
					@ -132,7 +132,7 @@ shared NFS home directories.")
 | 
				
			||||||
                                name "-" version ".tar.xz"))
 | 
					                                name "-" version ".tar.xz"))
 | 
				
			||||||
            (sha256
 | 
					            (sha256
 | 
				
			||||||
             (base32
 | 
					             (base32
 | 
				
			||||||
              "01yabrfp64i11mrks3p1gcks99lw0zm7f5vhkc53sl4amyndw4c8"))
 | 
					              "1d5cpb2zp5js98jjnbfn1fb96kj1j3q3fz16gkqq0zdfd4sfikmi"))
 | 
				
			||||||
            (patches (list (search-patch "glib-tests-homedir.patch")
 | 
					            (patches (list (search-patch "glib-tests-homedir.patch")
 | 
				
			||||||
                           (search-patch "glib-tests-desktop.patch")
 | 
					                           (search-patch "glib-tests-desktop.patch")
 | 
				
			||||||
                           (search-patch "glib-tests-prlimit.patch")
 | 
					                           (search-patch "glib-tests-prlimit.patch")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -56,11 +56,12 @@ database, the `update-desktop-database' program, which we don't provide.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-----------------------------
 | 
					-----------------------------
 | 
				
			||||||
The hunk below removes tests that depend on `gdbus-testserver.py',
 | 
					The hunk below removes tests that depend on `gdbus-testserver.py',
 | 
				
			||||||
because that script depends on python-gobject.
 | 
					because that script depends on python-gobject.  The second hunk
 | 
				
			||||||
 | 
					disables a test that expects /etc/machine-id in the build environment.
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
--- glib-2.39.1/gio/tests/Makefile.in	2014-01-20 00:18:16.000000000 +0100
 | 
					--- glib-2.46.0/gio/tests/Makefile.in	2015-10-14 14:11:00.928809504 +0200
 | 
				
			||||||
+++ glib-2.39.1/gio/tests/Makefile.in	2014-01-20 00:18:47.000000000 +0100
 | 
					+++ glib-2.46.0/gio/tests/Makefile.in	2015-10-14 14:12:13.157291092 +0200
 | 
				
			||||||
@@ -171,20 +171,13 @@ check_PROGRAMS = $(am__EXEEXT_14)
 | 
					@@ -186,20 +186,13 @@ check_PROGRAMS = $(am__EXEEXT_16)
 | 
				
			||||||
 @HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@	gdbus-auth				\
 | 
					 @HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@	gdbus-auth				\
 | 
				
			||||||
 @HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@	gdbus-bz627724				\
 | 
					 @HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@	gdbus-bz627724				\
 | 
				
			||||||
 @HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@	gdbus-close-pending			\
 | 
					 @HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@	gdbus-close-pending			\
 | 
				
			||||||
| 
						 | 
					@ -79,7 +80,16 @@ because that script depends on python-gobject.
 | 
				
			||||||
 @HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@	gdbus-test-codegen-old			\
 | 
					 @HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@	gdbus-test-codegen-old			\
 | 
				
			||||||
-@HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@	gdbus-threading				\
 | 
					-@HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@	gdbus-threading				\
 | 
				
			||||||
 @HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@	gmenumodel				\
 | 
					 @HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@	gmenumodel				\
 | 
				
			||||||
 | 
					 @HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@	gnotification				\
 | 
				
			||||||
 @HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@	$(NULL)
 | 
					 @HAVE_DBUS_DAEMON_TRUE@@OS_UNIX_TRUE@	$(NULL)
 | 
				
			||||||
 | 
					@@ -321,8 +314,7 @@ libresourceplugin_la_LINK = $(LIBTOOL) $
 | 
				
			||||||
 | 
					 am__EXEEXT_1 =
 | 
				
			||||||
 | 
					 @OS_UNIX_TRUE@am__EXEEXT_2 = contenttype$(EXEEXT) file$(EXEEXT) \
 | 
				
			||||||
 | 
					 @OS_UNIX_TRUE@	gdbus-peer-object-manager$(EXEEXT) \
 | 
				
			||||||
 | 
					-@OS_UNIX_TRUE@	gdbus-unix-addresses$(EXEEXT) \
 | 
				
			||||||
 | 
					 @OS_UNIX_TRUE@	live-g-file$(EXEEXT) socket-address$(EXEEXT) \
 | 
				
			||||||
 | 
					 @OS_UNIX_TRUE@	stream-rw_all$(EXEEXT) unix-fd$(EXEEXT) \
 | 
				
			||||||
 | 
					 @OS_UNIX_TRUE@	unix-streams$(EXEEXT) $(am__EXEEXT_1) \
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The test below depends on the availability /etc/passwd to dbus-daemon.
 | 
					The test below depends on the availability /etc/passwd to dbus-daemon.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue