[96062] trunk/dports/graphics/gimp2-devel
devans at macports.org
devans at macports.org
Mon Jul 30 08:49:54 PDT 2012
Revision: 96062
https://trac.macports.org/changeset/96062
Author: devans at macports.org
Date: 2012-07-30 08:49:52 -0700 (Mon, 30 Jul 2012)
Log Message:
-----------
gimp2-devel: temporarily mark as replaced by gimp2 until a new devel release is available.
Modified Paths:
--------------
trunk/dports/graphics/gimp2-devel/Portfile
Removed Paths:
-------------
trunk/dports/graphics/gimp2-devel/files/
Modified: trunk/dports/graphics/gimp2-devel/Portfile
===================================================================
--- trunk/dports/graphics/gimp2-devel/Portfile 2012-07-30 15:27:58 UTC (rev 96061)
+++ trunk/dports/graphics/gimp2-devel/Portfile 2012-07-30 15:49:52 UTC (rev 96062)
@@ -4,9 +4,10 @@
PortSystem 1.0
name gimp2-devel
-conflicts gimp2
-version 2.7.3
-revision 3
+version 2.7.5
+
+replaced_by gimp2
+
license {GPL-3 LGPL}
categories graphics
maintainers devans
@@ -20,154 +21,13 @@
The GIMP provides the user with a wide variety of image \
manipulation, painting, processing, and rendering tools.
-#
-# Native Mac OS X GUI (+quartz) uses 32 bit only Carbon API
-#
+distfiles
+universal_variant no
-if {[variant_isset quartz]} {
- supported_archs i386 ppc
-}
-
-#
-# gegl is not universal
-#
-
-universal_variant no
-
-set branch [join [lrange [split ${version} .] 0 1] .]
-master_sites gimp:gimp/v${branch}/
-
-checksums sha1 bea6edc3423774ace8dd86222314f4ef2278cdd8 \
- rmd160 5740b1b62b0fca255d0ca046477c21ab9c57a5ca
-
-distname gimp-${version}
-
-use_bzip2 yes
-
-depends_build port:pkgconfig \
- port:intltool
-
-depends_lib port:iso-codes \
- port:gegl \
- port:gtk2 \
- port:libmng \
- port:libexif \
- port:aalib \
- port:librsvg \
- port:poppler \
- port:gnome-vfs \
- port:libgnomeui \
- port:curl \
- port:libwmf \
- port:lcms \
- port:dbus-glib \
- port:xorg-libXmu \
- port:xpm
-
-patchfiles patch-etc-gimprc.diff \
- patch-plug-ins-twain-tw_mac.c.diff \
- patch-app-gui-ige-mac-menu.c.diff
-
-platform darwin 9 {
- post-patch {
- reinplace "s|-export-symbols-regex.*||g" ${worksrcpath}/plug-ins/pygimp/Makefile.am
- reinplace "s|-export-symbols-regex.*||g" ${worksrcpath}/plug-ins/pygimp/Makefile.in
- }
-}
-
pre-configure {
- if {[file exists ${prefix}/lib/gtk-2.0/include/gdkconfig.h]} {
- set gtk_not_quartz [catch {exec grep -q GDK_WINDOWING_QUARTZ ${prefix}/lib/gtk-2.0/include/gdkconfig.h}]
- set gtk_not_x11 [catch {exec grep -q GDK_WINDOWING_X11 ${prefix}/lib/gtk-2.0/include/gdkconfig.h}]
- if {[variant_isset quartz] && ${gtk_not_quartz}} {
- error "+quartz variant selected, but gtk2+x11 is installed. Install gtk2+quartz."
- } elseif {![variant_isset quartz] && ${gtk_not_x11}} {
- error "+quartz variant is not selected, but gtk2+quartz is installed. Install gtk2+x11."
- }
- } else {
- error "Cannot find gdkconfig.h"
- }
+ ui_error "The GIMP 2.8 branch has been released and there is, as yet, no new development release available. \
+ Consequently this port has been temporarily replaced by port 'gimp2'. Please install that port instead."
+ return -code error
}
-configure.args --build=${configure.build_arch}-apple-${os.platform}${os.version} \
- --enable-mp \
- --with-pdbgen \
- --with-x \
- --x-includes=${prefix}/include \
- --x-libraries=${prefix}/lib \
- --without-alsa \
- --without-gudev \
- --without-gvfs \
- --without-webkit \
- --enable-default-binary \
- --enable-gimp-console
-
-variant python25 conflicts no_python python26 python27 description {Use python 2.5} {
- configure.python ${prefix}/bin/python2.5
- depends_lib-append port:py25-gtk
- set python_framework ${frameworks_dir}/Python.framework/Versions/2.5
- configure.pkg_config_path ${python_framework}/lib/pkgconfig
- configure.env PATH=${python_framework}/bin:$env(PATH)
-}
-
-variant python26 conflicts no_python python25 python27 description {Use python 2.6} {
- configure.python ${prefix}/bin/python2.6
- depends_lib-append port:py26-gtk
- set python_framework ${frameworks_dir}/Python.framework/Versions/2.6
- configure.pkg_config_path ${python_framework}/lib/pkgconfig
- configure.env PATH=${python_framework}/bin:$env(PATH)
-}
-
-variant python27 conflicts no_python python25 python26 description {Use python 2.7} {
- configure.python ${prefix}/bin/python2.7
- depends_lib-append port:py27-gtk
- set python_framework ${frameworks_dir}/Python.framework/Versions/2.7
- configure.pkg_config_path ${python_framework}/lib/pkgconfig
- configure.env PATH=${python_framework}/bin:$env(PATH)
-}
-
-variant no_python description {Disable Python scripts and filters} {
- configure.args-append --disable-python
-}
-
-if {![variant_isset no_python] && ![variant_isset python25] && ![variant_isset python26]} {
- default_variants +python27
-}
-
-variant gvfs description {Enable gvfs support} {
- depends_lib-append port:gvfs
- configure.args-delete --without-gvfs
-}
-
-variant remote description {Enable building of obsolete gimp-remote helper app} {
- configure.args-append --enable-gimp-remote
-}
-
-variant help_browser description {Enable Gimp help browser} {
- depends_lib-append port:webkit-gtk
- configure.args-delete --without-webkit
-}
-
-variant debug description {Enable debugging} {
- configure.args-append --enable-debug
-}
-
-variant quartz {
- depends_lib-delete port:xorg-libXmu \
- port:xpm
- configure.args-delete --with-x \
- --x-includes=${prefix}/include \
- --x-libraries=${prefix}/lib
- configure.args-append --without-x
- configure.ldflags-append -framework Carbon
-}
-
-default_variants +debug
-
-post-activate {
- system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
-}
-
-livecheck.type regex
-livecheck.url http://gimp.mirrors.hoobly.com/gimp/v${branch}/
-livecheck.regex "gimp-(${branch}(?:\\.\\d+)*)${extract.suffix}"
+livecheck.type none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120730/51ed0710/attachment.html>
More information about the macports-changes
mailing list