New version
authorLuca Barbato <lu_zero@gentoo.org>
Thu, 15 Jun 2006 15:43:43 +0000 (15:43 +0000)
committerLuca Barbato <lu_zero@gentoo.org>
Thu, 15 Jun 2006 15:43:43 +0000 (15:43 +0000)
Package-Manager: portage-2.1

media-gfx/gimp/ChangeLog
media-gfx/gimp/Manifest
media-gfx/gimp/files/digest-gimp-2.2.11 [new file with mode: 0644]
media-gfx/gimp/gimp-2.2.11.ebuild [new file with mode: 0644]

index 83d5956dc9ca2b54493a3ec8e3038921683df34f..5c3683efc888e5471957deeab1b254be309fa228 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for media-gfx/gimp
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v 1.145 2006/05/03 21:14:44 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v 1.146 2006/06/15 15:43:43 lu_zero Exp $
+
+*gimp-2.2.11 (15 Jun 2006)
+
+  15 Jun 2006; Luca Barbato <lu_zero@gentoo.org> +gimp-2.2.11.ebuild:
+  New version
 
   03 May 2006; Henrik Brix Andersen <brix@gentoo.org> gimp-9999.ebuild:
   Updated libpng dependency.
index c8555ea73603ee50b3616da182e9794391f09a02..5416e088b12bdd0e2ff721484bedc6d31082be31 100644 (file)
@@ -1,19 +1,87 @@
-MD5 8a906d7125ed6a6d0ae5f2196ba3312f ChangeLog 21135
-MD5 735d2fdc1cf3bb57506eb903ad459663 files/digest-gimp-1.2.5 241
-MD5 458622ceb5a9b36f55c41dd255f0ff7b files/digest-gimp-2.2.10 497
-MD5 692d7b6d23f89a136481f93cd809964e files/digest-gimp-2.2.6-r1 494
-MD5 3534eda7535d09d4da5ce62ddfd2840e files/digest-gimp-2.2.8-r1 494
-MD5 9a31eb133a80f1aeb82cf65551a8490e files/digest-gimp-2.2.9 494
-MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-gimp-9999 1
+AUX gimp-2.2.8-configure-fix.patch 2423 RMD160 707a1bbe83f4d39f58043374781734e2b0bef837 SHA1 4f1000c8b08ff81cda7d3022f657999e8be305fc SHA256 dd93b399bac7ceed86099f11a6cdc9de30e6a144fbf37760f2a949f659f98662
 MD5 ff17b80bceb6bd818e20556c23647b0f files/gimp-2.2.8-configure-fix.patch 2423
+RMD160 707a1bbe83f4d39f58043374781734e2b0bef837 files/gimp-2.2.8-configure-fix.patch 2423
+SHA256 dd93b399bac7ceed86099f11a6cdc9de30e6a144fbf37760f2a949f659f98662 files/gimp-2.2.8-configure-fix.patch 2423
+AUX gimp-2.2.8-restart-marker.patch 611 RMD160 52006dd1f41cbeb1dca1d6fb309a57490c9c8370 SHA1 7e80af80a479c760b5015b173459676dd737f1dd SHA256 ab2547604a39d28fc291bbc5891fadc5fa31a27dbb48dc415b9682a1071db35d
 MD5 9d903731e90f07c2492aab4bd55f0e62 files/gimp-2.2.8-restart-marker.patch 611
+RMD160 52006dd1f41cbeb1dca1d6fb309a57490c9c8370 files/gimp-2.2.8-restart-marker.patch 611
+SHA256 ab2547604a39d28fc291bbc5891fadc5fa31a27dbb48dc415b9682a1071db35d files/gimp-2.2.8-restart-marker.patch 611
+AUX gimp-9999-autogen-gentoo.patch 1079 RMD160 22eb36a556b372a557b00fb61563b27f5a53db8e SHA1 ea36b0e08f1fb6ed29e70062ddf5f27747098527 SHA256 ebd58ebfb6573f81f648572c0ccdd53d8522fe38a6564539bcb789b2134beb44
 MD5 a1d023bb5deee6fb05f6309d466264d1 files/gimp-9999-autogen-gentoo.patch 1079
+RMD160 22eb36a556b372a557b00fb61563b27f5a53db8e files/gimp-9999-autogen-gentoo.patch 1079
+SHA256 ebd58ebfb6573f81f648572c0ccdd53d8522fe38a6564539bcb789b2134beb44 files/gimp-9999-autogen-gentoo.patch 1079
+AUX gimp.desktop 2404 RMD160 bf5d89020602af815b80488a913cd0b031b96a54 SHA1 c1c52c60730583ae6cfd39a8219d1a2ffc5f6f2f SHA256 290030f97e0aa612ec84071e7d1f19d04c0ef98a801ca04a5ee0abe318e6816d
 MD5 9696bde4a1b70dd2816d46bed477ebc0 files/gimp.desktop 2404
+RMD160 bf5d89020602af815b80488a913cd0b031b96a54 files/gimp.desktop 2404
+SHA256 290030f97e0aa612ec84071e7d1f19d04c0ef98a801ca04a5ee0abe318e6816d files/gimp.desktop 2404
+AUX ltmain_sh-1.5.0-fix-relink.patch 1718 RMD160 dd7bfaef61da7474e003d2ce2cc5dc4fbbe297dc SHA1 7205f8faab869bc68e98d0b20c8015067ddbd014 SHA256 8335de81c1b94ecf25f1f68421af6a76be571a0c131277f165818ab6a37541fe
 MD5 12ff6c7c980ee34dc7d4d94aa40059b0 files/ltmain_sh-1.5.0-fix-relink.patch 1718
+RMD160 dd7bfaef61da7474e003d2ce2cc5dc4fbbe297dc files/ltmain_sh-1.5.0-fix-relink.patch 1718
+SHA256 8335de81c1b94ecf25f1f68421af6a76be571a0c131277f165818ab6a37541fe files/ltmain_sh-1.5.0-fix-relink.patch 1718
+DIST gimp-1.2.5.tar.bz2 10885324 RMD160 d1be734271b763a22c0e8f5981c5c330a7744d31 SHA256 8c94835819203d7bc9bac2266a78bb7610a6dc473043b5362dc2a2aea720773b
+DIST gimp-2.2.10.tar.bz2 12916552 RMD160 3c1a18f0b1d2cc9d14f4777d270d69362149be77 SHA256 41f4befa851177e2ca9bbab2fad19926178c831454ca51f2cb91fec0ed9e243e
+DIST gimp-2.2.11.tar.bz2 12854751 RMD160 0304a859d53e4e6b7520b5e8634e64e07911eeba SHA1 11d22fb8448a87968e03cacf7f30cd7f6725d7c3 SHA256 169441ac8dd59d0dda52e4a93622e9824e74bf79b56aab6908c74ffd0418a2d4
+DIST gimp-2.2.6.tar.bz2 13990261 RMD160 dad86a24499034f5428e29b4b925b5d316b9ac9d SHA256 e3ea3b0570a16a6cb2562b5bb1bdc78ea49efaf06b113f6e03691ac13b9fd877
+DIST gimp-2.2.8.tar.bz2 14016570 RMD160 9cdb97d34d884fe3c4467ace02ca882e35055d63 SHA256 b8042476ef1257ed47a68eeb3e991280c2d2d0c9470e15379d0e6eb922ad7bed
+DIST gimp-2.2.9.tar.bz2 12811906 RMD160 31bd586716902dbb2e59ac552d0b14b1dcd19314 SHA256 7790a634e8a47e01c7108afeea933f9b614743eb1abd89dce4cb78adeec911fb
+DIST gimp-help-2-0.10.tar.gz 41802089 RMD160 8bf675b1973077f810382d90f36e8c4057e22aea SHA1 82cfde38b53f4b497d89dd7551c707980f7ad2a6 SHA256 cd1cd381435823809264e10ede6d597ec46d443c5bcd7b803da4190ba505454f
+DIST gimp-help-2-0.7.tar.gz 15500754 RMD160 b32954317d4766a9999d036b75f1fa54653e8301 SHA256 f33267e4f6e9c4f806bd6848bab64e4626025d5a051774afe77ecd7ce689f024
+DIST gimp-help-2-0.8.tar.gz 19038567 RMD160 53aea2e5d52de27f161e44c0cbcff2cac544f998 SHA256 219defb4179d164f231595ed6f583f2af7fb1f6f6a35f68e70953124ed9b4b14
+DIST gimp-help-2-0.9.tar.gz 27227286 RMD160 d8b4c5201b6e50b4a9f0aea04fa860e9d01b75d2 SHA256 2e7065ba79e6a4b2712ca3c8923e9336f117f279f2adae5d154f4be3a3b4d030
+EBUILD gimp-1.2.5.ebuild 3253 RMD160 96b83768b6d6d20676e3a96fe57f2ed40adf3f1e SHA1 ccacb48662d8e40d0c60e578819a4eff5fb10cbf SHA256 d0974b9e603be5ebddebd274b2eb1db5fd49425d391c85a1db14728c2b2aa140
 MD5 70dcc2da6614b660f8c3149361b17c1a gimp-1.2.5.ebuild 3253
+RMD160 96b83768b6d6d20676e3a96fe57f2ed40adf3f1e gimp-1.2.5.ebuild 3253
+SHA256 d0974b9e603be5ebddebd274b2eb1db5fd49425d391c85a1db14728c2b2aa140 gimp-1.2.5.ebuild 3253
+EBUILD gimp-2.2.10.ebuild 4498 RMD160 24b708bfb605a0598437b4a53a1f9f874ee7ed68 SHA1 0e1cb057081a8f1f1101dca1234fb8724f01a63a SHA256 cfb9685719dc688716a1eede8876252fef2fbe14f6df671a8dc50c52aab48ec6
 MD5 22d3ea7e66a7b819f1159c778fa41b13 gimp-2.2.10.ebuild 4498
+RMD160 24b708bfb605a0598437b4a53a1f9f874ee7ed68 gimp-2.2.10.ebuild 4498
+SHA256 cfb9685719dc688716a1eede8876252fef2fbe14f6df671a8dc50c52aab48ec6 gimp-2.2.10.ebuild 4498
+EBUILD gimp-2.2.11.ebuild 4489 RMD160 bf8be9d12f7e51397b1e3c309c42aaf8a229fd4a SHA1 e109fa5f74b839581d09638901464436947dc5ec SHA256 ffba38374eff54f9e1a2e944aaf918b775128c3b207c7259e14ffd0d898c2ed1
+MD5 8d8dce8d23aa7a7d94575a7a500fe77f gimp-2.2.11.ebuild 4489
+RMD160 bf8be9d12f7e51397b1e3c309c42aaf8a229fd4a gimp-2.2.11.ebuild 4489
+SHA256 ffba38374eff54f9e1a2e944aaf918b775128c3b207c7259e14ffd0d898c2ed1 gimp-2.2.11.ebuild 4489
+EBUILD gimp-2.2.6-r1.ebuild 4291 RMD160 13da947f5cf509a3cf9f6ff0b91c1d1679379f02 SHA1 41b252d4cb78b9dbd021bfb49ee17f11359852a5 SHA256 44faef3b2c104cba334ac3c4429beac75dfb52280640f694785abfc829e41188
 MD5 cf365febb442550f571d998daa8e340a gimp-2.2.6-r1.ebuild 4291
+RMD160 13da947f5cf509a3cf9f6ff0b91c1d1679379f02 gimp-2.2.6-r1.ebuild 4291
+SHA256 44faef3b2c104cba334ac3c4429beac75dfb52280640f694785abfc829e41188 gimp-2.2.6-r1.ebuild 4291
+EBUILD gimp-2.2.8-r1.ebuild 4410 RMD160 af3c3a4a1574bd029a45b23a1b95b1f4c6ce7007 SHA1 f47f0d3cba71ffb8eb13b74d85f6fee15f2c6f0f SHA256 845683a8c72d97e4e095d04a3039ba5b073d31293e202a5cc7b669d989d66fe2
 MD5 866f2f5bc6ad6e24c192f946ae4830e3 gimp-2.2.8-r1.ebuild 4410
+RMD160 af3c3a4a1574bd029a45b23a1b95b1f4c6ce7007 gimp-2.2.8-r1.ebuild 4410
+SHA256 845683a8c72d97e4e095d04a3039ba5b073d31293e202a5cc7b669d989d66fe2 gimp-2.2.8-r1.ebuild 4410
+EBUILD gimp-2.2.9.ebuild 4377 RMD160 9897b326775dc93f7593f7e8b1b6109e266bee86 SHA1 7b47ca86ea3c9997c25c2323ef17f11425be8d48 SHA256 b7110c03fe2bb524944c5c15de4b77074a804ab7e8c0318b230f9c4cba74ab8b
 MD5 a16e5c16a45fe9813b8a4cb5d76fd811 gimp-2.2.9.ebuild 4377
+RMD160 9897b326775dc93f7593f7e8b1b6109e266bee86 gimp-2.2.9.ebuild 4377
+SHA256 b7110c03fe2bb524944c5c15de4b77074a804ab7e8c0318b230f9c4cba74ab8b gimp-2.2.9.ebuild 4377
+EBUILD gimp-9999.ebuild 3774 RMD160 6a487d20ae59802dd8948e0ca297770ec6f290b8 SHA1 758541f8ba01b7e5fb8906803655dcc046201607 SHA256 ff834b60e28985f5066ab0b79e9e1d77034e615926188d6948c8ae2e934585c2
 MD5 7eb39d8305fe8d683e63c7e6f7d98be5 gimp-9999.ebuild 3774
+RMD160 6a487d20ae59802dd8948e0ca297770ec6f290b8 gimp-9999.ebuild 3774
+SHA256 ff834b60e28985f5066ab0b79e9e1d77034e615926188d6948c8ae2e934585c2 gimp-9999.ebuild 3774
+MISC ChangeLog 21251 RMD160 acc72131a7a523cdd7c039447832a16b0341bdaa SHA1 964ba578d6abcedc4a46096b2ca3b7cd070ce4a8 SHA256 203cef2c7c1788ebe95991387a6daba550e64f3a0864b7dcc9f953dd0c8e0c8b
+MD5 06ed23f575ce9d8012f100eb73f3c312 ChangeLog 21251
+RMD160 acc72131a7a523cdd7c039447832a16b0341bdaa ChangeLog 21251
+SHA256 203cef2c7c1788ebe95991387a6daba550e64f3a0864b7dcc9f953dd0c8e0c8b ChangeLog 21251
+MISC metadata.xml 369 RMD160 b71b3f982cd3a530df18bb05a2a32430e0c1daea SHA1 1c448e18bc74a560156318c4d9186b4e31ccba0c SHA256 4fbdad87f03de0aa7de4d07707a4d870d2c0cba55fc3cd563dae0945620d763d
 MD5 cda75d04f4767d3920ffc234e66d95c7 metadata.xml 369
+RMD160 b71b3f982cd3a530df18bb05a2a32430e0c1daea metadata.xml 369
+SHA256 4fbdad87f03de0aa7de4d07707a4d870d2c0cba55fc3cd563dae0945620d763d metadata.xml 369
+MD5 735d2fdc1cf3bb57506eb903ad459663 files/digest-gimp-1.2.5 241
+RMD160 a69563ab1d18425e0e79c8686c2ab80c140edfb1 files/digest-gimp-1.2.5 241
+SHA256 ae2170ab54694dee3937e0845d7795665d4bc38e286f580982dd3a804d1d53a4 files/digest-gimp-1.2.5 241
+MD5 458622ceb5a9b36f55c41dd255f0ff7b files/digest-gimp-2.2.10 497
+RMD160 8a69d7df780c6683d114e53fec22d9e4565552b1 files/digest-gimp-2.2.10 497
+SHA256 d0301500a80744c1c3931c3c308fde66e4c8a6112a199512cfc8c360b78d44fc files/digest-gimp-2.2.10 497
+MD5 155933e4a5b214d0efc3ae62b5cecfcd files/digest-gimp-2.2.11 500
+RMD160 1fd7577cc934786f78355c85cf7ea28e2baacfe4 files/digest-gimp-2.2.11 500
+SHA256 b383d8d7114e41eaaca27e48b94f3da1efa2d0c54b6841f5821f7467fef27aba files/digest-gimp-2.2.11 500
+MD5 692d7b6d23f89a136481f93cd809964e files/digest-gimp-2.2.6-r1 494
+RMD160 8cb390d7126022f077cecb89cf6fd855fbafa36b files/digest-gimp-2.2.6-r1 494
+SHA256 77a07e8ba41cb031bfd6809cc75332766c75fd419630d0628a50de62007c087d files/digest-gimp-2.2.6-r1 494
+MD5 3534eda7535d09d4da5ce62ddfd2840e files/digest-gimp-2.2.8-r1 494
+RMD160 053a9b891057d9ae4651e4c1d6fe00d14b7905a0 files/digest-gimp-2.2.8-r1 494
+SHA256 8083cf7f0ea4f696e003b43d111a4811ca5071cd2efcee1b0a18a57a7c78bbbe files/digest-gimp-2.2.8-r1 494
+MD5 9a31eb133a80f1aeb82cf65551a8490e files/digest-gimp-2.2.9 494
+RMD160 ea6258be0c7db9052c3db8619d9ea151d962a1cf files/digest-gimp-2.2.9 494
+SHA256 23fd95bb5c24505be621b7952b8b486b694915c68f75062d4b5e11aeb2da686d files/digest-gimp-2.2.9 494
+MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-gimp-9999 1
+RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-gimp-9999 1
+SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-gimp-9999 1
diff --git a/media-gfx/gimp/files/digest-gimp-2.2.11 b/media-gfx/gimp/files/digest-gimp-2.2.11
new file mode 100644 (file)
index 0000000..04c1c78
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 0403e9b4e0415c99cd27b137b9839212 gimp-2.2.11.tar.bz2 12854751
+RMD160 0304a859d53e4e6b7520b5e8634e64e07911eeba gimp-2.2.11.tar.bz2 12854751
+SHA256 169441ac8dd59d0dda52e4a93622e9824e74bf79b56aab6908c74ffd0418a2d4 gimp-2.2.11.tar.bz2 12854751
+MD5 22a1e10c314c5547fe8721c4f6f0b30a gimp-help-2-0.10.tar.gz 41802089
+RMD160 8bf675b1973077f810382d90f36e8c4057e22aea gimp-help-2-0.10.tar.gz 41802089
+SHA256 cd1cd381435823809264e10ede6d597ec46d443c5bcd7b803da4190ba505454f gimp-help-2-0.10.tar.gz 41802089
diff --git a/media-gfx/gimp/gimp-2.2.11.ebuild b/media-gfx/gimp/gimp-2.2.11.ebuild
new file mode 100644 (file)
index 0000000..cb44dab
--- /dev/null
@@ -0,0 +1,183 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-2.2.11.ebuild,v 1.1 2006/06/15 15:43:43 lu_zero Exp $
+
+inherit flag-o-matic libtool eutils fdo-mime alternatives
+
+DESCRIPTION="GNU Image Manipulation Program"
+HOMEPAGE="http://www.gimp.org/"
+
+P_HELP="gimp-help-2-0.10"
+S_HELP="$WORKDIR/${P_HELP}"
+SRC_URI="mirror://gimp/v2.2/${P}.tar.bz2
+       doc? ( mirror://gimp/help/${P_HELP}.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="aalib altivec debug doc gtkhtml gimpprint hardened jpeg lcms mmx mng png
+python smp sse svg tiff wmf"
+
+#      X? ( virtual/x11 )"
+RDEPEND=">=dev-libs/glib-2.4.5
+       >=x11-libs/gtk+-2.4.4
+       >=x11-libs/pango-1.4
+       >=media-libs/freetype-2.1.7
+       >=media-libs/fontconfig-2.2
+       >=media-libs/libart_lgpl-2.3.8-r1
+       sys-libs/zlib
+       dev-libs/libxml2
+       dev-libs/libxslt
+
+       gimpprint? ( =media-gfx/gimp-print-4.2* )
+       gtkhtml? ( =gnome-extra/gtkhtml-2* )
+
+       png? ( >=media-libs/libpng-1.2.1 )
+       jpeg? ( >=media-libs/jpeg-6b-r2
+               media-libs/libexif )
+       tiff? ( >=media-libs/tiff-3.5.7 )
+       mng? ( media-libs/libmng )
+
+       wmf? ( >=media-libs/libwmf-0.2.8.2 )
+       svg? ( >=gnome-base/librsvg-2.2 )
+
+       aalib?  ( media-libs/aalib )
+       python? ( >=dev-lang/python-2.2
+               >=dev-python/pygtk-2 )
+       lcms? ( media-libs/lcms )"
+
+DEPEND="${RDEPEND}
+       >=dev-util/pkgconfig-0.12.0
+       dev-util/intltool
+       doc? ( >=dev-util/gtk-doc-1 )"
+
+src_unpack() {
+
+       unpack ${A}
+
+       cd ${S}
+
+       # fixes bug #76050, allows for themable icons
+       sed -i -e s,@gimpdatadir@/images/@GIMP_DESKTOP_ICON@,@GIMP_DESKTOP_ICON@, ${S}/data/misc/gimp.desktop.in.in
+
+       # Fix linking to older version of gimp if installed - this should
+       # void liquidx's hack, so it is removed.
+       epatch ${FILESDIR}/ltmain_sh-1.5.0-fix-relink.patch
+}
+
+src_compile() {
+
+       # Since 1.3.16, fixes linker problems when upgrading
+       elibtoolize
+
+       # Workaround portage variable leakage
+       local AA=
+
+       # only use mmx if hardened is not set
+       local USE_MMX=
+
+       # remove this for now, since I have 3 reports that this is
+       # not necessary
+       # replace-flags "-march=k6*" "-march=i586"
+
+       # gimp uses inline functions (plug-ins/common/grid.c) (#23078)
+       # gimp uses floating point math, needs accuracy (#98685)
+       filter-flags "-fno-inline" "-ffast-math"
+
+       # this is fixed in HEAD, but apply when using mmx
+       if use mmx; then
+               append-flags "-fomit-frame-pointer"
+       fi
+
+       if use hardened; then
+               ewarn "hardened use flag suppressing mmx use flag"
+               HARDENED_SUPPRESS_MMX="--disable-mmx"
+       elif use x86; then
+               HARDENED_SUPPRESS_MMX="`use_enable mmx`"
+       elif use amd64; then
+               HARDENED_SUPPRESS_MMX="--enable-mmx"
+       fi
+
+       local myconf
+
+       # Hard enable SIMD assembler code for AMD64.
+       if use x86; then
+               myconf="${myconf} `use_enable sse`"
+       elif use amd64; then
+               myconf="${myconf} --enable-sse"
+       fi
+
+       econf \
+               --disable-default-binary \
+               --with-x \
+               "${HARDENED_SUPPRESS_MMX}" \
+               ${myconf} \
+               `use_enable altivec` \
+               `use_enable doc gtk-doc` \
+               `use_enable python` \
+               `use_enable gimpprint print` \
+               `use_with png libpng` \
+               `use_with jpeg libjpeg` \
+               `use_with jpeg libexif` \
+               `use_enable smp mp` \
+               `use_with tiff libtiff` \
+               `use_with mng libmng` \
+               `use_with aalib aa` \
+               `use_with lcms` \
+               `use_with gtkhtml gtkhtml2` \
+               `use_with svg librsvg` \
+               `use_enable debug` || die
+
+       # X isn't optional (#58003) atm
+       #       `use_with X x` \
+
+       emake || die
+
+       if use doc; then
+               cd ${S_HELP}
+               econf --without-gimp || die
+               emake || die
+       fi
+}
+
+src_install() {
+       # Workaround portage variable leakage
+       local AA=
+
+       # create these dirs to make the makefile installs these items correctly
+       dodir /usr/share/{applications,application-registry,mime-info}
+
+       make DESTDIR="${D}" install || die
+
+       dodoc AUTHORS ChangeLog* HACKING NEWS README*
+
+       if use doc; then
+               cd ${S_HELP}
+               make DESTDIR="${D}" install || die
+       fi
+
+       # Create the gimp-remote link, see bug #36648
+       dosym gimp-remote-2.2 /usr/bin/gimp-remote
+}
+
+pkg_postinst() {
+       alternatives_auto_makesym "/usr/bin/gimp" "/usr/bin/gimp-[0-9].[0-9]"
+
+       # fix for bug #76050
+       ln -s $(gimptool-2.0 --gimpdatadir)/images/wilber-icon.png \
+               ${ROOT}/usr/share/pixmaps/
+
+       fdo-mime_desktop_database_update
+       fdo-mime_mime_database_update
+       einfo ""
+       einfo "If you want Postscript file support, emerge ghostscript."
+       einfo ""
+}
+
+pkg_postrm() {
+       [[ ! -f ${ROOT}/usr/bin/gimp-2.2 ]] && \
+               rm -f ${ROOT}/usr/share/pixmaps/wilber-icon.png
+
+       fdo-mime_desktop_database_update
+       fdo-mime_mime_database_update
+}