* bug#32835: icecat show many warning and don't display correctly [not found] ` <78584a9f1b7beabb5b6b09d6a67aa84e@riseup.net> @ 2019-01-27 15:54 ` Andreas Enge [not found] ` <20190127155410.GC10186@jurong> 1 sibling, 0 replies; 9+ messages in thread From: Andreas Enge @ 2019-01-27 15:54 UTC (permalink / raw) To: quiliro; +Cc: 32835, help-guix Hello, On Fri, Jan 18, 2019 at 07:57:40AM -0800, Quiliro Ordonez wrote: > El 2019-01-07 21:41, 荒井吉則 escribió: > > It's working. > > > > export > > XDG_DATA_DIRS="$HOME/.guix-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS" > > icecat & > does not work. > > export > XDG_DATA_DIRS="$HOME/.guix-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS" > && icecat & > works perfectly. > > Must something be modified on the software definition? This is not > something the user should change. this seems to be the same problem as bug #32835, which I am cc-ing. Do we need to add search paths? Or wrap a binary? Andreas ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <20190127155410.GC10186@jurong>]
* bug#32835: icecat show many warning and don't display correctly [not found] ` <20190127155410.GC10186@jurong> @ 2019-01-28 1:31 ` Yoshinori Arai [not found] ` <20190128013129.upbea2jzzqyncpew@WaraToNora> 1 sibling, 0 replies; 9+ messages in thread From: Yoshinori Arai @ 2019-01-28 1:31 UTC (permalink / raw) To: Andreas Enge; +Cc: quiliro, help-guix, 32835 On Sun, Jan 27, 2019 at 04:54:10PM +0100, Andreas Enge wrote: > Hello, > > On Fri, Jan 18, 2019 at 07:57:40AM -0800, Quiliro Ordonez wrote: > > El 2019-01-07 21:41, 荒井吉則 escribió: > > > It's working. > > > > > > export > > > XDG_DATA_DIRS="$HOME/.guix-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS" > > > > icecat & > > does not work. > > > > export > > XDG_DATA_DIRS="$HOME/.guix-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS" > > && icecat & > > works perfectly. > > > > Must something be modified on the software definition? This is not > > something the user should change. > > this seems to be the same problem as bug #32835, which I am cc-ing. > Do we need to add search paths? Or wrap a binary? > > Andreas > > I think it's no problem if 'source "$HOME/.guix-profile/etc/profile"' is written in user's bash_profile. I'm afraid my response is out of your point. ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <20190128013129.upbea2jzzqyncpew@WaraToNora>]
* bug#32835: icecat show many warning and don't display correctly [not found] ` <20190128013129.upbea2jzzqyncpew@WaraToNora> @ 2019-01-30 17:01 ` Andreas Enge [not found] ` <20190130170158.GA4088@jurong> 1 sibling, 0 replies; 9+ messages in thread From: Andreas Enge @ 2019-01-30 17:01 UTC (permalink / raw) To: Yoshinori Arai; +Cc: quiliro, help-guix, 32835 On Mon, Jan 28, 2019 at 10:31:29AM +0900, Yoshinori Arai wrote: > I think it's no problem if 'source "$HOME/.guix-profile/etc/profile"' > is written in user's bash_profile. I already do, but this is not enough. Installing icecat into the user profile does not cause XDG* environment variables to be set in $HOME/.guix-profile/etc/profile. It may work incidentally when other installed packages cause the variable to be set. Andreas ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <20190130170158.GA4088@jurong>]
* bug#32835: icecat show many warning and don't display correctly [not found] ` <20190130170158.GA4088@jurong> @ 2019-01-30 18:02 ` Ricardo Wurmus [not found] ` <87d0oenhvu.fsf@elephly.net> 1 sibling, 0 replies; 9+ messages in thread From: Ricardo Wurmus @ 2019-01-30 18:02 UTC (permalink / raw) To: Andreas Enge; +Cc: Yoshinori Arai, quiliro, help-guix, 32835 Andreas Enge <andreas@enge.fr> writes: > On Mon, Jan 28, 2019 at 10:31:29AM +0900, Yoshinori Arai wrote: >> I think it's no problem if 'source "$HOME/.guix-profile/etc/profile"' >> is written in user's bash_profile. > > I already do, but this is not enough. Installing icecat into the user profile > does not cause XDG* environment variables to be set in $HOME/.guix-profile/etc/profile. > It may work incidentally when other installed packages cause the variable > to be set. The solution might be to use glib-or-gtk-build-system instead of gnu-build-system. This would wrap the binary in the required variables. Would someone like to try this before we make the change in the master branch? -- Ricardo ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <87d0oenhvu.fsf@elephly.net>]
* bug#32835: icecat show many warning and don't display correctly [not found] ` <87d0oenhvu.fsf@elephly.net> @ 2019-01-31 10:30 ` Andreas Enge 2019-01-31 10:47 ` Andreas Enge [not found] ` <20190131104723.GA6146@jurong> 2 siblings, 0 replies; 9+ messages in thread From: Andreas Enge @ 2019-01-31 10:30 UTC (permalink / raw) To: Ricardo Wurmus On Wed, Jan 30, 2019 at 07:02:29PM +0100, Ricardo Wurmus wrote: > The solution might be to use glib-or-gtk-build-system instead of > gnu-build-system. This would wrap the binary in the required > variables. > > Would someone like to try this before we make the change in the master > branch? Okay, I will give it a try. Andreas ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#32835: icecat show many warning and don't display correctly [not found] ` <87d0oenhvu.fsf@elephly.net> 2019-01-31 10:30 ` Andreas Enge @ 2019-01-31 10:47 ` Andreas Enge [not found] ` <20190131104723.GA6146@jurong> 2 siblings, 0 replies; 9+ messages in thread From: Andreas Enge @ 2019-01-31 10:47 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: Yoshinori Arai, quiliro, help-guix, 32835 On Wed, Jan 30, 2019 at 07:02:29PM +0100, Ricardo Wurmus wrote: > The solution might be to use glib-or-gtk-build-system instead of > gnu-build-system. This would wrap the binary in the required > variables. > > Would someone like to try this before we make the change in the master > branch? I did and nothing changed. I was a bit surprised that icecat does not get rebuilt. In any case, XDG_DATA_DIRS still does not appear as an environment variable in $HOME/.guix-profile/etc/profile after installing icecat. Andreas ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <20190131104723.GA6146@jurong>]
* bug#32835: icecat show many warning and don't display correctly [not found] ` <20190131104723.GA6146@jurong> @ 2019-01-31 13:24 ` Maxim Cournoyer 2019-01-31 16:23 ` Andreas Enge 0 siblings, 1 reply; 9+ messages in thread From: Maxim Cournoyer @ 2019-01-31 13:24 UTC (permalink / raw) To: 32835, andreas, rekado; +Cc: kumagusu08, quiliro, help-guix Hello, On January 31, 2019 10:47:23 AM UTC, Andreas Enge <andreas@enge.fr> wrote: >On Wed, Jan 30, 2019 at 07:02:29PM +0100, Ricardo Wurmus wrote: >> The solution might be to use glib-or-gtk-build-system instead of >> gnu-build-system. This would wrap the binary in the required >> variables. >> >> Would someone like to try this before we make the change in the >master >> branch? > >I did and nothing changed. I was a bit surprised that icecat does not >get >rebuilt. Then something is wrong. Changing something as important should have definitly triggered a rebuild. Are you modifying a git checkout of Guide and prefixing all of the Guix commands with "./pre-inst-env" ? Maxim ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: bug#32835: icecat show many warning and don't display correctly 2019-01-31 13:24 ` Maxim Cournoyer @ 2019-01-31 16:23 ` Andreas Enge 2019-01-31 16:35 ` Andreas Enge 0 siblings, 1 reply; 9+ messages in thread From: Andreas Enge @ 2019-01-31 16:23 UTC (permalink / raw) To: Maxim Cournoyer; +Cc: quiliro, bug-guix, help-guix, 32835 On Thu, Jan 31, 2019 at 01:24:03PM +0000, Maxim Cournoyer wrote: > Then something is wrong. Changing something as important should have definitly triggered a rebuild. > Are you modifying a git checkout of Guide and prefixing all of the Guix commands with "./pre-inst-env" ? Apologies, I must have made a mistake. Trying again a new build starts. Andreas ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#32835: icecat show many warning and don't display correctly 2019-01-31 16:23 ` Andreas Enge @ 2019-01-31 16:35 ` Andreas Enge 0 siblings, 0 replies; 9+ messages in thread From: Andreas Enge @ 2019-01-31 16:35 UTC (permalink / raw) To: Maxim Cournoyer; +Cc: kumagusu08, quiliro, help-guix, 32835 Well, things are more delicate than that. It is not enough to just swap the build system, something probably also needs to be done around these lines in the build recipe: #:modules ((ice-9 ftw) (ice-9 rdelim) (ice-9 match) ,@%gnu-build-system-modules) Also, the binary is already wrapped: (add-after 'install 'wrap-program (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (lib (string-append out "/lib")) (gtk (assoc-ref inputs "gtk+")) (gtk-share (string-append gtk "/share"))) (wrap-program (car (find-files lib "^icecat$")) `("XDG_DATA_DIRS" ":" prefix (,gtk-share))) #t)))))) I am deferring to someone more knowledgeable... Andreas ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2019-01-31 16:36 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <CAH2wgjjeDygUOibhgn9fsDxuL53vegxmzAtfpEesa0yNEPKrgA@mail.gmail.com> [not found] ` <CAE4v=piCm1wpKDtoraGx62qTg5-bte6L67oH2s2-Te5hFsVisA@mail.gmail.com> [not found] ` <CAH2wgjh=GU00GByWF88k0z5DN8jEaUhLFfb031ODyzXuMVp3BQ@mail.gmail.com> [not found] ` <CAE4v=pg89dbz-JESa4eEohb2FySd+q_Cv8JSxKGCZYN7fVShbg@mail.gmail.com> [not found] ` <20190107181000.GA14844@jurong> [not found] ` <CAH2wgjjAW3fg2tfKnGNOHvR98Jd+5HhRmPov0K_H0CF6DvLevA@mail.gmail.com> [not found] ` <78584a9f1b7beabb5b6b09d6a67aa84e@riseup.net> 2019-01-27 15:54 ` bug#32835: icecat show many warning and don't display correctly Andreas Enge [not found] ` <20190127155410.GC10186@jurong> 2019-01-28 1:31 ` Yoshinori Arai [not found] ` <20190128013129.upbea2jzzqyncpew@WaraToNora> 2019-01-30 17:01 ` Andreas Enge [not found] ` <20190130170158.GA4088@jurong> 2019-01-30 18:02 ` Ricardo Wurmus [not found] ` <87d0oenhvu.fsf@elephly.net> 2019-01-31 10:30 ` Andreas Enge 2019-01-31 10:47 ` Andreas Enge [not found] ` <20190131104723.GA6146@jurong> 2019-01-31 13:24 ` Maxim Cournoyer 2019-01-31 16:23 ` Andreas Enge 2019-01-31 16:35 ` Andreas Enge
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/guix.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).