Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package keybinder for openSUSE:Factory checked in at 2026-02-24 18:11:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/keybinder (Old) and /work/SRC/openSUSE:Factory/.keybinder.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "keybinder" Tue Feb 24 18:11:02 2026 rev:1 rq: version:0.3.1 Changes: -------- New Changes file: --- /dev/null 2026-02-12 11:13:27.188000000 +0100 +++ /work/SRC/openSUSE:Factory/.keybinder.new.1977/keybinder.changes 2026-02-24 18:11:03.101637501 +0100 @@ -0,0 +1,128 @@ +------------------------------------------------------------------- +Thu Feb 22 12:48:55 UTC 2024 - Dominique Leuenberger <[email protected]> + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + +------------------------------------------------------------------- +Mon Nov 6 16:19:23 UTC 2023 - Dominique Leuenberger <[email protected]> + +- Fix build with RPM 4.19: unnumbered patches are no longer + supported. + +------------------------------------------------------------------- +Mon Apr 4 18:53:53 UTC 2022 - Michal Suchanek <[email protected]> + +- Disable python2 bindings on 15.4 - they fail to build. + +------------------------------------------------------------------- +Thu Jun 4 11:04:49 UTC 2020 - Jan Engelhardt <[email protected]> + +- Remove old specfile constructs. +- Avoid em dashes in sumamries. Fixup RPM groups. + +------------------------------------------------------------------- +Tue Jun 2 12:14:21 UTC 2020 - Michal Suchanek <[email protected]> + +- Update URL - project moved to different github account. + +------------------------------------------------------------------- +Fri May 29 08:44:19 UTC 2020 - Michal Suchanek <[email protected]> + +- Use %%license compatibility cruft. + +------------------------------------------------------------------- +Wed May 27 21:11:24 UTC 2020 - Michal Suchanek <[email protected]> + +- Add doc index fallback to fix build on Tumbleweed. + * Add keybinder-doc-xml-fallback.patch +- Drop python2 bindings on Tumbleweed. Python bindings provided by gi. + +------------------------------------------------------------------- +Sat Aug 19 10:33:02 UTC 2017 - [email protected] + +- add specfile hack so that lua.h is still found in tumbleweed +- remove specfile conditions for old distributions + +------------------------------------------------------------------- +Sun Dec 25 13:59:46 UTC 2016 - [email protected] + +- update to version 0.3.1: + * Use ``XkbFreeKeyboard`` to fix memory leak + * Fix deprecated directives in build system + +------------------------------------------------------------------- +Fri Feb 22 19:10:41 UTC 2013 - [email protected] + +- update version 0.3.0 + * Patch Makefile.am to use ACLOCAL_AMFLAGS=-I m4 + * Add two functions to fix gobject-introspection (gir) bindings + * Build a gobject-introspection ``.typelib`` file for libkeybinder + * Add a reference manual for libkeybinder using gtk-doc + +------------------------------------------------------------------- +Mon Feb 4 14:32:26 UTC 2013 - [email protected] + +- update license to new format + +------------------------------------------------------------------- +Tue Mar 27 12:57:01 UTC 2012 - [email protected] + +- correct license +- correct build dependencies +- use upstream tarball + +------------------------------------------------------------------- +Mon Feb 20 15:28:57 UTC 2012 - [email protected] + +- ensure example scripts are not executable + +------------------------------------------------------------------- +Mon Feb 20 13:30:06 UTC 2012 - [email protected] + +- fixed build dependencies + +------------------------------------------------------------------- +Sun Jan 8 16:10:41 UTC 2012 - [email protected] + +- build against lua51 on > 12.1 +- remove /usr/bin/env shebang from example scripts + +------------------------------------------------------------------- +Sun Jan 30 12:38:42 UTC 2011 - [email protected] + +- fix -devel subpackage dependencies +- minor cleanup + +------------------------------------------------------------------- +Mon Jan 3 13:54:36 UTC 2011 - [email protected] + +- split lua files into a separate -lua subpackage + +------------------------------------------------------------------- +Fri Dec 24 10:10:24 UTC 2010 - [email protected] + +- use proper categories + +------------------------------------------------------------------- +Thu Dec 23 17:00:32 UTC 2010 - [email protected] + +- rpmlint cleanup + - make -devel package depend on library + - do not put non-python libraries in Development/Libraries/Python + group + - depend on versioned python-base + - recompressed sources +- enable compiler output +- include code examples + +------------------------------------------------------------------- +Thu Dec 2 15:21:40 UTC 2010 - [email protected] + +- spec cleanup + +------------------------------------------------------------------- +Sat Sep 11 20:38:16 UTC 2010 - [email protected] + +- Initial build + New: ---- example_gi.py keybinder-0.3.1.tar.gz keybinder-doc-xml-fallback.patch keybinder.changes keybinder.spec ----------(New B)---------- New:- Add doc index fallback to fix build on Tumbleweed. * Add keybinder-doc-xml-fallback.patch - Drop python2 bindings on Tumbleweed. Python bindings provided by gi. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ keybinder.spec ++++++ # # spec file for package keybinder # # Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150300 %define do_python 0 %else %define do_python 1 %endif %define libname libkeybinder0 Name: keybinder Version: 0.3.1 Release: 0 Summary: A Library for Registering Global Keyboard Shortcuts License: GPL-2.0-or-later AND MIT Group: Development/Libraries/C and C++ URL: https://github.com/kupferlauncher Source: https://github.com/kupferlauncher/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: example_gi.py Patch0: keybinder-doc-xml-fallback.patch BuildRequires: ed BuildRequires: fdupes # For Documentation Directory Ownership BuildRequires: glib2-devel BuildRequires: gnome-common BuildRequires: gobject-introspection-devel BuildRequires: libtool %if 0%{?do_python} BuildRequires: python-devel BuildRequires: python-gobject2-devel BuildRequires: python-gtk-devel %endif BuildRequires: lua51-devel BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(xrender) %description Library for registering global keyboard shortcuts. Keybinder works with GTK-based applications using the X Window System. The library contains: - A C library, libkeybinder - Lua bindings, lua-keybinder - Python bindings, python-keybinder - An examples directory with programs in C, Lua, Python and Vala. %package -n %{libname} Summary: A library for registering global keyboard shortcuts Group: System/Libraries %description -n %{libname} Library for registering global keyboard shortcuts. Keybinder works with GTK-based applications using the X Window System. The library contains: - A C library, libkeybinder - Lua bindings, lua-keybinder - Python bindings, python-keybinder - An examples directory with programs in C, Lua, Python and Vala. %package devel Summary: Development Files for Keybinder Group: Development/Libraries/Other Requires: %{libname} = %{version} %description devel This package contains development files needed for developing applications based on keybinder. %package lua Summary: Lua Files for Keybinder Group: Development/Languages/Lua Requires: %{libname} = %{version} %description lua This package contains Lua files for applications based on keybinder. %package -n python-%{name} Summary: Python Bindings for Keybinder Group: Development/Languages/Python Requires: %{libname} = %{version} Requires: python-base = %{py_ver} Requires: python-gobject2 Requires: python-gtk %description -n python-%{name} This package contains python bindings for keybinder. %package -n typelib-1_0-Keybinder-0_0 Summary: Introspection bindins for the Keybinder library Group: System/Libraries %description -n typelib-1_0-Keybinder-0_0 Library for registering global keyboard shortcuts. Keybinder works with GTK-based applications using the X Window System. This package provides the GObject Introspection bindings for libkeybinder0. # Compatibility cruft # there is no %%license prior to SLE12 %if %{undefined _defaultlicensedir} %define license %doc %else # filesystem before SLE12 SP3 lacks /usr/share/licenses %if 0%(test ! -d %{_defaultlicensedir} && echo 1) %define _defaultlicensedir %{_defaultdocdir} %endif %endif # End of compatibility cruft %prep %autosetup -p1 cp -a %{SOURCE1} examples find examples/ \( -name '*.py' -o -name '*.lua' \) -print -exec sh -c ' ed -s "$1" 2>/dev/null <<\EOF ,s/^#!\/usr\/bin\/env /#!\/usr\/bin\// w EOF ' {} {} \; rm examples/.gitignore %build NOCONFIGURE=1 ./autogen.sh export CPPFLAGS="`pkg-config --cflags lua5.1`" %{configure}\ --enable-gtk-doc \ %if ! 0%{?do_python} --disable-python \ %endif --disable-static make %{?_smp_mflags} V=1 %install %make_install find %{buildroot}%{_libdir} -name '*.la' -exec rm -f {} + find examples -type f -exec chmod 644 {} + %fdupes %{buildroot}/%{_prefix} %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} %license COPYING %doc AUTHORS NEWS README %{_libdir}/libkeybinder.so.* %files devel %doc examples %{_includedir}/keybinder.h %{_libdir}/libkeybinder.so %{_libdir}/pkgconfig/keybinder.pc %{_datadir}/gtk-doc/html/%{name}/ %{_datadir}/gir-1.0/Keybinder-0.0.gir %files lua %{_libdir}/lua/*/keybinder.so %if 0%{?do_python} %files -n python-%{name} %defattr(-,root,root) %{python_sitearch}/%{name} %endif %files -n typelib-1_0-Keybinder-0_0 %{_libdir}/girepository-1.0/Keybinder-0.0.typelib %changelog ++++++ example_gi.py ++++++ #!/usr/bin/python """ example.py Created in 2010 by Ulrik Sverdrup <[email protected]> This work is placed in the public domain. """ import gi gi.require_version('Gtk', '3.0') gi.require_version('Keybinder', '3.0') from gi.repository import Gtk from gi.repository import Keybinder def callback(keystr, user_data): print("Handling", keystr, user_data) print("Event time:", Keybinder.get_current_event_time()) Gtk.main_quit() if __name__ == '__main__': keystr = "<Ctrl>A" Keybinder.init() Keybinder.bind(keystr, callback, "Keystring %s (user data)" % keystr) print("Press", keystr, "to handle keybinding and quit") Gtk.main() ++++++ keybinder-doc-xml-fallback.patch ++++++ --- keybinder-0.3.1/docs/keybinder-docs.sgml 2015-11-06 16:08:46.000000000 +0100 +++ keybinder-0.3.1/docs/keybinder-docs.sgml 2020-05-27 23:08:53.420091878 +0200 @@ -23,7 +23,7 @@ </chapter> <chapter id="object-tree"> <title>Object Hierarchy</title> - <xi:include href="xml/tree_index.sgml"/> + <xi:include href="xml/tree_index.sgml"><xi:fallback /></xi:include> </chapter> <index id="api-index-full"> <title>API Index</title>
