[110578] users/devans/GNOME-3/stable/dports/gnome/alacarte

devans at macports.org devans at macports.org
Mon Sep 2 06:45:55 PDT 2013


Revision: 110578
          https://trac.macports.org/changeset/110578
Author:   devans at macports.org
Date:     2013-09-02 06:45:55 -0700 (Mon, 02 Sep 2013)
Log Message:
-----------
devans/GNOME-3/stable/dports: alacarte, update to version 3.7.90.

Modified Paths:
--------------
    users/devans/GNOME-3/stable/dports/gnome/alacarte/Portfile
    users/devans/GNOME-3/stable/dports/gnome/alacarte/files/patch-Makefile.in.diff
    users/devans/GNOME-3/stable/dports/gnome/alacarte/files/patch-configure.diff

Modified: users/devans/GNOME-3/stable/dports/gnome/alacarte/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/alacarte/Portfile	2013-09-02 13:33:17 UTC (rev 110577)
+++ users/devans/GNOME-3/stable/dports/gnome/alacarte/Portfile	2013-09-02 13:45:55 UTC (rev 110578)
@@ -4,9 +4,8 @@
 PortSystem 1.0
 
 name            alacarte
-version         0.13.2
+version         3.7.90
 epoch           1
-revision        5
 license         GPL-2+
 set branch      [join [lrange [split ${version} .] 0 1] .]
 description     A simple freedesktop.org compliant menu editor for use with GNOME
@@ -20,11 +19,10 @@
 homepage        http://www.gnome.org/
 master_sites    gnome:sources/${name}/${branch}/
 
-use_bzip2       yes
+use_xz          yes
 
-checksums       md5     de84e437babebe036ab8dc9a518282ca \
-                sha1    6eb6a0f308be0da84ead38fbfae0b247743f6038 \
-                rmd160  97924d34e9d460267b6118a01488b635551a8aaa
+checksums       rmd160  3c15988d6e45b50e8f490968d4a0311531dbb585 \
+                sha256  379ae48422ff6bc7b9657d1f9968a83ee4eb8f8c69964dbb8ce2dac6e0b5ccf0
 
 supported_archs noarch
 
@@ -32,7 +30,7 @@
                 port:intltool
 
 depends_lib     port:desktop-file-utils \
-                port:gtk2 \
+                port:gtk3 \
                 port:gnome-menus
 
 depends_run     port:gnome-settings-daemon \
@@ -41,41 +39,34 @@
 patchfiles      patch-Makefile.in.diff \
                 patch-configure.diff
 
-variant python25 conflicts python26 python27 description {Use python 2.5} {
-    configure.python          ${prefix}/bin/python2.5
-    depends_lib-append        port:py25-pygtk
+post-destroot {
+    move ${destroot}${prefix}/bin/alacarte.py ${destroot}${prefix}/bin/alacarte
 }
 
-variant python26 conflicts python25 python27 description {Use python 2.6} {
-    configure.python          ${prefix}/bin/python2.6
-    depends_lib-append        port:py26-pygtk
-}
+# python3 is not supported
 
-variant python27 conflicts python25 python26 description {Use python 2.7} {
-    configure.python          ${prefix}/bin/python2.7
-    depends_lib-append        port:py27-pygtk
+variant python27 description {Use python 2.7} {
+    depends_lib-append          port:py27-gobject3
+    configure.python            ${prefix}/bin/python2.7
+    set python_prefix           ${frameworks_dir}/Python.framework/Versions/2.7
+    configure.pkg_config_path   ${python_prefix}/lib/pkgconfig
 }
 
-if {![variant_isset python25] && ![variant_isset python26]} {
-    default_variants +python27
-}
+default_variants +python27
 
-post-destroot {
-    file rename ${destroot}${prefix}/bin/alacarte.py ${destroot}${prefix}/bin/alacarte
-}
-
 notes "
     Be sure to set the following environment variables:
 
         export XDG_DATA_DIRS=${prefix}/share
         export XDG_CONFIG_DIRS=${prefix}/etc/xdg
+        export XDG_MENU_PREFIX=gnome-
 
     Alacarte needs them to find installed applications and menus to edit.
 "
 
 post-activate {
     system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
-    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
+    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
 }
 
-livecheck.type  gnome
+livecheck.type  gnome-with-unstable

Modified: users/devans/GNOME-3/stable/dports/gnome/alacarte/files/patch-Makefile.in.diff
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/alacarte/files/patch-Makefile.in.diff	2013-09-02 13:33:17 UTC (rev 110577)
+++ users/devans/GNOME-3/stable/dports/gnome/alacarte/files/patch-Makefile.in.diff	2013-09-02 13:45:55 UTC (rev 110578)
@@ -1,6 +1,6 @@
---- Makefile.in.orig	2010-09-15 02:55:40.000000000 -0700
-+++ Makefile.in	2010-09-15 11:52:04.000000000 -0700
-@@ -253,8 +253,8 @@
+--- Makefile.in.orig	2013-02-27 18:09:36.000000000 -0800
++++ Makefile.in	2013-08-30 21:40:56.000000000 -0700
+@@ -328,8 +328,8 @@
  top_builddir = @top_builddir@
  top_srcdir = @top_srcdir@
  SUBDIRS = data po Alacarte
@@ -11,14 +11,14 @@
  DISTCLEANFILES = ChangeLog
  EXTRA_DIST = \
  	alacarte.in \
-@@ -785,11 +785,11 @@
- 	uninstall uninstall-am uninstall-binSCRIPTS
+@@ -840,11 +840,11 @@
+ 	tags-am uninstall uninstall-am uninstall-binSCRIPTS
  
  
 -alacarte: alacarte.in
 +alacarte.py: alacarte.in
- 	sed -e s!\@PYTHON\@!@PYTHON@!		\
- 	    -e s!\@PYOPTIONS\@!-OOt!		\
+ 	$(AM_V_GEN)sed -e s!\@PYTHON\@!@PYTHON@!	\
+ 	    -e s!\@PYOPTIONS\@!-OOt!			\
  	    < $< > $@
 -alacarte: Makefile
 +alacarte.py: Makefile

Modified: users/devans/GNOME-3/stable/dports/gnome/alacarte/files/patch-configure.diff
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/alacarte/files/patch-configure.diff	2013-09-02 13:33:17 UTC (rev 110577)
+++ users/devans/GNOME-3/stable/dports/gnome/alacarte/files/patch-configure.diff	2013-09-02 13:45:55 UTC (rev 110578)
@@ -1,50 +1,50 @@
---- configure.orig	2011-10-21 23:02:10.000000000 -0700
-+++ configure	2011-10-21 23:07:17.000000000 -0700
-@@ -5736,9 +5736,9 @@
+--- configure.orig	2013-02-27 18:09:34.000000000 -0800
++++ configure	2013-08-30 21:40:56.000000000 -0700
+@@ -5856,9 +5856,9 @@
  
  
  
 -  PYTHON_PREFIX='${prefix}'
-+  PYTHON_PREFIX=`$PYTHON -c 'import sys; print sys.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;'`
++  PYTHON_EXEC_PREFIX=`$PYTHON -c 'import sys; print(sys.exec_prefix);'`
  
  
  
-@@ -5811,9 +5811,9 @@
+@@ -5931,9 +5931,9 @@
  
  
  
 -  PYTHON_PREFIX='${prefix}'
-+  PYTHON_PREFIX=`$PYTHON -c 'import sys; print sys.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;'`
++  PYTHON_EXEC_PREFIX=`$PYTHON -c 'import sys; print(sys.exec_prefix);'`
  
  
  
-@@ -5886,9 +5886,9 @@
+@@ -6006,9 +6006,9 @@
  
  
  
 -  PYTHON_PREFIX='${prefix}'
-+  PYTHON_PREFIX=`$PYTHON -c 'import sys; print sys.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;'`
++  PYTHON_EXEC_PREFIX=`$PYTHON -c 'import sys; print(sys.exec_prefix);'`
  
  
  
-@@ -5961,9 +5961,9 @@
+@@ -6081,9 +6081,9 @@
  
  
  
 -  PYTHON_PREFIX='${prefix}'
-+  PYTHON_PREFIX=`$PYTHON -c 'import sys; print sys.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;'`
++  PYTHON_EXEC_PREFIX=`$PYTHON -c 'import sys; print(sys.exec_prefix);'`
  
  
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130902/aa855baf/attachment.html>


More information about the macports-changes mailing list