[40275] trunk/dports/x11/gtk2
nox at macports.org
nox at macports.org
Sun Sep 28 04:02:56 PDT 2008
Revision: 40275
http://trac.macports.org/changeset/40275
Author: nox at macports.org
Date: 2008-09-28 04:02:54 -0700 (Sun, 28 Sep 2008)
Log Message:
-----------
gtk2:
* Updated to 2.14.3 (closes #16256).
* Added xinput support, changed port:xrender dependency (closes #16456).
* Removed check for cairo in quartz variant (closes #15559).
Modified Paths:
--------------
trunk/dports/x11/gtk2/Portfile
Removed Paths:
-------------
trunk/dports/x11/gtk2/files/
Modified: trunk/dports/x11/gtk2/Portfile
===================================================================
--- trunk/dports/x11/gtk2/Portfile 2008-09-28 08:00:39 UTC (rev 40274)
+++ trunk/dports/x11/gtk2/Portfile 2008-09-28 11:02:54 UTC (rev 40275)
@@ -4,7 +4,7 @@
PortSystem 1.0
name gtk2
-version 2.12.9
+version 2.14.3
set branch [join [lrange [split ${version} .] 0 1] .]
categories x11
maintainers nox openmaintainer
@@ -46,17 +46,10 @@
error "Please uninstall or deactivate cups-headers."
}
}
+checksums md5 359e44c8e47dfe04a09ac09b8e015e58 \
+ sha1 d50056be33d82265deb433dfb72c3e46f20820c0 \
+ rmd160 bc7a608ec30b013bf360c3a6a6c0e15adf337272
-checksums md5 33499772fdc3bea569c6d5673e5831b4 \
- sha1 95e375f8478940a5b096845a9bff76004f265eba \
- rmd160 c93c046aa30b26bbf4d53b6f3e900283eb2d5616
-
-patchfiles patch-gtk-xdgmime-xdgmime.c.diff
-
-post-patch {
- reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/gtk/xdgmime/xdgmime.c
-}
-
depends_build port:pkgconfig
depends_lib port:cairo \
@@ -100,10 +93,6 @@
system "${prefix}/bin/gdk-pixbuf-query-loaders >${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders"
}
-platform darwin 6 {
- patchfiles-append patch-gtk-xdgmime-xdgmimemagic.c.diff
-}
-
platform darwin 7 {
depends_build-append port:cups-headers
}
@@ -118,13 +107,6 @@
}
variant quartz requires no_x11 conflicts x11 description {Enable Quartz rendering} {
- pre-fetch {
- if {![file exists ${prefix}/include/cairo/cairo-quartz.h]} {
- ui_error "Please uninstall or deactivate the cairo port and reinstall it by running `port install cairo +quartz`."
- error "cairo must be installed with the quartz variant enabled."
- }
- }
-
configure.args-append --with-gdktarget=quartz
}
@@ -139,11 +121,12 @@
}
}
- depends_lib-append port:xrender \
+ depends_lib-append lib:libXrender.1:xrender \
lib:libX11.6:xorg
configure.args-append --x-includes=${x11prefix}/include \
- --x-libraries=${x11prefix}/lib
+ --x-libraries=${x11prefix}/lib \
+ --with-xinput
configure.cppflags-append -I${x11prefix}/include
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080928/59c422ba/attachment.html
More information about the macports-changes
mailing list