From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#28298: Downgrades in xfontsel and other packages using app-defaults Date: Sat, 02 Sep 2017 22:52:40 +0200 Message-ID: <87efrox1pj.fsf@gnu.org> References: <87a82gx4a3.fsf@gmail.com> <20170830192154.GA5714@gnu.org> <87y3pzy2g4.fsf@gmail.com> 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]:46247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doFPe-0008B9-L7 for bug-guix@gnu.org; Sat, 02 Sep 2017 16:53:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1doFPa-00088J-2y for bug-guix@gnu.org; Sat, 02 Sep 2017 16:53:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35365) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1doFPZ-00088F-VM for bug-guix@gnu.org; Sat, 02 Sep 2017 16:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1doFPZ-0008J4-PG for bug-guix@gnu.org; Sat, 02 Sep 2017 16:53:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87y3pzy2g4.fsf@gmail.com> (Alex Kost's message of "Thu, 31 Aug 2017 22:14:35 +0300") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Alex Kost Cc: 28298@debbugs.gnu.org, John Darrington Hi Alex & John! Alex Kost skribis: > John Darrington (2017-08-30 15:21 -0400) wrote: > >> It looks fine to me. I don't get that warning. > > But did you actually tried what I wrote?: > > $ `guix build xfontsel`/bin/xfontsel > >> The XAPPLRESDIR is no longer required because the libxt library has >> been patched. > > Oh, I didn't know about this "libxt-guix-search-paths.patch". I think > now I understand: with this patch, xfontsel and other programs should > work only when they are installed from the usual guix profiles (system > and user ones), right? Or when $GUIX_PROFILE is set, AIUI. > In my opinion, this is the wrong approach. A user may install these > programs in non-standard profiles. For example, I don't use > "~/.guix-profile" at all; instead I use several other profiles, so there > is no chance for me to have 'xfontsel' work properly. > > Also, I think a program should preferably work when it is started > directly from store. I agree, though that=E2=80=99s not always possible. > So I strongly believe that using wrappers was the right approach, and we > should return to it. As a preamble, I think it=E2=80=99s not just =E2=80=9Cright=E2=80=9D or =E2= =80=9Cwrong=E2=80=9D, it=E2=80=99s different solutions making different tradeoffs. :-) IIRC I participated in the review of the libXt patch. I don=E2=80=99t real= ly remember the discussion, but I think it would be good rereading it before making a decision, to make sure we don=E2=80=99t run in circles. Thanks for looking into it! Ludo=E2=80=99.