From unknown Sat Jun 14 14:25:29 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#78424 <78424@debbugs.gnu.org> To: bug#78424 <78424@debbugs.gnu.org> Subject: Status: [PATCH] gnu: texlive-libkpathsea: Add definitions for XDG paths. Reply-To: bug#78424 <78424@debbugs.gnu.org> Date: Sat, 14 Jun 2025 21:25:29 +0000 retitle 78424 [PATCH] gnu: texlive-libkpathsea: Add definitions for XDG pat= hs. reassign 78424 guix-patches submitter 78424 Liliana Marie Prikler severity 78424 normal tag 78424 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed May 14 07:50:30 2025 Received: (at submit) by debbugs.gnu.org; 14 May 2025 11:50:30 +0000 Received: from localhost ([127.0.0.1]:40815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uFAd4-0006jh-8W for submit@debbugs.gnu.org; Wed, 14 May 2025 07:50:30 -0400 Received: from lists.gnu.org ([2001:470:142::17]:41848) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uFAcz-0006i1-Rw for submit@debbugs.gnu.org; Wed, 14 May 2025 07:50:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uFAcn-0005nM-GG for guix-patches@gnu.org; Wed, 14 May 2025 07:50:15 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uFAci-0005sS-E3 for guix-patches@gnu.org; Wed, 14 May 2025 07:50:13 -0400 Received: by mail-wr1-x443.google.com with SMTP id ffacd0b85a97d-3a0b6aa08e5so583805f8f.1 for ; Wed, 14 May 2025 04:50:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747223405; x=1747828205; darn=gnu.org; h=to:content-transfer-encoding:mime-version:subject:date:from :message-id:from:to:cc:subject:date:message-id:reply-to; bh=zRrsymoTFqhPf0wDrTmxnsbJbLC2exkYf3YE8NPIqj0=; b=Hb+tw8mUrwgWEhuRah/peLHi0qDTv09Z6wRDhxLyWoOxU/TLd/oghuh1GCvbJJ9rRV asIIyswm1akrYVolGkVEFnaWUcq/edWJmA5CHUPtatySvCg5M+7PL1cEQQLCBOS5Pllj +zzozzV4Hig/R+lv7lvHaeqf0kLBzmV8G/j3T09L+xhSudnNgh/MZCpqfAdzx6tWFqgW tervXRGlpcVzj99oLxTF4YerhWBKWBepAaf1o01cYYmVHNJK29fdS6/gnebNvIaoZXVr MXkdNXlPUEUfA1moG7S+eAJsE+Z5b+PnNpPbnFDeqzGSJTpVhr8ttCNb6mSntCkcWqtB uOJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747223405; x=1747828205; h=to:content-transfer-encoding:mime-version:subject:date:from :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zRrsymoTFqhPf0wDrTmxnsbJbLC2exkYf3YE8NPIqj0=; b=ZxPYw5EIL40ota4JH6bhc3KSsyRhLuvWtnaLeq1gXFxIpEw8HpOEwN7mrU065eRq7W oY4VGmW8vI7qxgSTc3TGPJB55c/Vm1hjlRmRYs0lwzXqqqkMH/iS4/AfRHOu0b5zWER0 wdCFGb6u5brUuHFmrIkLx5unK4C9OeGXtCcmpaH7Zihx7oG/TRsSufjQMDdJH1h6ouEg MfO14RdsOdSyNJsCaC9v3PVo2jS4D6eUaejZhS1UD2xrASKGgatt4d5s2RVzYftKWQJf 3wj1JUt5vcsEPhF5ofLRAcotGeYERqBDnB0PMqNoCATht1BA1nhlgM//EI92leLSCeh3 1CoA== X-Gm-Message-State: AOJu0YyGCzsd/rnqSDOEzD5nIOCR98/4C3zQHhwVy1PzVrwVIWvp3q/b EUKqOA9K/MM/Qg31vHlw5tpEZOXfTOs7mNsu3VP0/FO/iyaeTnSPMHlHb1UU X-Gm-Gg: ASbGncsLZba7n/v4fevgcquVEco7bKfh3+uW4CchBAUnmpftP+SSexA9jUwwYVN/6QQ p2BnGhC0gxwAcONQAAlcXgKvsfpoT0cZPa7qG5U22ON0cImEUTp8ptQn3tFatvc0FvvC8xF0NtK 0OqTvGQ3GXgVZR3O6laq9yaQLCX3J8va7m8NG7QNnviZx3aIC4KxOerIfT3m8j1UpMNhVIolX1/ Ge7UkJtnDphYhoBv8r1toAeY7MRnQ3Asny3GN7ejBb4QMrh/IqYUmOeZ7aMJlctajdRx768Eg30 3/8cQm+t7d+Mq0ZaNWnWOzZ5wBC5uzHCmcxOrbiVAqAbBEos4ox+x/yqY7XruNETR+kgYXnpVBy L86XtI6MwzkG0vXS/rZEQU6yBspU= X-Google-Smtp-Source: AGHT+IFIg6l0Xcp2xmfN3du1nLE3ZLrH0W70MzrbkrNybKrgO0vn3iwBypfGBBlPjypiWzKNEphCeA== X-Received: by 2002:a05:6000:1446:b0:3a1:fc5b:372a with SMTP id ffacd0b85a97d-3a348dc51acmr3133118f8f.24.1747223404643; Wed, 14 May 2025 04:50:04 -0700 (PDT) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a1f5a4c76dsm19678862f8f.92.2025.05.14.04.50.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 May 2025 04:50:04 -0700 (PDT) Message-ID: <5be04a85bec58fd7af826c245711fbcaab66d19d.1747223352.git.liliana.prikler@gmail.com> From: Liliana Marie Prikler Date: Wed, 14 May 2025 13:46:01 +0200 Subject: [PATCH] gnu: texlive-libkpathsea: Add definitions for XDG paths. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Debbugs-Cc: andreas@enge.fr, guix@nicolasgoaziou.fr to: guix-patches@gnu.org Received-SPF: pass client-ip=2a00:1450:4864:20::443; envelope-from=liliana.prikler@gmail.com; helo=mail-wr1-x443.google.com X-Spam_score_int: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MALFORMED_FREEMAIL=2.117, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_MXG_LOWER_HDR_SPAM=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Without these paths set, if they are unset in the environment, jobs that need to read from/write to TEXMFVAR or TEXMFCONFIG will fail. If set, environment variables take precedence. * gnu/packages/tex.scm (texlive-libkpathsea): Add replacement, pointing to… (texlive-libkpathsea/fixed): … this. Add definitions for XDG_CACHE_HOME and XDG_CONFIG_HOME. --- gnu/packages/tex.scm | [...] Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 2.0 MALFORMED_FREEMAIL Bad headers on message from free email service 0.0 T_MXG_LOWER_HDR_SPAM Lower case header spam X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Without these paths set, if they are unset in the environment, jobs that need to read from/write to TEXMFVAR or TEXMFCONFIG will fail. If set, environment variables take precedence. * gnu/packages/tex.scm (texlive-libkpathsea): Add replacement, pointing to… (texlive-libkpathsea/fixed): … this. Add definitions for XDG_CACHE_HOME and XDG_CONFIG_HOME. --- gnu/packages/tex.scm | [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 2.0 MALFORMED_FREEMAIL Bad headers on message from free email service 0.0 T_MXG_LOWER_HDR_SPAM Lower case header spam -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Without these paths set, if they are unset in the environment, jobs that need to read from/write to TEXMFVAR or TEXMFCONFIG will fail. If set, environment variables take precedence. * gnu/packages/tex.scm (texlive-libkpathsea): Add replacement, pointing to… (texlive-libkpathsea/fixed): … this. Add definitions for XDG_CACHE_HOME and XDG_CONFIG_HOME. --- gnu/packages/tex.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 99a65641a4a..e2fe5554a0c 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -296,6 +296,9 @@ (define-public texlive-source (define-public texlive-libkpathsea (package (name "texlive-libkpathsea") + ;; TODO: ungraft on tex-team or a dedicated branch, + ;; integrating the missing definitions. + (replacement texlive-libkpathsea/fixed) (version (package-version texlive-source)) (source (origin @@ -395,6 +398,21 @@ (define-public texlive-libkpathsea of user-specified directories similar to how shells look up executables.") (license license:lgpl2.1))) +(define texlive-libkpathsea/fixed + (package + (inherit texlive-libkpathsea) + (arguments + (substitute-keyword-arguments (package-arguments texlive-libkpathsea) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'customize-texmf.cnf 'fix-texmf.cnf + (lambda _ + (substitute* "texk/kpathsea/texmf.cnf" + (("^TEXMFVAR = .*" all) + (string-append "XDG_CACHE_HOME = ~/.cache\n" all)) + (("^TEXMFCONFIG = .*" all) + (string-append "XDG_CONFIG_HOME = ~/.config\n" all))))))))))) + (define-public texlive-libptexenc (package (name "texlive-libptexenc") base-commit: 5f5d84beccc180f1b51474c0e47eb6e0d0c9175f -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Fri May 16 02:58:56 2025 Received: (at 78424) by debbugs.gnu.org; 16 May 2025 06:58:57 +0000 Received: from localhost ([127.0.0.1]:33255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uFp1z-0006xH-He for submit@debbugs.gnu.org; Fri, 16 May 2025 02:58:56 -0400 Received: from msg-3.mailo.com ([213.182.54.8]:39890 helo=mailo.com) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uFp1v-0006vP-Nc for 78424@debbugs.gnu.org; Fri, 16 May 2025 02:58:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nicolasgoaziou.fr; s=mailo; t=1747378719; bh=xOW6TiLgNWeIzYNBez0+hrrps3mP70NITRqVzz4UfOE=; h=X-EA-Auth:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; b=DUGK+2dbsX++dEyF/3uaz79pXYyTLw6O526rorCRWrQL/qleXCu7f9X0HvLLcndfw Vtpxut/1Jk/GFSzDO/p6S2tvZGviDmAPNKLskqY1IF5vzcwM4oxbh1zOJCIf2X9wAd 6o2r5rYbLoLBUs1Fy1K2iJwNuEhv/GvSv/0r2jRU= Received: by b221-9.in.mailobj.net [192.168.90.29] with ESMTP via ip-20.mailobj.net [213.182.54.20] Fri, 16 May 2025 08:58:38 +0200 (CEST) X-EA-Auth: wMIHO6ITVjC3aUulLPCIgq8tMTU+2uNFZ7SQR6l4oY84VqZFkos6naXsbJ+kMxad2fswg8qefjh9EhNY3UzDKqarCWVt/4V7pTmdlDCNBQs= From: Nicolas Goaziou To: Liliana Marie Prikler Subject: Re: [bug#78424] [PATCH] gnu: texlive-libkpathsea: Add definitions for XDG paths. In-Reply-To: <5be04a85bec58fd7af826c245711fbcaab66d19d.1747223352.git.liliana.prikler@gmail.com> (Liliana Marie Prikler's message of "Wed, 14 May 2025 13:46:01 +0200") References: <5be04a85bec58fd7af826c245711fbcaab66d19d.1747223352.git.liliana.prikler@gmail.com> Date: Fri, 16 May 2025 08:58:35 +0200 Message-ID: <87ikm1avok.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78424 Cc: 78424@debbugs.gnu.org, guix@nicolasgoaziou.fr, andreas@enge.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Liliana Marie Prikler writes: > Without these paths set, if they are unset in the environment, jobs that = need > to read from/write to TEXMFVAR or TEXMFCONFIG will fail. If set, environ= ment > variables take precedence. > > * gnu/packages/tex.scm (texlive-libkpathsea): Add replacement, pointing t= o=E2=80=A6 > (texlive-libkpathsea/fixed): =E2=80=A6 this. Add definitions for XDG_CAC= HE_HOME and > XDG_CONFIG_HOME. > --- > gnu/packages/tex.scm | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm > index 99a65641a4a..e2fe5554a0c 100644 > --- a/gnu/packages/tex.scm > +++ b/gnu/packages/tex.scm > @@ -296,6 +296,9 @@ (define-public texlive-source > (define-public texlive-libkpathsea > (package > (name "texlive-libkpathsea") > + ;; TODO: ungraft on tex-team or a dedicated branch, > + ;; integrating the missing definitions. > + (replacement texlive-libkpathsea/fixed) > (version (package-version texlive-source)) > (source > (origin > @@ -395,6 +398,21 @@ (define-public texlive-libkpathsea > of user-specified directories similar to how shells look up executables.= ") > (license license:lgpl2.1))) >=20=20 > +(define texlive-libkpathsea/fixed > + (package > + (inherit texlive-libkpathsea) > + (arguments > + (substitute-keyword-arguments (package-arguments texlive-libkpathse= a) > + ((#:phases phases) > + #~(modify-phases #$phases > + (add-after 'customize-texmf.cnf 'fix-texmf.cnf > + (lambda _ > + (substitute* "texk/kpathsea/texmf.cnf" > + (("^TEXMFVAR =3D .*" all) > + (string-append "XDG_CACHE_HOME =3D ~/.cache\n" all)) > + (("^TEXMFCONFIG =3D .*" all) > + (string-append "XDG_CONFIG_HOME =3D ~/.config\n" all)= )))))))))) It looks good. Perhaps we could also fix in an additional step a little mistake I introduced in the recent TeX Live update: cache and config files are created in, e.g., "$XDG_CACHE_HOME/.texliveYYYY/texmf-var", but it would make sense to put them in "$XDG_CACHE_HOME/texliveYYYY/texmf-var" instead. WDYT? Regards, --=20 Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Fri May 16 15:47:15 2025 Received: (at 78424) by debbugs.gnu.org; 16 May 2025 19:47:15 +0000 Received: from localhost ([127.0.0.1]:41072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uG11W-00035q-Hq for submit@debbugs.gnu.org; Fri, 16 May 2025 15:47:15 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:46182) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uG11T-00034p-QH for 78424@debbugs.gnu.org; Fri, 16 May 2025 15:47:12 -0400 Received: by mail-wr1-x443.google.com with SMTP id ffacd0b85a97d-3a0bd7f4cd5so2326235f8f.0 for <78424@debbugs.gnu.org>; Fri, 16 May 2025 12:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747424825; x=1748029625; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=AKvG/zuaxLDetwOmGMdi6QISJLUFpvcFOCQfsyUxoYg=; b=EAoT0bMaKRHJcemsBQ5mMpqZl18F7WA7QqPcde58LaQTnQRfyF/sMdjDAqC9KOQQ9I kPhQnB44gBKrc2rbei9NuTuoIax6/jHMMY9+678rpO4rmJ5kMgwBJhvNF9EkKsatlp0S 71MPQJN1qXxVqNwdhymQWrEDoTykKY9s70nR8bWQuMonWZJI213dip/KSX2YJDmLIOZL xB+JMJfmqnPwOoTr3uhMQw/VGdP6Dk1JNclkiZGN+mTfny8ENoV/PwoDKeLkSZv93ktg QhLPsFLWwOVx80GrF+HXunHWukDOxZTFiXqj9US3aUoQ6bBthsx/CrdOTTNL6lfg3ujH 9M3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747424825; x=1748029625; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=AKvG/zuaxLDetwOmGMdi6QISJLUFpvcFOCQfsyUxoYg=; b=DflMpCt9TA0IO5xwv9nB5f5IW3bsHvQycHp6/Kqxf4X90XRRGhOah79wg3QX436ppb R6aUd2IcwqRZOtrvhf8FZuIsG7T869axMljA2XmL2auPtox5I4whvsRD7smgDooA/CS1 EY0HqBCRrSCU+9nigP2R6rjREYhx96GiK89SzYv4Z2veT5sBnRtNQEty88MW1u3hzzbj l84uvE/F7ZcLDDxeRr8Lkegh92fDMRftMAZnaa41GxuLySnAshDlZMnLCdPY49R12yrh LPI5G73lFQZP1It8wg/4+hI+eVJPL1LGwZVqWWgznlTE0haxPWaLlJC4xyQbgAENIUK2 SXPA== X-Gm-Message-State: AOJu0Ywq2D9Ly6c+mNQr80+7Yjk9QBGpoO4r+5jfpS9od4iPJA5SLFi7 e4gd3Zg4PxQGokovjrr9FC9gQEuVBxQzpM87gQg3DrWBsdOhGFeW8M33 X-Gm-Gg: ASbGnctWz+gOSyBBhqoY8pb/6LP9pUlnVYgr95DsvSqV7DDYTkCV3Q1culqMao+dLBr cryzk+wmJFfonPKtasWudVjYY53CUQAek8LvPbH5wglOENIWTa5OXRNtCbw+Z0YGrDHbgpgdlQe ej64wqrVTasGpgUwViuOCgtuX6wzQbxCuxGE6O3kklVYdf6wpbJ0rl99zp1CrPFdukB0mOxy2ii qPAQdiaRx8H1PT2JLnlKNCOg1gQ38703QCUX0jz3tJY9tgX5Rb7p4WK0uJKllTD3Z2ZeRIOghqF WfgZpfW0tk99yhaYZyY7Bt7tI9P68PK2XxZLUxMz/v8kcYtZQcrQplN5uRcS3WRZ106xFUJITCH 1kfqFO+pIqNcaYGe3NVVpcLFHF9Q= X-Google-Smtp-Source: AGHT+IH8ACpoAG8QdpNIVIC9qDeFU/mH2qp5HpyJWHmUnZA1bAIZBw4IYrIeYVleA4yuam7C/SPnPA== X-Received: by 2002:a05:6000:2305:b0:3a0:7f9c:189a with SMTP id ffacd0b85a97d-3a35c7dd97fmr4919541f8f.0.1747424825033; Fri, 16 May 2025 12:47:05 -0700 (PDT) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a35ca4d105sm3885631f8f.11.2025.05.16.12.47.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 May 2025 12:47:04 -0700 (PDT) Message-ID: <4855fa0129d06dd6f36714aa645974b2b3028995.camel@gmail.com> Subject: Re: [bug#78424] [PATCH] gnu: texlive-libkpathsea: Add definitions for XDG paths. From: Liliana Marie Prikler To: Nicolas Goaziou Date: Fri, 16 May 2025 21:47:03 +0200 In-Reply-To: <87ikm1avok.fsf@nicolasgoaziou.fr> References: <5be04a85bec58fd7af826c245711fbcaab66d19d.1747223352.git.liliana.prikler@gmail.com> <87ikm1avok.fsf@nicolasgoaziou.fr> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.3 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78424 Cc: 78424@debbugs.gnu.org, guix@nicolasgoaziou.fr, andreas@enge.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Freitag, dem 16.05.2025 um 08:58 +0200 schrieb Nicolas Goaziou: > Hello, >=20 > Liliana Marie Prikler writes: >=20 > > Without these paths set, if they are unset in the environment, jobs > > that need > > to read from/write to TEXMFVAR or TEXMFCONFIG will fail.=C2=A0 If set, > > environment > > variables take precedence. > >=20 > > * gnu/packages/tex.scm (texlive-libkpathsea): Add replacement, > > pointing to=E2=80=A6 > > (texlive-libkpathsea/fixed): =E2=80=A6 this.=C2=A0 Add definitions for > > XDG_CACHE_HOME and > > XDG_CONFIG_HOME. > > --- > > =C2=A0gnu/packages/tex.scm | 18 ++++++++++++++++++ > > =C2=A01 file changed, 18 insertions(+) > >=20 > > diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm > > index 99a65641a4a..e2fe5554a0c 100644 > > --- a/gnu/packages/tex.scm > > +++ b/gnu/packages/tex.scm > > @@ -296,6 +296,9 @@ (define-public texlive-source > > =C2=A0(define-public texlive-libkpathsea > > =C2=A0=C2=A0 (package > > =C2=A0=C2=A0=C2=A0=C2=A0 (name "texlive-libkpathsea") > > +=C2=A0=C2=A0=C2=A0 ;; TODO: ungraft on tex-team or a dedicated branch, > > +=C2=A0=C2=A0=C2=A0 ;; integrating the missing definitions. > > +=C2=A0=C2=A0=C2=A0 (replacement texlive-libkpathsea/fixed) > > =C2=A0=C2=A0=C2=A0=C2=A0 (version (package-version texlive-source)) > > =C2=A0=C2=A0=C2=A0=C2=A0 (source > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (origin > > @@ -395,6 +398,21 @@ (define-public texlive-libkpathsea > > =C2=A0of user-specified directories similar to how shells look up > > executables.") > > =C2=A0=C2=A0=C2=A0=C2=A0 (license license:lgpl2.1))) > > =C2=A0 > > +(define texlive-libkpathsea/fixed > > +=C2=A0 (package > > +=C2=A0=C2=A0=C2=A0 (inherit texlive-libkpathsea) > > +=C2=A0=C2=A0=C2=A0 (arguments > > +=C2=A0=C2=A0=C2=A0=C2=A0 (substitute-keyword-arguments (package-argume= nts texlive- > > libkpathsea) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ((#:phases phases) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #~(modify-phases #$phases > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (ad= d-after 'customize-texmf.cnf 'fix-texmf.cnf > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (lambda _ > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 (substitute* "texk/kpathsea/texmf.cnf" > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (("^TEXMFVAR =3D .*" all) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (string-append "XDG_CACHE_HOME =3D = ~/.cache\n" > > all)) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (("^TEXMFCONFIG =3D .*" all) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (string-append "XDG_CONFIG_HOME =3D= ~/.config\n" > > all))))))))))) >=20 > It looks good. >=20 > Perhaps we could also fix in an additional step a little mistake > I introduced in the recent TeX Live update: cache and config files > are created in, e.g., "$XDG_CACHE_HOME/.texliveYYYY/texmf-var", but > it would make sense to put them in > "$XDG_CACHE_HOME/texliveYYYY/texmf-var" instead. Sure, I don't see a problem with that. Do you want to push this or should I go? Cheers From debbugs-submit-bounces@debbugs.gnu.org Sat May 17 05:44:50 2025 Received: (at 78424) by debbugs.gnu.org; 17 May 2025 09:44:51 +0000 Received: from localhost ([127.0.0.1]:45894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uGE66-0004qJ-IL for submit@debbugs.gnu.org; Sat, 17 May 2025 05:44:50 -0400 Received: from msg-4.mailo.com ([213.182.54.15]:58676 helo=mailo.com) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uGE63-0004pl-94 for 78424@debbugs.gnu.org; Sat, 17 May 2025 05:44:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nicolasgoaziou.fr; s=mailo; t=1747475079; bh=CvWx5kM/IxbV61Dv+zbOMrPCWbPXPhW6XraxQuRn7V4=; h=X-EA-Auth:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type; b=Uul4l6+VHYtqy1Q+i//Dxe3HKjOMmIcKNrtNqGDiWySvFWD5iVn8fAnCgSYGpz/sk vJEgGiBogGHOCziLd/tbLHDInc7FM9L1zkMCJbKoIARrpxF/bXtLlJJrEwTXw7WLuW OlLMGoODw/nFR3iFjc9KkO+LSyObEATIcWOMKr4g= Received: by b221-1.in.mailobj.net [192.168.90.21] with ESMTP via ip-20.mailobj.net [213.182.54.20] Sat, 17 May 2025 11:44:38 +0200 (CEST) X-EA-Auth: sNg+mqE7BrelrNQPyO9oSJE9CNwDtE76VMmT5tQsMAC20B5clJBgxlSMRGtsan7SHJXAY7N+5KCE8feQtUcJq203PQG+JXaz1jONN9mqLok= From: Nicolas Goaziou To: Liliana Marie Prikler Subject: Re: [bug#78424] [PATCH] gnu: texlive-libkpathsea: Add definitions for XDG paths. In-Reply-To: <4855fa0129d06dd6f36714aa645974b2b3028995.camel@gmail.com> (Liliana Marie Prikler's message of "Fri, 16 May 2025 21:47:03 +0200") References: <5be04a85bec58fd7af826c245711fbcaab66d19d.1747223352.git.liliana.prikler@gmail.com> <87ikm1avok.fsf@nicolasgoaziou.fr> <4855fa0129d06dd6f36714aa645974b2b3028995.camel@gmail.com> Date: Sat, 17 May 2025 11:44:36 +0200 Message-ID: <87y0uv1shn.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78424 Cc: 78424@debbugs.gnu.org, guix@nicolasgoaziou.fr, andreas@enge.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Liliana Marie Prikler writes: > Am Freitag, dem 16.05.2025 um 08:58 +0200 schrieb Nicolas Goaziou: >> Perhaps we could also fix in an additional step a little mistake >> I introduced in the recent TeX Live update: cache and config files >> are created in, e.g., "$XDG_CACHE_HOME/.texliveYYYY/texmf-var", but >> it would make sense to put them in >> "$XDG_CACHE_HOME/texliveYYYY/texmf-var" instead. > Sure, I don't see a problem with that. Do you want to push this or > should I go? Please be my guest ;) Thank you! Regards, -- Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Sat May 17 07:50:10 2025 Received: (at 78424) by debbugs.gnu.org; 17 May 2025 11:50:10 +0000 Received: from localhost ([127.0.0.1]:46833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uGG3N-0007PF-Pp for submit@debbugs.gnu.org; Sat, 17 May 2025 07:50:10 -0400 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:44192) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uGG3K-0007Kq-NZ for 78424@debbugs.gnu.org; Sat, 17 May 2025 07:50:07 -0400 Received: by mail-wr1-x442.google.com with SMTP id ffacd0b85a97d-3a1f9791a4dso1894106f8f.0 for <78424@debbugs.gnu.org>; Sat, 17 May 2025 04:50:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747482600; x=1748087400; darn=debbugs.gnu.org; h=cc:to:content-transfer-encoding:mime-version:subject:date:from :message-id:from:to:cc:subject:date:message-id:reply-to; bh=BMO/T6h9fyDpRn0jhqHuSDlxKKfdpCUoGrNMm1jaW14=; b=eVV3CQILAOUMgOG5lepLW8mRSFyUjLVaejUxnwByHmuqf87q4nv7DYNk3JTixvCLb6 L3tBj6MI6bZ7le29WNRQgzsivxIge/hnwfy9bB0CqgBiTuFphc1T9F8H49wJ9zCPmyHv 9Ygo1o6EENsDbpeFW3GYTYFMpgZZWg5JhPtl0V/jKkd19o8OfRe6tE+0N0GgwmnTxFBr kX/6++PIm9lJGyuRj9hZqljI47kGNeEiKWvnNoPMmf+otye/hT054RUvbmZGr0DQaJrU CZhHQiATtnLWyTsdyWk50jcYgmVzh3c7i8WXMRv2BZSgX0q92dIyPXqwA84YA41rr6wa qhNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747482600; x=1748087400; h=cc:to:content-transfer-encoding:mime-version:subject:date:from :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BMO/T6h9fyDpRn0jhqHuSDlxKKfdpCUoGrNMm1jaW14=; b=sunISN3A6HbO2WHPAiQ/stUa7QoOk6VttV5fLpLOqXAFzPA6bt+nNqMu8BtFAwdK3P c3AhM6hxvnB+TmVzjKjJvGp9WL0efm8YTz8rLkE8u768CqNRnvGKL/p5610nbMOr3Kt3 L7FDLOse4eANQ2cGHqaM80SkSXkCFpRiIdV9oYpyG7fYAXrrXbF0Qi6iXdDV6ngJdZRO j8clPi4uNLHZKR0mgI97A7gkx4PDLBG2olJ0T8YzkSbtPAIzKiOIHrj23Mc719z4GYgE nk2xp6opBv2w6vXbs7PnvEmTwa1tBoaAGhDhm7sitC2I0jgEOsFSnMGqEgRWJak+DJcj w4rQ== X-Gm-Message-State: AOJu0YxZAQRo/SUdYQZ3guc6FEfD3oCMlITrMzB82iLIuV8BbghL49NQ ZrnY8X7+JxqYvURZyMY1g5XU9Yx2j3NrasJLYyhLKKEG8NvZxE8+2yeE4W6QuF6c X-Gm-Gg: ASbGncuokXqkDGOcVEOSSthE2239WD+GMqi5p5Hz30a1klI0NsC+HBy/HTKWhyIMvtX 5jYd8Y2F9hvUXUdD1AVgWIwSFoZlDnlAuDQhKH6QhNpFQypxlrMg8lgdDCOQBJZ1l7SRM12rq5K 1FQvFLtEXxyOWeBMj2s6GMg98nRcbmXMs5j0WP8dzG/Eb+u0v91cxD1iVKcQv7O/MRdwXjeQ672 wtX7fy7Oi1sS3WlxSfRhkiyLB5PYwueO/xxGIZ7JypPh7w6V6YLa+L4Naj1iGBLNlTaLjW7FbJc xYqvCSSCNKfub45CFlXK4/3fbvPrcECOijfC0WKXt5+saJyk4NCxNczpAyS+ORLJjIWy8Zfjiq+ ZyaM+/YRwh2eHOhq0qJcXIx3bws9pAgEKk89IvQ== X-Google-Smtp-Source: AGHT+IFxrLoQl4bKAGG83sVeDPPPRdHmBPxF6kWKOUCLfnPJhq0kgZN7sI8qjWo0gIBGqCl5/6X/mw== X-Received: by 2002:a05:6000:2012:b0:3a3:5a99:7e07 with SMTP id ffacd0b85a97d-3a35c8258fdmr6839593f8f.25.1747482600266; Sat, 17 May 2025 04:50:00 -0700 (PDT) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a35ca62961sm5909774f8f.49.2025.05.17.04.49.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 May 2025 04:49:59 -0700 (PDT) Message-ID: From: Liliana Marie Prikler Date: Wed, 14 May 2025 13:46:01 +0200 Subject: [PATCH v2] gnu: texlive-libkpathsea: Add definitions for XDG paths. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit to: 78424@debbugs.gnu.org X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Without these paths set, if they are unset in the environment, jobs that need to read from/write to TEXMFVAR or TEXMFCONFIG will fail. If set, environment variables take precedence. * gnu/packages/tex.scm (texlive-libkpathsea): Add replacement, pointing to… (texlive-libkpathsea/fixed): … this. Add definitions for XDG_CACHE_HOME and XDG_CONFIG_HOME. --- For v2, I'm replacing t [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 2.1 MALFORMED_FREEMAIL Bad headers on message from free email service 0.0 T_MXG_LOWER_HDR_SPAM Lower case header spam X-Debbugs-Envelope-To: 78424 Cc: andreas@enge.fr, guix@nicolasgoaziou.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Without these paths set, if they are unset in the environment, jobs that need to read from/write to TEXMFVAR or TEXMFCONFIG will fail. If set, environment variables take precedence. * gnu/packages/tex.scm (texlive-libkpathsea): Add replacement, pointing to… (texlive-libkpathsea/fixed): … this. Add definitions for XDG_CACHE_HOME and XDG_CONFIG_HOME. --- For v2, I'm replacing t [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 2.1 MALFORMED_FREEMAIL Bad headers on message from free email service -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 T_MXG_LOWER_HDR_SPAM Lower case header spam Without these paths set, if they are unset in the environment, jobs that need to read from/write to TEXMFVAR or TEXMFCONFIG will fail. If set, environment variables take precedence. * gnu/packages/tex.scm (texlive-libkpathsea): Add replacement, pointing to… (texlive-libkpathsea/fixed): … this. Add definitions for XDG_CACHE_HOME and XDG_CONFIG_HOME. --- For v2, I'm replacing the entire phase, because this makes it easier to strip the leading dot and should also make it easier to ungraft. gnu/packages/tex.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 31b7d9ff566..b47baec3497 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -296,6 +296,9 @@ (define-public texlive-source (define-public texlive-libkpathsea (package (name "texlive-libkpathsea") + ;; TODO: ungraft on tex-team or a dedicated branch, + ;; integrating the missing definitions. + (replacement texlive-libkpathsea/fixed) (version (package-version texlive-source)) (source (origin @@ -395,6 +398,47 @@ (define-public texlive-libkpathsea of user-specified directories similar to how shells look up executables.") (license license:lgpl2.1))) +(define texlive-libkpathsea/fixed + (package + (inherit texlive-libkpathsea) + (arguments + (substitute-keyword-arguments (package-arguments texlive-libkpathsea) + ((#:phases phases) + #~(modify-phases #$phases + (replace 'customize-texmf.cnf + (lambda _ + (substitute* "texk/kpathsea/texmf.cnf" + (("^TEXMFROOT = .*") "TEXMFROOT = {$GUIX_TEXMF}/..\n") + (("^TEXMFDIST = .*") "TEXMFDIST = {$GUIX_TEXMF}\n") + ;; Use XDG recommendations for local variables. Also ignore + ;; system-wide cache, which is not writable; use local one + ;; instead, i.e., "$XDG_CACHE_HOME/texliveYYYY/texmf-var/". + (("^TEXMFVAR = ~/\\.") + (string-append "XDG_CACHE_HOME = ~/.cache\n" + "TEXMFVAR = $XDG_CACHE_HOME/")) + (("^TEXMFCONFIG = ~/\\.") + (string-append "XDG_CONFIG_HOME = ~/.config\n" + "TEXMFCONFIG = $XDG_CONFIG_HOME/")) + (("^TEXMFCACHE = .*") "TEXMFCACHE = $TEXMFVAR\n") + ;; "ls-R" files are to be expected only in the TEXMFDIST + ;; directories. TEXMFLOCAL is not necessary for Guix, but + ;; could be required anyway by external TeX installations. + (("^TEXMF = .*") + "TEXMF = {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,!!TEXMFLOCAL,TEXMFSYSVAR,TEXMFSYSCONFIG,!!$TEXMFDIST}\n") + (("^TEXMFDBS = .*") "TEXMFDBS = {!!$TEXMFLOCAL,!!$TEXMFDIST}\n") + ;; Set TEXMFCNF. Since earlier values of variables have + ;; precedence over later ones, insert the desired value first. + (("^TEXMFCNF =") + (string-append + "TEXMFCNF = " #$output "/share/texmf-dist/web2c\n" + "TEXMFCNF =")) + ;; Help TeX finding fonts installed on the system. + (("^OSFONTDIR = .*") "OSFONTDIR = {$XDG_DATA_DIRS}\n") + ;; Don't truncate lines. + (("^error_line = .*$") "error_line = 254\n") + (("^half_error_line = .*$") "half_error_line = 238\n") + (("^max_print_line = .*$") "max_print_line = 1000\n")))))))))) + (define-public texlive-libptexenc (package (name "texlive-libptexenc") base-commit: 9f3d8dbda60bb1dd15d2956c334354947df8b3f5 -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Sun May 18 05:08:00 2025 Received: (at 78424) by debbugs.gnu.org; 18 May 2025 09:08:00 +0000 Received: from localhost ([127.0.0.1]:55481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uGa00-00058Z-8U for submit@debbugs.gnu.org; Sun, 18 May 2025 05:08:00 -0400 Received: from msg-3.mailo.com ([213.182.54.8]:41048 helo=mailo.com) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uGZzx-00058A-Cq for 78424@debbugs.gnu.org; Sun, 18 May 2025 05:07:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nicolasgoaziou.fr; s=mailo; t=1747559270; bh=D5Jyf2NKYc0BGqIyYzNEqNvLUCGawHlfa//t9Ha2ah0=; h=X-EA-Auth:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; b=D1WwD/MELjHNn7zvbZWZQyxW/LNwPJj+ZLbmgT9MdSkCTmMBG0BHuQFh+esfp9ykD P9L2ZQMsq3pqwar0Fg/+CQ27Fuy+C3HpOQYrI9fjTnHDbB/qKGdCnsHpLAmnGZzdhx VhZ7LTpmOh/mMOQWzCDPNjUiqf8MOaxdZNdOqWxk= Received: by b221-1.in.mailobj.net [192.168.90.21] with ESMTP via ip-20.mailobj.net [213.182.54.20] Sun, 18 May 2025 11:07:49 +0200 (CEST) X-EA-Auth: DshBDU6PMIBP1k1oX0rzDXPbcTEZNgTWiR+W6bXh2xkx8udL8pobjD0qaeCavRzJOie7KLuVS8p7XdkMsMemI9wWOz2dohmyM6xmsPLl6Hk= From: Nicolas Goaziou To: Liliana Marie Prikler Subject: Re: [bug#78424] [PATCH v2] gnu: texlive-libkpathsea: Add definitions for XDG paths. In-Reply-To: (Liliana Marie Prikler's message of "Wed, 14 May 2025 13:46:01 +0200") References: <5be04a85bec58fd7af826c245711fbcaab66d19d.1747223352.git.liliana.prikler@gmail.com> Date: Sun, 18 May 2025 11:07:48 +0200 Message-ID: <87msbacmmz.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78424 Cc: 78424@debbugs.gnu.org, guix@nicolasgoaziou.fr, andreas@enge.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Liliana Marie Prikler writes: > Without these paths set, if they are unset in the environment, jobs that = need > to read from/write to TEXMFVAR or TEXMFCONFIG will fail. If set, environ= ment > variables take precedence. > > * gnu/packages/tex.scm (texlive-libkpathsea): Add replacement, pointing t= o=E2=80=A6 > (texlive-libkpathsea/fixed): =E2=80=A6 this. Add definitions for XDG_CAC= HE_HOME and > XDG_CONFIG_HOME. > --- > For v2, I'm replacing the entire phase, because this makes it easier to s= trip > the leading dot and should also make it easier to ungraft. LGTM. Thank you! Regards, --=20 Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 02 09:40:39 2025 Received: (at 78424) by debbugs.gnu.org; 2 Jun 2025 13:40:40 +0000 Received: from localhost ([127.0.0.1]:50507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uM5P4-0003Oj-Ow for submit@debbugs.gnu.org; Mon, 02 Jun 2025 09:40:39 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:33158) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uM5P1-0003Nf-GF for 78424@debbugs.gnu.org; Mon, 02 Jun 2025 09:40:36 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 50052C39; Mon, 2 Jun 2025 15:40:27 +0200 (CEST) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id MkB8o8YVvL1T; Mon, 2 Jun 2025 15:40:26 +0200 (CEST) Received: from jurong (176-179-191-150.abo.bbox.fr [176.179.191.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 210B994; Mon, 2 Jun 2025 15:40:25 +0200 (CEST) Date: Mon, 2 Jun 2025 15:40:23 +0200 From: Andreas Enge To: Nicolas Goaziou Subject: Re: [bug#78424] [PATCH v2] gnu: texlive-libkpathsea: Add definitions for XDG paths. Message-ID: References: <5be04a85bec58fd7af826c245711fbcaab66d19d.1747223352.git.liliana.prikler@gmail.com> <87msbacmmz.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87msbacmmz.fsf@nicolasgoaziou.fr> X-Rspamd-Server: hera X-Rspamd-Queue-Id: 50052C39 X-Spamd-Result: default: False [-5.55 / 15.00]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM(-2.95)[-0.982]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TAGGED_RCPT(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; RCPT_COUNT_THREE(0.00)[4]; FREEMAIL_CC(0.00)[gmail.com,debbugs.gnu.org,nicolasgoaziou.fr] X-Rspamd-Action: no action X-Spamd-Bar: ----- X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78424 Cc: 78424@debbugs.gnu.org, guix@nicolasgoaziou.fr, Liliana Marie Prikler X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, if I see correctly, this adds a graft for a not security related issue. Then I think that instead, we should create a tex-team branch and build out the branch with all needed changes. Andreas