[154012] trunk/dports/gnome

devans at macports.org devans at macports.org
Tue Oct 18 05:06:23 CEST 2016


Revision: 154012
          https://trac.macports.org/changeset/154012
Author:   devans at macports.org
Date:     2016-10-17 20:06:22 -0700 (Mon, 17 Oct 2016)
Log Message:
-----------
keybinder-3.0: new port, gtk3 version of keybinder with gobject-introspection support instead of bindings (#52590).

Modified Paths:
--------------
    trunk/dports/gnome/keybinder-3.0/Portfile

Added Paths:
-----------
    trunk/dports/gnome/keybinder-3.0/
    trunk/dports/gnome/keybinder-3.0/files/patch-configure.ac.diff

Removed Paths:
-------------
    trunk/dports/gnome/keybinder-3.0/files/patch_python-keybinder_Makefile.in.diff

Modified: trunk/dports/gnome/keybinder-3.0/Portfile
===================================================================
--- trunk/dports/gnome/keybinder/Portfile	2016-10-12 14:44:21 UTC (rev 153825)
+++ trunk/dports/gnome/keybinder-3.0/Portfile	2016-10-18 03:06:22 UTC (rev 154012)
@@ -5,58 +5,37 @@
 PortGroup           github 1.0
 PortGroup           gobject_introspection 1.0
 
-github.setup        engla keybinder 0.3.0 v
-revision            1
+github.setup        engla keybinder 736ccef40d39603b8111c8a3a0bca0319bbafdc0
+name                keybinder-3.0
+version             0.3.1
 categories          gnome devel
 platforms           darwin
 maintainers         ryandesign openmaintainer
-license             GPL-2+
+license             X11
 
-description         library for global keyboard shortcuts in GTK applications
+description         library for global keyboard shortcuts in GTK3 applications
 
 long_description    ${name} is a library for registering global keyboard \
-                    shortcuts in GTK-based applications using the X Window \
+                    shortcuts in GTK3-based applications using the X Window \
                     System.
 
-master_sites        http://kaizer.se/publicfiles/keybinder/
+checksums           rmd160  0b638b7bdd3f6b735588b5c17a23708e8cf78e35 \
+                    sha256  c99df7e2a14f9389f49fe3834a9973ddd9d12d9f73d1c8a7abdc786d7ef36546
 
-checksums           rmd160  2f2e25860fa116f7872bbdb2850b75e3e43958cf \
-                    sha256  42863ca0174d568a8c02c6fb243fee1681823825e8bcb1718c51611d8e9793bb
+depends_build       port:pkgconfig \
+                    port:autoconf \
+                    port:automake \
+                    port:libtool \
+                    port:gnome-common \
+                    port:gtk-doc
 
-depends_build       port:pkgconfig
+depends_lib         port:gtk3
 
-depends_lib         port:gtk2
+patchfiles          patch-configure.ac.diff
 
-patchfiles          patch_python-keybinder_Makefile.in.diff
+gobject_introspection yes
 
-configure.args      --disable-silent-rules \
-                    --disable-gtk-doc \
-                    --disable-lua
+configure.cmd       ./autogen.sh
 
-if {${name} eq ${subport}} {
-    configure.args-append       --disable-python
-    gobject_introspection yes
-}
-
-set python.versions {26 27}
- 
-foreach v ${python.versions} {
-    set python.version  ${v}
-    set python.branch   [string range ${python.version} 0 end-1].[string index ${python.version} end]
-    set python.bin      ${prefix}/bin/python${python.branch}
-    set python.prefix   ${frameworks_dir}/Python.framework/Versions/${python.branch}
-
-    subport py${python.version}-keybinder {
-        depends_lib-append      port:${name} \
-                                port:python${python.version} \
-                                port:py${python.version}-pygtk
-
-        configure.args-append   --enable-python \
-                                ac_cv_path_PYGTK_CODEGEN=${prefix}/bin/pygtk-codegen-2.0-${python.branch}
-
-        configure.python        ${python.bin}
-        configure.pkg_config_path   ${python.prefix}/lib/pkgconfig
-
-        build.dir               ${worksrcpath}/python-keybinder
-    }
-}
+configure.args      --disable-silent-rules \
+                    --enable-gtk-doc

Added: trunk/dports/gnome/keybinder-3.0/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/gnome/keybinder-3.0/files/patch-configure.ac.diff	                        (rev 0)
+++ trunk/dports/gnome/keybinder-3.0/files/patch-configure.ac.diff	2016-10-18 03:06:22 UTC (rev 154012)
@@ -0,0 +1,13 @@
+--- configure.ac.orig	2016-10-12 11:42:01.000000000 -0700
++++ configure.ac	2016-10-12 11:47:28.000000000 -0700
+@@ -21,7 +21,9 @@
+ AC_SUBST(LT_REVISION)
+ AC_SUBST(LT_AGE)
+ 
+-GNOME_COMMON_INIT
++dnl long deprecated GNOME_COMMON_INIT removed in gnome-common 3.18.0
++dnl https://git.gnome.org/browse/gnome-common/commit/?id=6684e2fa5d5a4c72c9bf116f74688c0b47f350cf
++dnl GNOME_COMMON_INIT
+ 
+ AM_MAINTAINER_MODE
+ AM_DISABLE_STATIC

Deleted: trunk/dports/gnome/keybinder-3.0/files/patch_python-keybinder_Makefile.in.diff
===================================================================
--- trunk/dports/gnome/keybinder/files/patch_python-keybinder_Makefile.in.diff	2016-10-12 14:44:21 UTC (rev 153825)
+++ trunk/dports/gnome/keybinder-3.0/files/patch_python-keybinder_Makefile.in.diff	2016-10-18 03:06:22 UTC (rev 154012)
@@ -1,20 +0,0 @@
---- python-keybinder/Makefile.in.orig	2012-06-17 11:25:51.000000000 -0500
-+++ python-keybinder/Makefile.in	2013-12-09 09:34:22.000000000 -0600
-@@ -97,7 +97,7 @@
- 	"$(DESTDIR)$(_keybinderdir)"
- LTLIBRARIES = $(_keybinder_LTLIBRARIES)
- am__DEPENDENCIES_1 =
--_keybinder_la_DEPENDENCIES = ../libkeybinder/libkeybinder.la \
-+_keybinder_la_DEPENDENCIES = $(LIBDIR)/libkeybinder.dylib \
- 	$(am__DEPENDENCIES_1)
- am__keybinder_la_OBJECTS = _keybinder_la-_keybindermodule.lo
- nodist__keybinder_la_OBJECTS = _keybinder_la-_keybinder.lo
-@@ -314,7 +314,7 @@
- _keybinder_LTLIBRARIES = _keybinder.la
- _keybinder_la_CPPFLAGS = $(X_CFLAGS) $(PYEXTRAFLAGS)
- _keybinder_la_LDFLAGS = -module -avoid-version -export-symbols-regex init_keybinder $(X_LDFLAGS)
--_keybinder_la_LIBADD = ../libkeybinder/libkeybinder.la $(PYGTK_LIBS)
-+_keybinder_la_LIBADD = $(LIBDIR)/libkeybinder.dylib $(PYGTK_LIBS)
- _keybinder_la_SOURCES = _keybindermodule.c
- nodist__keybinder_la_SOURCES = _keybinder.c
- _keybinder_PYTHON = \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161017/c5d51358/attachment-0002.html>


More information about the macports-changes mailing list