Ticket #52590: patch-keybinder-3.0-0.3.1.diff
File patch-keybinder-3.0-0.3.1.diff, 3.7 KB (added by dbevans (David B. Evans), 8 years ago) |
---|
-
Portfile
5 5 PortGroup github 1.0 6 6 PortGroup gobject_introspection 1.0 7 7 8 github.setup engla keybinder 0.3.0 v 9 revision 1 8 github.setup engla keybinder 736ccef40d39603b8111c8a3a0bca0319bbafdc0 9 name keybinder-3.0 10 version 0.3.1 10 11 categories gnome devel 11 12 platforms darwin 12 13 maintainers ryandesign openmaintainer 13 license GPL-2+14 license X11 14 15 15 description library for global keyboard shortcuts in GTK applications16 description library for global keyboard shortcuts in GTK3 applications 16 17 17 18 long_description ${name} is a library for registering global keyboard \ 18 shortcuts in GTK -based applications using the X Window \19 shortcuts in GTK3-based applications using the X Window \ 19 20 System. 20 21 21 master_sites http://kaizer.se/publicfiles/keybinder/ 22 checksums rmd160 0b638b7bdd3f6b735588b5c17a23708e8cf78e35 \ 23 sha256 c99df7e2a14f9389f49fe3834a9973ddd9d12d9f73d1c8a7abdc786d7ef36546 22 24 23 checksums rmd160 2f2e25860fa116f7872bbdb2850b75e3e43958cf \ 24 sha256 42863ca0174d568a8c02c6fb243fee1681823825e8bcb1718c51611d8e9793bb 25 depends_build port:pkgconfig \ 26 port:autoconf \ 27 port:automake \ 28 port:libtool \ 29 port:gnome-common \ 30 port:gtk-doc 25 31 26 depends_ build port:pkgconfig32 depends_lib port:gtk3 27 33 28 depends_lib port:gtk2 34 patchfiles patch-configure.ac.diff 29 35 30 patchfiles patch_python-keybinder_Makefile.in.diff 36 gobject_introspection yes 31 37 38 configure.cmd ./autogen.sh 39 32 40 configure.args --disable-silent-rules \ 33 --disable-gtk-doc \ 34 --disable-lua 35 36 if {${name} eq ${subport}} { 37 configure.args-append --disable-python 38 gobject_introspection yes 39 } 40 41 set python.versions {26 27} 42 43 foreach v ${python.versions} { 44 set python.version ${v} 45 set python.branch [string range ${python.version} 0 end-1].[string index ${python.version} end] 46 set python.bin ${prefix}/bin/python${python.branch} 47 set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch} 48 49 subport py${python.version}-keybinder { 50 depends_lib-append port:${name} \ 51 port:python${python.version} \ 52 port:py${python.version}-pygtk 53 54 configure.args-append --enable-python \ 55 ac_cv_path_PYGTK_CODEGEN=${prefix}/bin/pygtk-codegen-2.0-${python.branch} 56 57 configure.python ${python.bin} 58 configure.pkg_config_path ${python.prefix}/lib/pkgconfig 59 60 build.dir ${worksrcpath}/python-keybinder 61 } 62 } 41 --enable-gtk-doc -
files/patch-configure.ac.diff
1 --- configure.ac.orig 2016-10-12 11:42:01.000000000 -0700 2 +++ configure.ac 2016-10-12 11:47:28.000000000 -0700 3 @@ -21,7 +21,9 @@ 4 AC_SUBST(LT_REVISION) 5 AC_SUBST(LT_AGE) 6 7 -GNOME_COMMON_INIT 8 +dnl long deprecated GNOME_COMMON_INIT removed in gnome-common 3.18.0 9 +dnl https://git.gnome.org/browse/gnome-common/commit/?id=6684e2fa5d5a4c72c9bf116f74688c0b47f350cf 10 +dnl GNOME_COMMON_INIT 11 12 AM_MAINTAINER_MODE 13 AM_DISABLE_STATIC