public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gnome:gnome-next commit in: dev-libs/gmime/
@ 2011-08-09 16:15 Alexandre Restovtsev
  0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Restovtsev @ 2011-08-09 16:15 UTC (permalink / raw
  To: gentoo-commits

commit:     302363e099b39b2339c014db7e7b5a24584e57d1
Author:     Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Tue Aug  9 16:10:53 2011 +0000
Commit:     Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Tue Aug  9 16:10:53 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=302363e0

dev-libs/gmime: add 2.5.9

Add slot 2.6 of gmime for gnome-3.1.x.

---
 dev-libs/gmime/gmime-2.5.9.ebuild |   89 +++++++++++++++++++++++++++++++++++++
 dev-libs/gmime/gmime-9999.ebuild  |   89 +++++++++++++++++++++++++++++++++++++
 2 files changed, 178 insertions(+), 0 deletions(-)

diff --git a/dev-libs/gmime/gmime-2.5.9.ebuild b/dev-libs/gmime/gmime-2.5.9.ebuild
new file mode 100644
index 0000000..20d2b4f
--- /dev/null
+++ b/dev-libs/gmime/gmime-2.5.9.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmime/gmime-2.4.25.ebuild,v 1.1 2011/06/11 15:17:27 pacho Exp $
+
+EAPI="4"
+GCONF_DEBUG="no"
+
+inherit gnome2 eutils mono libtool
+if [[ ${PV} = 9999 ]]; then
+	inherit gnome2-live
+fi
+
+DESCRIPTION="Utilities for creating and parsing messages using MIME"
+HOMEPAGE="http://spruce.sourceforge.net/gmime/"
+
+SLOT="2.6"
+LICENSE="LGPL-2.1"
+if [[ ${PV} = 9999 ]]; then
+	KEYWORDS=""
+else
+	KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+fi
+IUSE="doc mono"
+
+RDEPEND=">=dev-libs/glib-2.18:2
+	>=app-crypt/gpgme-1.1.6
+	sys-libs/zlib
+	mono? (
+		dev-lang/mono
+		>=dev-dotnet/glib-sharp-2.4.0:2 )"
+DEPEND="${RDEPEND}
+	dev-util/pkgconfig
+	doc? (
+		>=dev-util/gtk-doc-1.8
+		app-text/docbook-sgml-utils )
+	mono? ( dev-dotnet/gtk-sharp-gapi:2 )"
+
+pkg_setup() {
+	DOCS="AUTHORS ChangeLog NEWS PORTING README TODO"
+	G2CONF="${G2CONF} $(use_enable mono) --enable-cryptography"
+}
+
+src_prepare() {
+	gnome2_src_prepare
+
+	if use doc ; then
+		# db2html should be docbook2html
+		sed -i -e 's:db2html:docbook2html:' \
+			configure.ac configure || die "sed failed (1)"
+		sed -i -e 's:db2html:docbook2html -o gmime-tut:g' \
+			docs/tutorial/Makefile.* || die "sed failed (2)"
+		# Fix doc targets (bug #97154)
+		sed -i -e 's!\<\(tmpl-build.stamp\): !\1 $(srcdir)/tmpl/*.sgml: !' \
+			gtk-doc.make docs/reference/Makefile.in || die "sed failed (3)"
+	fi
+
+	# Use correct libdir for mono assembly
+	sed -i -e 's:^libdir.*:libdir=@libdir@:' \
+		   -e 's:^prefix=:exec_prefix=:' \
+		   -e 's:prefix)/lib:libdir):' \
+		mono/gmime-sharp.pc.in mono/Makefile.{am,in} || die "sed failed (4)"
+
+	elibtoolize
+}
+
+src_compile() {
+	MONO_PATH="${S}" emake
+	if use doc; then
+		emake -C docs/tutorial html
+	fi
+}
+
+src_install() {
+	emake GACUTIL_FLAGS="/root '${ED}/usr/$(get_libdir)' /gacdir '${EPREFIX}/usr/$(get_libdir)' /package ${PN}" \
+		DESTDIR="${D}" install
+
+	if use doc ; then
+		# we don't use docinto/dodoc, because we don't want html doc gzipped
+		insinto /usr/share/doc/${PF}/tutorial
+		doins docs/tutorial/html/*
+	fi
+
+	dodoc $DOCS
+
+	# rename these two, so they don't conflict with app-arch/sharutils
+	# (bug #70392)	Ticho, 2004-11-10
+	mv "${ED}/usr/bin/uuencode" "${ED}/usr/bin/gmime-uuencode-${SLOT}"
+	mv "${ED}/usr/bin/uudecode" "${ED}/usr/bin/gmime-uudecode-${SLOT}"
+}

diff --git a/dev-libs/gmime/gmime-9999.ebuild b/dev-libs/gmime/gmime-9999.ebuild
new file mode 100644
index 0000000..20d2b4f
--- /dev/null
+++ b/dev-libs/gmime/gmime-9999.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmime/gmime-2.4.25.ebuild,v 1.1 2011/06/11 15:17:27 pacho Exp $
+
+EAPI="4"
+GCONF_DEBUG="no"
+
+inherit gnome2 eutils mono libtool
+if [[ ${PV} = 9999 ]]; then
+	inherit gnome2-live
+fi
+
+DESCRIPTION="Utilities for creating and parsing messages using MIME"
+HOMEPAGE="http://spruce.sourceforge.net/gmime/"
+
+SLOT="2.6"
+LICENSE="LGPL-2.1"
+if [[ ${PV} = 9999 ]]; then
+	KEYWORDS=""
+else
+	KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+fi
+IUSE="doc mono"
+
+RDEPEND=">=dev-libs/glib-2.18:2
+	>=app-crypt/gpgme-1.1.6
+	sys-libs/zlib
+	mono? (
+		dev-lang/mono
+		>=dev-dotnet/glib-sharp-2.4.0:2 )"
+DEPEND="${RDEPEND}
+	dev-util/pkgconfig
+	doc? (
+		>=dev-util/gtk-doc-1.8
+		app-text/docbook-sgml-utils )
+	mono? ( dev-dotnet/gtk-sharp-gapi:2 )"
+
+pkg_setup() {
+	DOCS="AUTHORS ChangeLog NEWS PORTING README TODO"
+	G2CONF="${G2CONF} $(use_enable mono) --enable-cryptography"
+}
+
+src_prepare() {
+	gnome2_src_prepare
+
+	if use doc ; then
+		# db2html should be docbook2html
+		sed -i -e 's:db2html:docbook2html:' \
+			configure.ac configure || die "sed failed (1)"
+		sed -i -e 's:db2html:docbook2html -o gmime-tut:g' \
+			docs/tutorial/Makefile.* || die "sed failed (2)"
+		# Fix doc targets (bug #97154)
+		sed -i -e 's!\<\(tmpl-build.stamp\): !\1 $(srcdir)/tmpl/*.sgml: !' \
+			gtk-doc.make docs/reference/Makefile.in || die "sed failed (3)"
+	fi
+
+	# Use correct libdir for mono assembly
+	sed -i -e 's:^libdir.*:libdir=@libdir@:' \
+		   -e 's:^prefix=:exec_prefix=:' \
+		   -e 's:prefix)/lib:libdir):' \
+		mono/gmime-sharp.pc.in mono/Makefile.{am,in} || die "sed failed (4)"
+
+	elibtoolize
+}
+
+src_compile() {
+	MONO_PATH="${S}" emake
+	if use doc; then
+		emake -C docs/tutorial html
+	fi
+}
+
+src_install() {
+	emake GACUTIL_FLAGS="/root '${ED}/usr/$(get_libdir)' /gacdir '${EPREFIX}/usr/$(get_libdir)' /package ${PN}" \
+		DESTDIR="${D}" install
+
+	if use doc ; then
+		# we don't use docinto/dodoc, because we don't want html doc gzipped
+		insinto /usr/share/doc/${PF}/tutorial
+		doins docs/tutorial/html/*
+	fi
+
+	dodoc $DOCS
+
+	# rename these two, so they don't conflict with app-arch/sharutils
+	# (bug #70392)	Ticho, 2004-11-10
+	mv "${ED}/usr/bin/uuencode" "${ED}/usr/bin/gmime-uuencode-${SLOT}"
+	mv "${ED}/usr/bin/uudecode" "${ED}/usr/bin/gmime-uudecode-${SLOT}"
+}



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/gnome:gnome-next commit in: dev-libs/gmime/
@ 2011-08-09 17:18 Alexandre Restovtsev
  0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Restovtsev @ 2011-08-09 17:18 UTC (permalink / raw
  To: gentoo-commits

commit:     51490e1f29a1add04c2cd2ed0719900d680ab5c6
Author:     Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Tue Aug  9 17:16:45 2011 +0000
Commit:     Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Tue Aug  9 17:16:45 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=51490e1f

dev-libs/gmime: punt .la files and disable static

---
 dev-libs/gmime/gmime-2.5.9.ebuild |    4 +++-
 dev-libs/gmime/gmime-9999.ebuild  |    4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-libs/gmime/gmime-2.5.9.ebuild b/dev-libs/gmime/gmime-2.5.9.ebuild
index 20d2b4f..ea57b2d 100644
--- a/dev-libs/gmime/gmime-2.5.9.ebuild
+++ b/dev-libs/gmime/gmime-2.5.9.ebuild
@@ -37,7 +37,7 @@ DEPEND="${RDEPEND}
 
 pkg_setup() {
 	DOCS="AUTHORS ChangeLog NEWS PORTING README TODO"
-	G2CONF="${G2CONF} $(use_enable mono) --enable-cryptography"
+	G2CONF="${G2CONF} $(use_enable mono) --enable-cryptography --disable-static"
 }
 
 src_prepare() {
@@ -74,6 +74,8 @@ src_install() {
 	emake GACUTIL_FLAGS="/root '${ED}/usr/$(get_libdir)' /gacdir '${EPREFIX}/usr/$(get_libdir)' /package ${PN}" \
 		DESTDIR="${D}" install
 
+	find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
+
 	if use doc ; then
 		# we don't use docinto/dodoc, because we don't want html doc gzipped
 		insinto /usr/share/doc/${PF}/tutorial

diff --git a/dev-libs/gmime/gmime-9999.ebuild b/dev-libs/gmime/gmime-9999.ebuild
index 20d2b4f..ea57b2d 100644
--- a/dev-libs/gmime/gmime-9999.ebuild
+++ b/dev-libs/gmime/gmime-9999.ebuild
@@ -37,7 +37,7 @@ DEPEND="${RDEPEND}
 
 pkg_setup() {
 	DOCS="AUTHORS ChangeLog NEWS PORTING README TODO"
-	G2CONF="${G2CONF} $(use_enable mono) --enable-cryptography"
+	G2CONF="${G2CONF} $(use_enable mono) --enable-cryptography --disable-static"
 }
 
 src_prepare() {
@@ -74,6 +74,8 @@ src_install() {
 	emake GACUTIL_FLAGS="/root '${ED}/usr/$(get_libdir)' /gacdir '${EPREFIX}/usr/$(get_libdir)' /package ${PN}" \
 		DESTDIR="${D}" install
 
+	find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
+
 	if use doc ; then
 		# we don't use docinto/dodoc, because we don't want html doc gzipped
 		insinto /usr/share/doc/${PF}/tutorial



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/gnome:gnome-next commit in: dev-libs/gmime/
@ 2011-08-12 11:19 Alexandre Restovtsev
  0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Restovtsev @ 2011-08-12 11:19 UTC (permalink / raw
  To: gentoo-commits

commit:     1a0edc811090ebdff82783c09a96b499a8a3edd4
Author:     Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Fri Aug 12 11:14:41 2011 +0000
Commit:     Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Fri Aug 12 11:14:41 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=1a0edc81

dev-libs/gmime: add static-libs USE flag (#378769)

Add static-libs USE flag since some users of gmime may want a
static library after all; see bug #378769.

---
 dev-libs/gmime/gmime-2.5.9.ebuild |   11 ++++++++---
 dev-libs/gmime/gmime-9999.ebuild  |   11 ++++++++---
 2 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/dev-libs/gmime/gmime-2.5.9.ebuild b/dev-libs/gmime/gmime-2.5.9.ebuild
index ea57b2d..a9dc67c 100644
--- a/dev-libs/gmime/gmime-2.5.9.ebuild
+++ b/dev-libs/gmime/gmime-2.5.9.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} = 9999 ]]; then
 else
 	KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
 fi
-IUSE="doc mono"
+IUSE="doc mono static-libs"
 
 RDEPEND=">=dev-libs/glib-2.18:2
 	>=app-crypt/gpgme-1.1.6
@@ -37,7 +37,10 @@ DEPEND="${RDEPEND}
 
 pkg_setup() {
 	DOCS="AUTHORS ChangeLog NEWS PORTING README TODO"
-	G2CONF="${G2CONF} $(use_enable mono) --enable-cryptography --disable-static"
+	G2CONF="${G2CONF}
+		$(use_enable mono)
+		$(use_enable static-libs static)
+		--enable-cryptography"
 }
 
 src_prepare() {
@@ -74,7 +77,9 @@ src_install() {
 	emake GACUTIL_FLAGS="/root '${ED}/usr/$(get_libdir)' /gacdir '${EPREFIX}/usr/$(get_libdir)' /package ${PN}" \
 		DESTDIR="${D}" install
 
-	find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
+	if ! use static-libs; then
+		find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
+	fi
 
 	if use doc ; then
 		# we don't use docinto/dodoc, because we don't want html doc gzipped

diff --git a/dev-libs/gmime/gmime-9999.ebuild b/dev-libs/gmime/gmime-9999.ebuild
index ea57b2d..a9dc67c 100644
--- a/dev-libs/gmime/gmime-9999.ebuild
+++ b/dev-libs/gmime/gmime-9999.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} = 9999 ]]; then
 else
 	KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
 fi
-IUSE="doc mono"
+IUSE="doc mono static-libs"
 
 RDEPEND=">=dev-libs/glib-2.18:2
 	>=app-crypt/gpgme-1.1.6
@@ -37,7 +37,10 @@ DEPEND="${RDEPEND}
 
 pkg_setup() {
 	DOCS="AUTHORS ChangeLog NEWS PORTING README TODO"
-	G2CONF="${G2CONF} $(use_enable mono) --enable-cryptography --disable-static"
+	G2CONF="${G2CONF}
+		$(use_enable mono)
+		$(use_enable static-libs static)
+		--enable-cryptography"
 }
 
 src_prepare() {
@@ -74,7 +77,9 @@ src_install() {
 	emake GACUTIL_FLAGS="/root '${ED}/usr/$(get_libdir)' /gacdir '${EPREFIX}/usr/$(get_libdir)' /package ${PN}" \
 		DESTDIR="${D}" install
 
-	find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
+	if ! use static-libs; then
+		find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
+	fi
 
 	if use doc ; then
 		# we don't use docinto/dodoc, because we don't want html doc gzipped



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/gnome:gnome-next commit in: dev-libs/gmime/
@ 2011-08-15  1:07 Alexandre Restovtsev
  0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Restovtsev @ 2011-08-15  1:07 UTC (permalink / raw
  To: gentoo-commits

commit:     952e6a8498a00c2c7bd60807b3da17fdb5ef94c8
Author:     Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Sun Aug 14 21:24:22 2011 +0000
Commit:     Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Sun Aug 14 21:26:58 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=952e6a84

dev-libs/gmime: 2.5.9 → 2.5.10

Version bump with several API additions. Sync ebuild with gx86, use
gnome2_src_install instead of manual .la file removal.

---
 .../{gmime-2.5.9.ebuild => gmime-2.5.10.ebuild}    |    9 +++------
 dev-libs/gmime/gmime-9999.ebuild                   |    9 +++------
 2 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/dev-libs/gmime/gmime-2.5.9.ebuild b/dev-libs/gmime/gmime-2.5.10.ebuild
similarity index 90%
rename from dev-libs/gmime/gmime-2.5.9.ebuild
rename to dev-libs/gmime/gmime-2.5.10.ebuild
index a9dc67c..9e5cda3 100644
--- a/dev-libs/gmime/gmime-2.5.9.ebuild
+++ b/dev-libs/gmime/gmime-2.5.10.ebuild
@@ -4,6 +4,7 @@
 
 EAPI="4"
 GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
 
 inherit gnome2 eutils mono libtool
 if [[ ${PV} = 9999 ]]; then
@@ -74,12 +75,8 @@ src_compile() {
 }
 
 src_install() {
-	emake GACUTIL_FLAGS="/root '${ED}/usr/$(get_libdir)' /gacdir '${EPREFIX}/usr/$(get_libdir)' /package ${PN}" \
-		DESTDIR="${D}" install
-
-	if ! use static-libs; then
-		find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
-	fi
+	GACUTIL_FLAGS="/root '${ED}/usr/$(get_libdir)' /gacdir '${EPREFIX}/usr/$(get_libdir)' /package ${PN}" \
+		gnome2_src_install
 
 	if use doc ; then
 		# we don't use docinto/dodoc, because we don't want html doc gzipped

diff --git a/dev-libs/gmime/gmime-9999.ebuild b/dev-libs/gmime/gmime-9999.ebuild
index a9dc67c..9e5cda3 100644
--- a/dev-libs/gmime/gmime-9999.ebuild
+++ b/dev-libs/gmime/gmime-9999.ebuild
@@ -4,6 +4,7 @@
 
 EAPI="4"
 GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
 
 inherit gnome2 eutils mono libtool
 if [[ ${PV} = 9999 ]]; then
@@ -74,12 +75,8 @@ src_compile() {
 }
 
 src_install() {
-	emake GACUTIL_FLAGS="/root '${ED}/usr/$(get_libdir)' /gacdir '${EPREFIX}/usr/$(get_libdir)' /package ${PN}" \
-		DESTDIR="${D}" install
-
-	if ! use static-libs; then
-		find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
-	fi
+	GACUTIL_FLAGS="/root '${ED}/usr/$(get_libdir)' /gacdir '${EPREFIX}/usr/$(get_libdir)' /package ${PN}" \
+		gnome2_src_install
 
 	if use doc ; then
 		# we don't use docinto/dodoc, because we don't want html doc gzipped



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/gnome:gnome-next commit in: dev-libs/gmime/
@ 2011-08-28 18:46 Alexandre Restovtsev
  0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Restovtsev @ 2011-08-28 18:46 UTC (permalink / raw
  To: gentoo-commits

commit:     d4064b8e1477a1edea92bc0f632ed38059fca838
Author:     Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Sun Aug 28 18:11:41 2011 +0000
Commit:     Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Sun Aug 28 18:11:41 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=d4064b8e

dev-libs/gmime: 2.5.10 → 2.6.0

Version bump, changes only in mono bindings.

---
 .../{gmime-2.5.10.ebuild => gmime-2.6.0.ebuild}    |    0
 1 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-libs/gmime/gmime-2.5.10.ebuild b/dev-libs/gmime/gmime-2.6.0.ebuild
similarity index 100%
rename from dev-libs/gmime/gmime-2.5.10.ebuild
rename to dev-libs/gmime/gmime-2.6.0.ebuild



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-08-28 18:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-12 11:19 [gentoo-commits] proj/gnome:gnome-next commit in: dev-libs/gmime/ Alexandre Restovtsev
  -- strict thread matches above, loose matches on Subject: below --
2011-08-28 18:46 Alexandre Restovtsev
2011-08-15  1:07 Alexandre Restovtsev
2011-08-09 17:18 Alexandre Restovtsev
2011-08-09 16:15 Alexandre Restovtsev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox