From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?6I2S5LqV5ZCJ5YmH?= Subject: Re: Where is gtk-update-icon-cache ... ? Date: Fri, 11 Jan 2019 17:51:13 +0900 Message-ID: References: <20190111000055.GB26136@jasmine.lan> <87d0p34wmi.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d2404c057f2acc4a" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:56002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghshN-0004p0-LL for help-guix@gnu.org; Fri, 11 Jan 2019 04:01:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghsXY-0003FP-JK for help-guix@gnu.org; Fri, 11 Jan 2019 03:51:46 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:37152) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ghsXX-00032y-1s for help-guix@gnu.org; Fri, 11 Jan 2019 03:51:44 -0500 Received: by mail-wm1-x329.google.com with SMTP id g67so1538959wmd.2 for ; Fri, 11 Jan 2019 00:51:26 -0800 (PST) In-Reply-To: <87d0p34wmi.fsf@elephly.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ricardo Wurmus Cc: help-guix --000000000000d2404c057f2acc4a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jan 11, 2019 at 06:00:05AM +0100, Ricardo Wurmus wrote: > Hi, > > =E8=8D=92=E4=BA=95=E5=90=89=E5=89=87 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=E2=80=99s on purpose. > > If you want to install gtk-update-icon-cache you need to install the > =E2=80=9Cgtk+:bin=E2=80=9D 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 . > > 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 =E2=80=9Cguix=E2=80=9D comma= nds. > > 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=E5=B9=B41=E6=9C=8811=E6=97=A5(=E9=87=91) 14:00 Ricardo Wurmus : > Hi, > > =E8=8D=92=E4=BA=95=E5=90=89=E5=89=87 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=E2=80=99s on purpose. > > If you want to install gtk-update-icon-cache you need to install the > =E2=80=9Cgtk+:bin=E2=80=9D 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 =E2=80=9Cguix=E2=80=9D comma= nds. > > 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 > > --000000000000d2404c057f2acc4a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Jan 11, 2019 at 06:00:05AM += 0100, Ricardo Wurmus wrote:
> Hi,
>=C2=A0
> =E8=8D=92=E4=BA=95=E5=90=89=E5=89=87 <kumagusu08@gmail.com> writes:
>=C2=A0
> > 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 symlin= k to ~/.guix-profile/bin ?
>=C2=A0
> There will b= e a lot of files in /gnu/store that are not linked to any
> pr= ofile.=C2=A0 That=E2=80=99s on purpose.
>=C2=A0
>= If you want to install gtk-update-icon-cache you need to install the
=
> =E2=80=9Cgtk+:bin=E2=80=9D package to a profile, e.g. by doing
>=C2=A0
> =C2=A0 =C2=A0 guix package -i gtk+:bin
>=C2=A0

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

> > And =C2=A0I did gtk-update-icon-cache -t -f --i= nclude-image-data
> > ~/.guix-profile/share/icons/hicolor.<= /div>
> > It return permission error that is directory read only.=
>=C2=A0
> This is also by design. =C2=A0~/.guix-= profile is read-only because it lives
> in /gnu/store (via a s= eries of symlinks).=C2=A0 Nothing in /gnu/store can be
> chang= ed; you can only add to it by using the =E2=80=9Cguix=E2=80=9D commands.
>=C2=A0
> The is usually no need to run gtk-update-= icon-cache manually as it is
> run in a profile hook when buil= ding a new generation of a profile.
>=C2=A0

Thank you for your explanation in detail.
I appriciate whe= n 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=E5=B9=B41=E6=9C=8811=E6=97=A5= (=E9=87=91) 14:00 Ricardo Wurmus <= rekado@elephly.net>:
Hi,

=E8=8D=92=E4=BA=95=E5=90=89=E5=89=87 <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.=C2=A0 That=E2=80=99s on purpose.

If you want to install gtk-update-icon-cache you need to install the
=E2=80=9Cgtk+:bin=E2=80=9D package to a profile, e.g. by doing

=C2=A0 =C2=A0 guix package -i gtk+:bin

> And=C2=A0 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.=C2=A0 ~/.guix-profile is read-only because it lives=
in /gnu/store (via a series of symlinks).=C2=A0 Nothing in /gnu/store can b= e
changed; you can only add to it by using the =E2=80=9Cguix=E2=80=9D command= s.

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

--000000000000d2404c057f2acc4a--