From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-print/poster/Manifest | 10 +++++ .../files/poster-20060221-fix_cutmarks.patch | 15 +++++++ ...ster-20060221-fix_duplicate_DocumentMedia.patch | 19 +++++++++ .../files/poster-20060221-fix_gs_crash.patch | 47 ++++++++++++++++++++++ net-print/poster/metadata.xml | 8 ++++ net-print/poster/poster-20060221-r2.ebuild | 30 ++++++++++++++ net-print/poster/poster-20060221-r3.ebuild | 31 ++++++++++++++ net-print/poster/poster-20060221.ebuild | 25 ++++++++++++ 8 files changed, 185 insertions(+) create mode 100644 net-print/poster/Manifest create mode 100644 net-print/poster/files/poster-20060221-fix_cutmarks.patch create mode 100644 net-print/poster/files/poster-20060221-fix_duplicate_DocumentMedia.patch create mode 100644 net-print/poster/files/poster-20060221-fix_gs_crash.patch create mode 100644 net-print/poster/metadata.xml create mode 100644 net-print/poster/poster-20060221-r2.ebuild create mode 100644 net-print/poster/poster-20060221-r3.ebuild create mode 100644 net-print/poster/poster-20060221.ebuild (limited to 'net-print/poster') diff --git a/net-print/poster/Manifest b/net-print/poster/Manifest new file mode 100644 index 000000000000..4a20cdaab80b --- /dev/null +++ b/net-print/poster/Manifest @@ -0,0 +1,10 @@ +AUX poster-20060221-fix_cutmarks.patch 454 SHA256 581307565b06f2b3df5c22ee593b2cf65096b7eac0b1ce0fb03ce75193b3b3b2 SHA512 d507c4e3b8206b6d039bcfcb2b2925ffc358a3061ec304b9f95d7321966fff464b6cec9b938ecd1df331f0b39e13f627bf76c19ea1c6876683aebd0353c1ce33 WHIRLPOOL cc25d68e311f782d5bda63c6637f84416bb5d4419562c47227c130022b41e96be1998902c59be9f10282d9cd71dde19727683eaee6d8b600350ce10e768134a2 +AUX poster-20060221-fix_duplicate_DocumentMedia.patch 513 SHA256 0a5be0ee9a4d7a90d2d926b714c6cc1fedc8410e468e626cbdecd3984e5dc3b9 SHA512 b13c4cf46075922a6933be7b6adbf6c4f58d63c79208c9b63f04c3d21de47416019fd4257a3c8b36237a271b499fa61e06aaa80283203e61cc980c82004d8e43 WHIRLPOOL a354994c57a04279037fd80b905839f26e195d9d11dcca39605f9f14e46154cb0ef7066aef861f220621d76d89519488ca314a69ea17d47a17c0b6c20578a2f6 +AUX poster-20060221-fix_gs_crash.patch 1370 SHA256 cbbb7820f3aedf0d6e3805ad26ce2403640c72cf30eccd9fdd99306dedb1b145 SHA512 3b2cf207c6ada9cf23a014f768b45a957b348b9ac9c2a151e951131cd845691dc91c40c8f77083066ffd2d97c21fe57f21f64b869c67458e0dcf29f6408e64ee WHIRLPOOL af7e9e20ec563db468471253c2efb7477642bf68cf18132ec71b1f42784c721922b3f83ee6a56aeb7fef5fd4ed6e7e960f7cdbbf8cde3510452ed2654ca47531 +DIST poster-20060221.tar.bz2 33770 SHA256 63bd6f01e40e68dda0ac11a4f416c70457bc6bbd254af720b7ea2874875fa4ba SHA512 530d846ace93a182a4c232d7e30df47af653f354c8138f52d385b62b677ac51e6ca777c93ff5b3d4e983d8c16f3efa43d122f48826c80a08be0232331232c471 WHIRLPOOL 1b6a54babc753a982308ca588d9a227e0e23af66a7661fb927aae310425bc2182a5594b9b5266caa9a0c3aff6eba2d1921a7429a0fe92ac8968f5fd359b16aa0 +EBUILD poster-20060221-r2.ebuild 642 SHA256 f752cbebf84d60fbbd0b9887d225efe852aa1bcdce48833cdda3b788a659df74 SHA512 1874471befc9c1f3bb6e27ce1d65c45b3e5299f47d85e97346ca93e9faad1741ada7791e3b8054edc42b7bc3df401cb3582e6fcb9b16520f6a4706c0fecc2d32 WHIRLPOOL 06788ba86d458fdab6dc57ed6787a74bdeb2fbf13d833442d2afcab77fd1386e114eb3720473429df2cb045d5f62a903eb49d426cc3d98520d65d5dd15ebf6b0 +EBUILD poster-20060221-r3.ebuild 681 SHA256 6a2fbf104a1b5671b032a75e6745c3f9f6b119cc1d4cabd2b7f4aa7fadc29b54 SHA512 ece2e2eae9cc957a8256fbb85c25be2c651c00a37fcf92ba8a3a0055467636a0a565bfb32c9c6dea0a7ba305825b907504bd5833f42ce5d1aae859ad4ac0772a WHIRLPOOL 4728bc6a0bdfa892a56b35e3dbdc6bade463e9454d0f8913b64d90818661d8d0ec51b224d6e5021033f0f9b6f4cc2670f2367a7b1fa793291101a69da2c859de +EBUILD poster-20060221.ebuild 534 SHA256 28aa81dda7499b820669d384103075f5d7208ee9411f335f4dea9b57df88805f SHA512 083b1775365e0a650a29b8ed7f7fd0ee73ebde10b8001cbad78cf266ab73e4e66cba856458535b0f9efe39133836fa65344912e55482e136502fda769db5b364 WHIRLPOOL ca2e15832e2cf73e073e9e112b55a2f1e40e5f98900f04c0e54d8c3b081843c92c875952096225c503bba71153230652f2ab998209e07840f5516881ad101742 +MISC ChangeLog 2603 SHA256 c2b8b242c6d7ddb2dc0337b17c686df0d71f4fc36f8c04ce56015dd862b994c7 SHA512 3a61795f3b681132d5856b68fb7d13cbded817845b52ac8ac115ea9beb88cb413bd304ab8cdddf04b0607c7773dc1c9a773fe0a746885acf1c5e8369c32d31b0 WHIRLPOOL 68fc4bb98bfde9c5687ad9a0d52ad0d52a6f84826c3b5bf7d77bd056f5cb78e2c718d5ea2d54c1b0a1a3f0a0f4b68cbcdc4fb757dfa9c5f600efd853c3419270 +MISC ChangeLog-2015 1927 SHA256 df52c525ce0a44810091942559f42966756f308369630258720e60ac47f783f5 SHA512 43a75ba472616576c65038783f2ec9fb89631c473861d889d978bb10c3690eaf5daddd67d6abb60e8798a3be0ed48d4e611675fb36a49e40492e3286846d35a0 WHIRLPOOL e8c619090b246b506e4cd10694ffd1deef8ccf808f51c10170bb01864d9497e6703100a96ffe89f38dee6933d006965693ced0c1286d17eea0f1cf66a34136ec +MISC metadata.xml 255 SHA256 369a8c8c92b41e8d46a7225354bd493797b21f0b8b5c3f9ad4ac0a7e14322ebc SHA512 c6c5f966cfbe396fde1b15334442de9e0004b44c4b48775588b0b25a058ad1751252761370c9c254280e97561fa6306f5aa0cc7959c675d4ee11f7f95d777a36 WHIRLPOOL a6043f3549b633ddc8017207016e272af3ca85d175e603a0bfffcad7c5fef4457a01bfe76ceeec5ca09e957dafb78459db4d9cadc6ec99874d5be44ca85e27c0 diff --git a/net-print/poster/files/poster-20060221-fix_cutmarks.patch b/net-print/poster/files/poster-20060221-fix_cutmarks.patch new file mode 100644 index 000000000000..0ae10f3bdfc8 --- /dev/null +++ b/net-print/poster/files/poster-20060221-fix_cutmarks.patch @@ -0,0 +1,15 @@ +https://bugs.gentoo.org/show_bug.cgi?id=580610 + +Index: poster-20060221/poster.c +=================================================================== +--- poster-20060221.orig/poster.c ++++ poster-20060221/poster.c +@@ -113,7 +113,7 @@ char *whitemarginspec = NULL; + char *scalespec = NULL; + char *filespec = NULL; + char *pagespec = NULL; +-char *clipfacil = "0xFF"; ++char *clipfacil = "255"; + char *overlap = "6"; + + /* media sizes in ps units (1/72 inch) */ diff --git a/net-print/poster/files/poster-20060221-fix_duplicate_DocumentMedia.patch b/net-print/poster/files/poster-20060221-fix_duplicate_DocumentMedia.patch new file mode 100644 index 000000000000..52584a9507a3 --- /dev/null +++ b/net-print/poster/files/poster-20060221-fix_duplicate_DocumentMedia.patch @@ -0,0 +1,19 @@ +See https://bugs.gentoo.org/show_bug.cgi?id=471270 + +--- a/poster.c 2013-05-25 21:41:53.000000000 +0200 ++++ b/poster.c 2013-05-25 21:43:41.000000000 +0200 +@@ -812,8 +812,12 @@ + if (!strncmp( c, "(atend)", 7)) atend = 1; + else + { /* pass this DSC to output */ +- puts( buf); +- dsc_cont = 1; ++ /* if it is not another DocumentMedia comment */ ++ if (strncmp( buf, "%%DocumentMedia", 15)) ++ { ++ puts( buf); ++ dsc_cont = 1; ++ } + } + } + else if ( !strncmp( buf, "%%Pages:", 8 ) ) diff --git a/net-print/poster/files/poster-20060221-fix_gs_crash.patch b/net-print/poster/files/poster-20060221-fix_gs_crash.patch new file mode 100644 index 000000000000..d2f3afd9328b --- /dev/null +++ b/net-print/poster/files/poster-20060221-fix_gs_crash.patch @@ -0,0 +1,47 @@ +Source: http://pkgs.fedoraproject.org/cgit/rpms/poster.git/plain/poster.fixes_gs_crash.patch +See also https://bugs.gentoo.org/show_bug.cgi?id=471238 + +--- a/poster.c 2006-02-22 13:27:39.000000000 +0100 ++++ b/poster.c 2012-11-17 01:30:45.303051611 +0100 +@@ -856,21 +856,13 @@ + int row, col, page; + + printprolog(); +- for ( page = 0; page < number_pages; page++ ) +- { +- printf( "/print_content_of_complete_page_%d\n", page); +- printf( "{\n"); +- printfile (page); +- printf( "} bind def\n\n"); +- + if ( pages == NULL ) +- { ++ for ( page = 0; page < number_pages; page++ ) + for (row = 1; row <= nrows; row++) + for (col = 1; col <= ncols; col++) + tile( row, col, page); +- } + else +- { ++ for ( page = 0; page < number_pages; page++ ) + for ( row = 0; row < pages_length; row++ ) + { + int p = pages[ row ]-1; +@@ -878,8 +870,6 @@ + fprintf( stderr, "Warning: page index out of range: %d\n", p+1 ); + tile( p/ncols+1, p%ncols+1, page ); + } +- } +- } + printf ("%%%%EOF\n"); + + if (tail_cntl_D) +@@ -1027,7 +1017,7 @@ + printf ("\n%%%%Page: (%d,%d) %d\n", pagetoprint+1, ((row-1)*ncols+col), page); + printf ("%d %d tileprolog\n", row, col); + printf ("%%%%BeginDocument: %s\n", infile); +- printf( "print_content_of_complete_page_%d\n", pagetoprint); ++ printfile (pagetoprint); + printf ("%%%%EndDocument\n"); + printf ("tileepilog\n"); + diff --git a/net-print/poster/metadata.xml b/net-print/poster/metadata.xml new file mode 100644 index 000000000000..c439b06d8c84 --- /dev/null +++ b/net-print/poster/metadata.xml @@ -0,0 +1,8 @@ + + + + + printing@gentoo.org + Gentoo Printing Project + + diff --git a/net-print/poster/poster-20060221-r2.ebuild b/net-print/poster/poster-20060221-r2.ebuild new file mode 100644 index 000000000000..a34548ed8c65 --- /dev/null +++ b/net-print/poster/poster-20060221-r2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Small utility for making a poster from an EPS file or a one-page PS document" +SRC_URI="mirror://kde/printing/${P}.tar.bz2" +HOMEPAGE="https://printing.kde.org/downloads" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +PATCHES=( + "${FILESDIR}/${P}-fix_gs_crash.patch" + "${FILESDIR}/${P}-fix_duplicate_DocumentMedia.patch" +) + +src_compile(){ + $(tc-getCC) ${CFLAGS} ${LDFLAGS} ${PN}.c -lm -o ${PN} || die +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + dodoc README ChangeLog +} diff --git a/net-print/poster/poster-20060221-r3.ebuild b/net-print/poster/poster-20060221-r3.ebuild new file mode 100644 index 000000000000..2ac9fde37759 --- /dev/null +++ b/net-print/poster/poster-20060221-r3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Small utility for making a poster from an EPS file or a one-page PS document" +SRC_URI="mirror://kde/printing/${P}.tar.bz2" +HOMEPAGE="https://printing.kde.org/downloads" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +PATCHES=( + "${FILESDIR}/${P}-fix_gs_crash.patch" + "${FILESDIR}/${P}-fix_duplicate_DocumentMedia.patch" + "${FILESDIR}/${P}-fix_cutmarks.patch" +) + +src_compile(){ + $(tc-getCC) ${CFLAGS} ${LDFLAGS} ${PN}.c -lm -o ${PN} || die +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + dodoc README ChangeLog +} diff --git a/net-print/poster/poster-20060221.ebuild b/net-print/poster/poster-20060221.ebuild new file mode 100644 index 000000000000..942eeb94a92a --- /dev/null +++ b/net-print/poster/poster-20060221.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="small utility for making a poster from an EPS file or a one-page PS document" +SRC_URI="mirror://kde/printing/${P}.tar.bz2" +HOMEPAGE="https://printing.kde.org/downloads" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +src_compile(){ + $(tc-getCC) ${CFLAGS} ${LDFLAGS} ${PN}.c -lm -o ${PN} || die +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + dodoc README ChangeLog +} -- cgit v1.2.3