unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Where is gtk-update-icon-cache ... ?
@ 2019-01-10  1:23 荒井吉則
  2019-01-11  0:00 ` Leo Famulari
  0 siblings, 1 reply; 7+ messages in thread
From: 荒井吉則 @ 2019-01-10  1:23 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 458 bytes --]

Hello,  I'm still beginner for GuixSd.

I have installed epiphany but show error , missing hicolor-icon-theme.
I have installed hicolor-icon-theme. No error message but show bookmark
icon only, other icons missing.

What is other icon-theme or another packages I need to install?

I think missing icon cache but gtk-update-icon-cache command is missing too
then install gtk+-3.24.0.

Why gtk+-3.24.0 package don't include gtk-update-icon-cache etc commands?

[-- Attachment #2: Type: text/html, Size: 597 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Where is gtk-update-icon-cache ... ?
  2019-01-10  1:23 Where is gtk-update-icon-cache ... ? 荒井吉則
@ 2019-01-11  0:00 ` Leo Famulari
  2019-01-11  4:01   ` 荒井吉則
  0 siblings, 1 reply; 7+ messages in thread
From: Leo Famulari @ 2019-01-11  0:00 UTC (permalink / raw)
  To: 荒井吉則; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1658 bytes --]

On Thu, Jan 10, 2019 at 10:23:15AM +0900, 荒井吉則 wrote:
> Hello,  I'm still beginner for GuixSd.
> 
> I have installed epiphany but show error , missing hicolor-icon-theme.
> I have installed hicolor-icon-theme. No error message but show bookmark
> icon only, other icons missing.
> 
> What is other icon-theme or another packages I need to install?

Not sure but try adwaita-icon-theme.

> I think missing icon cache but gtk-update-icon-cache command is missing too
> then install gtk+-3.24.0.
> 
> Why gtk+-3.24.0 package don't include gtk-update-icon-cache etc commands?

gtk-update-icon-cache is in the "bin" output of GTK+. For example:

------
$ guix build gtk+
/gnu/store/0mskf7mzfrhrnkixfadrvvr5lgfssfzf-gtk+-3.24.0-bin
/gnu/store/iypmqb5a6g1f1xw4s7m88vy51hgyh0p1-gtk+-3.24.0-doc
/gnu/store/3yrx79ds64dabi6qkkmh4s7ydiqxhl4g-gtk+-3.24.0
$ ls -l /gnu/store/0mskf7mzfrhrnkixfadrvvr5lgfssfzf-gtk+-3.24.0-bin/bin
total 3984
-r-xr-xr-x 2 root root  134656 Dec 31  1969 broadwayd
-r-xr-xr-x 2 root root 1907384 Dec 31  1969 gtk3-demo
-r-xr-xr-x 2 root root 1551368 Dec 31  1969 gtk3-demo-application
-r-xr-xr-x 2 root root   81840 Dec 31  1969 gtk3-icon-browser
-r-xr-xr-x 2 root root  194488 Dec 31  1969 gtk3-widget-factory
-r-xr-xr-x 2 root root   41960 Dec 31  1969 gtk-builder-tool
-r-xr-xr-x 2 root root   22744 Dec 31  1969 gtk-encode-symbolic-svg
-r-xr-xr-x 2 root root   22544 Dec 31  1969 gtk-launch
-r-xr-xr-x 2 root root   31816 Dec 31  1969 gtk-query-immodules-3.0
-r-xr-xr-x 2 root root   21224 Dec 31  1969 gtk-query-settings
-r-xr-xr-x 2 root root   43584 Dec 31  1969 gtk-update-icon-cache
------

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Where is gtk-update-icon-cache ... ?
  2019-01-11  0:00 ` Leo Famulari
@ 2019-01-11  4:01   ` 荒井吉則
  2019-01-11  5:00     ` Ricardo Wurmus
  0 siblings, 1 reply; 7+ messages in thread
From: 荒井吉則 @ 2019-01-11  4:01 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 2268 bytes --]

Thank you for your reply.

I found /gnu/store/...-gtk+-3.24.0-bin/bin/gtk-update-icon-cache. Also
found /gnu/store/...-glibc-2.28/bin/locale.

Why not these command make symlink to ~/.guix-profile/bin ?

And  I did gtk-update-icon-cache -t -f --include-image-data
~/.guix-profile/share/icons/hicolor.
It return permission error that is directory read only.

I use ja_JP.utf8 locale and man page garbled in some case. I do LC_ALL=C or
posix man in that case.

2019年1月11日(金) 9:01 Leo Famulari <leo@famulari.name>:

> On Thu, Jan 10, 2019 at 10:23:15AM +0900, 荒井吉則 wrote:
> > Hello,  I'm still beginner for GuixSd.
> >
> > I have installed epiphany but show error , missing hicolor-icon-theme.
> > I have installed hicolor-icon-theme. No error message but show bookmark
> > icon only, other icons missing.
> >
> > What is other icon-theme or another packages I need to install?
>
> Not sure but try adwaita-icon-theme.
>
> > I think missing icon cache but gtk-update-icon-cache command is missing
> too
> > then install gtk+-3.24.0.
> >
> > Why gtk+-3.24.0 package don't include gtk-update-icon-cache etc commands?
>
> gtk-update-icon-cache is in the "bin" output of GTK+. For example:
>
> ------
> $ guix build gtk+
> /gnu/store/0mskf7mzfrhrnkixfadrvvr5lgfssfzf-gtk+-3.24.0-bin
> /gnu/store/iypmqb5a6g1f1xw4s7m88vy51hgyh0p1-gtk+-3.24.0-doc
> /gnu/store/3yrx79ds64dabi6qkkmh4s7ydiqxhl4g-gtk+-3.24.0
> $ ls -l /gnu/store/0mskf7mzfrhrnkixfadrvvr5lgfssfzf-gtk+-3.24.0-bin/bin
> total 3984
> -r-xr-xr-x 2 root root  134656 Dec 31  1969 broadwayd
> -r-xr-xr-x 2 root root 1907384 Dec 31  1969 gtk3-demo
> -r-xr-xr-x 2 root root 1551368 Dec 31  1969 gtk3-demo-application
> -r-xr-xr-x 2 root root   81840 Dec 31  1969 gtk3-icon-browser
> -r-xr-xr-x 2 root root  194488 Dec 31  1969 gtk3-widget-factory
> -r-xr-xr-x 2 root root   41960 Dec 31  1969 gtk-builder-tool
> -r-xr-xr-x 2 root root   22744 Dec 31  1969 gtk-encode-symbolic-svg
> -r-xr-xr-x 2 root root   22544 Dec 31  1969 gtk-launch
> -r-xr-xr-x 2 root root   31816 Dec 31  1969 gtk-query-immodules-3.0
> -r-xr-xr-x 2 root root   21224 Dec 31  1969 gtk-query-settings
> -r-xr-xr-x 2 root root   43584 Dec 31  1969 gtk-update-icon-cache
> ------
>

[-- Attachment #2: Type: text/html, Size: 2836 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Where is gtk-update-icon-cache ... ?
  2019-01-11  4:01   ` 荒井吉則
@ 2019-01-11  5:00     ` Ricardo Wurmus
  2019-01-11  8:51       ` 荒井吉則
  0 siblings, 1 reply; 7+ messages in thread
From: Ricardo Wurmus @ 2019-01-11  5:00 UTC (permalink / raw)
  To: 荒井吉則; +Cc: help-guix

Hi,

荒井吉則 <kumagusu08@gmail.com> writes:

> I found /gnu/store/...-gtk+-3.24.0-bin/bin/gtk-update-icon-cache. Also
> found /gnu/store/...-glibc-2.28/bin/locale.
>
> Why not these command make symlink to ~/.guix-profile/bin ?

There will be a lot of files in /gnu/store that are not linked to any
profile.  That’s on purpose.

If you want to install gtk-update-icon-cache you need to install the
“gtk+:bin” package to a profile, e.g. by doing

    guix package -i gtk+:bin

> And  I did gtk-update-icon-cache -t -f --include-image-data
> ~/.guix-profile/share/icons/hicolor.
> It return permission error that is directory read only.

This is also by design.  ~/.guix-profile is read-only because it lives
in /gnu/store (via a series of symlinks).  Nothing in /gnu/store can be
changed; you can only add to it by using the “guix” commands.

The is usually no need to run gtk-update-icon-cache manually as it is
run in a profile hook when building a new generation of a profile.

-- 
Ricardo

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Where is gtk-update-icon-cache ... ?
  2019-01-11  5:00     ` Ricardo Wurmus
@ 2019-01-11  8:51       ` 荒井吉則
  2019-01-31 14:58         ` swedebugia
  0 siblings, 1 reply; 7+ messages in thread
From: 荒井吉則 @ 2019-01-11  8:51 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 2705 bytes --]

On Fri, Jan 11, 2019 at 06:00:05AM +0100, Ricardo Wurmus wrote:
> Hi,
>
> 荒井吉則 <kumagusu08@gmail.com> writes:
>
> > I found /gnu/store/...-gtk+-3.24.0-bin/bin/gtk-update-icon-cache. Also
> > found /gnu/store/...-glibc-2.28/bin/locale.
> >
> > Why not these command make symlink to ~/.guix-profile/bin ?
>
> There will be a lot of files in /gnu/store that are not linked to any
> profile.  That’s on purpose.
>
> If you want to install gtk-update-icon-cache you need to install the
> “gtk+:bin” package to a profile, e.g. by doing
>
>     guix package -i gtk+:bin
>

OK, I will do it.
However I think it is kind to ask will you install bin when someone install
like gtk+ or glibc with guix package -i <some library package>.

> > And  I did gtk-update-icon-cache -t -f --include-image-data
> > ~/.guix-profile/share/icons/hicolor.
> > It return permission error that is directory read only.
>
> This is also by design.  ~/.guix-profile is read-only because it lives
> in /gnu/store (via a series of symlinks).  Nothing in /gnu/store can be
> changed; you can only add to it by using the “guix” commands.
>
> The is usually no need to run gtk-update-icon-cache manually as it is
> run in a profile hook when building a new generation of a profile.
>

Thank you for your explanation in detail.
I appriciate when I use guix package -i epiphany, guix would recommend
additional packages hicolor-icon-theme and adwaita-icon-theme not installed.

And when install fonts, fc-cache is needed.

2019年1月11日(金) 14:00 Ricardo Wurmus <rekado@elephly.net>:

> Hi,
>
> 荒井吉則 <kumagusu08@gmail.com> writes:
>
> > I found /gnu/store/...-gtk+-3.24.0-bin/bin/gtk-update-icon-cache. Also
> > found /gnu/store/...-glibc-2.28/bin/locale.
> >
> > Why not these command make symlink to ~/.guix-profile/bin ?
>
> There will be a lot of files in /gnu/store that are not linked to any
> profile.  That’s on purpose.
>
> If you want to install gtk-update-icon-cache you need to install the
> “gtk+:bin” package to a profile, e.g. by doing
>
>     guix package -i gtk+:bin
>
> > And  I did gtk-update-icon-cache -t -f --include-image-data
> > ~/.guix-profile/share/icons/hicolor.
> > It return permission error that is directory read only.
>
> This is also by design.  ~/.guix-profile is read-only because it lives
> in /gnu/store (via a series of symlinks).  Nothing in /gnu/store can be
> changed; you can only add to it by using the “guix” commands.
>
> The is usually no need to run gtk-update-icon-cache manually as it is
> run in a profile hook when building a new generation of a profile.
>
> --
> Ricardo
>
>

[-- Attachment #2: Type: text/html, Size: 3725 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Where is gtk-update-icon-cache ... ?
  2019-01-11  8:51       ` 荒井吉則
@ 2019-01-31 14:58         ` swedebugia
  2019-02-02  0:12           ` Yoshinori Arai
  0 siblings, 1 reply; 7+ messages in thread
From: swedebugia @ 2019-01-31 14:58 UTC (permalink / raw)
  To: 荒井吉則, Ricardo Wurmus; +Cc: help-guix

On 2019-01-11 09:51, 荒井吉則 wrote:
> On Fri, Jan 11, 2019 at 06:00:05AM +0100, Ricardo Wurmus wrote:
>  > If you want to install gtk-update-icon-cache you need to install the
>  > “gtk+:bin” package to a profile, e.g. by doing
>  >
>  >     guix package -i gtk+:bin
>  >
> 
> OK, I will do it.
> However I think it is kind to ask will you install bin when someone 
> install like gtk+ or glibc with guix package -i <some library package>.

Your idea seems user friendly, but to implement it we would have to find 
a way to distinguish library-packages from other packages. I'm not sure 
how to programmatically distinguish if a package has a bin-output.

Right now you have to investigate the different outputs yourself e.g. by 
running:

$ guix package --show=gtk+

which lists the different outputs.

-- 
Cheers Swedebugia

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Where is gtk-update-icon-cache ... ?
  2019-01-31 14:58         ` swedebugia
@ 2019-02-02  0:12           ` Yoshinori Arai
  0 siblings, 0 replies; 7+ messages in thread
From: Yoshinori Arai @ 2019-02-02  0:12 UTC (permalink / raw)
  To: swedebugia; +Cc: help-guix

On Thu, Jan 31, 2019 at 03:58:40PM +0100, swedebugia wrote:
> On 2019-01-11 09:51, 荒井吉則 wrote:
> > On Fri, Jan 11, 2019 at 06:00:05AM +0100, Ricardo Wurmus wrote:
> >  > If you want to install gtk-update-icon-cache you need to install the
> >  > “gtk+:bin” package to a profile, e.g. by doing
> >  >
> >  >     guix package -i gtk+:bin
> >  >
> > 
> > OK, I will do it.
> > However I think it is kind to ask will you install bin when someone
> > install like gtk+ or glibc with guix package -i <some library package>.
> 
> Your idea seems user friendly, but to implement it we would have to find a
> way to distinguish library-packages from other packages. I'm not sure how to
> programmatically distinguish if a package has a bin-output.
> 
> Right now you have to investigate the different outputs yourself e.g. by
> running:
> 
> $ guix package --show=gtk+
> 
> which lists the different outputs.
> 
> -- 
> Cheers Swedebugia

Hello,

I don't know is it not sure how to programmatically distinguish.
However, if library-packages would separete into library-only and bin
package, user can choose which one as debian dev package. I think.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-02-02  0:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-10  1:23 Where is gtk-update-icon-cache ... ? 荒井吉則
2019-01-11  0:00 ` Leo Famulari
2019-01-11  4:01   ` 荒井吉則
2019-01-11  5:00     ` Ricardo Wurmus
2019-01-11  8:51       ` 荒井吉則
2019-01-31 14:58         ` swedebugia
2019-02-02  0:12           ` Yoshinori Arai

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).