From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: Re: [PATCH 1/4] guix: build/glib-or-gtk-build-system: Add support for GIO and XDG theming. Date: Thu, 8 Jan 2015 22:46:30 +0100 Message-ID: References: <877fxnhk78.fsf@gmail.com> <878ui1s26u.fsf@gnu.org> <87oaq9moor.fsf@gmail.com> <871tn581dz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9KuX-0001vb-CH for guix-devel@gnu.org; Thu, 08 Jan 2015 16:46:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y9KuW-0002Mc-Co for guix-devel@gnu.org; Thu, 08 Jan 2015 16:46:33 -0500 In-Reply-To: <871tn581dz.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: Guix-devel On Thu, Jan 8, 2015 at 9:26 PM, Ludovic Court=C3=A8s wrote: > Federico Beffa skribis: > >> On Thu, Jan 8, 2015 at 1:39 PM, =E5=AE=8B=E6=96=87=E6=AD=A6 wrote: > > [...] > >>> And I don't think the sounds, themes, cursors, wallpapers and icons are >>> hard depends of a application, they are for all applications. >>> Why not set XDG_DATA_DIRS to /run/current-system/profile/share and >>> $HOME/.guix-profile/share in /etc/profile? (at gnu/system.scm) >>> So, install a theme package will work for all applications. >>> >>> WTDY? >> >> As said above, my proposal will make sure that the relevant theming >> data is found and used directly from the store. > > To summarize, I think the solution you propose would have the advantage > of working out-of-the-box, even when Guix is used on another distro, and > the disadvantage to be inflexible (the set of themes, icons, etc. used > by an application will be fixed at build time, IIUC.) > > What =E5=AE=8B=E6=96=87=E6=AD=A6 proposes would have the advantage of bei= ng more flexible > (users can install the themes they prefer), but would work only on > =E2=80=9CGuixotic=E2=80=9D, and not out-of-the-box (users will have to re= member to > install one sound theme, icon set, etc.) > > Does that make sense? I do not see the two methods as alternatives, but as complementary and co-working: my proposal makes sure that a package works out of the box by *prefixing* XDG_DATA_DIRS (and not replacing it). So a user is still able to add themes in his own profile. Or, do you see any problem? Or, would you prefer to append instead to prefi= x? Regards, Fede