From 58c67e433e198dfbe8d9d7a48723c2bba153c512 Mon Sep 17 00:00:00 2001 From: Jurek Bartuszek Date: Thu, 3 Jan 2008 22:08:49 +0000 Subject: dev-dotnet/taglib-sharp: version bump (bug #192292) (Portage version: 2.1.3.19) --- dev-dotnet/taglib-sharp/ChangeLog | 14 ++++++- .../taglib-sharp/files/digest-taglib-sharp-2.0.2.0 | 3 ++ .../files/taglib-sharp-fix-docdir.patch | 24 +++++++++++ .../files/taglib-sharp-fix-docs-test.patch | 11 +++++ .../files/taglib-sharp-fix-sandbox-violation.patch | 32 ++++++++++++++ .../files/taglib-sharp-gnome-sharp-toggle.patch | 27 ++++++++++++ .../taglib-sharp/taglib-sharp-2.0.2.0.ebuild | 49 ++++++++++++++++++++++ 7 files changed, 158 insertions(+), 2 deletions(-) create mode 100644 dev-dotnet/taglib-sharp/files/digest-taglib-sharp-2.0.2.0 create mode 100644 dev-dotnet/taglib-sharp/files/taglib-sharp-fix-docdir.patch create mode 100644 dev-dotnet/taglib-sharp/files/taglib-sharp-fix-docs-test.patch create mode 100644 dev-dotnet/taglib-sharp/files/taglib-sharp-fix-sandbox-violation.patch create mode 100644 dev-dotnet/taglib-sharp/files/taglib-sharp-gnome-sharp-toggle.patch create mode 100644 dev-dotnet/taglib-sharp/taglib-sharp-2.0.2.0.ebuild (limited to 'dev-dotnet') diff --git a/dev-dotnet/taglib-sharp/ChangeLog b/dev-dotnet/taglib-sharp/ChangeLog index 02086f606b9c..80a420472d08 100644 --- a/dev-dotnet/taglib-sharp/ChangeLog +++ b/dev-dotnet/taglib-sharp/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for dev-dotnet/taglib-sharp -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/taglib-sharp/ChangeLog,v 1.3 2007/09/10 19:22:45 jurek Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/taglib-sharp/ChangeLog,v 1.4 2008/01/03 22:08:48 jurek Exp $ + +*taglib-sharp-2.0.2.0 (03 Jan 2008) + + 03 Jan 2008; Jurek Bartuszek + +files/taglib-sharp-fix-docdir.patch, + +files/taglib-sharp-fix-docs-test.patch, + +files/taglib-sharp-fix-sandbox-violation.patch, + +files/taglib-sharp-gnome-sharp-toggle.patch, + +taglib-sharp-2.0.2.0.ebuild: + Version bump (bug #192292) *taglib-sharp-1.9.75474 (10 Sep 2007) diff --git a/dev-dotnet/taglib-sharp/files/digest-taglib-sharp-2.0.2.0 b/dev-dotnet/taglib-sharp/files/digest-taglib-sharp-2.0.2.0 new file mode 100644 index 000000000000..f855dd9f315b --- /dev/null +++ b/dev-dotnet/taglib-sharp/files/digest-taglib-sharp-2.0.2.0 @@ -0,0 +1,3 @@ +MD5 3db8f773a7fc85b9ba3c169affdc0c8a taglib-sharp-2.0.2.0.tar.gz 312044 +RMD160 d474c189d7904dfc7d3593f331951e72aab7e58c taglib-sharp-2.0.2.0.tar.gz 312044 +SHA256 00f3f233f7614cf1ae6366ce5d54d3c9088906d704c95e64a2adbf41e8f92b43 taglib-sharp-2.0.2.0.tar.gz 312044 diff --git a/dev-dotnet/taglib-sharp/files/taglib-sharp-fix-docdir.patch b/dev-dotnet/taglib-sharp/files/taglib-sharp-fix-docdir.patch new file mode 100644 index 000000000000..c5d34e62160e --- /dev/null +++ b/dev-dotnet/taglib-sharp/files/taglib-sharp-fix-docdir.patch @@ -0,0 +1,24 @@ +diff -Naur taglib-sharp-2.0.2.0/docs/Makefile.am taglib-sharp-2.0.2.0.new/docs/Makefile.am +--- taglib-sharp-2.0.2.0/docs/Makefile.am 2007-11-26 00:56:05.680848050 +0530 ++++ taglib-sharp-2.0.2.0.new/docs/Makefile.am 2007-11-26 00:55:41.760847655 +0530 +@@ -9,7 +9,7 @@ + if BUILD_DOCS + all: + +-monodocdir = $(DESTDIR)$(DOCDIR) ++monodocdir = $(DOCDIR) + monodoc_DATA = \ + taglib-sharp-docs.zip \ + taglib-sharp-docs.tree \ +diff -Naur taglib-sharp-2.0.2.0/docs/Makefile.in taglib-sharp-2.0.2.0.new/docs/Makefile.in +--- taglib-sharp-2.0.2.0/docs/Makefile.in 2007-11-26 00:56:05.681849318 +0530 ++++ taglib-sharp-2.0.2.0.new/docs/Makefile.in 2007-11-26 00:55:22.030848788 +0530 +@@ -162,7 +162,7 @@ + $(top_builddir)/src/taglib-sharp.dll + + ASSEMBLIES_BUILD = $(foreach asm,$(ASSEMBLIES),$(addprefix -assembly:,$(asm))) +-@BUILD_DOCS_TRUE@monodocdir = $(DESTDIR)$(DOCDIR) ++@BUILD_DOCS_TRUE@monodocdir = $(DOCDIR) + @BUILD_DOCS_TRUE@monodoc_DATA = \ + @BUILD_DOCS_TRUE@ taglib-sharp-docs.zip \ + @BUILD_DOCS_TRUE@ taglib-sharp-docs.tree \ diff --git a/dev-dotnet/taglib-sharp/files/taglib-sharp-fix-docs-test.patch b/dev-dotnet/taglib-sharp/files/taglib-sharp-fix-docs-test.patch new file mode 100644 index 000000000000..12710168e87a --- /dev/null +++ b/dev-dotnet/taglib-sharp/files/taglib-sharp-fix-docs-test.patch @@ -0,0 +1,11 @@ +--- configure.ac 2007-11-26 01:40:33.788848353 +0530 ++++ configure.ac.new 2007-11-26 01:40:11.706847727 +0530 +@@ -61,7 +61,7 @@ + GACUTIL_POLICY_FLAGS='/gacdir $(libdir) /root $(DESTDIR)$(libdir)' + AC_SUBST(GACUTIL_POLICY_FLAGS) + +-AC_ARG_ENABLE(docs, AC_HELP_STRING([--disable-docs], [Do not build documentation]), with_docs=no, with_docs=yes) ++AC_ARG_ENABLE(docs, AC_HELP_STRING([--disable-docs], [Do not build documentation]), with_docs=$enableval, with_docs=yes) + + dnl Monodoc + if test "x$with_docs" = "xyes"; then diff --git a/dev-dotnet/taglib-sharp/files/taglib-sharp-fix-sandbox-violation.patch b/dev-dotnet/taglib-sharp/files/taglib-sharp-fix-sandbox-violation.patch new file mode 100644 index 000000000000..febefe35252a --- /dev/null +++ b/dev-dotnet/taglib-sharp/files/taglib-sharp-fix-sandbox-violation.patch @@ -0,0 +1,32 @@ +diff -Naur taglib-sharp-2.0.2.0/docs/Makefile.am taglib-sharp-2.0.2.0.new/docs/Makefile.am +--- taglib-sharp-2.0.2.0/docs/Makefile.am 2007-06-11 09:35:31.000000000 +0530 ++++ taglib-sharp-2.0.2.0.new/docs/Makefile.am 2007-11-26 02:37:20.023389485 +0530 +@@ -33,12 +33,6 @@ + + taglib-sharp-docs.zip taglib-sharp-docs.tree: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml + $(DOC_ASSEMBLER) $(srcdir)/en +- +-install-data-hook: +- $(MONO) $(top_builddir)/docs/MonodocNodeConfig.exe --insert "TagLib#" classlib-taglib-sharp $(DOCDIR)/../monodoc.xml +- +-uninstall-hook: +- $(MONO) $(top_builddir)/docs/MonodocNodeConfig.exe --remove classlib-taglib-sharp $(DOCDIR)/../monodoc.xml + endif + + EXTRA_DIST = \ +diff -Naur taglib-sharp-2.0.2.0/docs/Makefile.in taglib-sharp-2.0.2.0.new/docs/Makefile.in +--- taglib-sharp-2.0.2.0/docs/Makefile.in 2007-07-04 03:42:06.000000000 +0530 ++++ taglib-sharp-2.0.2.0.new/docs/Makefile.in 2007-11-26 02:37:45.355848954 +0530 +@@ -386,12 +386,6 @@ + + @BUILD_DOCS_TRUE@taglib-sharp-docs.zip taglib-sharp-docs.tree: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml + @BUILD_DOCS_TRUE@ $(DOC_ASSEMBLER) $(srcdir)/en +- +-@BUILD_DOCS_TRUE@install-data-hook: +-@BUILD_DOCS_TRUE@ $(MONO) $(top_builddir)/docs/MonodocNodeConfig.exe --insert "TagLib#" classlib-taglib-sharp $(DOCDIR)/../monodoc.xml +- +-@BUILD_DOCS_TRUE@uninstall-hook: +-@BUILD_DOCS_TRUE@ $(MONO) $(top_builddir)/docs/MonodocNodeConfig.exe --remove classlib-taglib-sharp $(DOCDIR)/../monodoc.xml + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: diff --git a/dev-dotnet/taglib-sharp/files/taglib-sharp-gnome-sharp-toggle.patch b/dev-dotnet/taglib-sharp/files/taglib-sharp-gnome-sharp-toggle.patch new file mode 100644 index 000000000000..568430301dba --- /dev/null +++ b/dev-dotnet/taglib-sharp/files/taglib-sharp-gnome-sharp-toggle.patch @@ -0,0 +1,27 @@ +--- taglib-sharp-2.0.2.0/configure.ac 2007-07-04 03:37:05.000000000 +0530 ++++ taglib-sharp-2.0.2.0.new/configure.ac 2007-11-26 01:31:23.938210509 +0530 +@@ -83,10 +83,20 @@ + AM_CONDITIONAL(BUILD_DOCS, false) + fi + +-PKG_CHECK_MODULES(GNOME_SHARP, gnome-sharp-2.0, have_gnome_sharp=yes, have_gnome_sharp=no) +-if test "x$have_gnome_sharp" = "xyes"; then +- AC_SUBST(GNOME_SHARP_LIBS) +- AM_CONDITIONAL(HAVE_GNOME_SHARP, true) ++AC_ARG_ENABLE([gnome-sharp], ++ AC_HELP_STRING([--enable-gnome-sharp], [Build support for GNOME]), ++ enable_gnome_sharp=$enableval, ++ enable_gnome_sharp=no) ++ ++if test "x$enable_gnome_sharp" = "xyes"; then ++ PKG_CHECK_MODULES(GNOME_SHARP, gnome-sharp-2.0, have_gnome_sharp=yes, have_gnome_sharp=no) ++ if test "x$have_gnome_sharp" = "xyes"; then ++ AC_SUBST(GNOME_SHARP_LIBS) ++ AM_CONDITIONAL(HAVE_GNOME_SHARP, true) ++ else ++ AC_MSG_ERROR([Could not find gnome-sharp dependencies]) ++ AM_CONDITIONAL(HAVE_GNOME_SHARP, false) ++ fi + else + AM_CONDITIONAL(HAVE_GNOME_SHARP, false) + fi diff --git a/dev-dotnet/taglib-sharp/taglib-sharp-2.0.2.0.ebuild b/dev-dotnet/taglib-sharp/taglib-sharp-2.0.2.0.ebuild new file mode 100644 index 000000000000..df25fa68ed19 --- /dev/null +++ b/dev-dotnet/taglib-sharp/taglib-sharp-2.0.2.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/taglib-sharp/taglib-sharp-2.0.2.0.ebuild,v 1.1 2008/01/03 22:08:48 jurek Exp $ + +EAPI=1 + +inherit autotools mono eutils + +DESCRIPTION="Taglib# 2.0 - Managed tag reader/writer" +HOMEPAGE="http://www.taglib-sharp.com" +SRC_URI="http://www.taglib-sharp.com/Download/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc gnome" + +RDEPEND="${DEPEND}" +DEPEND="dev-lang/mono + gnome? ( >=dev-dotnet/gnome-sharp-2.0 ) + doc? ( dev-util/monodoc )" + +src_unpack() { + unpack "${A}" + cd "${S}" + # Cleaning up docdir mess (bug #184149) + epatch "${FILESDIR}"/${PN}-fix-docdir.patch + # taglib-sharp configure script is a bit messed up + epatch "${FILESDIR}"/${PN}-fix-docs-test.patch + # Fix sandbox violation on /usr/lib/monodoc/monodoc.xml + epatch "${FILESDIR}"/${PN}-fix-sandbox-violation.patch + # Allow gnome-sharp to be an optional dependency + epatch "${FILESDIR}"/${PN}-gnome-sharp-toggle.patch + + eautoreconf || die "eautoreconf failed" +} + +src_compile() { + econf \ + $(use_enable doc docs) \ + $(use_enable gnome gnome-sharp) || die "configure failed" + + emake -j1 || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" + dodoc AUTHORS ChangeLog NEWS README +} -- cgit v1.2.3-65-gdbad