From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id qFtOCOFi/2QMOwAAG6o9tA:P1 (envelope-from ) for ; Mon, 11 Sep 2023 20:56:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qFtOCOFi/2QMOwAAG6o9tA (envelope-from ) for ; Mon, 11 Sep 2023 20:56:33 +0200 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 9595038816 for ; Mon, 11 Sep 2023 20:56:32 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694458593; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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; bh=5L1TaUqBU48SAd0iCmvTdqKFCs3BSiVt4YMq+Ojg3fE=; b=BFIC+Ig8T3vHEZvhuV66dXu1dv1jNVQR545zLTdG7q5kkvAcM1VZKW7rcTI+aV4JXV/T0E 9837cGZmfkQgnf+6PcUjhpihl925WaBjYgSgPo6f9zzY3lSCNV2wouVEN2X4VGWHBTo88A x858TAHHV8dlpUrxUiXKN/+5aPHSE419DhHa/+wzQPDaHUz3dmcE8VwOCcoI62TLy6tTEu bUOfemJPMNOzBPCC+evVyPjG7nhnxbmBX5q4bRW9TyqKo7Y8U668ZbQW4Or8NaSllujlCr BVp5d8cV1em97qIFrnaGVlX4LdmB4FnEMr2BTKNvZUOtk1B35Ht0OfS4r/hm5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694458593; a=rsa-sha256; cv=none; b=k5kT0oehvwOmqBO1iNLO9UFr3EFYh0ev1LUy7+EvxcKG473yf6lw9UC45rP62y80qzn5Bt afwBUFSvXXnbmUJZUsI+OD74dHqb3mUDXQYFc6ICetZgmXt6CsI+dfZpz99tjPfkUhH+8u WklLpeZxw4BaoI0yBO8DYfTRqnYTXUq7TwTi9xR9otyGxC3gSo78DOpJDC0s9crKX9CbcG wMtgWtJ9MfD0NDdsBBOc/XGoXmHwCO/PbnPRnXvX5WkdMSmJLYePeIEYubKIrM70oTZOeH 4CdK9La459ISWuBYQ04Q2vKvq/UukbObNLFWvWd+T73xIZxe0bwY9ioYrf7QNg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qfm53-00030q-1a; Mon, 11 Sep 2023 14:56:17 -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 1qfm4l-0002s7-Nn for guix-patches@gnu.org; Mon, 11 Sep 2023 14:56:01 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qfm4k-000482-Bl for guix-patches@gnu.org; Mon, 11 Sep 2023 14:55:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qfm4o-0001q1-Gz for guix-patches@gnu.org; Mon, 11 Sep 2023 14:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65873] [PATCH 3/5] gnu: transfig: Remove package. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Sep 2023 18:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65873 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65873@debbugs.gnu.org Cc: Bruno Victal Received: via spool by 65873-submit@debbugs.gnu.org id=B65873.16944585096960 (code B ref 65873); Mon, 11 Sep 2023 18:56:02 +0000 Received: (at 65873) by debbugs.gnu.org; 11 Sep 2023 18:55:09 +0000 Received: from localhost ([127.0.0.1]:54837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfm3w-0001oB-Dn for submit@debbugs.gnu.org; Mon, 11 Sep 2023 14:55:08 -0400 Received: from smtpm1.myservices.hosting ([185.26.105.232]:40684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfm3u-0001ny-5J for 65873@debbugs.gnu.org; Mon, 11 Sep 2023 14:55:07 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm1.myservices.hosting (Postfix) with ESMTP id 3629F202FB for <65873@debbugs.gnu.org>; Mon, 11 Sep 2023 20:55:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 90BED8009D; Mon, 11 Sep 2023 20:55:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id iNTWor5PndoR; Mon, 11 Sep 2023 20:55:00 +0200 (CEST) Received: from guix-nuc.home.arpa (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id E4B0B80099; Mon, 11 Sep 2023 20:54:59 +0200 (CEST) From: Bruno Victal Date: Mon, 11 Sep 2023 19:54:51 +0100 Message-Id: <0469f9a315069001990f79b4e4fc539dd4d683a3.1694458076.git.mirai@makinata.eu> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -1.72 X-Spam-Score: -1.72 X-Migadu-Queue-Id: 9595038816 X-TUID: 1UOno3QTSVGk The source used by this package is outdated and its development was moved into the repository used by fig2dev though considered its obsolete and not built by default in the fig2dev package. Note: enblend-enfuse no longer needs transfig since 4.2 according to NEWS. * gnu/packages/docbook.scm (dblatex): Update comment. * gnu/packages/photo.scm (enblend-enfuse)[native-inputs]: Remove transfig. * gnu/packages/xfig.scm (transfig): Remove. * gnu/packages/patches/transfig-gcc10-fno-common.patch: Remove. * gnu/local.mk: Unregister it. --- gnu/local.mk | 1 - gnu/packages/docbook.scm | 2 +- .../patches/transfig-gcc10-fno-common.patch | 33 -------- gnu/packages/photo.scm | 3 +- gnu/packages/xfig.scm | 81 ------------------- 5 files changed, 2 insertions(+), 118 deletions(-) delete mode 100644 gnu/packages/patches/transfig-gcc10-fno-common.patch diff --git a/gnu/local.mk b/gnu/local.mk index 4f8637418a..f4707a89e6 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -2021,7 +2021,6 @@ dist_patch_DATA = \ %D%/packages/patches/tootle-glib-object-naming.patch \ %D%/packages/patches/tootle-reason-phrase.patch \ %D%/packages/patches/transcode-ffmpeg.patch \ - %D%/packages/patches/transfig-gcc10-fno-common.patch \ %D%/packages/patches/trytond-add-egg-modules-to-path.patch \ %D%/packages/patches/trytond-add-guix_trytond_path.patch \ %D%/packages/patches/ttf2eot-cstddef.patch \ diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm index ff6d32b168..c47d3db2c0 100644 --- a/gnu/packages/docbook.scm +++ b/gnu/packages/docbook.scm @@ -532,7 +532,7 @@ (define-public dblatex (base32 "0yd09nypswy3q4scri1dg7dr99d7gd6r2dwx0xm81l9f4y32gs0n")))) (build-system python-build-system) - ;; TODO: Add xfig/transfig for fig2dev utility + ;; TODO: Add fig2dev for fig2dev utility. (inputs `(("texlive" ,(texlive-updmap.cfg (list texlive-anysize texlive-appendix diff --git a/gnu/packages/patches/transfig-gcc10-fno-common.patch b/gnu/packages/patches/transfig-gcc10-fno-common.patch deleted file mode 100644 index ebe9236533..0000000000 --- a/gnu/packages/patches/transfig-gcc10-fno-common.patch +++ /dev/null @@ -1,33 +0,0 @@ -Fixes "multiple definition" errors when building with GCC 10+. - -Based on . ---- a/fig2dev/dev/gensvg.c 2010-07-01 22:41:16.000000000 +0200 -+++ b/fig2dev/dev/gensvg.c 2022-02-27 20:02:33.379945500 +0100 -@@ -230,10 +230,12 @@ - }; - - /* arrowhead arrays */ --Point points[50], fillpoints[50], clippoints[50]; --int npoints, nfillpoints, nclippoints; --int arrowx1, arrowy1; /* first point of object */ --int arrowx2, arrowy2; /* second point of object */ -+Point fillpoints[50]; -+int nfillpoints; -+extern Point points[50], clippoints[50]; -+extern int npoints, nclippoints; -+extern int arrowx1, arrowy1; /* first point of object */ -+extern int arrowx2, arrowy2; /* second point of object */ - - static int tileno=0; /* number of current tile */ - ---- a/fig2dev/fig2dev.h 2010-03-16 19:53:20.000000000 +0100 -+++ b/fig2dev/fig2dev.h 2022-02-27 19:56:06.072253991 +0100 -@@ -126,7 +126,7 @@ - extern char *prog, *from, *to; - extern char *name; - extern double font_size; --Boolean correct_font_size; /* use correct font size */ -+extern Boolean correct_font_size; /* use correct font size */ - extern double mag, fontmag; - extern FILE *tfp; - diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm index b290e2b29a..d9ecc1d39c 100644 --- a/gnu/packages/photo.scm +++ b/gnu/packages/photo.scm @@ -382,8 +382,7 @@ (define-public enblend-enfuse imagemagick libxml2 (texlive-updmap.cfg) - tidy-html - transfig)) + tidy-html)) (inputs (list boost gsl diff --git a/gnu/packages/xfig.scm b/gnu/packages/xfig.scm index 51791a1696..9ea40c193e 100644 --- a/gnu/packages/xfig.scm +++ b/gnu/packages/xfig.scm @@ -130,84 +130,3 @@ (define-public xfig deleted, moved or modified. Attributes such as colors or line styles can be selected in various ways. For text, 35 fonts are available.") (license license:bsd-2))) - -(define-public transfig - (package - (name "transfig") - (version "3.2.5e") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://sourceforge/mcj/mcj-source/transfig." - version ".tar.gz")) - (sha256 - (base32 - "0i3p7qmg2w8qrad3pn42b0miwarql7yy0gpd49b1bpal6bqsiicf")) - (patches - (search-patches - "transfig-gcc10-fno-common.patch")))) ; fix GCC10 build - (build-system gnu-build-system) - (native-inputs - (list imake makedepend)) - (inputs - `(("xfig" ,xfig) - ("libjpeg" ,libjpeg-turbo) - ("libpng" ,libpng) - ("libxpm" ,libxpm) - ("libx11" ,libx11) - ("zlib" ,zlib))) - (arguments - `(#:tests? #f - #:phases - (modify-phases %standard-phases - (replace 'configure - (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((imake (assoc-ref inputs "imake")) - (out (assoc-ref outputs "out"))) - (substitute* '("fig2dev/Imakefile" - "transfig/Imakefile") - (("XCOMM (BINDIR = )[[:graph:]]*" _ front) - (string-append front out "/bin")) - (("XCOMM USEINLINE") "USEINLINE") - ;; The variable name is deceptive. The directory is used as an - ;; installation path for bitmaps. - (("(XFIGLIBDIR =[[:blank:]]*)[[:graph:]]*" _ front) - (string-append front out "/lib")) - (("(XPMLIBDIR = )[[:graph:]]*" _ front) - (string-append front (assoc-ref inputs "libxpm") "/lib")) - (("(XPMINC = -I)[[:graph:]]*" _ front) - (string-append front (assoc-ref inputs "libxpm") "/include/X11")) - (("/usr/local/lib/fig2dev") (string-append out "/lib"))) - ;; The -a argument is required in order to pick up the correct paths - ;; to several X header files. - (invoke "xmkmf" "-a") - (substitute* '("Makefile" - "fig2dev/Makefile" - "fig2dev/dev/Makefile" - "transfig/Makefile") - ;; These imake variables somehow remain undefined - (("DefaultGcc2[[:graph:]]*Opt") "-O2") - ;; Reset a few variable defaults that are set in imake templates - ((imake) out) - (("(MANPATH = )[[:graph:]]*" _ front) - (string-append front out "/share/man")) - (("(CONFDIR = )([[:graph:]]*)" _ front default) - (string-append front out default)) - ;; The "l" option was silently ignored until binutils 2.36, - ;; where it got a different purpose. So remove it to avoid - ;; "ar: libdeps specified more than once". - (("((AR|MODAR) = ar )clq" _ front) - (string-append front "cq"))) - #t))) - (add-after 'install 'install/doc - (lambda _ - (invoke "make" "install.man")))))) - (home-page "https://mcj.sourceforge.net/") - (synopsis "Create portable LaTeX figures") - (description - "Transfig creates a makefile to translate figures described in Fig code -or PIC into a specified LaTeX graphics language. PIC files are identified by -the suffix \".pic\"; Fig files can be specified either with or without the -suffix \".fig\". Transfig also creates a TeX macro file appropriate to the -target language.") - (license license:bsd-2))) -- 2.40.1