[29466] trunk/dports/graphics/gimp2

source_changes at macosforge.org source_changes at macosforge.org
Mon Sep 24 10:42:25 PDT 2007


Revision: 29466
          http://trac.macosforge.org/projects/macports/changeset/29466
Author:   yves at macports.org
Date:     2007-09-24 10:42:24 -0700 (Mon, 24 Sep 2007)

Log Message:
-----------
New rc3, removed cd command and revert to negative variants because of upgrade problems

Modified Paths:
--------------
    trunk/dports/graphics/gimp2/Portfile
    trunk/dports/graphics/gimp2/files/gimp

Modified: trunk/dports/graphics/gimp2/Portfile
===================================================================
--- trunk/dports/graphics/gimp2/Portfile	2007-09-24 10:56:41 UTC (rev 29465)
+++ trunk/dports/graphics/gimp2/Portfile	2007-09-24 17:42:24 UTC (rev 29466)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name            gimp2
-version         2.4.0-rc1
+version         2.4.0-rc3
 categories      graphics
 maintainers     yves openmaintainer at macports.org
 homepage        http://www.gimp.org/
@@ -21,7 +21,7 @@
                 ftp://ftp.flirble.org/pub/X/gimp/gimp/v${M.m}/testing/ \
                 ftp://ftp.minet.net/pub/gimp/v${M.m}/testing/ \
                 ftp://ftp.gimp.org/pub/gimp/v${M.m}/testing/
-checksums       md5 788fb85712ea1d8b52d70f7b2ebdb439
+checksums       md5 f468ce7c1e3ead678f41b10b28200e60
 distname        gimp-${version}
 use_bzip2       yes
 
@@ -30,48 +30,40 @@
                 port:dbus-glib \
                 port:libart_lgpl \
                 port:libexif \
+                port:libgnomeui \
+                port:libgtkhtml \
                 port:libmng \
+                port:librsvg \
                 port:libwmf \
                 port:p5-xml-parser \
-                port:poppler
+                port:poppler \
+                port:py25-gtk
 
-configure.args  --disable-python \
-                --enable-mp \
-                --with-pdbgen \
-                --without-gtkhtml2 \
-                --without-librsvg \
-                --without-gnomevfs
+configure.env   PYTHON=${prefix}/bin/python2.5
+configure.args  --enable-mp \
+                --with-pdbgen
 
 post-destroot {
-    cd ${destroot}${prefix}/bin
-    delete gimp gimp-remote
-    xinstall -m 755 ${filespath}/gimp ${filespath}/gimp-remote .
-    reinplace "s|__PREFIX__|${prefix}|" gimp gimp-remote
-    reinplace "s|__VERSION__|${M.m}|" gimp gimp-remote
+    foreach f {gimp gimp-console} {
+        delete ${destroot}${prefix}/bin/$f
+        xinstall -m 755 ${filespath}/gimp ${destroot}${prefix}/bin/$f
+        reinplace "s|__PREFIX__|${prefix}|" ${destroot}${prefix}/bin/$f
+        reinplace "s|__VERSION__|${M.m}|" ${destroot}${prefix}/bin/$f
+    }
 }
 
-post-install {
-    ui_warn "
-            There is no 'Close all' and 'Quit' in the toolbox menu.
-            This will be fixed in the next release candidate
-
-            "
-}
-
-default_variants +gnome +python
-
-variant gnome {
-    depends_lib-append	    port:libgnomeui \
+variant without_gnome description "Disable SVG support and built-in help browser." {
+    depends_lib-delete	    port:libgnomeui \
                             port:libgtkhtml \
                             port:librsvg
-    configure.args-delete   --without-gtkhtml2 \
+    configure.args-append   --without-gtkhtml2 \
                             --without-librsvg \
                             --without-gnomevfs
 }
 
-variant python {
-    depends_lib-append      port:py25-gtk
-    configure.env-append    PYTHON=${prefix}/bin/python2.5
-    configure.args-delete   --disable-python
+variant no_python description "Disable Python scripts and filters." {
+    depends_lib-delete      port:py25-gtk
+    configure.env-delete    PYTHON=${prefix}/bin/python2.5
+    configure.args-append   --disable-python
 }
 

Modified: trunk/dports/graphics/gimp2/files/gimp
===================================================================
--- trunk/dports/graphics/gimp2/files/gimp	2007-09-24 10:56:41 UTC (rev 29465)
+++ trunk/dports/graphics/gimp2/files/gimp	2007-09-24 17:42:24 UTC (rev 29466)
@@ -2,4 +2,4 @@
 
 export PATH=__PREFIX__/bin:$PATH
 
-dbus-launch gimp-__VERSION__ "$@"
+dbus-launch $0-__VERSION__ "$@"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070924/41437ee2/attachment.html


More information about the macports-changes mailing list