obs icons

  • Done
  • quality assurance status badge
Details
4 participants
  • Carlo Zancanaro
  • Leo Famulari
  • raingloom
  • Adam Kandur
Owner
unassigned
Submitted by
Adam Kandur
Severity
normal
Merged with
A
A
Adam Kandur wrote on 17 Sep 2020 12:32
(name . Bug Guix)(address . bug-guix@gnu.org)
MHQbxiv--3-2@tuta.io
hi everyone! tried to use obs in guix system. it has (as i think) a problem. when i install obs in my user profile and run it - it runs but without any icons. but if i run it from obs env - it works with all fancy icons.
L
L
Leo Famulari wrote on 17 Sep 2020 16:21
(no subject)
(address . control@debbugs.gnu.org)
20200917142127.GA15153@jasmine.lan
merge 43465 43263
C
C
Carlo Zancanaro wrote on 19 Sep 2020 02:35
Re: bug#43465: obs icons
(name . Adam Kandur)(address . rndd@tuta.io)(address . 43465@debbugs.gnu.org)
87d02iiowu.fsf@zancanaro.id.au
On Thu, Sep 17 2020, Adam Kandur via Bug reports for GNU Guix
wrote:
Toggle quote (3 lines)
> when i install obs in my user profile and run it - it runs but
> without any icons.

I can confirm this happens on my machine, too.

Toggle quote (2 lines)
> but if i run it from obs env - it works with all fancy icons.

I didn't know this, though. I just tested on my machine and found
that:

- "guix environment --ad-hoc obs -- obs" does not have icons
- "guix environment obs --ad-hoc obs -- obs" has icons

I don't have time to dig into why right now, but I'm curious as to
what's going wrong. I assume it's to do with an environment
variable of some sort. Here is the output of "env" on my machine
in the two environments (removing DISPLAY, TERM, USER, HOME, and
LOGNAME).

$ guix environment --pure obs --ad-hoc obs -- env
PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/bin:/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/sbin
CMAKE_PREFIX_PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/
PKG_CONFIG_PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/lib/pkgconfig:/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/share/pkgconfig
QMAKEPATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/lib/qt5
QT_PLUGIN_PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/lib/qt5/plugins
XDG_DATA_DIRS=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/share
XDG_CONFIG_DIRS=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/etc/xdg
C_INCLUDE_PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/include
CPLUS_INCLUDE_PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/include/c++:/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/include
LIBRARY_PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/lib
GUIX_LOCPATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/lib/locale
GUIX_ENVIRONMENT=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile

$ guix environment --pure --ad-hoc coreutils --ad-hoc obs -- env
PATH=/gnu/store/ylim73lin9v56d2dalk8q4a53r6ji53a-profile/bin
GUIX_ENVIRONMENT=/gnu/store/ylim73lin9v56d2dalk8q4a53r6ji53a-profile

Carlo
R
R
raingloom wrote on 19 Sep 2020 02:55
(name . Carlo Zancanaro)(address . carlo@zancanaro.id.au)
20200919025515.4e27e581@riseup.net
On Sat, 19 Sep 2020 10:35:45 +1000
Carlo Zancanaro <carlo@zancanaro.id.au> wrote:

Toggle quote (30 lines)
> On Thu, Sep 17 2020, Adam Kandur via Bug reports for GNU Guix
> wrote:
> > when i install obs in my user profile and run it - it runs but
> > without any icons.
>
> I can confirm this happens on my machine, too.
>
> > but if i run it from obs env - it works with all fancy icons.
>
> I didn't know this, though. I just tested on my machine and found
> that:
>
> - "guix environment --ad-hoc obs -- obs" does not have icons
> - "guix environment obs --ad-hoc obs -- obs" has icons
>
> I don't have time to dig into why right now, but I'm curious as to
> what's going wrong. I assume it's to do with an environment
> variable of some sort. Here is the output of "env" on my machine
> in the two environments (removing DISPLAY, TERM, USER, HOME, and
> LOGNAME).
>
> $ guix environment --pure obs --ad-hoc obs -- env
> PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/bin:/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/sbin
> CMAKE_PREFIX_PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/
> PKG_CONFIG_PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/lib/pkgconfig:/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/share/pkgconfig
> QMAKEPATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/lib/qt5
> QT_PLUGIN_PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/lib/qt5/plugins
> XDG_DATA_DIRS=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/share
> ...

this is the one you need:
Toggle quote (1 lines)
> XDG_DATA_DIRS=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/share
C
C
Carlo Zancanaro wrote on 19 Sep 2020 03:39
(name . raingloom)(address . raingloom@riseup.net)
87a6xmilyf.fsf@zancanaro.id.au
On Sat, Sep 19 2020, raingloom wrote:
Toggle quote (3 lines)
> this is the one you need:
>> XDG_DATA_DIRS=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/share

If that's true, then my instinct that it was related to
environment variables is wrong, because my user profile has
XDG_DATA_DIRS pointing into the profile, and the icons don't load.
That might imply that OBS is looking for something that one of its
inputs is contributing to the build environment, but which isn't
propagated propagate into the profile when it's installed.

Carlo
L
L
Leo Famulari wrote on 22 Sep 2020 17:05
(no subject)
(address . control@debbugs.gnu.org)
20200922150504.GA22618@jasmine.lan
merge 43556 43263
?