summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2010-09-28 20:33:43 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2010-09-28 20:33:43 +0000
commitb9723e5b650bf3c350268be60929db60bddab6ee (patch)
tree81deb723451a9ef66366e6e2e906cc92a48913d3 /app-editors
parentFix building for systems with crappy fnmatch and/or cross-compiling. (diff)
downloadgentoo-2-b9723e5b650bf3c350268be60929db60bddab6ee.tar.gz
gentoo-2-b9723e5b650bf3c350268be60929db60bddab6ee.tar.bz2
gentoo-2-b9723e5b650bf3c350268be60929db60bddab6ee.zip
Version bump. Translation updates, add mallard snippet.
(Portage version: 2.2_rc88/cvs/Linux x86_64)
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/gedit/ChangeLog7
-rw-r--r--app-editors/gedit/gedit-2.30.4.ebuild85
2 files changed, 91 insertions, 1 deletions
diff --git a/app-editors/gedit/ChangeLog b/app-editors/gedit/ChangeLog
index 4ca07a32d78d..95610ed4a06e 100644
--- a/app-editors/gedit/ChangeLog
+++ b/app-editors/gedit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-editors/gedit
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/ChangeLog,v 1.314 2010/09/11 18:50:12 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/ChangeLog,v 1.315 2010/09/28 20:33:43 eva Exp $
+
+*gedit-2.30.4 (28 Sep 2010)
+
+ 28 Sep 2010; Gilles Dartiguelongue <eva@gentoo.org> +gedit-2.30.4.ebuild:
+ Version bump. Translation updates, add mallard snippet.
11 Sep 2010; Joseph Jezak <josejx@gentoo.org> gedit-2.30.3.ebuild:
Marked ppc for bug #324077.
diff --git a/app-editors/gedit/gedit-2.30.4.ebuild b/app-editors/gedit/gedit-2.30.4.ebuild
new file mode 100644
index 000000000000..1dd8f1a2b490
--- /dev/null
+++ b/app-editors/gedit/gedit-2.30.4.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/gedit-2.30.4.ebuild,v 1.1 2010/09/28 20:33:43 eva Exp $
+
+GCONF_DEBUG="no"
+PYTHON_DEPEND="python? 2:2.5"
+
+inherit gnome2 python eutils
+
+DESCRIPTION="A text editor for the GNOME desktop"
+HOMEPAGE="http://www.gnome.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux"
+IUSE="doc python spell"
+
+RDEPEND=">=gnome-base/gconf-2
+ >=x11-libs/libSM-1.0
+ >=dev-libs/libxml2-2.5.0
+ >=dev-libs/glib-2.23.1
+ >=x11-libs/gtk+-2.19.0
+ >=x11-libs/gtksourceview-2.9.7
+ spell? (
+ >=app-text/enchant-1.2
+ >=app-text/iso-codes-0.35
+ )
+ python? (
+ >=dev-python/pygobject-2.15.4
+ >=dev-python/pygtk-2.12
+ >=dev-python/pygtksourceview-2.9.2
+ )"
+
+DEPEND="${RDEPEND}
+ >=sys-devel/gettext-0.17
+ >=dev-util/intltool-0.40
+ >=dev-util/pkgconfig-0.9
+ >=app-text/scrollkeeper-0.3.11
+ >=app-text/gnome-doc-utils-0.9.0
+ ~app-text/docbook-xml-dtd-4.1.2
+ doc? ( >=dev-util/gtk-doc-1 )"
+# gnome-common and gtk-doc-am needed to eautoreconf
+
+DOCS="AUTHORS BUGS ChangeLog MAINTAINERS NEWS README"
+
+if [[ "${ARCH}" == "PPC" ]] ; then
+ # HACK HACK HACK: someone fix this garbage
+ MAKEOPTS="${MAKEOPTS} -j1"
+fi
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ --disable-scrollkeeper
+ --disable-updater
+ $(use_enable python)
+ $(use_enable spell)"
+}
+
+src_unpack() {
+ gnome2_src_unpack
+
+ # Do not fail if remote mounting is not supported.
+ epatch "${FILESDIR}/${PN}-2.30.2-tests-skip.patch"
+
+ # disable pyc compiling
+ mv "${S}"/py-compile "${S}"/py-compile.orig
+ ln -s $(type -P true) "${S}"/py-compile
+}
+
+src_install() {
+ gnome2_src_install
+
+ # Installed for plugins, but they're dlopen()-ed
+ find "${D}" -name "*.la" -delete || die "remove of la files failed"
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ use python && python_mod_optimize /usr/$(get_libdir)/gedit-2/plugins
+}
+
+pkg_postrm() {
+ gnome2_pkg_postrm
+ python_mod_cleanup /usr/$(get_libdir)/gedit-2/plugins
+}