From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:49458) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i81nz-0007da-7C for guix-patches@gnu.org; Wed, 11 Sep 2019 08:33:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i81ny-0007zG-3x for guix-patches@gnu.org; Wed, 11 Sep 2019 08:33:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33297) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i81ny-0007zA-16 for guix-patches@gnu.org; Wed, 11 Sep 2019 08:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i81nx-0004E0-T7 for guix-patches@gnu.org; Wed, 11 Sep 2019 08:33:01 -0400 Subject: [bug#37379] [PATCH] [core-updates] gnu: glib: Reference dbus-launch by its absolute path. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:49407) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i81nu-0007ay-4R for guix-patches@gnu.org; Wed, 11 Sep 2019 08:32:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i81nt-0007uk-5c for guix-patches@gnu.org; Wed, 11 Sep 2019 08:32:58 -0400 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]:40846) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i81ns-0007uC-Qo for guix-patches@gnu.org; Wed, 11 Sep 2019 08:32:57 -0400 Received: by mail-pf1-x42a.google.com with SMTP id x127so13577925pfb.7 for ; Wed, 11 Sep 2019 05:32:56 -0700 (PDT) Received: from x200 ([240f:c7:38e9:1:314b:485c:9ba4:72c6]) by smtp.gmail.com with ESMTPSA id a128sm25863788pfb.185.2019.09.11.05.32.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2019 05:32:54 -0700 (PDT) From: Maxim Cournoyer Date: Wed, 11 Sep 2019 21:32:49 +0900 Message-ID: <87k1afqaha.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37379@debbugs.gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello, This allows programs or libraries compiled with glib to connect to dbus without having the 'dbus-launch' binary present (propagated) into their profile. dbus triggers lots of rebuilds, so this should be merged to the core-updates branch. Thank you, Maxim --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-glib-Reference-dbus-launch-by-its-absolute-path.patch Content-Transfer-Encoding: quoted-printable From=201881ad1305f55f3bf7ac7a48ea1c76123f2864b2 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Tue, 10 Sep 2019 11:02:16 +0900 Subject: [PATCH] gnu: glib: Reference dbus-launch by its absolute path. * gnu/packages/glib.scm (glib)[phases]{patch-dbus-launch-path}: New phase. =2D-- gnu/packages/glib.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index 3a50347f86..fb148eec19 100644 =2D-- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -199,6 +199,14 @@ shared NFS home directories.") (arguments `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-dbus-launch-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((dbus (assoc-ref inputs "dbus"))) + (substitute* "gio/gdbusaddress.c" + (("command_line =3D g_strdup_printf \\(\"dbus-launch") + (string-append "command_line =3D g_strdup_printf (\"" + dbus "/bin/dbus-launch"))) + #t))) (add-before 'build 'pre-build (lambda* (#:key inputs outputs #:allow-other-keys) ;; For tests/gdatetime.c. =2D-=20 2.23.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJ9WGpPiQCFQyn/CfEmDkZILmNWIFAl146XEACgkQEmDkZILm NWIjHA//UIbMs3PCLlI6VsyfJq+/jtb2cgqtP1Biv7SsjGlsawHN1J9H0MMSdGaq xjW9PXqCLzTg+AFUWVhcZHweRbTg/yvYcVZi/d9q6uDcmgcBhY6d/Td9Pd0pb9RL dqy9P8mCJkMmnNoTtOD4dET5tafOm+964dlUes7FxXewJBmLI88CxiZ57cpgYp2+ wuJjtvSS9wRu842iz/403nKPQxmW+S3Pt5tWTfDrbYFeoZl/wR7SZ+dEHitmvWYS Q6NvcplKNzm2Q+q44kKupqw5mISB21TaIGDF42NkMiMvdMV7tLvJQmJKfg0QcTr4 lXc/eHHt8jj5/a5wEKlMuoOF+1DH/1ssT4BnrKcBQrI9as66VabaqZYuDIWSLk7e OKCrnMPHov50sMtAo7ZSpgLqkqH5VKx+pJQh8oRQYQNI1w700VXVXDFhICh8kBE6 x399OzEHKeEBIAAeKe9JbfTHTIEfjEXlhf7N3S9+vAiJY84iyIlxWLIYiSEjRAgJ HaP2Oxh1AThxWNOZmpG7EE0RUJvo44C2KI2o3JrxvIZVv6DEmdTDe+M78z/qSqlP rJq3YyMkTOoXoElSy4GkokDme0SxTtnbAaRYoawqqGN4gvwGAtAS4OJ9/hRdvKmF hUbIduVOvCspqXqcJPpJY9o6esE+yfTfAQ/rOmz3FEkZo2JPtQ4= =VsQV -----END PGP SIGNATURE----- --==-=-=--