diff options
author | Michael Weber <xmw@gentoo.org> | 2012-08-20 10:37:23 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2012-08-20 10:37:23 +0000 |
commit | a2811c9cc1bd9e6628f6c8b2e7a2aa431a34e47e (patch) | |
tree | 25968c3a81cd9bbd12d59e862c6a5ae6fd0d57a9 /app-text/pdfshuffler | |
parent | Stable for amd64, wrt bug #431954 (diff) | |
download | historical-a2811c9cc1bd9e6628f6c8b2e7a2aa431a34e47e.tar.gz historical-a2811c9cc1bd9e6628f6c8b2e7a2aa431a34e47e.tar.bz2 historical-a2811c9cc1bd9e6628f6c8b2e7a2aa431a34e47e.zip |
Drop old
Package-Manager: portage-2.1.11.10/cvs/Linux x86_64
Diffstat (limited to 'app-text/pdfshuffler')
-rw-r--r-- | app-text/pdfshuffler/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/pdfshuffler/Manifest | 19 | ||||
-rw-r--r-- | app-text/pdfshuffler/files/pdfshuffler-poppler-0.18.patch | 45 | ||||
-rw-r--r-- | app-text/pdfshuffler/pdfshuffler-0.5.1-r1.ebuild | 52 |
4 files changed, 6 insertions, 117 deletions
diff --git a/app-text/pdfshuffler/ChangeLog b/app-text/pdfshuffler/ChangeLog index 1405d42fa9c9..a4d8e51dd6b0 100644 --- a/app-text/pdfshuffler/ChangeLog +++ b/app-text/pdfshuffler/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/pdfshuffler # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/pdfshuffler/ChangeLog,v 1.17 2012/08/18 14:28:39 johu Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/pdfshuffler/ChangeLog,v 1.18 2012/08/20 10:37:22 xmw Exp $ + + 20 Aug 2012; Michael Weber <xmw@gentoo.org> + -files/pdfshuffler-poppler-0.18.patch, -pdfshuffler-0.5.1-r1.ebuild: + Drop old 18 Aug 2012; Johannes Huber <johu@gentoo.org> pdfshuffler-0.6.0.ebuild: Stable for x86, wrt bug #428904 @@ -72,4 +76,3 @@ 01 Jun 2009; Peter Alfredsen <loki_val@gentoo.org> +pdfshuffler-0.4.2.ebuild, +metadata.xml: Initial commit. Ebuild by me. - diff --git a/app-text/pdfshuffler/Manifest b/app-text/pdfshuffler/Manifest index 621c44899232..2d4ede8128d9 100644 --- a/app-text/pdfshuffler/Manifest +++ b/app-text/pdfshuffler/Manifest @@ -1,21 +1,4 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -AUX pdfshuffler-poppler-0.18.patch 1824 SHA256 8aea6ca6ed6e53d1942712afceffbba7e24479bc4bc728120e681c287c398f4e SHA512 13115f1aef48db0fb2c37637d60ab95713a2914d77e583b4b36756a76b15cbd37054a47d341413e362462381ab04ed43aa784294ca4b96ebc442051dbb15805f WHIRLPOOL 18f1dd9d3955e7d886f183659dceedc15b63101461ecb24595bf937a36e02aa41d48ccb73954c1b585bfa6c2ef4e26e7df3bd4bfb0bffc60dd6ccf66d67eeea2 -DIST pdfshuffler-0.5.1.tar.gz 39538 SHA256 7dfd1b7f23044848b69bccf0b9cf01e39c454c0c284a4345b3f1e54e69e2ce0c SHA512 1c084432ab9aed60453e1327567c8c2eefa577d1c1f2b86105f325c9c0c90ca33d86b491aa38b63bad382700bd5c319a90a5301e286ca6498b044a9b41737f58 WHIRLPOOL 4a1c771cccd5dcc00a1f23187ed4d1b9410681f9211338634774a36ce6f9617af932328f0a6fa7eda3d99efc3e5cdac57dc11360dbc27d9fbc0ab8deaa0e5e74 DIST pdfshuffler-0.6.0.tar.gz 48071 SHA256 df3629b5a0ba91fda6b703ddf7b3e6f224a01d5cdfb76a5de77d67615466ef58 SHA512 e2563e9b5faf3ebac56f3840017ad9279a5e8e096c9f44ec053c617894910b1d0531457bc37d8fb9bc1db13ae25b94d55ca0b4ec26fbddeb9e51e6b4d75293fe WHIRLPOOL 72463cd666892af708208fd5816d882d956e3c068744e270775079107ea3b583cb81adc0225fc2e88232df3c74d292056804fff6bf64e707afe17359eaba21a4 -EBUILD pdfshuffler-0.5.1-r1.ebuild 1161 SHA256 8bbebf9206a5f113bb5869925d4b5e770113b27dc4c8400a7507dca12fa6a59e SHA512 71af8cf3a5ebd02c787cc8b215f99783799e0639a3c676e808ba2a353cb353b55f8d1c452dddf0fc7e81ea97c7e21e7d5337828ed4c25185ecfb509e600d415f WHIRLPOOL 532dd3ca68c4abbb141fd03c3c88ab6a45ebd681cca45b15a69c9aa6b8bd2afecc4183065d21b4b4c56768e9a6513629c4fef052bfc9bacc0c577e3347ad7c80 EBUILD pdfshuffler-0.6.0.ebuild 1056 SHA256 c96e1e591dec5b48c70f627b3405bfb16b955919813fca5ca5e2b76ad337413f SHA512 463395d6f49dfc339ac6de4f2b8db11840e7a39f73210406c2edb678d7ce36512343a2b2c902493eb3feffd8ff2055488f73715c89e38fd7b22c98ad209be288 WHIRLPOOL 81dd41f52efb4883c21ddeb73ce20a959e760d4a3caef96a2d8610cc482d3172472686e4658b1cf75affddc2ae23c23eabee613963e3a8a7e738f5b4adbfa506 -MISC ChangeLog 2405 SHA256 055a23b605374f94c81642b4c852c22867536ddf7db3dd4f7abfc2200d4de15d SHA512 84f3b7be272eed6b67722a1ae519d185ab976f310b5966a38af055a3ba0670f271db84296921ea29d0212fe83351e17a3a8d6490217921cb8d171052678d296b WHIRLPOOL 8fe2647e17107758a3034d8c3dc721011235843a854fa4972cffb34442c6b643cbd6856eff13304f46ae8b01e377ab579356aecc3dd2dd5c9fff23c8031f0ed0 +MISC ChangeLog 2532 SHA256 dac878600f77cbff5e61a724f7d13d1b5faa1ae72c71177c56f749cbcbe2a5d5 SHA512 578714de283ffbb556e2918e47c85a9640c4d5f6c40b5e0d6cfab6d15ebfafe86e88c491037ae9ea72a35ac73a4c4b18d31b78b267f56f8ac55ed1f20df3207a WHIRLPOOL 6a411c435ae6ea53d0b350f07eac9a0d4984b07f94d8d0a6442d3ae33d8491982581f0fe5045ba17ceebb3086b0b49df07739b53d072fb6578d0932daf6719fa MISC metadata.xml 303 SHA256 fe7bb1f284c06cf6fe8059848a2cb92dea71fa2169a3cf94442e92e2be8845fb SHA512 5b376cdf298d724af20f0e878da57cb6108c62320051f55536b056f583b222a9b26ba2d67ccfb5debaf353c94d2e96a0851ab8c18fddb373e0ad243f4d44ef37 WHIRLPOOL c546793b54d2ffcba529eb77c151a09620a43a544ead1e8a071ed3da39361ede683148d4c8b334d889c5d72efeb1f9d24728a932c9b916d161d2a7a6cec42117 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iQEcBAEBCAAGBQJQL6ajAAoJEO+t9ga+3I3atW0IAMsNekzEMaOzcMtcOket/yBX -/L85X1xK3Db+w9KARMhkyD1mv1sf5gELpgeh0+fJfZCK/UlcoJwRDuHe64feKY4w -yWGp6unWSsZ35m/MfilSjsw2JwVKK5hblCDFawyANjAP4xgfc2P5muFZZNAY3Jag -//Vp8VvPUpIhMFNXF0pYGEK6CeSvUBZcAaOLiLl/6Ki5RUI82ibwW2KzKD6pOV+c -Oj3zAxgjA1CdFo4rH/VOYZZQlsJUAxsuxlo7Z8p4B0+Gghcgybylw2IleZ99jw9P -UFbP4KXzhSrnGYoNRH26LHrCqK1dkR9ZmV4+zX5VS3w0ZUo12RNJ7L3N+Z1aFpE= -=KNjf ------END PGP SIGNATURE----- diff --git a/app-text/pdfshuffler/files/pdfshuffler-poppler-0.18.patch b/app-text/pdfshuffler/files/pdfshuffler-poppler-0.18.patch deleted file mode 100644 index 98bc637241fc..000000000000 --- a/app-text/pdfshuffler/files/pdfshuffler-poppler-0.18.patch +++ /dev/null @@ -1,45 +0,0 @@ -Stop using render_to_pixbuf, removed from Poppler 0.18. - -Instead draw to a gdk Pixmap, then get a Pixbuf from that. - -A more complete fix (dropping Pixmap/Pixbuf usage) is in upstream svn, -but that is too large a change for us to take. - -Based on a patch from Rafał Mużyło in gentoo bug #390607. ---- pdfshuffler -+++ pdfshuffler -@@ -982,9 +982,15 @@ - pix_w, pix_h = page.get_size() - pix_w = int(pix_w * self.scale) - pix_h = int(pix_h * self.scale) -- thumbnail = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, False, -- 8, pix_w , pix_h) -- page.render_to_pixbuf(0,0,pix_w,pix_h,self.scale,0,thumbnail) -+ pixmap = gtk.gdk.Pixmap(None, pix_w, pix_h, 24) -+ cr = pixmap.cairo_create() -+ # The pixmap data is not initialized, so paint it white first: -+ cr.set_source_rgb(1, 1, 1) -+ cr.paint() -+ cr.scale(self.scale, self.scale) -+ page.render(cr) -+ thumbnail = gtk.gdk.pixbuf_get_from_drawable( -+ None, pixmap, gtk.gdk.colormap_get_system(), 0, 0, 0, 0, pix_w, pix_h) - rotation = (-rotation) % 360 - rotation = ((rotation + 45) / 90) * 90 - thumbnail = thumbnail.rotate_simple(rotation) -@@ -1003,11 +1009,13 @@ - pix_w = thumbnail.get_width() - pix_h = thumbnail.get_height() - except: -+ import traceback -+ traceback.print_exc() - pix_w = self.default_width - pix_h = pix_w - thumbnail = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, False, - 8, pix_w, pix_h) -- pixbuf.fill(0xffffffff) -+ thumbnail.fill(0xffffffff) - - #add border - thickness = 3 - diff --git a/app-text/pdfshuffler/pdfshuffler-0.5.1-r1.ebuild b/app-text/pdfshuffler/pdfshuffler-0.5.1-r1.ebuild deleted file mode 100644 index d40ee0283341..000000000000 --- a/app-text/pdfshuffler/pdfshuffler-0.5.1-r1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/pdfshuffler/pdfshuffler-0.5.1-r1.ebuild,v 1.3 2012/06/08 12:01:19 phajdan.jr Exp $ - -EAPI="3" -PYTHON_DEPEND="2" - -inherit distutils eutils fdo-mime gnome2-utils - -DESCRIPTION="PDF-Shuffler is GUI app that can merge or split pdfs and rotate, crop and rearrange their pages." -HOMEPAGE="http://sourceforge.net/projects/pdfshuffler/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND="dev-python/pyPdf - dev-python/python-poppler" -RDEPEND="${DEPEND}" - -DOCS="ChangeLog README TODO AUTHORS" - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup -} - -src_prepare() { - distutils_src_prepare - - epatch "${FILESDIR}/pdfshuffler-poppler-0.18.patch" -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - distutils_pkg_postinst - fdo-mime_desktop_database_update - fdo-mime_mime_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - distutils_pkg_postrm - fdo-mime_desktop_database_update - fdo-mime_mime_database_update - gnome2_icon_cache_update -} |