GNU bug report logs -
#52501
xcalc seems broken
Previous Next
To reply to this bug, email your comments to 52501 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#52501
; Package
guix
.
(Wed, 15 Dec 2021 05:30:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Leo Famulari <leo <at> famulari.name>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Wed, 15 Dec 2021 05:30:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Our xcalc package launches something that I can't figure out how to use.
This is with Guix on Debian.
Can anyone reproduce it?
Debian's xcalc looks like I'd expect.
I've attached screenshots.
Does anyone have any ideas about what's wrong?
[guix-xcalc.png (image/png, attachment)]
[debian-xcalc.png (image/png, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52501
; Package
guix
.
(Wed, 15 Dec 2021 09:00:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 52501 <at> debbugs.gnu.org (full text, mbox):
Leo Famulari <leo <at> famulari.name> writes:
> Our xcalc package launches something that I can't figure out how to use.
> This is with Guix on Debian.
>
> Can anyone reproduce it?
I can reproduce it just fine using `guix shell xcalc -- xcalc`. The
issue is that the application is styled using a resource file, in
./lib/X11/app-defaults/, which is supposed to be loaded by libxt.
Looking at gnu/packages/patches/libxt-guix-search-paths.patch, the
search paths only take into account the user's home directory and the
value of GUIX_PROFILE.
Doing `guix shell xcalc`, followed by `GUIX_PROFILE="$GUIX_ENVIRONMENT"
xcalc` works for me. It should work when installed in the default Guix
profile, but this is pretty ugly.
This should also be the case for all libxt applications.
WDYT?
Best,
Josselin Poiret
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52501
; Package
guix
.
(Wed, 15 Dec 2021 17:47:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 52501 <at> debbugs.gnu.org (full text, mbox):
On Wed, Dec 15, 2021 at 09:59:48AM +0100, Josselin Poiret wrote:
> issue is that the application is styled using a resource file, in
> ./lib/X11/app-defaults/, which is supposed to be loaded by libxt.
> Looking at gnu/packages/patches/libxt-guix-search-paths.patch, the
> search paths only take into account the user's home directory and the
> value of GUIX_PROFILE.
>
> Doing `guix shell xcalc`, followed by `GUIX_PROFILE="$GUIX_ENVIRONMENT"
> xcalc` works for me. It should work when installed in the default Guix
> profile, but this is pretty ugly.
>
> This should also be the case for all libxt applications.
Ah, thanks for investigating. I confirm it works fine when installed
into my profile.
> WDYT?
Hm, I'd have to think about how to improve it. What do people think?
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52501
; Package
guix
.
(Mon, 11 Jul 2022 22:02:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 52501 <at> debbugs.gnu.org (full text, mbox):
Hi Leo,
Leo Famulari <leo <at> famulari.name> writes:
> On Wed, Dec 15, 2021 at 09:59:48AM +0100, Josselin Poiret wrote:
>> issue is that the application is styled using a resource file, in
>> ./lib/X11/app-defaults/, which is supposed to be loaded by libxt.
>> Looking at gnu/packages/patches/libxt-guix-search-paths.patch, the
>> search paths only take into account the user's home directory and the
>> value of GUIX_PROFILE.
>>
>> Doing `guix shell xcalc`, followed by `GUIX_PROFILE="$GUIX_ENVIRONMENT"
>> xcalc` works for me. It should work when installed in the default Guix
>> profile, but this is pretty ugly.
>>
>> This should also be the case for all libxt applications.
>
> Ah, thanks for investigating. I confirm it works fine when installed
> into my profile.
>
>> WDYT?
>
> Hm, I'd have to think about how to improve it. What do people think?
The usual way of fixing this kind of problem in Guix would be to add a
search path, so that it works in any profile.
Would you like to give it a try? Otherwise, feel free to close the
issue if you lost interest in it.
Maxim
This bug report was last modified 2 years and 139 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.