From b64fbff02cf82c1daf90be43547715671295e728 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Mon, 1 Jan 2024 22:59:26 +0100 Subject: [PATCH] media-gfx: Remove figtoipe, ipe5toxml, pdftoipe, svgtoipe Replaced by media-gfx/ipe-tools --- media-gfx/figtoipe/Manifest | 2 - media-gfx/figtoipe/figtoipe-9999.ebuild | 36 ----- media-gfx/figtoipe/metadata.xml | 8 -- media-gfx/ipe5toxml/Manifest | 2 - media-gfx/ipe5toxml/ipe5toxml-9999.ebuild | 35 ----- media-gfx/ipe5toxml/metadata.xml | 8 -- media-gfx/pdftoipe/Manifest | 5 - media-gfx/pdftoipe/files/missingpage.patch | 126 ------------------ media-gfx/pdftoipe/files/poppler-0.18.patch | 11 -- media-gfx/pdftoipe/files/poppler-0.20.patch | 11 -- media-gfx/pdftoipe/metadata.xml | 8 -- media-gfx/pdftoipe/pdftoipe-9999.ebuild | 37 ----- .../svgtoipe/.pdftoipe-20091014.ebuild.swp | Bin 12288 -> 0 bytes media-gfx/svgtoipe/Manifest | 2 - media-gfx/svgtoipe/metadata.xml | 8 -- media-gfx/svgtoipe/svgtoipe-9999.ebuild | 35 ----- 16 files changed, 334 deletions(-) delete mode 100644 media-gfx/figtoipe/Manifest delete mode 100644 media-gfx/figtoipe/figtoipe-9999.ebuild delete mode 100644 media-gfx/figtoipe/metadata.xml delete mode 100644 media-gfx/ipe5toxml/Manifest delete mode 100644 media-gfx/ipe5toxml/ipe5toxml-9999.ebuild delete mode 100644 media-gfx/ipe5toxml/metadata.xml delete mode 100644 media-gfx/pdftoipe/Manifest delete mode 100644 media-gfx/pdftoipe/files/missingpage.patch delete mode 100644 media-gfx/pdftoipe/files/poppler-0.18.patch delete mode 100644 media-gfx/pdftoipe/files/poppler-0.20.patch delete mode 100644 media-gfx/pdftoipe/metadata.xml delete mode 100644 media-gfx/pdftoipe/pdftoipe-9999.ebuild delete mode 100644 media-gfx/svgtoipe/.pdftoipe-20091014.ebuild.swp delete mode 100644 media-gfx/svgtoipe/Manifest delete mode 100644 media-gfx/svgtoipe/metadata.xml delete mode 100644 media-gfx/svgtoipe/svgtoipe-9999.ebuild diff --git a/media-gfx/figtoipe/Manifest b/media-gfx/figtoipe/Manifest deleted file mode 100644 index b1ea26d..0000000 --- a/media-gfx/figtoipe/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -EBUILD figtoipe-9999.ebuild 588 BLAKE2B 876f40200f4a23bdf3a127557e05a1d76c7302ab69cbb50792d2bc0a2c68a5a8a4f1b47976f63cf746abafc971ff0e6aacb48c2d4af6ce1a9a64c3044b8cbf8c SHA512 6a6b46a0320149cd6a4978132c94105101e5b81ec33ded663f708bd20a315ffe0fd882beffed0a260aecebfe5e461410cb10ffb33fa7c3b33fa8394d4a8daba8 -MISC metadata.xml 243 BLAKE2B 889d08efb220a9fb8457500f5f3c33c8c737616995e19fa8b621ced4bc9d380d016413d098d4d09925c679cd23f7fbd75e495424fe6ed809a9e873014caae682 SHA512 f9051a65d7e11d7abd1b9568dbbf8be84a6ae68eb994b0c22d57dff5620047d5ad5a324057a5cf4cec10837d16024e5f21a8cf5f1a6247807f62931839eb73bc diff --git a/media-gfx/figtoipe/figtoipe-9999.ebuild b/media-gfx/figtoipe/figtoipe-9999.ebuild deleted file mode 100644 index 08a2d69..0000000 --- a/media-gfx/figtoipe/figtoipe-9999.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=7 - -inherit git-r3 - -DESCRIPTION="Converts FIG files (xfig) to XML files (Ipe)" -HOMEPAGE="https://github.com/otfried/ipe-tools/tree/master/figtoipe" -EGIT_REPO_URI="https://github.com/otfried/ipe-tools.git" -SRC_URI="" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="sys-libs/zlib - !media-gfx/ipe-tools" -RDEPEND="${DEPEND}" - -BASEDIR="${WORKDIR}/${P}/${PN}" - -src_compile() { - cd ${BASEDIR} - emake -} - -src_install() { - cd ${BASEDIR} - exeinto /usr/bin/ - doexe figtoipe - doman figtoipe.1 -} - - diff --git a/media-gfx/figtoipe/metadata.xml b/media-gfx/figtoipe/metadata.xml deleted file mode 100644 index 9434230..0000000 --- a/media-gfx/figtoipe/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - shuber@sthu.org - Stefan Huber - - diff --git a/media-gfx/ipe5toxml/Manifest b/media-gfx/ipe5toxml/Manifest deleted file mode 100644 index 4932099..0000000 --- a/media-gfx/ipe5toxml/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -EBUILD ipe5toxml-9999.ebuild 565 BLAKE2B 989a9446da04f4cfee9a600f3af546021a6b4ea253331b52f08a8a0ea277f6be2ea60207969615662e21234dab6f423e751906b6af218739674c363e36c169fb SHA512 760fffbb1269db6f7813db0a6c3b1446381fb0190614f119f005b6fbfd06942419af002be44fb83c90ce721753113713cd6f2e4a14be4a7457e0af91e9413f66 -MISC metadata.xml 243 BLAKE2B 889d08efb220a9fb8457500f5f3c33c8c737616995e19fa8b621ced4bc9d380d016413d098d4d09925c679cd23f7fbd75e495424fe6ed809a9e873014caae682 SHA512 f9051a65d7e11d7abd1b9568dbbf8be84a6ae68eb994b0c22d57dff5620047d5ad5a324057a5cf4cec10837d16024e5f21a8cf5f1a6247807f62931839eb73bc diff --git a/media-gfx/ipe5toxml/ipe5toxml-9999.ebuild b/media-gfx/ipe5toxml/ipe5toxml-9999.ebuild deleted file mode 100644 index ce1807c..0000000 --- a/media-gfx/ipe5toxml/ipe5toxml-9999.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=7 - -inherit git-r3 - -DESCRIPTION="Converts Ipe-5 files to Ipe-6 files" -HOMEPAGE="https://github.com/otfried/ipe-tools/tree/master/figtoipe" -EGIT_REPO_URI="https://github.com/otfried/ipe-tools.git" -SRC_URI="" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="!media-gfx/ipe-tools" -RDEPEND="${DEPEND}" - -BASEDIR="${WORKDIR}/${P}/${PN}" - -src_compile() { - cd ${BASEDIR} - emake -} - -src_install() { - cd ${BASEDIR} - exeinto /usr/bin/ - doexe ipe5toxml - doman ipe5toxml.1 -} - - diff --git a/media-gfx/ipe5toxml/metadata.xml b/media-gfx/ipe5toxml/metadata.xml deleted file mode 100644 index 9434230..0000000 --- a/media-gfx/ipe5toxml/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - shuber@sthu.org - Stefan Huber - - diff --git a/media-gfx/pdftoipe/Manifest b/media-gfx/pdftoipe/Manifest deleted file mode 100644 index 9bc1a7c..0000000 --- a/media-gfx/pdftoipe/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX missingpage.patch 4029 BLAKE2B 95fb9f10d108cc8436ec80e452feede106407f1ce62ecfe2a61d94c2ee5a6b09e983626b84fd7cb420ceedbe7ae8e8a9aa2d9d502226e9372228de7c438d6065 SHA512 9fbd49d2b13a35b3cc01c041dfbdd47df27a10fccc31d33b9ec4e7bd4746bff31d07094a15fbdacd1d453075e5f34423e23ac3168405d1f09e029942534ec935 -AUX poppler-0.18.patch 308 BLAKE2B 8f77635d560657ff95bfb3df15568b76489c3f596a14c2dc14afe2a4e65853aeaa68e2c85ab741f4737cb4187e6383524c48d24a5c62a09953118d865a32b4cb SHA512 c96e224f01378c9a849a30a7dcc0cb46d5f041fda6588c56b9512f1ea0c79821b1c75b2c6df56b0aa8bc1f897047b046e2337876f80f4a01fb261093bd83dd7a -AUX poppler-0.20.patch 281 BLAKE2B 773dcc44cd6a091b241a1ae8add2f1fef93747ee9aa42be5a4ade92938c0852356d2bbca3d121c4795fac4b10909c0a174deeeeeeaaad351d4515e3e2ae94da0 SHA512 68149b180855bd47700dc24ff4858e1c7be874370bb84efeae9a44e49c6c7f59303544e9aa84bb6c1f8a634badd9ff5a4152e16c8eeb4f8fb7135b2bc2cfd0f9 -EBUILD pdftoipe-9999.ebuild 583 BLAKE2B c32eb0ec71845884672ff17d6aa68af343c285976cf8659c0ca8b45a2fe7120c24d8823ac029729bfd6f590bbaf2924ed241bb99531819b9f74e86d1f3d0f30f SHA512 f0aba3e9f329918865a4547547dc67db9f75a547008165cf4eac547b5582c39af7d83305ccd8f90dfaeab683b83984c73ce9c65e7af408f9792f3489e4a85a79 -MISC metadata.xml 243 BLAKE2B 889d08efb220a9fb8457500f5f3c33c8c737616995e19fa8b621ced4bc9d380d016413d098d4d09925c679cd23f7fbd75e495424fe6ed809a9e873014caae682 SHA512 f9051a65d7e11d7abd1b9568dbbf8be84a6ae68eb994b0c22d57dff5620047d5ad5a324057a5cf4cec10837d16024e5f21a8cf5f1a6247807f62931839eb73bc diff --git a/media-gfx/pdftoipe/files/missingpage.patch b/media-gfx/pdftoipe/files/missingpage.patch deleted file mode 100644 index 9c66923..0000000 --- a/media-gfx/pdftoipe/files/missingpage.patch +++ /dev/null @@ -1,126 +0,0 @@ -diff -rup pdftoipe-20130124-src/xmloutputdev.cpp pdftoipe-20130124-src-patched/xmloutputdev.cpp ---- pdftoipe-20130124-src/xmloutputdev.cpp 2013-01-24 01:32:29.000000000 -0600 -+++ pdftoipe-20130124-src-patched/xmloutputdev.cpp 2013-08-15 12:49:49.188415695 -0500 -@@ -116,6 +116,11 @@ void XmlOutputDev::setTextHandling(GBool - - void XmlOutputDev::startPage(int pageNum, GfxState *state) - { -+ startPage(pageNum, state, NULL); // for poppler <= 0.22 -+} -+ -+void XmlOutputDev::startPage(int pageNum, GfxState *state, XRef *xrefA) -+{ - writePSFmt("\n", pageNum, seqPage); - fprintf(stderr, "Converting page %d (numbered %d)\n", - seqPage, pageNum); -@@ -433,53 +438,53 @@ static const UnicodeToLatex unicode2late - // -------------------------------------------------------------------- - { 0x391, "$\\Alpha$" }, - { 0x392, "$\\Beta$" }, -- { 0x393, "$\\Gamma" }, -- { 0x394, "$\\Delta" }, -- { 0x395, "$\\Epsilon" }, -- { 0x396, "$\\Zeta" }, -- { 0x397, "$\\Eta" }, -- { 0x398, "$\\Theta" }, -- { 0x399, "$\\Iota" }, -- { 0x39a, "$\\Kappa" }, -- { 0x39b, "$\\Lambda" }, -- { 0x39c, "$\\Mu" }, -- { 0x39e, "$\\Nu" }, -- { 0x39e, "$\\Xi" }, -- { 0x39f, "$\\Omicron" }, -- { 0x3a0, "$\\Pi" }, -- { 0x3a1, "$\\Rho" }, -- { 0x3a3, "$\\Sigma" }, // sometimes \\sum would be better -- { 0x3a4, "$\\Tau" }, -- { 0x3a5, "$\\Upsilon" }, -- { 0x3a6, "$\\Phi" }, -- { 0x3a7, "$\\Chi" }, -- { 0x3a8, "$\\Psi" }, -- { 0x3a9, "$\\Omega" }, -+ { 0x393, "$\\Gamma$" }, -+ { 0x394, "$\\Delta$" }, -+ { 0x395, "$\\Epsilon$" }, -+ { 0x396, "$\\Zeta$" }, -+ { 0x397, "$\\Eta$" }, -+ { 0x398, "$\\Theta$" }, -+ { 0x399, "$\\Iota$" }, -+ { 0x39a, "$\\Kappa$" }, -+ { 0x39b, "$\\Lambda$" }, -+ { 0x39c, "$\\Mu$" }, -+ { 0x39e, "$\\Nu$" }, -+ { 0x39e, "$\\Xi$" }, -+ { 0x39f, "$\\Omicron$" }, -+ { 0x3a0, "$\\Pi$" }, -+ { 0x3a1, "$\\Rho$" }, -+ { 0x3a3, "$\\Sigma$" }, // sometimes \\sum would be better -+ { 0x3a4, "$\\Tau$" }, -+ { 0x3a5, "$\\Upsilon$" }, -+ { 0x3a6, "$\\Phi$" }, -+ { 0x3a7, "$\\Chi$" }, -+ { 0x3a8, "$\\Psi$" }, -+ { 0x3a9, "$\\Omega$" }, - // -------------------------------------------------------------------- - { 0x3b1, "$\\alpha$" }, - { 0x3b2, "$\\beta$" }, -- { 0x3b3, "$\\gamma" }, -- { 0x3b4, "$\\delta" }, -- { 0x3b5, "$\\varepsilon" }, -- { 0x3b6, "$\\zeta" }, -- { 0x3b7, "$\\eta" }, -- { 0x3b8, "$\\theta" }, -- { 0x3b9, "$\\iota" }, -- { 0x3ba, "$\\kappa" }, -- { 0x3bb, "$\\lambda" }, -- { 0x3bc, "$\\mu" }, -- { 0x3be, "$\\nu" }, -- { 0x3be, "$\\xi" }, -- { 0x3bf, "$\\omicron" }, -- { 0x3c0, "$\\pi" }, -- { 0x3c1, "$\\rho" }, -- { 0x3c3, "$\\sigma" }, -- { 0x3c4, "$\\tau" }, -- { 0x3c5, "$\\upsilon" }, -- { 0x3c6, "$\\phi" }, -- { 0x3c7, "$\\chi" }, -- { 0x3c8, "$\\psi" }, -- { 0x3c9, "$\\omega" }, -+ { 0x3b3, "$\\gamma$" }, -+ { 0x3b4, "$\\delta$" }, -+ { 0x3b5, "$\\varepsilon$" }, -+ { 0x3b6, "$\\zeta$" }, -+ { 0x3b7, "$\\eta$" }, -+ { 0x3b8, "$\\theta$" }, -+ { 0x3b9, "$\\iota$" }, -+ { 0x3ba, "$\\kappa$" }, -+ { 0x3bb, "$\\lambda$" }, -+ { 0x3bc, "$\\mu$" }, -+ { 0x3be, "$\\nu$" }, -+ { 0x3be, "$\\xi$" }, -+ { 0x3bf, "$\\omicron$" }, -+ { 0x3c0, "$\\pi$" }, -+ { 0x3c1, "$\\rho$" }, -+ { 0x3c3, "$\\sigma$" }, -+ { 0x3c4, "$\\tau$" }, -+ { 0x3c5, "$\\upsilon$" }, -+ { 0x3c6, "$\\phi$" }, -+ { 0x3c7, "$\\chi$" }, -+ { 0x3c8, "$\\psi$" }, -+ { 0x3c9, "$\\omega$" }, - // -------------------------------------------------------------------- - { 0x2013, "-" }, - { 0x2019, "'" }, -diff -rup pdftoipe-20130124-src/xmloutputdev.h pdftoipe-20130124-src-patched/xmloutputdev.h ---- pdftoipe-20130124-src/xmloutputdev.h 2013-01-24 01:32:29.000000000 -0600 -+++ pdftoipe-20130124-src-patched/xmloutputdev.h 2013-08-15 12:50:16.365122073 -0500 -@@ -51,7 +51,8 @@ public: - //----- initialization and control - - // Start a page. -- virtual void startPage(int pageNum, GfxState *state); -+ virtual void startPage(int pageNum, GfxState *state); // poppler <=0.22 -+ virtual void startPage(int pageNum, GfxState *state, XRef *xrefA); - - // End a page. - virtual void endPage(); diff --git a/media-gfx/pdftoipe/files/poppler-0.18.patch b/media-gfx/pdftoipe/files/poppler-0.18.patch deleted file mode 100644 index 5713ad8..0000000 --- a/media-gfx/pdftoipe/files/poppler-0.18.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- xmloutputdev.cpp -+++ xmloutputdev.cpp -@@ -336,7 +336,7 @@ - // dump JPEG stream - std::vector buffer; - // initialize stream -- str = ((DCTStream *)str)->getRawStream(); -+ str = str->getNextStream(); - str->reset(); - // copy the stream - while ((c = str->getChar()) != EOF) diff --git a/media-gfx/pdftoipe/files/poppler-0.20.patch b/media-gfx/pdftoipe/files/poppler-0.20.patch deleted file mode 100644 index d55ff64..0000000 --- a/media-gfx/pdftoipe/files/poppler-0.20.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/xmloutputdev.cpp -+++ b/xmloutputdev.cpp -@@ -30,7 +30,7 @@ - FILE *f; - - if (!(f = fopen(fileName, "wb"))) { -- error(-1, "Couldn't open output file '%s'", fileName); -+ fprintf(stderr, "Couldn't open output file '%s'\n", fileName); - ok = gFalse; - return; - } diff --git a/media-gfx/pdftoipe/metadata.xml b/media-gfx/pdftoipe/metadata.xml deleted file mode 100644 index 9434230..0000000 --- a/media-gfx/pdftoipe/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - shuber@sthu.org - Stefan Huber - - diff --git a/media-gfx/pdftoipe/pdftoipe-9999.ebuild b/media-gfx/pdftoipe/pdftoipe-9999.ebuild deleted file mode 100644 index 1fc91c2..0000000 --- a/media-gfx/pdftoipe/pdftoipe-9999.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - - -EAPI=7 - -inherit git-r3 - -DESCRIPTION="Converts PDF files to Ipe xml files" -HOMEPAGE="https://github.com/otfried/ipe-tools/tree/master/figtoipe" -EGIT_REPO_URI="https://github.com/otfried/ipe-tools.git" -SRC_URI="" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="app-text/poppler - !media-gfx/ipe-tools" -RDEPEND="${DEPEND}" - -BASEDIR="${WORKDIR}/${P}/${PN}" - -src_compile() { - cd ${BASEDIR} - emake -} - -src_install() { - cd ${BASEDIR} - exeinto /usr/bin/ - doexe pdftoipe - doman pdftoipe.1 -} - - diff --git a/media-gfx/svgtoipe/.pdftoipe-20091014.ebuild.swp b/media-gfx/svgtoipe/.pdftoipe-20091014.ebuild.swp deleted file mode 100644 index cb3ee4a51ebd6bcac66c686bcfecc92e62aa8974..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeI2&2G~`5P-Lc138qR!UJsGAi*KFlT>X}$(5?aq*l`;avCa5l@o8$rMA~vZ%Ru4 z-~=}gh!ZaW6*nG%J_D+F2i}2kno_BkB5|rZmOj~Djb~>*pDa(ueD18#dA&&BxKBv9 z@u7D5`8Jt>Ybk_Em#;e5U_0RcRZ)Z(gG3sE=z4(>3#q(5GeYKbFW2u4jo9xg!DIIK zB3CfYQr^tZ>Z~*1!9V1`x&n+q12@#bK=pD9lcZS4o2h{rZJIuuYTr;9*fttK184vZ zpaC?12G9T+xS0l2JVB12^;_fir^n}sOXu+|p3ndqKm%w14WI!ufCkV28bAYR01cpl zYiPiO|LS)p3Hbt~|Nqaw|4;7`@(FkkyaV062D=qv5Vr9M{P1H4jK4 zyPG^plotd~p3*%+U>_EG+l=n-Q=hX@Kv#q@57=3NTd|vVy<%zEy|b$WjbxUri&1Wv z;?B+MrfzEFJk*QhoMJ--gWqu+FiD8hZrPTm5!Y_5yH0uC(n2n!kQ!OFUqFSGmZcqf zp+7fE4~GkL8fn!U5Cl1EPT8)f4_BMDTu~z=lgTa7v>9D_Qt!WpShu{{b{$LGQYv0F zj6@7%m-U3~Gd*HZg%mGYS0x6NI&bu#wZu?D1j)$BIE~?pS5Y9~3wfonW;d6su;n;k z`j~z>Y1(b8>^jYLr%|`GvWRw=R0)O2b~@UE!pm@CMu%Z=wg9!;%T33E;rkhyU16Tj zup+P5tCj(n}bfkyR^o;EJ_&NDL{&{ eh<7FLZz-BDl}a#8pEuKZXp=q@kkeCKMC1 - - - - shuber@sthu.org - Stefan Huber - - diff --git a/media-gfx/svgtoipe/svgtoipe-9999.ebuild b/media-gfx/svgtoipe/svgtoipe-9999.ebuild deleted file mode 100644 index d266876..0000000 --- a/media-gfx/svgtoipe/svgtoipe-9999.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=6 - -PYTHON_COMPAT=( python3_{8..10} ) -inherit git-r3 python-single-r1 - -DESCRIPTION="Converts SVG files to Ipe xml files" -HOMEPAGE="https://github.com/otfried/ipe-tools/tree/master/figtoipe" -EGIT_REPO_URI="https://github.com/otfried/ipe-tools.git" -SRC_URI="" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="dev-lang/python[xml] - !media-gfx/ipe-tools" -RDEPEND="${DEPEND}" - -BASEDIR="${WORKDIR}/${P}/${PN}" - -src_install() { - cd ${BASEDIR} - python_fix_shebang . - - mv ${PN}.py ${PN} - exeinto /usr/bin/ - doexe ${PN} - doman ${PN}.1 -} - - -- 2.39.5