[PATCH] [core-updates] gnu: glib: Reference dbus-launch by its absolute path.

DoneSubmitted by Maxim Cournoyer.
Details
2 participants
  • Danny Milosavljevic
  • Maxim Cournoyer
Owner
unassigned
Severity
normal
M
M
Maxim Cournoyer wrote on 11 Sep 2019 14:32
(name . guix-patches)(address . guix-patches@gnu.org)
87k1afqaha.fsf@gmail.com
Hello,
This allows programs or libraries compiled with glib to connect to dbuswithout having the 'dbus-launch' binary present (propagated) into theirprofile.
dbus triggers lots of rebuilds, so this should be merged to thecore-updates branch.
Thank you,
Maxim
From 1881ad1305f55f3bf7ac7a48ea1c76123f2864b2 Mon Sep 17 00:00:00 2001From: Maxim Cournoyer <maxim.cournoyer@gmail.com>Date: Tue, 10 Sep 2019 11:02:16 +0900Subject: [PATCH] gnu: glib: Reference dbus-launch by its absolute path.
* gnu/packages/glib.scm (glib)[phases]{patch-dbus-launch-path}: New phase.--- gnu/packages/glib.scm | 8 ++++++++ 1 file changed, 8 insertions(+)
Toggle diff (21 lines)diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scmindex 3a50347f86..fb148eec19 100644--- 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 = g_strdup_printf \\(\"dbus-launch")+ (string-append "command_line = g_strdup_printf (\""+ dbus "/bin/dbus-launch")))+ #t))) (add-before 'build 'pre-build (lambda* (#:key inputs outputs #:allow-other-keys) ;; For tests/gdatetime.c.-- 2.23.0
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEJ9WGpPiQCFQyn/CfEmDkZILmNWIFAl146XEACgkQEmDkZILmNWIjHA//UIbMs3PCLlI6VsyfJq+/jtb2cgqtP1Biv7SsjGlsawHN1J9H0MMSdGaqxjW9PXqCLzTg+AFUWVhcZHweRbTg/yvYcVZi/d9q6uDcmgcBhY6d/Td9Pd0pb9RLdqy9P8mCJkMmnNoTtOD4dET5tafOm+964dlUes7FxXewJBmLI88CxiZ57cpgYp2+wuJjtvSS9wRu842iz/403nKPQxmW+S3Pt5tWTfDrbYFeoZl/wR7SZ+dEHitmvWYSQ6NvcplKNzm2Q+q44kKupqw5mISB21TaIGDF42NkMiMvdMV7tLvJQmJKfg0QcTr4lXc/eHHt8jj5/a5wEKlMuoOF+1DH/1ssT4BnrKcBQrI9as66VabaqZYuDIWSLk7eOKCrnMPHov50sMtAo7ZSpgLqkqH5VKx+pJQh8oRQYQNI1w700VXVXDFhICh8kBE6x399OzEHKeEBIAAeKe9JbfTHTIEfjEXlhf7N3S9+vAiJY84iyIlxWLIYiSEjRAgJHaP2Oxh1AThxWNOZmpG7EE0RUJvo44C2KI2o3JrxvIZVv6DEmdTDe+M78z/qSqlPrJq3YyMkTOoXoElSy4GkokDme0SxTtnbAaRYoawqqGN4gvwGAtAS4OJ9/hRdvKmFhUbIduVOvCspqXqcJPpJY9o6esE+yfTfAQ/rOmz3FEkZo2JPtQ4==VsQV-----END PGP SIGNATURE-----
D
D
Danny Milosavljevic wrote on 2 Oct 2019 01:41
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)(address . 37379@debbugs.gnu.org)
20191002014144.02833a98@scratchpost.org
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl2T5DgACgkQ5xo1VCwwuqVjKgf/e3SClNtM4PZesAR0x2jyZqQCx7Qrt6tekt9XpIQ/hFREFkU621ysVLgrGdUj2JRD/AmdNSN/gj41UhfiqUMOiPXjGPgn6slUvL5GZn+R9M/5/E20pD95mdlvqNyIpdPvRbmUMtfRt8lW7CZJsllOkif9fW10nB75m90I+IcciOhgdge7cQN/FdTV++8dlhRdPROeIgw1bDKBkfNn66rZCywnCs01io6Sn4oUKH6HAdqG7cbZ28paHLtAstHhIZuf3J4pCuBJV/ltYDzMZZPKzIiVYgIM1xvIHxe7Qkb3Xgpct9N6SqjqAINSXHian9oQUd1D6uB3P7BUg6YR+iRewA===9T/I-----END PGP SIGNATURE-----

M
M
Maxim Cournoyer wrote on 2 Oct 2019 16:46
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)(address . 37379@debbugs.gnu.org)
87lfu39pe8.fsf@gmail.com
Hello Danny!
Danny Milosavljevic <dannym@scratchpost.org> writes:
Toggle quote (2 lines)> LGTM!
Thank you for the review. I'll delay merging this into core-updatesuntil it has been merged to master (which should be imminent).
Maxim
M
M
Maxim Cournoyer wrote on 21 Oct 2019 05:04
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)(address . 37379-done@debbugs.gnu.org)
874l02x0hc.fsf@gmail.com
Hello,
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
Toggle quote (11 lines)> Hello Danny!>> Danny Milosavljevic <dannym@scratchpost.org> writes:>>> LGTM!>> Thank you for the review. I'll delay merging this into core-updates> until it has been merged to master (which should be imminent).>> Maxim
Pushed to core-updates as 7da3e81aa1.
Closing,
Maxim
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 37379@debbugs.gnu.org