[71466] trunk/dports/gnome/vte

devans at macports.org devans at macports.org
Mon Sep 13 16:54:46 PDT 2010


Revision: 71466
          http://trac.macports.org/changeset/71466
Author:   devans at macports.org
Date:     2010-09-13 16:54:44 -0700 (Mon, 13 Sep 2010)
Log Message:
-----------
vte: update dependencies, disable introspection, fix configuration for python26.

Modified Paths:
--------------
    trunk/dports/gnome/vte/Portfile

Added Paths:
-----------
    trunk/dports/gnome/vte/files/patch-configure.diff

Removed Paths:
-------------
    trunk/dports/gnome/vte/files/patch-x-display-missing.diff

Modified: trunk/dports/gnome/vte/Portfile
===================================================================
--- trunk/dports/gnome/vte/Portfile	2010-09-13 19:29:18 UTC (rev 71465)
+++ trunk/dports/gnome/vte/Portfile	2010-09-13 23:54:44 UTC (rev 71466)
@@ -5,6 +5,7 @@
 
 name            vte
 version         0.25.1
+revision        1
 set branch      [join [lrange [split $version .] 0 1] .]
 maintainers     nomaintainer
 categories      gnome
@@ -24,25 +25,26 @@
                 sha1    818130a91bc205c3165aa380dae43d12b733a406 \
                 rmd160  cfb094f4055dd98e3cfd6053efa2119034c81295
 
-depends_lib     port:py26-gtk \
-                port:gtk2 \
-                port:ncurses
+depends_lib     port:py26-gtk
 
-depends_build   port:p5-xml-parser \
-                port:intltool \
+depends_build   port:intltool \
                 port:pkgconfig
 
-if { ![file exists ${prefix}/include/gtk-2.0/gdk/gdkx.h] } {
-    patchfiles patch-x-display-missing.diff
-}
+patchfiles      patch-configure.diff
 
-configure.args  --disable-freetypetest
-configure.python ${prefix}/bin/python2.6
+configure.args  --disable-introspection
 
+configure.python            ${prefix}/bin/python2.6
+set python_prefix           ${frameworks_dir}/Python.framework/Versions/2.6
+configure.pkg_config_path   ${python_prefix}/lib/pkgconfig
+configure.env               PATH=${python_prefix}/bin:$env(PATH)
+
 configure.cflags-append -fstrict-aliasing
 
-use_parallel_build  yes
+# py26-gtk -> py26-cairo -> py26-numpy -> atlas is not universal
 
+universal_variant no
+
 variant without_python description {Disable Python support} {
     depends_lib-delete  port:py26-gtk
     configure.args-append   --disable-python

Added: trunk/dports/gnome/vte/files/patch-configure.diff
===================================================================
--- trunk/dports/gnome/vte/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/gnome/vte/files/patch-configure.diff	2010-09-13 23:54:44 UTC (rev 71466)
@@ -0,0 +1,14 @@
+--- configure.orig	2010-05-03 18:10:18.000000000 -0700
++++ configure	2010-09-13 00:27:15.000000000 -0700
+@@ -14982,9 +14982,9 @@
+ 
+ 
+ 
+-  PYTHON_PREFIX='${prefix}'
++  PYTHON_PREFIX=`$PYTHON -c 'import sys; print sys.prefix;'`
+ 
+-  PYTHON_EXEC_PREFIX='${exec_prefix}'
++  PYTHON_EXEC_PREFIX=`$PYTHON -c 'import sys; print sys.exec_prefix;'`
+ 
+ 
+ 

Deleted: trunk/dports/gnome/vte/files/patch-x-display-missing.diff
===================================================================
--- trunk/dports/gnome/vte/files/patch-x-display-missing.diff	2010-09-13 19:29:18 UTC (rev 71465)
+++ trunk/dports/gnome/vte/files/patch-x-display-missing.diff	2010-09-13 23:54:44 UTC (rev 71466)
@@ -1,11 +0,0 @@
---- src/vtebg.c.orig	2009-07-02 12:32:09.000000000 -0700
-+++ src/vtebg.c	2009-07-02 12:33:30.000000000 -0700
-@@ -72,6 +72,8 @@
- }
- #endif
- 
-+#define X_DISPLAY_MISSING
-+
- #ifndef X_DISPLAY_MISSING
- 
- #include <gdk/gdkx.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100913/ab965b1a/attachment.html>


More information about the macports-changes mailing list