|
|||||||||
Thursday the 2nd of July, 2009 |
|||||||||
gtk2 most recent diffversion 2.14.4
Scroll down toward the bottom of the page to get installation instructions for gtk2. The raw portfile for gtk2 2.14.4 is located here: http://gtk2.darwinports.com/dports/x11/gtk2/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/gtk2 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 The gtk2 Portfile 42478 2008-11-22 00:38:56Z mcalhoun PortSystem 1.0 Name: gtk2 Version: 2.14.4 Revision: 1 set branch [join [lrange [split ${version} .] 0 1] .] Category: x11 Maintainers: nox openmaintainer Platform: darwin Description: Gimp ToolKit version 2 Long Description: This is GTK+ version 2.x. GTK+, which stands for Gimp ToolKit, is a library for creating GUIs for the X Windows System. Homepage: http://www.gtk.org/ distname gtk+-${version} use_bzip2 yes Master Sites: gnome:sources/gtk+/${branch}/ ftp://ftp.gtk.org/pub/gtk/v${branch}/ http://ftp.gtk.org/pub/gtk/v${branch}/ Patch Files: patch-configure.diff patch-modules-gail.diff patch-modules-printbackends.diff if {[variant_isset no_x11]} { default_variants +quartz } if {![variant_isset quartz]} { default_variants +x11 } if {[variant_isset universal]} { if {[file exists /Developer/SDKs/MacOSX10.5.sdk]} { set configure.universal_sysroot "/Developer/SDKs/MacOSX10.5.sdk" } else { set configure.universal_sysroot "/Developer/SDKs/MacOSX10.4u.sdk" } configure.env-append CUPS_CONFIG="${configure.universal_sysroot}/usr/bin/cups-config" } pre-fetch { if {![variant_isset quartz] && ![variant_isset x11]} { error "Either +x11 or +quartz is required" } if {[rpm-vercomp ${os.version} 8.0] >= 0 && [file exists ${prefix}/bin/cups-config]} { ui_error "You are running Darwin 8.0, cups-headers should not be installed on your system. Please uninstall or deactivate it." error "Please uninstall or deactivate cups-headers." } } Checksums: md5 72bf65a54d2d29a6644dc0d28313ee67 sha1 ed480432b57a41e04896642465e58ceeb179ca22 rmd160 b0a625459b64e3a2ddbca60c22175eec18a8bc68 depends_build port:pkgconfig depends_lib port:cairo port:fontconfig port:freetype path:lib/pkgconfig/glib-2.0.pc:glib2 port:jpeg port:tiff port:libiconv port:libpng port:jasper port:atk path:lib/pkgconfig/pango.pc:pango port:gettext port:zlib depends_run port:shared-mime-info configure.args --disable-shm --disable-glibtest --with-included-loaders configure.ccache no configure.cppflags-append -no-cpp-precomp -DX_LOCALE configure.cflags-append -funroll-loops -fstrict-aliasing use_parallel_build yes test.run yes test.target check post-destroot { ui_debug "Creating gtk.immodules..." system "DYLD_LIBRARY_PATH=${destroot}${prefix}/lib ${destroot}${prefix}/bin/gtk-query-immodules-2.0 ${destroot}${prefix}/lib/gtk-2.0/2.10.0/immodules/*.so >${destroot}${prefix}/etc/gtk-2.0/gtk.immodules" reinplace "s|${destroot}||" ${destroot}${prefix}/etc/gtk-2.0/gtk.immodules } post-activate { ui_debug "Updating gdk-pixbuf.loaders..." system "${prefix}/bin/gdk-pixbuf-query-loaders >${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders" } platform darwin 7 { depends_build-append port:cups-headers } platform darwin 8 { if {[variant_isset quartz] || [variant_isset no_x11]} { configure.ldflags-append -framework Cocoa -framework Carbon } } Variant: no_x11 description {Same as +quartz} { pre-fetch { if {[file exists ${prefix}/lib/libpangox-1.0.dylib]} { ui_error "Please uninstall or deactivate the pango port and reinstall it by running `port install pango +no_x11`." error "pango must be installed with the no_x11 variant enabled." } } } Variant: quartz requires no_x11 conflicts x11 description {Enable Quartz rendering} { patchfiles-append patch-gnome-bug-531599.diff configure.args-append --with-gdktarget=quartz } Variant: x11 conflicts quartz description {Enable rendering in X11 (default)} { depends_lib-append port:xrender lib:libX11:xorg configure.args-append --x-includes=${x11prefix}/include --x-libraries=${x11prefix}/lib --with-xinput configure.cppflags-append -I${x11prefix}/include } livecheck.check regex livecheck.url ftp://ftp.gnome.org/pub/gnome/sources/gtk+/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)} If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/gtk2You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using gtk2 with these commands: % man gtk2 Where to find more information:
|
![]() |
![]() Digg gtk2 on MacOSX Download the Darwinports Installer version 1.7 How to Install Darwinports Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |



