summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-04-07 01:12:12 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-04-07 01:12:12 +0000
commit14b8bbf5a632a919bc0048bb2646cc7e5cb5aacb (patch)
tree1f81fb487124e38b0fe9b21e54564fc39a9b39bb /media-gfx/pstoedit
parentGeneral cleanup. Fix bugs. See ChangeLog for details. (diff)
downloadgentoo-2-14b8bbf5a632a919bc0048bb2646cc7e5cb5aacb.tar.gz
gentoo-2-14b8bbf5a632a919bc0048bb2646cc7e5cb5aacb.tar.bz2
gentoo-2-14b8bbf5a632a919bc0048bb2646cc7e5cb5aacb.zip
Version bump. Fixes bugs #137204, #139024 and bug #131848. Thanks to TGL <degrenier@easyconnect.fr> for the --as-needed patch.
(Portage version: 2.1.2.3)
Diffstat (limited to 'media-gfx/pstoedit')
-rw-r--r--media-gfx/pstoedit/ChangeLog9
-rw-r--r--media-gfx/pstoedit/files/3.44-as-needed.patch16
-rw-r--r--media-gfx/pstoedit/files/digest-pstoedit-3.443
-rw-r--r--media-gfx/pstoedit/pstoedit-3.44.ebuild54
4 files changed, 81 insertions, 1 deletions
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 <betelgeuse@gentoo.org>
+ +files/3.44-as-needed.patch, +pstoedit-3.44.ebuild:
+ Version bump. Fixes bugs #137204, #139024 and bug #131848. Thanks to TGL
+ <degrenier@easyconnect.fr> for the --as-needed patch.
04 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org> pstoedit-3.42.ebuild:
Stable on sparc
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
+}