From: Petteri Räty Date: Sat, 7 Apr 2007 01:12:12 +0000 (+0000) Subject: Version bump. Fixes bugs #137204, #139024 and bug #131848. Thanks to TGL for the --as-needed patch. Package-Manager: portage-2.1.2.3 --- diff --git a/media-gfx/pstoedit/ChangeLog b/media-gfx/pstoedit/ChangeLog index 472ece21bc66..0a42900dbfe5 100644 --- a/media-gfx/pstoedit/ChangeLog +++ b/media-gfx/pstoedit/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-gfx/pstoedit # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pstoedit/ChangeLog,v 1.32 2007/04/04 20:21:00 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pstoedit/ChangeLog,v 1.33 2007/04/07 01:12:12 betelgeuse Exp $ + +*pstoedit-3.44 (07 Apr 2007) + + 07 Apr 2007; Petteri Räty + +files/3.44-as-needed.patch, +pstoedit-3.44.ebuild: + Version bump. Fixes bugs #137204, #139024 and bug #131848. Thanks to TGL + for the --as-needed patch. 04 Apr 2007; Gustavo Zacarias pstoedit-3.42.ebuild: Stable on sparc diff --git a/media-gfx/pstoedit/Manifest b/media-gfx/pstoedit/Manifest index 3fd5bf1601c3..eb9b660eef3b 100644 --- a/media-gfx/pstoedit/Manifest +++ b/media-gfx/pstoedit/Manifest @@ -1,6 +1,10 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX 3.44-as-needed.patch 577 RMD160 5072cc5ccfcd4bcd58b7da2c28b11e8752c7cdd8 SHA1 6832cdd54ae0e2bd7322da8369e73d5d100fadca SHA256 d5073956857d7162ae15e359f269fabb89bc7c76b0f62d9e815f85d54001bf92 +MD5 5076c843f0e4778ac3a9fab80ed12a66 files/3.44-as-needed.patch 577 +RMD160 5072cc5ccfcd4bcd58b7da2c28b11e8752c7cdd8 files/3.44-as-needed.patch 577 +SHA256 d5073956857d7162ae15e359f269fabb89bc7c76b0f62d9e815f85d54001bf92 files/3.44-as-needed.patch 577 AUX pstoedit-m4-quoting.patch 469 RMD160 398695f4bf3ebec83202fb5de9c096050f12ee68 SHA1 b9a72a0832a80d838cbb6d53bd49a900b4d3b98b SHA256 5498f27174dc0dd117032b277f8a02d13b0a9ba441e43586f01935acafeabcc5 MD5 3f295680df5273d98ed01e739e23b8cc files/pstoedit-m4-quoting.patch 469 RMD160 398695f4bf3ebec83202fb5de9c096050f12ee68 files/pstoedit-m4-quoting.patch 469 @@ -8,6 +12,7 @@ SHA256 5498f27174dc0dd117032b277f8a02d13b0a9ba441e43586f01935acafeabcc5 files/ps DIST pstoedit-3.33.tar.gz 729661 RMD160 f2b9b3c7445210a0f68965d24de61849589ddd0b SHA1 7b60d1742828cbef3a4455ac37d7b91521bcfbf9 SHA256 f6d9e5d9800c1ec05ed7328d624ed995f608c40fa8c2e0dae39480881679a7b9 DIST pstoedit-3.40.tar.gz 791425 RMD160 e55d6b5086a3fd76334ef488a081d8cbde023389 SHA1 9083f13257c988e7500a1ee3841e9836d58e5b1f SHA256 868b54e62de25628d3d4e038ec0543399f8f791dd9272620685bd88073518869 DIST pstoedit-3.42.tar.gz 807598 RMD160 8ed9827bf7626cbeff07f050322cc60e48e091bc SHA1 fa29fa03826fabb9143d561518fe91a115743a83 SHA256 fcdddaee451c365b61c7f14e4b009b45b7d19ab4e09b6028b856bfa8b9ae3b6e +DIST pstoedit-3.44.tar.gz 837147 RMD160 f745cc93ee681963a45f769955f574cfafc64ee9 SHA1 85785ca1b523795f61b44f1947250edcaae8b5a9 SHA256 84af13a39dde6e5fd224306d87090fb5350de52ee7fb412e0b1373207af1027e EBUILD pstoedit-3.33.ebuild 1468 RMD160 4c3ec2d17c76ec3b7924f770e62e6891bf1da92a SHA1 ea501134a3c741f977866704328756a9d90b077f SHA256 df5ec259a32bf647a2018a763191f58089f4c0b13bf8d0bb5186e02fd8fd5f48 MD5 86c19385f574e106c3f3f7c75fb98a64 pstoedit-3.33.ebuild 1468 RMD160 4c3ec2d17c76ec3b7924f770e62e6891bf1da92a pstoedit-3.33.ebuild 1468 @@ -20,10 +25,14 @@ EBUILD pstoedit-3.42.ebuild 1546 RMD160 2f9c38eb344296fd814042ef56843987c56cfbee MD5 352855bb564f394a3e45958b272f55e2 pstoedit-3.42.ebuild 1546 RMD160 2f9c38eb344296fd814042ef56843987c56cfbee pstoedit-3.42.ebuild 1546 SHA256 c0fcdaff1e5d909b24538e99be03dda3b5f705977167d5df748504eecb815395 pstoedit-3.42.ebuild 1546 -MISC ChangeLog 4638 RMD160 ad85f6566007ac0842a2946f57d5e4400da5f336 SHA1 b785d195abe1f233f7569b2acd73d282b2de6033 SHA256 3a33eed57d0b682c0803749aed3ec97515facc142a0b7d637483de7d877fc3b5 -MD5 2cedca52c5307a2fc8a5c34297f80880 ChangeLog 4638 -RMD160 ad85f6566007ac0842a2946f57d5e4400da5f336 ChangeLog 4638 -SHA256 3a33eed57d0b682c0803749aed3ec97515facc142a0b7d637483de7d877fc3b5 ChangeLog 4638 +EBUILD pstoedit-3.44.ebuild 1716 RMD160 5989b641fb063955221cd992503f0a4e4fa87dac SHA1 e2dac76f7afa182a6130438749e6431e53a0755e SHA256 b7cfb12f55c912c6b9a508798a3784c21430d37c3d1e09d623a60738d6649e7a +MD5 5180d62e6b1567970a249b913e392bf1 pstoedit-3.44.ebuild 1716 +RMD160 5989b641fb063955221cd992503f0a4e4fa87dac pstoedit-3.44.ebuild 1716 +SHA256 b7cfb12f55c912c6b9a508798a3784c21430d37c3d1e09d623a60738d6649e7a pstoedit-3.44.ebuild 1716 +MISC ChangeLog 4909 RMD160 c4ac4c94f61455a51a3f9455bc4c0995426e0998 SHA1 0086297da4d995c12a8718932f485e906efc05a1 SHA256 51db36161f25a5caca69221df1fc35c09f640474d6922baddde5fee07a87ed57 +MD5 9275812a48ac35233c7127238ad40470 ChangeLog 4909 +RMD160 c4ac4c94f61455a51a3f9455bc4c0995426e0998 ChangeLog 4909 +SHA256 51db36161f25a5caca69221df1fc35c09f640474d6922baddde5fee07a87ed57 ChangeLog 4909 MISC metadata.xml 178 RMD160 68a17e883f5d21f3caa47c1bc6df3ad317e7f1db SHA1 0a5cce32b234d6098c1a92749bba762eb63b6d9f SHA256 ebabe65a896a6964a474de7925b12594c0678da63fd9436b5ae8241cb0ab41d7 MD5 893079c395bccde0a0b1012e2bca45cf metadata.xml 178 RMD160 68a17e883f5d21f3caa47c1bc6df3ad317e7f1db metadata.xml 178 @@ -37,10 +46,13 @@ SHA256 acc74f263083be57bba738873f3ac81420d3ace58aaa55bdbeb76fa871af7c07 files/di MD5 82b93d5f23ce148465049abd258c3818 files/digest-pstoedit-3.42 241 RMD160 1cd1e9bac1450f1c7d5003296173fc9f41b020ae files/digest-pstoedit-3.42 241 SHA256 20458319695a5807b44e57c85fb3d02d9f4a8e4dbfbb134a4d77266397552dab files/digest-pstoedit-3.42 241 +MD5 c8f2e51c1f66db198345abf335ec94bd files/digest-pstoedit-3.44 241 +RMD160 9469f96d4db3bc4b8c4df97e4cde825a8640601d files/digest-pstoedit-3.44 241 +SHA256 861e45403ad06356a80bc9295bec1b00a07e3af3c07fc616fd3c5753529457fd files/digest-pstoedit-3.44 241 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.6-ecc01.6 (GNU/Linux) +Version: GnuPG v2.0.3 (GNU/Linux) -iD8DBQFGFAi2KRy60XGEcJIRAi9rAJ9Psh2bUyH6d4f61Dv9GW/4fZTvQACeNhKT -l+5QclS0DCfUuradjjRUYFM= -=LvUO +iD8DBQFGFu/qcxLzpIGCsLQRAqBvAJ9oHTOSZLs4kBuJjusbmOEu/Nml4ACfVgZR +x8ViLSXPzGyh1nSVhOlQIJk= +=BDgj -----END PGP SIGNATURE----- diff --git a/media-gfx/pstoedit/files/3.44-as-needed.patch b/media-gfx/pstoedit/files/3.44-as-needed.patch new file mode 100644 index 000000000000..8e4a8cc6c2a4 --- /dev/null +++ b/media-gfx/pstoedit/files/3.44-as-needed.patch @@ -0,0 +1,16 @@ +--- pstoedit-3.42/src/Makefile.am.orig 2006-04-30 21:31:27.000000000 +0200 ++++ pstoedit-3.42/src/Makefile.am 2006-04-30 21:31:22.000000000 +0200 +@@ -101,11 +101,11 @@ + psfront.h \ + version.h + +-libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} ++libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} ${LIBLD_LDFLAGS} + libpstoedit_la_LDFLAGS = -no-undefined + + pstoedit_SOURCES = cmdmain.cpp +-pstoedit_LDFLAGS = -no-undefined -L. libpstoedit.la ${LIBLD_LDFLAGS} ++pstoedit_LDFLAGS = -no-undefined -L. libpstoedit.la + + pkginclude_HEADERS = \ + pstoedit.h \ diff --git a/media-gfx/pstoedit/files/digest-pstoedit-3.44 b/media-gfx/pstoedit/files/digest-pstoedit-3.44 new file mode 100644 index 000000000000..910b14478f2a --- /dev/null +++ b/media-gfx/pstoedit/files/digest-pstoedit-3.44 @@ -0,0 +1,3 @@ +MD5 13f24cb070da3f6af82ed84f4e53f049 pstoedit-3.44.tar.gz 837147 +RMD160 f745cc93ee681963a45f769955f574cfafc64ee9 pstoedit-3.44.tar.gz 837147 +SHA256 84af13a39dde6e5fd224306d87090fb5350de52ee7fb412e0b1373207af1027e pstoedit-3.44.tar.gz 837147 diff --git a/media-gfx/pstoedit/pstoedit-3.44.ebuild b/media-gfx/pstoedit/pstoedit-3.44.ebuild new file mode 100644 index 000000000000..0f3e8cc9a724 --- /dev/null +++ b/media-gfx/pstoedit/pstoedit-3.44.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pstoedit/pstoedit-3.44.ebuild,v 1.1 2007/04/07 01:12:12 betelgeuse Exp $ + +inherit autotools base eutils + +DESCRIPTION="translates PostScript and PDF graphics into other vector formats" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://www.pstoedit.net/pstoedit" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +# Add flash when media-libs/ming-0.3 gets out of package.mask +IUSE="emf imagemagick plotutils" + +# Strangely when emerging with --as-needed libpng is not needed +DEPEND="media-libs/libpng + virtual/ghostscript + media-libs/gd + !amd64? ( emf? ( >=media-libs/libemf-1.0.3 ) ) + imagemagick? ( media-gfx/imagemagick ) + plotutils? ( media-libs/plotutils )" +#flash? ( >=media-libs/ming-0.3 ) + +PATCHES="${FILESDIR}/3.44-as-needed.patch" + +pkg_setup() { + if use imagemagick && built_with_use media-gfx/imagemagick nocxx; then + eerror 'pstoedit with USE "imagemagick" requires media-gfx/imagemagick' + eerror 'built with C++ bindings. Please recompile imagemagick with' + eerror 'USE "-nocxx"' + echo + die 'missing imagemagick C++ header file Magick++.h' + fi +} + +src_compile() { + eautoreconf + #$(use_with flash swf) + # --without-swf for bug https://bugs.gentoo.org/show_bug.cgi?id=137204 + econf $(use_with emf) --without-swf $(use_with imagemagick magick) \ + $(use_with plotutils libplot) || die 'econf failed' + make || die 'compilation failed' +} + +src_install () { + emake DESTDIR=${D} install || die 'make install failed' + cd doc + dodoc readme.txt || die + dohtml *.htm || die + doman pstoedit.1 || die +}