summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2007-05-06 16:50:48 +0000
committerHanno Böck <hanno@gentoo.org>2007-05-06 16:50:48 +0000
commita2c87c39abeca3e3f9c53863ae3a5f3443f2461c (patch)
tree1a37122b6714d21a311e4883827d06dbd09f2964 /media-gfx/gimp
parentppc stable, bug #170747 (diff)
downloadgentoo-2-a2c87c39abeca3e3f9c53863ae3a5f3443f2461c.tar.gz
gentoo-2-a2c87c39abeca3e3f9c53863ae3a5f3443f2461c.tar.bz2
gentoo-2-a2c87c39abeca3e3f9c53863ae3a5f3443f2461c.zip
add python_mod_optimize/cleanup to gimp
(Portage version: 2.1.2.6)
Diffstat (limited to 'media-gfx/gimp')
-rw-r--r--media-gfx/gimp/ChangeLog6
-rw-r--r--media-gfx/gimp/gimp-2.2.14.ebuild9
-rw-r--r--media-gfx/gimp/gimp-2.3.16.ebuild9
-rw-r--r--media-gfx/gimp/gimp-9999.ebuild9
4 files changed, 26 insertions, 7 deletions
diff --git a/media-gfx/gimp/ChangeLog b/media-gfx/gimp/ChangeLog
index 4b1e20893150..93b3ab33db15 100644
--- a/media-gfx/gimp/ChangeLog
+++ b/media-gfx/gimp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/gimp
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v 1.196 2007/05/06 11:40:21 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v 1.197 2007/05/06 16:50:48 hanno Exp $
+
+ 06 May 2007; Hanno Boeck <hanno@gentoo.org> gimp-2.2.14.ebuild,
+ gimp-2.3.16.ebuild, gimp-9999.ebuild:
+ Add python_mod_optimize/cleanup.
06 May 2007; Roy Marples <uberlord@gentoo.org> gimp-2.3.16.ebuild:
Added ~x86-fbsd keyword.
diff --git a/media-gfx/gimp/gimp-2.2.14.ebuild b/media-gfx/gimp/gimp-2.2.14.ebuild
index 2e353cb0e02c..3f9dfb3561c5 100644
--- a/media-gfx/gimp/gimp-2.2.14.ebuild
+++ b/media-gfx/gimp/gimp-2.2.14.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-2.2.14.ebuild,v 1.8 2007/05/03 18:42:29 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-2.2.14.ebuild,v 1.9 2007/05/06 16:50:48 hanno Exp $
-inherit flag-o-matic libtool eutils fdo-mime alternatives
+inherit flag-o-matic libtool eutils fdo-mime alternatives multilib python
DESCRIPTION="GNU Image Manipulation Program"
HOMEPAGE="http://www.gimp.org/"
@@ -160,6 +160,9 @@ pkg_postinst() {
elog ""
elog "If you want Postscript file support, emerge ghostscript."
elog ""
+
+ python_mod_optimize /usr/$(get_libdir)/gimp/2.0/python \
+ /usr/$(get_libdir)/gimp/2.0/plug-ins
}
pkg_postrm() {
@@ -168,4 +171,6 @@ pkg_postrm() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
+ python_mod_cleanup /usr/$(get_libdir)/gimp/2.0/python \
+ /usr/$(get_libdir)/gimp/2.0/plug-ins
}
diff --git a/media-gfx/gimp/gimp-2.3.16.ebuild b/media-gfx/gimp/gimp-2.3.16.ebuild
index 5bb34faa49bc..a808373f6671 100644
--- a/media-gfx/gimp/gimp-2.3.16.ebuild
+++ b/media-gfx/gimp/gimp-2.3.16.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-2.3.16.ebuild,v 1.4 2007/05/06 11:40:21 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-2.3.16.ebuild,v 1.5 2007/05/06 16:50:48 hanno Exp $
-inherit fdo-mime flag-o-matic
+inherit fdo-mime flag-o-matic multilib python
DESCRIPTION="GNU Image Manipulation Program"
HOMEPAGE="http://www.gimp.org/"
@@ -113,9 +113,14 @@ pkg_postinst() {
elog
elog "If you want Postscript file support, emerge ghostscript."
elog
+
+ python_mod_optimize /usr/$(get_libdir)/gimp/2.0/python \
+ /usr/$(get_libdir)/gimp/2.0/plug-ins
}
pkg_postrm() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
+ python_mod_cleanup /usr/$(get_libdir)/gimp/2.0/python \
+ /usr/$(get_libdir)/gimp/2.0/plug-ins
}
diff --git a/media-gfx/gimp/gimp-9999.ebuild b/media-gfx/gimp/gimp-9999.ebuild
index 3c3185206a18..f4db68737cff 100644
--- a/media-gfx/gimp/gimp-9999.ebuild
+++ b/media-gfx/gimp/gimp-9999.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-9999.ebuild,v 1.11 2007/04/30 21:53:08 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-9999.ebuild,v 1.12 2007/05/06 16:50:48 hanno Exp $
-inherit subversion fdo-mime flag-o-matic
+inherit subversion fdo-mime flag-o-matic multilib python
ESVN_REPO_URI="http://svn.gnome.org/svn/gimp/trunk/"
@@ -112,9 +112,14 @@ pkg_postinst() {
elog
elog "If you want Postscript file support, emerge ghostscript."
elog
+
+ python_mod_optimize /usr/$(get_libdir)/gimp/2.0/python \
+ /usr/$(get_libdir)/gimp/2.0/plug-ins
}
pkg_postrm() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
+ python_mod_cleanup /usr/$(get_libdir)/gimp/2.0/python \
+ /usr/$(get_libdir)/gimp/2.0/plug-ins
}