From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RoKT2-0004ev-LB for garchives@archives.gentoo.org; Fri, 20 Jan 2012 19:49:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8952CE0831; Fri, 20 Jan 2012 19:49:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 46ACFE0831 for ; Fri, 20 Jan 2012 19:49:37 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B0C6E1B4018 for ; Fri, 20 Jan 2012 19:49:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 2EAAD8004C for ; Fri, 20 Jan 2012 19:49:36 +0000 (UTC) From: "Nirbheek Chauhan" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nirbheek Chauhan" Message-ID: Subject: [gentoo-commits] proj/gnome:master commit in: app-editors/gedit/ X-VCS-Repository: proj/gnome X-VCS-Files: app-editors/gedit/gedit-3.3.2.ebuild X-VCS-Directories: app-editors/gedit/ X-VCS-Committer: nirbheek X-VCS-Committer-Name: Nirbheek Chauhan X-VCS-Revision: e16658fec61163d48c3f1fd540301fe2ce2acac1 Date: Fri, 20 Jan 2012 19:49:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 23dc24f4-658c-4822-9c10-ce3b6d135581 X-Archives-Hash: 76a420f1ff606f0033c4c6cb0527e02d commit: e16658fec61163d48c3f1fd540301fe2ce2acac1 Author: Nirbheek Chauhan gentoo org> AuthorDate: Fri Jan 20 19:01:40 2012 +0000 Commit: Nirbheek Chauhan gentoo org> CommitDate: Fri Jan 20 19:01:40 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gnome.git;a=3D= commit;h=3De16658fe app-editors/gedit: bump to 3.3.2, bug 399531 --- app-editors/gedit/gedit-3.3.2.ebuild | 116 ++++++++++++++++++++++++++++= ++++++ 1 files changed, 116 insertions(+), 0 deletions(-) diff --git a/app-editors/gedit/gedit-3.3.2.ebuild b/app-editors/gedit/ged= it-3.3.2.ebuild new file mode 100644 index 0000000..5df7790 --- /dev/null +++ b/app-editors/gedit/gedit-3.3.2.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/gedit-2.30.2.ebuild= ,v 1.1 2010/06/13 19:34:52 pacho Exp $ + +EAPI=3D"4" +GCONF_DEBUG=3D"no" +GNOME2_LA_PUNT=3D"yes" # plugins are dlopened +PYTHON_DEPEND=3D"2" + +inherit gnome2 python eutils virtualx +if [[ ${PV} =3D 9999 ]]; then + inherit gnome2-live +fi + +DESCRIPTION=3D"A text editor for the GNOME desktop" +HOMEPAGE=3D"http://www.gnome.org/" + +LICENSE=3D"GPL-2" +SLOT=3D"0" +IUSE=3D"doc +introspection +python spell" +if [[ ${PV} =3D 9999 ]]; then + KEYWORDS=3D"" +else + KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 = ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux" +fi + +# X libs are not needed for OSX (aqua) +COMMON_DEPEND=3D" + >=3Dx11-libs/libSM-1.0 + >=3Ddev-libs/libxml2-2.5.0:2 + >=3Ddev-libs/glib-2.28:2 + >=3Dx11-libs/gtk+-3.1.6:3[introspection?] + >=3Dx11-libs/gtksourceview-3.0.0:3.0[introspection?] + >=3Ddev-libs/libpeas-1.1.0[gtk] + + gnome-base/gsettings-desktop-schemas + gnome-base/gvfs + + x11-libs/libX11 + x11-libs/libICE + x11-libs/libSM + + net-libs/libsoup:2.4 + + introspection? ( >=3Ddev-libs/gobject-introspection-0.9.3 ) + python? ( + >=3Ddev-libs/gobject-introspection-0.9.3 + >=3Dx11-libs/gtk+-3.0:3[introspection] + >=3Dx11-libs/gtksourceview-2.91.9:3.0[introspection] + >=3Ddev-python/pygobject-3.0.0:3 ) + spell? ( + >=3Dapp-text/enchant-1.2 + >=3Dapp-text/iso-codes-0.35 + )" + +RDEPEND=3D"${COMMON_DEPEND} + x11-themes/gnome-icon-theme-symbolic" + +DEPEND=3D"${COMMON_DEPEND} + >=3Dsys-devel/gettext-0.17 + >=3Ddev-util/intltool-0.40 + >=3Ddev-util/pkgconfig-0.9 + >=3Dapp-text/scrollkeeper-0.3.11 + >=3Dapp-text/gnome-doc-utils-0.9.0 + ~app-text/docbook-xml-dtd-4.1.2 + doc? ( >=3Ddev-util/gtk-doc-1 )" +# gnome-common and gtk-doc-am needed to eautoreconf + +pkg_setup() { + DOCS=3D"AUTHORS BUGS ChangeLog MAINTAINERS NEWS README" + # TODO: Zeitgeist support, if GNOME 3 adds it to moduleset (3.2?) + G2CONF=3D"${G2CONF} + --disable-zeitgeist + --disable-deprecations + --disable-schemas-compile + --disable-scrollkeeper + --enable-updater + --enable-gvfs-metadata + $(use_enable introspection) + $(use_enable python) + $(use_enable spell)" + + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + gnome2_src_prepare + + # disable pyc compiling + mv "${S}"/py-compile "${S}"/py-compile.orig + ln -s $(type -P true) "${S}"/py-compile +} + +src_test() { + # FIXME: this should be handled at eclass level + "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die + + GSETTINGS_SCHEMA_DIR=3D"${S}/data" Xemake check +} + +pkg_postinst() { + gnome2_pkg_postinst + if use python; then + python_mod_optimize /usr/$(get_libdir)/gedit/plugins + # FIXME: take care of gi.overrides with USE=3Dintrospection + fi + +} + +pkg_postrm() { + gnome2_pkg_postrm + if use python; then + python_mod_cleanup /usr/$(get_libdir)/gedit/plugins + fi +}