From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oG2LApXen2DuRgAAgWs5BA (envelope-from ) for ; Sat, 15 May 2021 16:45:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KC3GOZTen2DeewAAB5/wlQ (envelope-from ) for ; Sat, 15 May 2021 14:45:40 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BB7CF267A6 for ; Sat, 15 May 2021 16:45:40 +0200 (CEST) Received: from localhost ([::1]:33072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhvXv-0008GF-Vf for larch@yhetil.org; Sat, 15 May 2021 10:45:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhvVO-0006Om-WB for guix-patches@gnu.org; Sat, 15 May 2021 10:43:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37508) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhvVO-0004eb-KV for guix-patches@gnu.org; Sat, 15 May 2021 10:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhvVO-0002ZW-FA for guix-patches@gnu.org; Sat, 15 May 2021 10:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48443] [PATCH 1/2] gnu: Add texlive-libkpathsea. References: In-Reply-To: Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 15 May 2021 14:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48443 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48443@debbugs.gnu.org Received: via spool by 48443-submit@debbugs.gnu.org id=B48443.16210897789870 (code B ref 48443); Sat, 15 May 2021 14:43:02 +0000 Received: (at 48443) by debbugs.gnu.org; 15 May 2021 14:42:58 +0000 Received: from localhost ([127.0.0.1]:49052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhvVJ-0002Z7-Ug for submit@debbugs.gnu.org; Sat, 15 May 2021 10:42:58 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:11551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhvVH-0002Ys-NU for 48443@debbugs.gnu.org; Sat, 15 May 2021 10:42:56 -0400 Received: from localhost.localdomain (91-114-247-246.adsl.highway.telekom.at [91.114.247.246]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Fj7RJ2psgz1DH8w for <48443@debbugs.gnu.org>; Sat, 15 May 2021 16:42:52 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Fj7RJ2psgz1DH8w DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1621089772; bh=u4oV2sSmQuRfHbdaWFLoFGh/UtJSP4sD3QfQM4WvDVQ=; h=From:To:Subject:Date:From; b=BJFoZ+OKClT5RRpRug1S4n9IvViYdqqCBK3OdBIRdNTJGNPTyFGget8IOFrg5ZLD8 PQQF6eNOakQtJUA4usHAWe/F7svEd4Do7xlsrWGQa3oN0TBvvTwC/6patEX0ftXv4D Yx0sIQaBVlG0JblIE1AKr7cGtp72E3mgGGhPoQLM= From: Leo Prikler Date: Sat, 15 May 2021 16:42:29 +0200 Message-Id: <20210515144230.22035-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621089940; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Z/Qx2Wu6wtALce7lEY6WiERkmQTLxtv4b6ZuBo8JCec=; b=XaO7sLsxzzq42N+mghsNAERKlOXl4JiB1PYHVrE71Jen5D0EX8tB31uaSd6ZtqL1O7fRag KY8ka4A2g0QrFJYIo666MC2qEGmTo4hsl2H7fom3A3pu/+TsjDRjvVTlvXKmk6r4STMZ76 9/X9eXydrqnJGWgoMmZstK0F1AWZ3vi7Q6UpvfXo/misJf7ulF96XBBfaGwMEMD69MsuvA POADynxbT+AkSzQh0cWvkU2D6uk4R6nLkuS/Aq0/tvbFE4RWWoVV4/sWl2nw7Mr01xmp43 U+LntQ2NVJgj8RY2UNyXOYJNjAlHZvsGjiIwD1cHE0FBcUvvUU3fXqXDs3rddw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621089940; a=rsa-sha256; cv=none; b=bRHNWmUia3bXD5b64urp6eNDVTFeO/GgJ5Qn7DQRI7Jxr413RSu17A5r/QgM+m2cz6UVbI bA7v2IGj7wUedMpMg4uhFnZ/bRfP0+tnL3WPAK7tUzPEU7azUUXuj9l6Y+oJgXjGCzjX4c AxeBdHHF5V/6BqScPMQDMCHd+NfG87O8peI5V39fCbCUS7rHzHTLLRzehoETmhIbVxt58Q E8LmmUiakdP+NoB+jyyp5JeR0i63IYfs90D4gj7PujGt4xnqMTbU5wmf84ZqhgfjtmOZht TzDW4gLeZYiwJH9AMqJhG1vFX72pdZJZPDBE7ppYx9OqJQ9Y+7KrYSSlW+MQ3A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=tugraz.at header.s=mailrelay header.b=BJFoZ+OK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=tugraz.at header.s=mailrelay header.b=BJFoZ+OK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: BB7CF267A6 X-Spam-Score: 3.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: DypjBtFZf/X0 * gnu/packages/tex.scm (texlive-libkpathsea): New variable. --- gnu/packages/tex.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index b9eeb0e792..3e8384eaad 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -457,6 +457,38 @@ This package contains the binaries.") (license (license:fsf-free "https://www.tug.org/texlive/copying.html")) (home-page "https://www.tug.org/texlive/"))) +(define-public texlive-libkpathsea + (package/inherit texlive-bin + (name "texlive-libkpathsea") + (source + (origin + (inherit (package-source texlive-bin)) + (snippet + `(begin + ,(origin-snippet (package-source texlive-bin)) + (with-directory-excursion "texk" + (let ((preserved-directories '("." ".." "kpathsea"))) + (for-each + delete-file-recursively + (scandir "." + (lambda (file) + (and (not (member file preserved-directories)) + (eq? 'directory (stat:type (stat file))))))))))))) + (arguments + (substitute-keyword-arguments (package-arguments texlive-bin) + ((#:configure-flags flags) + `(cons* "--disable-all-pkgs" "--enable-kpathsea" + "--enable-shared" ,flags)) + ((#:phases phases) + `(modify-phases ,phases + (delete 'configure-ghostscript-executable) + (delete 'use-code-for-new-poppler) + (delete 'patch-dvisvgm-build-files) + (delete 'disable-failing-test) + (replace 'postint + (lambda* (#:key inputs outputs #:allow-other-keys) + (with-directory-excursion "texk/kpathsea" + (invoke "make" "install")))))))))) (define texlive-docstrip (package -- 2.31.1