GNU bug report logs -
#36896
Evolution needs gsettings-desktop-schemas
Previous Next
Reported by: Martin Becze <mjbecze <at> riseup.net>
Date: Thu, 1 Aug 2019 22:16:02 UTC
Severity: normal
Done: Tobias Geerinckx-Rice <me <at> tobias.gr>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36896 in the body.
You can then email your comments to 36896 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#36896
; Package
guix
.
(Thu, 01 Aug 2019 22:16:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Martin Becze <mjbecze <at> riseup.net>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 01 Aug 2019 22:16:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Evolution will crash immediate if gsettings-desktop-schemas is not also
installed
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36896
; Package
guix
.
(Fri, 02 Aug 2019 02:33:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 36896 <at> debbugs.gnu.org (full text, mbox):
---
gnu/packages/gnome.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 3f7bbac214..c33653f361 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8074,6 +8074,8 @@ generic enough to work for everyone.")
("openldap" ,openldap)
("webkitgtk" ,webkitgtk)
("ytnef" ,ytnef)))
+ (propagated-inputs
+ `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
(home-page "https://gitlab.gnome.org/GNOME/evolution")
(synopsis "Manage your email, contacts and schedule")
(description "Evolution is a personal information management application
--
2.22.0
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36896
; Package
guix
.
(Mon, 05 Aug 2019 01:25:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 36896 <at> debbugs.gnu.org (full text, mbox):
On 2019-08-01 22:28, null wrote:
> ---
> gnu/packages/gnome.scm | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
> index 3f7bbac214..c33653f361 100644
> --- a/gnu/packages/gnome.scm
> +++ b/gnu/packages/gnome.scm
> @@ -8074,6 +8074,8 @@ generic enough to work for everyone.")
> ("openldap" ,openldap)
> ("webkitgtk" ,webkitgtk)
> ("ytnef" ,ytnef)))
> + (propagated-inputs
> + `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
> (home-page "https://gitlab.gnome.org/GNOME/evolution")
> (synopsis "Manage your email, contacts and schedule")
> (description "Evolution is a personal information management application
bump :)
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36896
; Package
guix
.
(Mon, 05 Aug 2019 11:41:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 36896 <at> debbugs.gnu.org (full text, mbox):
Hi,
null <mjbecze <at> riseup.net> writes:
> ---
> gnu/packages/gnome.scm | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
> index 3f7bbac214..c33653f361 100644
> --- a/gnu/packages/gnome.scm
> +++ b/gnu/packages/gnome.scm
> @@ -8074,6 +8074,8 @@ generic enough to work for everyone.")
> ("openldap" ,openldap)
> ("webkitgtk" ,webkitgtk)
> ("ytnef" ,ytnef)))
> + (propagated-inputs
> + `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
> (home-page "https://gitlab.gnome.org/GNOME/evolution")
> (synopsis "Manage your email, contacts and schedule")
> (description "Evolution is a personal information management application
Thank you for the patch.
I’m not sure this is the right thing to do. I don’t think we ever
propagate this package. Instead we often wrap executables so that
relevant environment variables are set. Would this work in the case of
Evolution as well?
--
Ricardo
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36896
; Package
guix
.
(Mon, 05 Aug 2019 19:18:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 36896 <at> debbugs.gnu.org (full text, mbox):
On 2019-08-05 07:40, Ricardo Wurmus wrote:
> Hi,
>
> null <mjbecze <at> riseup.net> writes:
>
>> ---
>> gnu/packages/gnome.scm | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
>> index 3f7bbac214..c33653f361 100644
>> --- a/gnu/packages/gnome.scm
>> +++ b/gnu/packages/gnome.scm
>> @@ -8074,6 +8074,8 @@ generic enough to work for everyone.")
>> ("openldap" ,openldap)
>> ("webkitgtk" ,webkitgtk)
>> ("ytnef" ,ytnef)))
>> + (propagated-inputs
>> + `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
>> (home-page "https://gitlab.gnome.org/GNOME/evolution")
>> (synopsis "Manage your email, contacts and schedule")
>> (description "Evolution is a personal information management application
>
> Thank you for the patch.
>
> I’m not sure this is the right thing to do. I don’t think we ever
> propagate this package. Instead we often wrap executables so that
> relevant environment variables are set. Would this work in the case of
> Evolution as well?
The terminator packagage propagates gsetting-desktop-schema as well
https://github.com/guix-mirror/guix/blob/8126142baf2cadd7b0052ba7b1d0cd248c8cbc40/gnu/packages/gnome.scm#L8159-L8161
but maybe its also doing the wrong thing? I'll look in to how to wrap
the executable and see if that will work.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36896
; Package
guix
.
(Mon, 05 Aug 2019 20:31:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 36896 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Martin, Ricardo,
I agree with Ricardo (here and in matters of fonts) that
propagation is to be avoided at all reasonable costs, so…
Martin Becze 写道:
> The terminator packagage propagates gsetting-desktop-schema as
> well
> but maybe its also doing the wrong thing?
…that was a mistake, in retrospect, fixed in
96681d4be101c771fafd4257aca471685119fedd.
You can probably apply that same fix directly to Evolution. There
should be no need to propagate anything.
Thanks!
T G-R
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36896
; Package
guix
.
(Sat, 17 Aug 2019 14:36:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 36896 <at> debbugs.gnu.org (full text, mbox):
---
gnu/packages/gnome.scm | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index d5e46e09c1..1a091de938 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -39,6 +39,7 @@
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul <at> autistici.org>
;;; Copyright © 2019 Jelle Licht <jlicht <at> fsfe.org>
;;; Copyright © 2019 Jonathan Frederickson <jonathan <at> terracrypt.net>
+;;; Copyright © 2019 Martin Becze <mjbecze <at> riseup.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -8100,7 +8101,18 @@ generic enough to work for everyone.")
"0sdv5lg2vlz5f4raymz9d8a5jq4j18vbqyigaip6508p3bjnfj8l"))))
(build-system cmake-build-system)
(arguments
- `(#:configure-flags
+ `(
+ #:phases
+ (modify-phases %standard-phases
+ (add-after
+ 'install 'wrap-program
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (wrap-program (string-append out "/bin/evolution")
+ `("GSETTINGS_SCHEMA_DIR" = (,(string-append out "/share/glib-2.0/schemas/")))
+ `("XDG_DATA_DIRS" = (,(getenv "XDG_DATA_DIRS")))))
+ #t)))
+ #:configure-flags
(list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
"-DENABLE_LIBCRYPTUI=OFF"))) ; libcryptui hasn't seen a release
; in four years and cannot be built.
@@ -8113,6 +8125,7 @@ generic enough to work for everyone.")
`(("enchant" ,enchant)
("evolution-data-server" ,evolution-data-server) ; must be the same version
("gcr" ,gcr)
+ ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("gnome-autoar" ,gnome-autoar)
("gnome-desktop" ,gnome-desktop)
("gtkspell3" ,gtkspell3)
--
2.22.0
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36896
; Package
guix
.
(Sat, 17 Aug 2019 14:37:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 36896 <at> debbugs.gnu.org (full text, mbox):
---
gnu/packages/gnome.scm | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index d5e46e09c1..1a091de938 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -39,6 +39,7 @@
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul <at> autistici.org>
;;; Copyright © 2019 Jelle Licht <jlicht <at> fsfe.org>
;;; Copyright © 2019 Jonathan Frederickson <jonathan <at> terracrypt.net>
+;;; Copyright © 2019 Martin Becze <mjbecze <at> riseup.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -8100,7 +8101,18 @@ generic enough to work for everyone.")
"0sdv5lg2vlz5f4raymz9d8a5jq4j18vbqyigaip6508p3bjnfj8l"))))
(build-system cmake-build-system)
(arguments
- `(#:configure-flags
+ `(
+ #:phases
+ (modify-phases %standard-phases
+ (add-after
+ 'install 'wrap-program
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (wrap-program (string-append out "/bin/evolution")
+ `("GSETTINGS_SCHEMA_DIR" = (,(string-append out "/share/glib-2.0/schemas/")))
+ `("XDG_DATA_DIRS" = (,(getenv "XDG_DATA_DIRS")))))
+ #t)))
+ #:configure-flags
(list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
"-DENABLE_LIBCRYPTUI=OFF"))) ; libcryptui hasn't seen a release
; in four years and cannot be built.
@@ -8113,6 +8125,7 @@ generic enough to work for everyone.")
`(("enchant" ,enchant)
("evolution-data-server" ,evolution-data-server) ; must be the same version
("gcr" ,gcr)
+ ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("gnome-autoar" ,gnome-autoar)
("gnome-desktop" ,gnome-desktop)
("gtkspell3" ,gtkspell3)
--
2.22.0
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36896
; Package
guix
.
(Tue, 20 Aug 2019 13:05:02 GMT)
Full text and
rfc822 format available.
Message #29 received at 36896 <at> debbugs.gnu.org (full text, mbox):
On 2019-08-05 16:30, Tobias Geerinckx-Rice wrote:
> Martin, Ricardo,
>
> I agree with Ricardo (here and in matters of fonts) that propagation
> is to be avoided at all reasonable costs, so…
>
> Martin Becze 写道:
>> The terminator packagage propagates gsetting-desktop-schema as well
>> but maybe its also doing the wrong thing?
>
> …that was a mistake, in retrospect, fixed in
> 96681d4be101c771fafd4257aca471685119fedd.
>
> You can probably apply that same fix directly to Evolution. There
> should be no need to propagate anything.
>
> Thanks!
>
> T G-R
bumping! :P
I sent a new patch in (using git sendemail) but it didn't thread quite
correctly.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36896
; Package
guix
.
(Tue, 27 Aug 2019 08:24:02 GMT)
Full text and
rfc822 format available.
Message #32 received at 36896 <at> debbugs.gnu.org (full text, mbox):
On 2019-08-20 09:04, Martin Becze wrote:
> On 2019-08-05 16:30, Tobias Geerinckx-Rice wrote:
>> Martin, Ricardo,
>>
>> I agree with Ricardo (here and in matters of fonts) that propagation
>> is to be avoided at all reasonable costs, so…
>>
>> Martin Becze 写道:
>>> The terminator packagage propagates gsetting-desktop-schema as well
>>> but maybe its also doing the wrong thing?
>>
>> …that was a mistake, in retrospect, fixed in
>> 96681d4be101c771fafd4257aca471685119fedd.
>>
>> You can probably apply that same fix directly to Evolution. There
>> should be no need to propagate anything.
>>
>> Thanks!
>>
>> T G-R
>
> bumping! :P
> I sent a new patch in (using git sendemail) but it didn't thread quite
> correctly.
bumping! I have a few more evolution patches but need to get this one in
first.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36896
; Package
guix
.
(Tue, 03 Sep 2019 15:48:01 GMT)
Full text and
rfc822 format available.
Message #35 received at 36896 <at> debbugs.gnu.org (full text, mbox):
On 2019-08-27 04:23, Martin Becze wrote:
> On 2019-08-20 09:04, Martin Becze wrote:
>> On 2019-08-05 16:30, Tobias Geerinckx-Rice wrote:
>>> Martin, Ricardo,
>>>
>>> I agree with Ricardo (here and in matters of fonts) that propagation
>>> is to be avoided at all reasonable costs, so…
>>>
>>> Martin Becze 写道:
>>>> The terminator packagage propagates gsetting-desktop-schema as well
>>>> but maybe its also doing the wrong thing?
>>>
>>> …that was a mistake, in retrospect, fixed in
>>> 96681d4be101c771fafd4257aca471685119fedd.
>>>
>>> You can probably apply that same fix directly to Evolution. There
>>> should be no need to propagate anything.
>>>
>>> Thanks!
>>>
>>> T G-R
>>
>> bumping! :P
>> I sent a new patch in (using git sendemail) but it didn't thread quite
>> correctly.
>
> bumping! I have a few more evolution patches but need to get this one in
> first
bumping!
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36896
; Package
guix
.
(Tue, 03 Sep 2019 16:00:02 GMT)
Full text and
rfc822 format available.
Message #38 received at 36896 <at> debbugs.gnu.org (full text, mbox):
Hi Martin,
>>> I sent a new patch in (using git sendemail) but it didn't thread quite
>>> correctly.
>>
>> bumping! I have a few more evolution patches but need to get this one in
>> first
>
> bumping!
Sorry for the delay! Where can I find the new patch that you’ve sent?
I don’t see it in your previous emails.
--
Ricardo
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36896
; Package
guix
.
(Wed, 04 Sep 2019 11:10:01 GMT)
Full text and
rfc822 format available.
Message #41 received at 36896 <at> debbugs.gnu.org (full text, mbox):
On 2019-09-03 11:59, Ricardo Wurmus wrote:
> Hi Martin,
>
>>>> I sent a new patch in (using git sendemail) but it didn't thread quite
>>>> correctly.
>>>
>>> bumping! I have a few more evolution patches but need to get this one in
>>> first
>>
>> bumping!
>
> Sorry for the delay! Where can I find the new patch that you’ve sent?
> I don’t see it in your previous emails.
hmm maybe i did something wrong when sending with "git-sendemail" it
showed up here https://issues.guix.info/issue/36896
Anyways here is the patch!
---
gnu/packages/gnome.scm | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index d5e46e09c1..1a091de938 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -39,6 +39,7 @@
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul <at> autistici.org>
;;; Copyright © 2019 Jelle Licht <jlicht <at> fsfe.org>
;;; Copyright © 2019 Jonathan Frederickson <jonathan <at> terracrypt.net>
+;;; Copyright © 2019 Martin Becze <mjbecze <at> riseup.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -8100,7 +8101,18 @@ generic enough to work for everyone.")
"0sdv5lg2vlz5f4raymz9d8a5jq4j18vbqyigaip6508p3bjnfj8l"))))
(build-system cmake-build-system)
(arguments
- `(#:configure-flags
+ `(
+ #:phases
+ (modify-phases %standard-phases
+ (add-after
+ 'install 'wrap-program
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (wrap-program (string-append out "/bin/evolution")
+ `("GSETTINGS_SCHEMA_DIR" = (,(string-append out
"/share/glib-2.0/schemas/")))
+ `("XDG_DATA_DIRS" = (,(getenv "XDG_DATA_DIRS")))))
+ #t)))
+ #:configure-flags
(list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
"-DENABLE_LIBCRYPTUI=OFF"))) ; libcryptui hasn't seen a
release
; in four years and cannot be
built.
@@ -8113,6 +8125,7 @@ generic enough to work for everyone.")
`(("enchant" ,enchant)
("evolution-data-server" ,evolution-data-server) ; must be the
same version
("gcr" ,gcr)
+ ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("gnome-autoar" ,gnome-autoar)
("gnome-desktop" ,gnome-desktop)
("gtkspell3" ,gtkspell3)
--
2.22.0
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36896
; Package
guix
.
(Wed, 04 Sep 2019 12:18:01 GMT)
Full text and
rfc822 format available.
Message #44 received at 36896 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Martin,
Martin Becze 写道:
> hmm maybe i did something wrong when sending with
> "git-sendemail" it
> showed up here https://issues.guix.info/issue/36896
Strange… It can't find it in my mailbox either.
Is there a commit message?
> `("GSETTINGS_SCHEMA_DIR" = (,(string-append out
> "/share/glib-2.0/schemas/")))
Please wrap long lines like these at 80 characters. I'd do so
after ‘=’.
> + `("XDG_DATA_DIRS" = (,(getenv
> "XDG_DATA_DIRS")))))
I think this is something we want to append (":" suffix), not
override outright (=), no?
Grepping through Guix, I see that ‘prefix’ is popular too, but
I'm not sure why. Does that still grant users the same control
over the result? (This question for extra credit only :-)
Thanks, and sorry for the wait,
T G-R
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36896
; Package
guix
.
(Fri, 06 Sep 2019 10:01:02 GMT)
Full text and
rfc822 format available.
Message #47 received at 36896 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 9/4/19 2:17 PM, Tobias Geerinckx-Rice wrote:
> Martin,
>
> Martin Becze 写道:
>> hmm maybe i did something wrong when sending with "git-sendemail" it
>> showed up here https://issues.guix.info/issue/36896
>
> Strange… It can't find it in my mailbox either.
>
> Is there a commit message?
>
>> `("GSETTINGS_SCHEMA_DIR" = (,(string-append out
>> "/share/glib-2.0/schemas/")))
>
> Please wrap long lines like these at 80 characters. I'd do so after ‘=’.
>
>> + `("XDG_DATA_DIRS" = (,(getenv "XDG_DATA_DIRS")))))
>
> I think this is something we want to append (":" suffix), not override
> outright (=), no?
>
> Grepping through Guix, I see that ‘prefix’ is popular too, but I'm not
> sure why. Does that still grant users the same control over the
> result? (This question for extra credit only :-)
>
> Thanks, and sorry for the wait,
>
> T G-R
Prefix appends ${MY_VAR:+:}$MY_VAR to the env var, so that seems nice.
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36896
; Package
guix
.
(Fri, 06 Sep 2019 10:31:01 GMT)
Full text and
rfc822 format available.
Message #50 received at 36896 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Martin,
Martin Becze 写道:
> Prefix appends ${MY_VAR:+:}$MY_VAR to the env var, so that seems
> nice.
Sure, that's what I'd expect, but why is it preferred over keeping
any user-defined entries first?
Kind regards,
T G-R
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36896
; Package
guix
.
(Fri, 06 Sep 2019 10:36:01 GMT)
Full text and
rfc822 format available.
Message #53 received at 36896 <at> debbugs.gnu.org (full text, mbox):
---
gnu/packages/gnome.scm | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 1a091de938..ef6d78bb5a 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8105,19 +8105,20 @@ generic enough to work for everyone.")
#:phases
(modify-phases %standard-phases
(add-after
- 'install 'wrap-program
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (wrap-program (string-append out "/bin/evolution")
- `("GSETTINGS_SCHEMA_DIR" = (,(string-append out "/share/glib-2.0/schemas/")))
- `("XDG_DATA_DIRS" = (,(getenv "XDG_DATA_DIRS")))))
- #t)))
+ 'install 'wrap-program
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (wrap-program (string-append out "/bin/evolution")
+ `("XDG_DATA_DIRS" prefix (,(getenv "XDG_DATA_DIRS")))
+ `("GSETTINGS_SCHEMA_DIR" =
+ (,(string-append out "/share/glib-2.0/schemas/")))))
+ #t)))
#:configure-flags
(list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
"-DENABLE_LIBCRYPTUI=OFF"))) ; libcryptui hasn't seen a release
- ; in four years and cannot be built.
+ ; in four years and cannot be built.
(native-inputs
- `(("glib" ,glib "bin") ; glib-mkenums
+ `(("glib" ,glib "bin") ; glib-mkenums
("pkg-config" ,pkg-config)
("intltool" ,intltool)
("itstool" ,itstool)))
--
2.23.0
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36896
; Package
guix
.
(Fri, 06 Sep 2019 11:50:02 GMT)
Full text and
rfc822 format available.
Message #56 received at 36896 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Yeah I don't know. I just used prefix in the latest patch. Let me know
if the other method is preferred.
On 9/6/19 12:30 PM, Tobias Geerinckx-Rice wrote:
> Martin,
>
> Martin Becze 写道:
>> Prefix appends ${MY_VAR:+:}$MY_VAR to the env var, so that seems nice.
>
> Sure, that's what I'd expect, but why is it preferred over keeping any
> user-defined entries first?
>
> Kind regards,
>
> T G-R
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36896
; Package
guix
.
(Tue, 10 Sep 2019 13:07:02 GMT)
Full text and
rfc822 format available.
Message #59 received at 36896 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
ping :P
> ---
>
> gnu/packages/gnome.scm | 19 ++++++++++---------
> 1 file changed, 10 insertions(+), 9 deletions(-)
>
> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
> index 1a091de938..ef6d78bb5a 100644
> --- a/gnu/packages/gnome.scm
> +++ b/gnu/packages/gnome.scm
> @@ -8105,19 +8105,20 @@ generic enough to work for everyone.")
> #:phases
> (modify-phases %standard-phases
> (add-after
> - 'install 'wrap-program
> - (lambda* (#:key inputs outputs #:allow-other-keys)
> - (let ((out (assoc-ref outputs "out")))
> - (wrap-program (string-append out "/bin/evolution")
> - `("GSETTINGS_SCHEMA_DIR" = (,(string-append out "/share/glib-2.0/schemas/")))
> - `("XDG_DATA_DIRS" = (,(getenv "XDG_DATA_DIRS")))))
> - #t)))
> + 'install 'wrap-program
> + (lambda* (#:key inputs outputs #:allow-other-keys)
> + (let ((out (assoc-ref outputs "out")))
> + (wrap-program (string-append out "/bin/evolution")
> + `("XDG_DATA_DIRS" prefix (,(getenv "XDG_DATA_DIRS")))
> + `("GSETTINGS_SCHEMA_DIR" =
> + (,(string-append out "/share/glib-2.0/schemas/")))))
> + #t)))
> #:configure-flags
> (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged
> "-DENABLE_LIBCRYPTUI=OFF"))) ; libcryptui hasn't seen a release
> - ; in four years and cannot be built.
> + ; in four years and cannot be built.
> (native-inputs
> - `(("glib" ,glib "bin") ; glib-mkenums
> + `(("glib" ,glib "bin") ; glib-mkenums
> ("pkg-config" ,pkg-config)
> ("intltool" ,intltool)
> ("itstool" ,itstool)))
> --
> 2.23.0
On 9/6/19 1:49 PM, Martin Becze wrote:
> Yeah I don't know. I just used prefix in the latest patch. Let me know
> if the other method is preferred.
>
> On 9/6/19 12:30 PM, Tobias Geerinckx-Rice wrote:
>> Martin,
>>
>> Martin Becze 写道:
>>> Prefix appends ${MY_VAR:+:}$MY_VAR to the env var, so that seems nice.
>> Sure, that's what I'd expect, but why is it preferred over keeping any
>> user-defined entries first?
>>
>> Kind regards,
>>
>> T G-R
[Message part 2 (text/html, inline)]
[signature.asc (application/pgp-signature, attachment)]
Reply sent
to
Tobias Geerinckx-Rice <me <at> tobias.gr>
:
You have taken responsibility.
(Mon, 16 Sep 2019 10:27:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Martin Becze <mjbecze <at> riseup.net>
:
bug acknowledged by developer.
(Mon, 16 Sep 2019 10:27:01 GMT)
Full text and
rfc822 format available.
Message #64 received at 36896-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Martin,
Martin Becze 写道:
> ping :P
Absolutely.
The diff you sent here[0] is incomplete (it relies on your
previous patch and doesn't have a header); please always send
git-formatted patches that apply directly to current master. They
are easier to merge and will be merged sooner.
> Yeah I don't know. I just used prefix in the latest patch. Let
> me know
> if the other method is preferred.
¯\_(ツ)_/¯
I've pushed this to master as
ad6e168b3f29576d92b00725dedbb38cd5f05e46 with the following
changes:
- Moved widowed ‘#:phases’ to the previous line (in well-formatted
Scheme, ‘(’ can never end a line and ‘)’ should never start
one), same for 'phase 'names
- then decided to move ’#:phases’ below ‘#:configure-flags’. This
is subjective, but since *flags ‘affect’ phases (never the other
way 'round) it felt right :-)
- dropped the unused ‘inputs’ phase argument
- added the missing ":" separator to the prefix wrapping — if it
does work without one (I didn't test), that's undocumented &
shouldn't be relied upon
- removed unnecessary trailing / in ‘schemas/’
- and wrote a commit message as mostly documented in ‘info
(standards)Change Logs’.
Thanks!
T G-R
[0]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36896#53
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 14 Oct 2019 11:24:13 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 196 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.