diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-11-19 17:13:52 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-11-19 17:13:52 +0000 |
commit | 7a7b0e771b5775b9151dcde54a2eccf1f8eb4e19 (patch) | |
tree | fc849913db1fab612c1a70941955fcc421847d26 | |
parent | Document USE=gnome; thanks to Fabian Köster <f.koester@tarent.de> for the su... (diff) | |
download | gentoo-2-7a7b0e771b5775b9151dcde54a2eccf1f8eb4e19.tar.gz gentoo-2-7a7b0e771b5775b9151dcde54a2eccf1f8eb4e19.tar.bz2 gentoo-2-7a7b0e771b5775b9151dcde54a2eccf1f8eb4e19.zip |
Version bump.
(Portage version: 2.2.0_alpha73/cvs/Linux x86_64)
-rw-r--r-- | dev-libs/libindicate/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/libindicate/files/libindicate-0.6.1-no-mono.patch | 78 | ||||
-rw-r--r-- | dev-libs/libindicate/libindicate-0.6.1-r200.ebuild | 79 |
3 files changed, 164 insertions, 1 deletions
diff --git a/dev-libs/libindicate/ChangeLog b/dev-libs/libindicate/ChangeLog index 04fab80b91dd..311abded7d52 100644 --- a/dev-libs/libindicate/ChangeLog +++ b/dev-libs/libindicate/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/libindicate # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/ChangeLog,v 1.20 2011/11/04 23:04:20 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/ChangeLog,v 1.21 2011/11/19 17:13:52 ssuominen Exp $ + +*libindicate-0.6.1-r200 (19 Nov 2011) + + 19 Nov 2011; Samuli Suominen <ssuominen@gentoo.org> + +libindicate-0.6.1-r200.ebuild, +files/libindicate-0.6.1-no-mono.patch: + Version bump. 04 Nov 2011; Andreas K. Huettel <dilfridge@gentoo.org> libindicate-0.4.4-r2.ebuild: diff --git a/dev-libs/libindicate/files/libindicate-0.6.1-no-mono.patch b/dev-libs/libindicate/files/libindicate-0.6.1-no-mono.patch new file mode 100644 index 000000000000..349828a6058c --- /dev/null +++ b/dev-libs/libindicate/files/libindicate-0.6.1-no-mono.patch @@ -0,0 +1,78 @@ +Temporary patch to disable mono until new gtk-sharp is in tree wrt bug #382491 + +--- bindings/Makefile.am ++++ bindings/Makefile.am +@@ -1,9 +1,5 @@ + SUBDIRS = + +-if HAS_MONO +-SUBDIRS += mono +-endif +- + if HAS_PYTHON + SUBDIRS += python + endif +--- configure.ac ++++ configure.ac +@@ -124,61 +124,6 @@ + AC_PATH_PROG([VALA_API_GEN], [vapigen]) + + ########################### +-# Check for Mono support +-########################### +- +-MONO_REQUIRED_VERSION=1.0 +-PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false) +- +-AC_PATH_PROG(AL, al, no) +-if test "x$AL" = "xno" ; then +- AC_MSG_NOTICE([No al tool found. You need to install Mono.]) +-fi +- +-if test "x$has_mono" = "xtrue" ; then +- GENERATED_SOURCES=generated/*.cs +- AC_PATH_PROG(RUNTIME, mono, no) +- +- if test "x$RUNTIME" != "no" ; then +- RUNTIME=mono +- fi +- +- AC_PATH_PROG(CSC, gmcs, no) +- LIB_PREFIX=.so +- LIB_SUFFIX= +-fi +- +-if test "x$CSC" = "xno" ; then +- AC_MSG_NOTICE([No Mono compiler found.]) +-fi +- +-AC_PATH_PROG(GACUTIL, gacutil, no) +-if test "x$GACUTIL" = "xno" ; then +- AC_MSG_NOTICE([No gacutil tool found]) +-fi +- +-AC_SUBST(RUNTIME) +-AC_SUBST(CSC) +-AC_SUBST(GACUTIL) +-AC_SUBST(LIB_PREFIX) +-AC_SUBST(LIB_SUFFIX) +-AC_SUBST(GENERATED_SOURCES) +- +-GLIB_SHARP_REQ_VERSION=2.12.1 +-GTK_SHARP_REQ_VERSION=2.12 +-PKG_CHECK_MODULES(GTK_SHARP, gtk-sharp-2.0 >= $GTK_SHARP_REQ_VERSION, has_gtksharp=true, has_gtksharp=false) +-AC_SUBST(GTK_SHARP_LIBS) +-AC_SUBST(GTK_SHARP_CFLAGS) +- +-PKG_CHECK_MODULES(GAPI, gapi-2.0 >= $GLIB_SHARP_REQ_VERSION, has_gapi=true, has_gapi=false) +-AC_PATH_PROG(GAPI_PARSER, gapi2-parser, no) +-AC_SUBST(GAPI_PARSER) +-AC_PATH_PROG(GAPI_CODEGEN, gapi2-codegen, no) +-AC_SUBST(GAPI_CODEGEN) +-AC_PATH_PROG(GAPI_FIXUP, gapi2-fixup, no) +-AC_SUBST(GAPI_FIXUP) +- +-########################### + # Check for Python support + ########################### + diff --git a/dev-libs/libindicate/libindicate-0.6.1-r200.ebuild b/dev-libs/libindicate/libindicate-0.6.1-r200.ebuild new file mode 100644 index 000000000000..e8799d2b2132 --- /dev/null +++ b/dev-libs/libindicate/libindicate-0.6.1-r200.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/libindicate-0.6.1-r200.ebuild,v 1.1 2011/11/19 17:13:52 ssuominen Exp $ + +EAPI=4 + +PYTHON_DEPEND="2:2.7" + +inherit autotools eutils python + +__vala_version=0.14 + +DESCRIPTION="A library to raise flags on DBus for other components of the desktop to pick up and visualize" +HOMEPAGE="http://launchpad.net/libindicate" +SRC_URI="http://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz" + +LICENSE="LGPL-2.1 LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+introspection" + +RDEPEND=">=dev-libs/dbus-glib-0.76 + >=dev-libs/glib-2.18:2 + >=dev-libs/libdbusmenu-0.3.97[introspection?] + dev-libs/libxml2:2 + dev-python/pygtk:2 + >=x11-libs/gtk+-2.12:2 + introspection? ( dev-libs/gobject-introspection )" +DEPEND="${RDEPEND} + gnome-base/gnome-common + app-text/gnome-doc-utils + dev-util/gtk-doc-am + dev-util/pkgconfig + dev-lang/vala:${__vala_version}[vapigen]" + +RESTRICT="test" # for -no-mono.patch + +DOCS=( AUTHORS ChangeLog ) + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-no-mono.patch + + sed -i -e 's:-Werror::' {examples,libindicate,libindicate-gtk}/Makefile.{am,in} || die + + # for slotted dev-lang/vala + sed -i -e "s:vapigen:vapigen-${__vala_version}:" configure.ac || die + + eautoreconf + + rm -f py-compile + ln -s $(type -P true) py-compile +} + +src_configure() { + econf \ + --docdir=/usr/share/doc/${PF} \ + --disable-static \ + $(use_enable introspection) \ + --with-gtk=2 \ + --with-html-dir=/usr/share/doc/${PF} +} + +src_install() { + default + find "${ED}"usr -name '*.la' -exec rm -f {} + +} + +pkg_postinst() { + python_mod_optimize indicate +} + +pkg_postrm() { + python_mod_cleanup indicate +} |