* bug#52501: xcalc seems broken
@ 2021-12-15 5:28 Leo Famulari
2021-12-15 8:59 ` Josselin Poiret via Bug reports for GNU Guix
2024-11-28 0:06 ` Leo Famulari
0 siblings, 2 replies; 5+ messages in thread
From: Leo Famulari @ 2021-12-15 5:28 UTC (permalink / raw)
To: 52501
[-- Attachment #1: Type: text/plain, Size: 243 bytes --]
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?
[-- Attachment #2: guix-xcalc.png --]
[-- Type: image/png, Size: 25546 bytes --]
[-- Attachment #3: debian-xcalc.png --]
[-- Type: image/png, Size: 55422 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#52501: xcalc seems broken
2021-12-15 5:28 bug#52501: xcalc seems broken Leo Famulari
@ 2021-12-15 8:59 ` Josselin Poiret via Bug reports for GNU Guix
2021-12-15 17:45 ` Leo Famulari
2024-11-28 0:06 ` Leo Famulari
1 sibling, 1 reply; 5+ messages in thread
From: Josselin Poiret via Bug reports for GNU Guix @ 2021-12-15 8:59 UTC (permalink / raw)
To: Leo Famulari, 52501; +Cc: dev
Leo Famulari <leo@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
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#52501: xcalc seems broken
2021-12-15 8:59 ` Josselin Poiret via Bug reports for GNU Guix
@ 2021-12-15 17:45 ` Leo Famulari
2022-07-11 22:01 ` Maxim Cournoyer
0 siblings, 1 reply; 5+ messages in thread
From: Leo Famulari @ 2021-12-15 17:45 UTC (permalink / raw)
To: Josselin Poiret; +Cc: 52501
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?
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#52501: xcalc seems broken
2021-12-15 17:45 ` Leo Famulari
@ 2022-07-11 22:01 ` Maxim Cournoyer
0 siblings, 0 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2022-07-11 22:01 UTC (permalink / raw)
To: Leo Famulari; +Cc: Josselin Poiret, 52501
Hi Leo,
Leo Famulari <leo@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
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#52501: xcalc seems broken
2021-12-15 5:28 bug#52501: xcalc seems broken Leo Famulari
2021-12-15 8:59 ` Josselin Poiret via Bug reports for GNU Guix
@ 2024-11-28 0:06 ` Leo Famulari
1 sibling, 0 replies; 5+ messages in thread
From: Leo Famulari @ 2024-11-28 0:06 UTC (permalink / raw)
To: 52501-done
Yes, I did lose interest in this bug. Closing.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-11-28 0:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-15 5:28 bug#52501: xcalc seems broken Leo Famulari
2021-12-15 8:59 ` Josselin Poiret via Bug reports for GNU Guix
2021-12-15 17:45 ` Leo Famulari
2022-07-11 22:01 ` Maxim Cournoyer
2024-11-28 0:06 ` Leo Famulari
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.