[99388] trunk/dports/gnome

ryandesign at macports.org ryandesign at macports.org
Sun Nov 4 03:48:06 PST 2012


Revision: 99388
          http://trac.macports.org//changeset/99388
Author:   ryandesign at macports.org
Date:     2012-11-04 03:48:06 -0800 (Sun, 04 Nov 2012)
Log Message:
-----------
gtk-quartz-engine: new port, version 0.2 (#29434)

Added Paths:
-----------
    trunk/dports/gnome/gtk-quartz-engine/
    trunk/dports/gnome/gtk-quartz-engine/Portfile
    trunk/dports/gnome/gtk-quartz-engine/files/
    trunk/dports/gnome/gtk-quartz-engine/files/patch-autogen.sh.diff
    trunk/dports/gnome/gtk-quartz-engine/files/patch-src-Makefile.am.diff

Added: trunk/dports/gnome/gtk-quartz-engine/Portfile
===================================================================
--- trunk/dports/gnome/gtk-quartz-engine/Portfile	                        (rev 0)
+++ trunk/dports/gnome/gtk-quartz-engine/Portfile	2012-11-04 11:48:06 UTC (rev 99388)
@@ -0,0 +1,52 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+PortGroup           github 1.0
+
+github.setup        jralls gtk-quartz-engine 0.2 v
+categories          gnome aqua
+platforms           darwin
+maintainers         gmail.com:tael67 openmaintainer
+#supported_archs     i386 ppc
+
+description         Native Mac OS X theme for GTK+
+
+long_description    Carbon-based theme engine for 32-bit Quartz
+
+homepage            http://git.gnome.org/browse/gtk-quartz-engine
+
+checksums           rmd160  f2ae0bccf168a8281c82933d77fe96958603a102 \
+                    sha256  56441340aabd79ead12fea043d5772084e9f76d066b1ccb34a77469e1f453031
+
+depends_build       port:pkgconfig \
+                    port:automake \
+                    port:libtool
+
+depends_lib         port:libffi \
+                    port:libpng \
+                    port:gtk2
+
+patchfiles          patch-autogen.sh.diff \
+                    patch-src-Makefile.am.diff
+
+pre-configure {
+    if {![file exists ${prefix}/lib/pkgconfig/gdk-quartz-2.0.pc]} {
+        ui_error "
+
+****
+**** ${name} is meant to be used only in a gtk2 quartz
+**** environment but your version of gtk2 does not support quartz.
+**** Please reinstall the gtk2 port and all of its dependencies
+**** with the variants +no_x11 +quartz -x11 and then try again.
+****
+"
+        return -code error "gtk2 +no_x11 +quartz not installed"
+    }
+
+    system -W ${worksrcpath} "./autogen.sh"
+}
+
+notes "
+To use ${name}, copy ${prefix}/share/themes/Quartz/gtk-2.0/gtkrc to ~/.gtkrc-2.0
+"


Property changes on: trunk/dports/gnome/gtk-quartz-engine/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/gnome/gtk-quartz-engine/files/patch-autogen.sh.diff
===================================================================
--- trunk/dports/gnome/gtk-quartz-engine/files/patch-autogen.sh.diff	                        (rev 0)
+++ trunk/dports/gnome/gtk-quartz-engine/files/patch-autogen.sh.diff	2012-11-04 11:48:06 UTC (rev 99388)
@@ -0,0 +1,44 @@
+--- autogen.sh.orig	2009-10-08 11:26:39.000000000 -0500
++++ autogen.sh	2012-11-04 05:35:55.000000000 -0600
+@@ -18,7 +18,13 @@
+ 	DIE=1
+ }
+ 
+-if automake-1.10 --version < /dev/null > /dev/null 2>&1 ; then
++if automake-1.12 --version < /dev/null > /dev/null 2>&1 ; then
++    AUTOMAKE=automake-1.12
++    ACLOCAL=aclocal-1.12
++elif automake-1.11 --version < /dev/null > /dev/null 2>&1 ; then
++    AUTOMAKE=automake-1.11
++    ACLOCAL=aclocal-1.11
++elif automake-1.10 --version < /dev/null > /dev/null 2>&1 ; then
+     AUTOMAKE=automake-1.10
+     ACLOCAL=aclocal-1.10
+ elif automake-1.9 --version < /dev/null > /dev/null 2>&1 ; then
+@@ -38,7 +44,7 @@
+         DIE=1
+ fi
+ 
+-(libtool --version) < /dev/null > /dev/null 2>&1 || {
++(glibtool --version) < /dev/null > /dev/null 2>&1 || {
+ 	echo
+ 	echo "You must have libtool installed to compile $PROJECT."
+ 	echo "Get http://ftp.gnu.org/gnu/libtool/libtool-1.5.22.tar.gz"
+@@ -49,15 +55,11 @@
+ 	exit 1
+ fi
+ 
+-libtoolize --force --copy
++glibtoolize --force --copy --quiet
+ 
+ $ACLOCAL $ACLOCAL_FLAGS
+ autoheader
+-$AUTOMAKE --add-missing
++$AUTOMAKE --add-missing < /dev/null > /dev/null 2>&1
+ autoconf
+ cd $THEDIR
+ 
+-$srcdir/configure --enable-maintainer-mode "$@"
+-
+-echo 
+-echo "Now type 'make' to compile $PROJECT"

Added: trunk/dports/gnome/gtk-quartz-engine/files/patch-src-Makefile.am.diff
===================================================================
--- trunk/dports/gnome/gtk-quartz-engine/files/patch-src-Makefile.am.diff	                        (rev 0)
+++ trunk/dports/gnome/gtk-quartz-engine/files/patch-src-Makefile.am.diff	2012-11-04 11:48:06 UTC (rev 99388)
@@ -0,0 +1,8 @@
+--- src/Makefile.am.orig	2009-10-08 11:26:39.000000000 -0500
++++ src/Makefile.am	2012-11-04 05:39:06.000000000 -0600
+@@ -1,4 +1,4 @@
+-INCLUDES = $(GTK_CFLAGS) -xobjective-c -Wall -Werror
++INCLUDES = $(GTK_CFLAGS) -xobjective-c -Wall
+ 
+ enginedir = $(libdir)/gtk-2.0/$(GTK_VERSION)/engines
+ engine_LTLIBRARIES = libquartz.la
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121104/8fb50cbd/attachment.html>


More information about the macports-changes mailing list