summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2011-02-27 13:23:07 +0000
committerRyan Hill <dirtyepic@gentoo.org>2011-02-27 13:23:07 +0000
commit8425a0bcfe56485c5ee34bb60df2755a7e855021 (patch)
tree074d5ea3056d9b50a11cb78088cf5f8e0943830f /media-libs/wxsvg
parentStable on alpha, bug #349607 (diff)
downloadgentoo-2-8425a0bcfe56485c5ee34bb60df2755a7e855021.tar.gz
gentoo-2-8425a0bcfe56485c5ee34bb60df2755a7e855021.tar.bz2
gentoo-2-8425a0bcfe56485c5ee34bb60df2755a7e855021.zip
Version bump, remove old.
(Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/wxsvg')
-rw-r--r--media-libs/wxsvg/ChangeLog8
-rw-r--r--media-libs/wxsvg/files/wxsvg-1.0.2-external-expat.patch53
-rw-r--r--media-libs/wxsvg/wxsvg-1.0.2-r1.ebuild47
-rw-r--r--media-libs/wxsvg/wxsvg-1.0.8.ebuild32
4 files changed, 39 insertions, 101 deletions
diff --git a/media-libs/wxsvg/ChangeLog b/media-libs/wxsvg/ChangeLog
index b07dd83b58e2..75ab93e986b3 100644
--- a/media-libs/wxsvg/ChangeLog
+++ b/media-libs/wxsvg/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/wxsvg
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/wxsvg/ChangeLog,v 1.21 2011/01/02 09:55:29 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/wxsvg/ChangeLog,v 1.22 2011/02/27 13:23:07 dirtyepic Exp $
+
+*wxsvg-1.0.8 (27 Feb 2011)
+
+ 27 Feb 2011; Ryan Hill <dirtyepic@gentoo.org> -wxsvg-1.0.2-r1.ebuild,
+ -files/wxsvg-1.0.2-external-expat.patch, +wxsvg-1.0.8.ebuild:
+ Version bump, remove old.
02 Jan 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> wxsvg-1.0.5.ebuild:
x86 stable wrt bug #349722
diff --git a/media-libs/wxsvg/files/wxsvg-1.0.2-external-expat.patch b/media-libs/wxsvg/files/wxsvg-1.0.2-external-expat.patch
deleted file mode 100644
index 22b0231f4840..000000000000
--- a/media-libs/wxsvg/files/wxsvg-1.0.2-external-expat.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-https://bugs.gentoo.org/249625
-https://sourceforge.net/projects/wxsvg/forums/forum/424987/topic/2875326
-
-diff --git a/configure.in b/configure.in
-index 233fc88..92a2814 100644
---- a/configure.in
-+++ b/configure.in
-@@ -17,6 +17,9 @@ AC_ARG_ENABLE(render,
- AC_ARG_ENABLE(ffmpeg,
- [ --enable-ffmpeg Enable ffmpeg decoder support (default: enabled)],
- [enable_ffmpeg=$enableval],[enable_ffmpeg=yes])
-+AC_ARG_WITH(sys-expat,
-+ [ --with-sys-expat Use the system expat library (default: use bundled expat library)],
-+ [], [with_sys_expat=no])
-
- AC_MSG_CHECKING(for install location)
- case "$prefix" in
-@@ -165,6 +168,15 @@ if test x$enable_ffmpeg = xyes; then
- LIBS="$LIBS $FFMPEG_LIBS"
- fi
-
-+dnl check if system expat requested
-+if test "x$with_sys_expat" = "xyes"; then
-+ AC_CHECK_LIB([expat],[XML_ParserCreate],[SYS_EXPAT="yes"])
-+ if test "x$SYS_EXPAT" = "x" ; then
-+ AC_MSG_WARN([system expat library not found, will use built-in instead])
-+ with_sys_expat=no
-+ fi
-+fi
-+AM_CONDITIONAL(SYS_EXPAT, [test x$with_sys_expat = xyes])
-
- dnl vars
- AC_SUBST(LDFLAGS)
-diff --git a/src/svgxml/Makefile.am b/src/svgxml/Makefile.am
-index 28ef05c..72370ea 100644
---- a/src/svgxml/Makefile.am
-+++ b/src/svgxml/Makefile.am
-@@ -1,7 +1,15 @@
-+if SYS_EXPAT
-+SUBDIRS =
-+else
- SUBDIRS = expat
-+endif
-
- noinst_LTLIBRARIES = libwxsvgxml.la
- libwxsvgxml_la_SOURCES = svgxml.cpp svgxmlhelpr.cpp
-+if SYS_EXPAT
-+libwxsvgxml_la_LIBADD = -lexpat
-+else
- libwxsvgxml_la_LIBADD = expat/libexpat.la
-+endif
-
- INCLUDES = -I$(top_builddir)/include/wxSVGXML
diff --git a/media-libs/wxsvg/wxsvg-1.0.2-r1.ebuild b/media-libs/wxsvg/wxsvg-1.0.2-r1.ebuild
deleted file mode 100644
index 23eee46bd7e5..000000000000
--- a/media-libs/wxsvg/wxsvg-1.0.2-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/wxsvg/wxsvg-1.0.2-r1.ebuild,v 1.3 2010/07/10 15:15:00 fauli Exp $
-
-EAPI=2
-WX_GTK_VER="2.8"
-
-inherit autotools eutils wxwidgets
-
-MY_P=${P}_1
-
-DESCRIPTION="C++ library to create, manipulate and render SVG files."
-HOMEPAGE="http://wxsvg.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
-
-LICENSE="wxWinLL-3"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE=""
-
-S=${WORKDIR}/${MY_P}
-
-RDEPEND="x11-libs/wxGTK:2.8[X]
- >=dev-libs/expat-2.0.1-r3
- >=dev-libs/glib-2.12
- >=dev-libs/libxml2-2.6.26
- >=media-libs/fontconfig-2.4
- >=media-libs/freetype-2.2.0
- >=media-libs/libart_lgpl-2.3.17
- >=media-video/ffmpeg-0.4.9_p20080326
- >=x11-libs/pango-1.14.9"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-external-expat.patch
- eautoreconf
-}
-
-src_configure() {
- econf --with-sys-expat || die "econf failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog TODO
-}
diff --git a/media-libs/wxsvg/wxsvg-1.0.8.ebuild b/media-libs/wxsvg/wxsvg-1.0.8.ebuild
new file mode 100644
index 000000000000..e8bf2376ac29
--- /dev/null
+++ b/media-libs/wxsvg/wxsvg-1.0.8.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/wxsvg/wxsvg-1.0.8.ebuild,v 1.1 2011/02/27 13:23:07 dirtyepic Exp $
+
+EAPI="3"
+WX_GTK_VER="2.8"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+
+inherit autotools-utils wxwidgets
+
+DESCRIPTION="C++ library to create, manipulate and render SVG files."
+HOMEPAGE="http://wxsvg.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="wxWinLL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="static-libs"
+
+RDEPEND="x11-libs/wxGTK:2.8[X]
+ >=dev-libs/expat-2.0.1-r3
+ >=dev-libs/glib-2.12
+ >=dev-libs/libxml2-2.6.26
+ >=media-libs/fontconfig-2.4
+ >=media-libs/freetype-2.2.0
+ >=media-libs/libart_lgpl-2.3.17
+ >=media-video/ffmpeg-0.4.9_p20080326
+ >=x11-libs/pango-1.14.9"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+DOCS=(AUTHORS ChangeLog TODO)