[71619] trunk/dports/gnome/pessulus

devans at macports.org devans at macports.org
Fri Sep 17 23:29:39 PDT 2010


Revision: 71619
          http://trac.macports.org/changeset/71619
Author:   devans at macports.org
Date:     2010-09-17 23:29:35 -0700 (Fri, 17 Sep 2010)
Log Message:
-----------
pessulus: update to version 2.30.3, use python26.

Modified Paths:
--------------
    trunk/dports/gnome/pessulus/Portfile
    trunk/dports/gnome/pessulus/files/patch-Makefile.in.diff
    trunk/dports/gnome/pessulus/files/patch-data-Makefile.in.diff

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

Modified: trunk/dports/gnome/pessulus/Portfile
===================================================================
--- trunk/dports/gnome/pessulus/Portfile	2010-09-18 06:06:42 UTC (rev 71618)
+++ trunk/dports/gnome/pessulus/Portfile	2010-09-18 06:29:35 UTC (rev 71619)
@@ -4,7 +4,7 @@
 PortSystem	1.0
 
 name		pessulus
-version		2.26.2
+version		2.30.3
 set branch      [join [lrange [split ${version} .] 0 1] .]
 categories	gnome python
 platforms	darwin
@@ -18,33 +18,34 @@
 homepage	http://www.gnome.org/~vuntz/pessulus/
 master_sites	gnome:sources/${name}/${branch}/
 
-checksums       md5     255ec0743714b6fc50da796f6bc95009 \
-                sha1    93bdd6884150c9ad88c2f997a48f6ec23aab2dea \
-                rmd160  cad567c52a00c95c430eba82f36d7e91b4fe9d96
+checksums       md5     8e9bc7f3dabbdba29f3218aeb7cc2233 \
+                sha1    f4dc60323469ef6caeee7da88a90740ac0272b10 \
+                rmd160  08ae9e7ed05913b69943676350997289c2db8cbf
 
 use_bzip2	yes
 
-depends_build	\
-        port:p5-xml-parser \
-	port:pkgconfig \
-        port:intltool
+depends_build	port:pkgconfig \
+                port:intltool
 
-depends_lib	\
-	port:gconf \
-	port:py25-gnome \
-        port:gnome-python-desktop
+depends_lib     port:gconf \
+	        port:py26-gtk \
+                port:gnome-python-desktop
 
-patchfiles      patch-data-Makefile.in.diff \
-                patch-Makefile.in.diff
+patchfiles      patch-configure.diff \
+                patch-Makefile.in.diff \
+                patch-data-Makefile.in.diff
 
-configure.python ${prefix}/bin/python2.5
+configure.python ${prefix}/bin/python2.6
+set python_prefix ${frameworks_dir}/Python.framework/Versions/2.6
+configure.pkg_config_path ${python_prefix}/lib/pkgconfig
 
 post-destroot {
     file rename ${destroot}${prefix}/bin/pessulus.py ${destroot}${prefix}/bin/pessulus
 }
 
 post-activate {
-   system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
+    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
+    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
         gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
 }
 

Modified: trunk/dports/gnome/pessulus/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/gnome/pessulus/files/patch-Makefile.in.diff	2010-09-18 06:06:42 UTC (rev 71618)
+++ trunk/dports/gnome/pessulus/files/patch-Makefile.in.diff	2010-09-18 06:29:35 UTC (rev 71619)
@@ -1,6 +1,6 @@
---- Makefile.in.orig	2009-07-01 22:33:32.000000000 -0700
-+++ Makefile.in	2009-07-01 22:36:02.000000000 -0700
-@@ -216,7 +216,7 @@
+--- Makefile.in.orig	2010-09-14 05:47:02.000000000 -0700
++++ Makefile.in	2010-09-17 23:10:25.000000000 -0700
+@@ -259,7 +259,7 @@
  top_srcdir = @top_srcdir@
  NULL = 
  SUBDIRS = data po Pessulus
@@ -9,21 +9,21 @@
  EXTRA_DIST = \
  	HACKING			\
  	MAINTAINERS		\
-@@ -227,7 +227,7 @@
+@@ -267,7 +267,7 @@
  	$(NULL)
  
  CLEANFILES = \
 -	pessulus
 +	pessulus.py
  
- DISTCLEANFILES = \
-         intltool-extract	\
-@@ -693,7 +693,7 @@
+ MAINTAINERCLEANFILES = \
+ 	$(srcdir)/INSTALL \
+@@ -786,7 +786,7 @@
  	uninstall-binSCRIPTS
  
  
 -pessulus: pessulus.in Makefile
 +pessulus.py: pessulus.in Makefile
- 	sed -e s!\@pythondir\@!@pythondir@! -e s!\@PYTHON\@!@PYTHON@! < $< > $@
- 	chmod a+x $@
+ 	$(AM_V_GEN)sed -e s!\@pythondir\@!@pythondir@! -e s!\@PYTHON\@!@PYTHON@! < $< > $@
+ 	$(AM_V_at)chmod a+x $@
  

Added: trunk/dports/gnome/pessulus/files/patch-configure.diff
===================================================================
--- trunk/dports/gnome/pessulus/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/gnome/pessulus/files/patch-configure.diff	2010-09-18 06:29:35 UTC (rev 71619)
@@ -0,0 +1,14 @@
+--- configure.orig	2010-09-14 05:47:02.000000000 -0700
++++ configure	2010-09-17 22:44:07.000000000 -0700
+@@ -5672,9 +5672,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;'`
+ 
+ 
+ 

Modified: trunk/dports/gnome/pessulus/files/patch-data-Makefile.in.diff
===================================================================
--- trunk/dports/gnome/pessulus/files/patch-data-Makefile.in.diff	2010-09-18 06:06:42 UTC (rev 71618)
+++ trunk/dports/gnome/pessulus/files/patch-data-Makefile.in.diff	2010-09-18 06:29:35 UTC (rev 71619)
@@ -1,6 +1,6 @@
---- data/Makefile.in.orig	2009-05-22 20:40:01.000000000 -0700
-+++ data/Makefile.in	2009-05-22 20:40:33.000000000 -0700
-@@ -423,7 +423,7 @@
+--- data/Makefile.in.orig	2010-09-14 05:47:02.000000000 -0700
++++ data/Makefile.in	2010-09-17 22:34:49.000000000 -0700
+@@ -452,7 +452,7 @@
  @INTLTOOL_DESKTOP_RULE@
  
  install-icons:			
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100917/10e6d2d2/attachment.html>


More information about the macports-changes mailing list