From c3f1fb070541f5111d0f85b7c565e076f2aa7ae5 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Wed, 18 May 2022 14:24:24 +0200 Subject: [PATCH] initial package creation Signed-off-by: Toshaan Bharvani --- SOURCES/Fix-compilation-error.patch | 25 + ...nu-not-showing-after-being-dismissed.patch | 32 ++ SOURCES/caribou-0.4.20-fix-python-exec.patch | 21 + SOURCES/caribou-0.4.20-multilib.patch | 68 +++ SOURCES/change_autostart_cinnamon.patch | 13 + SOURCES/drop_gir_patch.patch | 117 +++++ SOURCES/fix-style-css.patch | 26 + ...er.vala-Remove-XkbKeyTypesMask-and-f.patch | 46 ++ SPECS/caribou.spec | 478 ++++++++++++++++++ 9 files changed, 826 insertions(+) create mode 100644 SOURCES/Fix-compilation-error.patch create mode 100644 SOURCES/Fix-subkey-popmenu-not-showing-after-being-dismissed.patch create mode 100644 SOURCES/caribou-0.4.20-fix-python-exec.patch create mode 100644 SOURCES/caribou-0.4.20-multilib.patch create mode 100644 SOURCES/change_autostart_cinnamon.patch create mode 100644 SOURCES/drop_gir_patch.patch create mode 100644 SOURCES/fix-style-css.patch create mode 100644 SOURCES/xadapter.vala-Remove-XkbKeyTypesMask-and-f.patch create mode 100644 SPECS/caribou.spec diff --git a/SOURCES/Fix-compilation-error.patch b/SOURCES/Fix-compilation-error.patch new file mode 100644 index 0000000..d427cd3 --- /dev/null +++ b/SOURCES/Fix-compilation-error.patch @@ -0,0 +1,25 @@ +From bc6f3e7ca0921b50a3ff836d08ce264a4f114224 Mon Sep 17 00:00:00 2001 +From: Clement Lefebvre +Date: Tue, 12 Jan 2021 17:29:16 +0000 +Subject: [PATCH 1/4] Fix compilation error + +--- + libcaribou/key-model.vala | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libcaribou/key-model.vala b/libcaribou/key-model.vala +index 89015bc..e88342e 100644 +--- a/libcaribou/key-model.vala ++++ b/libcaribou/key-model.vala +@@ -101,7 +101,7 @@ namespace Caribou { + unichar uc; + while (text.get_next_char (ref index, out uc)) { + uint keyval = Gdk.unicode_to_keyval (uc); +- if (keyval != uc | 0x01000000) ++ if (keyval != (uc | 0x01000000)) + _keyvals += keyval; + } + } else { +-- +2.29.2 + diff --git a/SOURCES/Fix-subkey-popmenu-not-showing-after-being-dismissed.patch b/SOURCES/Fix-subkey-popmenu-not-showing-after-being-dismissed.patch new file mode 100644 index 0000000..ffd4423 --- /dev/null +++ b/SOURCES/Fix-subkey-popmenu-not-showing-after-being-dismissed.patch @@ -0,0 +1,32 @@ +From 85ac8f9e210243d95163cf8b1013470a6d9c7eaa Mon Sep 17 00:00:00 2001 +From: Clement Lefebvre +Date: Tue, 12 Jan 2021 17:30:25 +0000 +Subject: [PATCH 2/4] Fix subkey popmenu not showing after being dismissed + +To reproduce the issue: + +- long-press the "e" button +- don't select any sub button.. just select "e" again to close the menu + +After this the menu no long appears when long-pressing "e". + +This commit fixes that. +--- + libcaribou/key-model.vala | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libcaribou/key-model.vala b/libcaribou/key-model.vala +index e88342e..2f640f2 100644 +--- a/libcaribou/key-model.vala ++++ b/libcaribou/key-model.vala +@@ -179,6 +179,7 @@ namespace Caribou { + hold_tid = GLib.Timeout.add (1000, on_key_held); + + key_pressed(this); ++ show_subkeys = false; + } + + public void release () { +-- +2.29.2 + diff --git a/SOURCES/caribou-0.4.20-fix-python-exec.patch b/SOURCES/caribou-0.4.20-fix-python-exec.patch new file mode 100644 index 0000000..806e57a --- /dev/null +++ b/SOURCES/caribou-0.4.20-fix-python-exec.patch @@ -0,0 +1,21 @@ +diff -urN caribou-0.4.20.old/bin/antler-keyboard.in caribou-0.4.20/bin/antler-keyboard.in +--- caribou-0.4.20.old/bin/antler-keyboard.in 2016-06-27 19:31:55.547580177 +0530 ++++ caribou-0.4.20/bin/antler-keyboard.in 2016-06-27 19:37:00.369738066 +0530 +@@ -38,4 +38,4 @@ + export ANTLER_THEME_PATH="$(dirname $script_dir)/data" + fi + +-@PYTHON@ -m caribou.antler.main "$@" ++exec @PYTHON@ -m caribou.antler.main "$@" +diff -urN caribou-0.4.20.old/bin/caribou-preferences.in caribou-0.4.20/bin/caribou-preferences.in +--- caribou-0.4.20.old/bin/caribou-preferences.in 2016-06-27 19:31:55.547580177 +0530 ++++ caribou-0.4.20/bin/caribou-preferences.in 2016-06-27 19:37:14.392561317 +0530 +@@ -37,7 +37,7 @@ + export LD_LIBRARY_PATH="$(dirname $script_dir)/libcaribou/.lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" + fi + +-@PYTHON@ -c " ++exec @PYTHON@ -c " + import signal + signal.signal(signal.SIGINT, signal.SIG_DFL) + diff --git a/SOURCES/caribou-0.4.20-multilib.patch b/SOURCES/caribou-0.4.20-multilib.patch new file mode 100644 index 0000000..101234a --- /dev/null +++ b/SOURCES/caribou-0.4.20-multilib.patch @@ -0,0 +1,68 @@ +diff -urN caribou-0.4.20.old/bin/antler-keyboard.in caribou-0.4.20/bin/antler-keyboard.in +--- caribou-0.4.20.old/bin/antler-keyboard.in 2016-06-27 19:40:02.959436627 +0530 ++++ caribou-0.4.20/bin/antler-keyboard.in 2016-06-27 19:47:32.697767930 +0530 +@@ -18,6 +18,19 @@ + # along with this program; if not, write to the Free Software Foundation, + # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + ++ARCH=$(uname -m) ++ ++case $ARCH in ++x86_64 | sparc64 | s390x | ppc64) ++LIB_DIR=/usr/lib64 ++SECONDARY_LIB_DIR=/usr/lib ++;; ++* ) ++LIB_DIR=/usr/lib ++SECONDARY_LIB_DIR=/usr/lib64 ++;; ++esac ++ + script_dir="$(dirname "$(readlink -f ${0})")" + + prefix=@prefix@ +@@ -28,8 +41,8 @@ + then + datadir="$(@PYTHON@ -c "from gi.repository import GLib; print(':'.join(GLib.get_system_data_dirs()))")" + export PYTHONPATH="${prefix}/lib/python@PYTHON_VERSION@/site-packages:${prefix}/lib64/python@PYTHON_VERSION@/site-packages${PYTHONPATH:+:$PYTHONPATH}" +- export GI_TYPELIB_PATH="@libdir@/girepository-1.0${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}" +- export LD_LIBRARY_PATH="@libdir@${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" ++ export GI_TYPELIB_PATH="$LIB_DIR/girepository-1.0${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}" ++ export LD_LIBRARY_PATH="$LIB_DIR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" + export XDG_DATA_DIRS="@datadir@${datadir:+:$datadir}" + else + export PYTHONPATH="$(dirname $script_dir)${PYTHONPATH:+:$PYTHONPATH}" +diff -urN caribou-0.4.20.old/bin/caribou-preferences.in caribou-0.4.20/bin/caribou-preferences.in +--- caribou-0.4.20.old/bin/caribou-preferences.in 2016-06-27 19:40:02.959436627 +0530 ++++ caribou-0.4.20/bin/caribou-preferences.in 2016-06-27 19:48:58.525983390 +0530 +@@ -18,6 +18,19 @@ + # along with this program; if not, write to the Free Software Foundation, + # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + ++ARCH=$(uname -m) ++ ++case $ARCH in ++x86_64 | sparc64 | s390x | ppc64) ++LIB_DIR=/usr/lib64 ++SECONDARY_LIB_DIR=/usr/lib ++;; ++* ) ++LIB_DIR=/usr/lib ++SECONDARY_LIB_DIR=/usr/lib64 ++;; ++esac ++ + script_dir="$(dirname "$(readlink -f ${0})")" + + prefix=@prefix@ +@@ -28,8 +41,8 @@ + then + datadir="$(@PYTHON@ -c "from gi.repository import GLib; print(':'.join(GLib.get_system_data_dirs()))")" + export PYTHONPATH="@prefix@/lib/python@PYTHON_VERSION@/site-packages${PYTHONPATH:+:$PYTHONPATH}" +- export GI_TYPELIB_PATH="@libdir@/girepository-1.0${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}" +- export LD_LIBRARY_PATH="@libdir@${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" ++ export GI_TYPELIB_PATH="$LIB_DIR/girepository-1.0${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}" ++ export LD_LIBRARY_PATH="$LIB_DIR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" + export XDG_DATA_DIRS="@datadir@${datadir:+:$datadir}" + else + export PYTHONPATH="$(dirname $script_dir)${PYTHONPATH:+:$PYTHONPATH}" diff --git a/SOURCES/change_autostart_cinnamon.patch b/SOURCES/change_autostart_cinnamon.patch new file mode 100644 index 0000000..f55ddd2 --- /dev/null +++ b/SOURCES/change_autostart_cinnamon.patch @@ -0,0 +1,13 @@ +--- a/data/caribou-autostart.desktop.in.in ++++ b/data/caribou-autostart.desktop.in.in +@@ -2,7 +2,7 @@ + Type=Application + Name=Caribou + Exec=@libexecdir@/caribou +-AutostartCondition=GSettings org.gnome.desktop.a11y.applications screen-keyboard-enabled ++AutostartCondition=GSettings org.cinnamon.desktop.a11y.applications screen-keyboard-enabled + X-GNOME-AutoRestart=true + #X-GNOME-Autostart-Phase=Initialization +-OnlyShowIn=GNOME;Unity; ++OnlyShowIn=X-Cinnamon; + diff --git a/SOURCES/drop_gir_patch.patch b/SOURCES/drop_gir_patch.patch new file mode 100644 index 0000000..bbcf1dd --- /dev/null +++ b/SOURCES/drop_gir_patch.patch @@ -0,0 +1,117 @@ +From c52ce71c49dc8d6109a58d16cc8d491d7bd1d781 Mon Sep 17 00:00:00 2001 +From: Rico Tzschichholz +Date: Wed, 20 Jan 2021 22:59:49 +0100 +Subject: [PATCH] Stop patching the generated GIR + +--- + libcaribou/Makefile.am | 8 ++----- + tools/Makefile.am | 1 - + tools/fix_gir.py | 53 ------------------------------------------ + 3 files changed, 2 insertions(+), 60 deletions(-) + delete mode 100755 tools/fix_gir.py + +diff --git a/libcaribou/Makefile.am b/libcaribou/Makefile.am +index 05f2774..0634374 100644 +--- a/libcaribou/Makefile.am ++++ b/libcaribou/Makefile.am +@@ -7,7 +7,7 @@ libcaribou_la_VALAFLAGS = \ + --pkg xtst --pkg gee-0.8 --pkg gdk-x11-3.0 --pkg libxml-2.0 \ + --pkg libxklavier --pkg external-libs \ + --internal-vapi caribou-internals-1.0.vapi \ +- --library caribou-1.0 --gir _Caribou-1.0.gir \ ++ --library caribou-1.0 --gir Caribou-1.0.gir \ + --symbols libcaribou.symbols \ + $(VALAFLAGS) + +@@ -63,9 +63,6 @@ gir_DATA = Caribou-1.0.gir + typelibdir = $(libdir)/girepository-1.0 + typelib_DATA = Caribou-1.0.typelib + +-Caribou-1.0.gir: _Caribou-1.0.gir +- $(AM_V_GEN)$(PYTHON) -B $(top_srcdir)/tools/fix_gir.py $< > $@ +- + Caribou-1.0.typelib: Caribou-1.0.gir + @INTROSPECTION_COMPILER@ --shared-library=libcaribou.so.0 -o $@ $^ + +@@ -81,8 +78,7 @@ CLEANFILES = \ + caribou-1.0.vapi \ + caribou-internals-1.0.vapi \ + Caribou-1.0.typelib \ +- Caribou-1.0.gir \ +- _Caribou-1.0.gir ++ Caribou-1.0.gir + + DISTCLEANFILES = \ + caribou-1.0.pc +diff --git a/tools/Makefile.am b/tools/Makefile.am +index 3a9bcdb..89f753d 100644 +--- a/tools/Makefile.am ++++ b/tools/Makefile.am +@@ -1,5 +1,4 @@ + EXTRA_DIST = \ +- fix_gir.py \ + make_schema.py \ + convert_cldr.py \ + basic.xsl +diff --git a/tools/fix_gir.py b/tools/fix_gir.py +deleted file mode 100755 +index 182d108..0000000 +--- a/tools/fix_gir.py ++++ /dev/null +@@ -1,53 +0,0 @@ +-#!/usr/bin/python +- +-from xml.dom import minidom +- +-def purge_white_space_and_fix_namespace(node, indent=0): +- if getattr(node, "tagName", None) == "namespace": +- name = node.getAttribute("name") +- node.setAttribute("name", name.lstrip('_')) +- for child in [c for c in node.childNodes]: +- if child.nodeType == node.TEXT_NODE or \ +- getattr(child, "tagName", None) == "annotation": +- node.removeChild(child) +- continue +- purge_white_space_and_fix_namespace(child, indent+1) +- +-def find_ancestor(node, name): +- if getattr(node, "tagName", None) == name: +- return node +- parent = getattr(node, "parentNode", None) +- if not parent: +- return None +- return find_ancestor(parent, name) +- +-def fix_vfuncs(dom): +- for f in dom.getElementsByTagName("field"): +- callbacks = f.getElementsByTagName("callback") +- +- record = find_ancestor(f, "record") +- if not record: +- continue +- +- name = record.getAttribute("name") +- cname = record.getAttribute("c:type") +- +- assert(name.endswith("Class") or name.endswith("Iface")) +- assert(cname.endswith("Class") or name.endswith("Iface")) +- +- if len(callbacks) == 2: +- callbacks[-1].parentNode.removeChild(callbacks[-1]) +- +-if __name__ == "__main__": +- import sys +- +- if len(sys.argv) != 2: +- print("supply a gir file") +- sys.exit(1) +- +- dom = minidom.parse(sys.argv[-1]) +- +- purge_white_space_and_fix_namespace(dom) +- fix_vfuncs(dom) +- +- print(dom.toprettyxml(indent=" ", newl="\n")) +-- +GitLab + diff --git a/SOURCES/fix-style-css.patch b/SOURCES/fix-style-css.patch new file mode 100644 index 0000000..4c4486b --- /dev/null +++ b/SOURCES/fix-style-css.patch @@ -0,0 +1,26 @@ +From 13df8b92ae89c796238e669ee6ef4447a42d6355 Mon Sep 17 00:00:00 2001 +From: Jeremy Bicha +Date: Fri, 1 Dec 2017 12:11:35 -0500 +Subject: [PATCH] style.css: Fix failure to start in GNOME Flashback + +The order for 'font' properties matters +https://developer.gnome.org/gtk3/stable/chap-css-properties.html + +https://bugzilla.gnome.org/show_bug.cgi?id=791001 +--- + data/antler/style.css | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/data/antler/style.css b/data/antler/style.css +index 5ab6f71..4d84904 100644 +--- a/data/antler/style.css ++++ b/data/antler/style.css +@@ -13,7 +13,7 @@ + border-width: 0px; + border-radius: 2px; + border-image: url("dark-key-border.svg") 2 2 2 2 repeat stretch; +- font: Sans 14px; ++ font: 14px Sans; + background-image: -gtk-gradient (linear, + left top, + left bottom, diff --git a/SOURCES/xadapter.vala-Remove-XkbKeyTypesMask-and-f.patch b/SOURCES/xadapter.vala-Remove-XkbKeyTypesMask-and-f.patch new file mode 100644 index 0000000..bcb2a19 --- /dev/null +++ b/SOURCES/xadapter.vala-Remove-XkbKeyTypesMask-and-f.patch @@ -0,0 +1,46 @@ +From 00653c5dcc4be5e983b670d00d5724fc21da2e82 Mon Sep 17 00:00:00 2001 +From: Clement Lefebvre +Date: Tue, 12 Jan 2021 18:01:47 +0000 +Subject: [PATCH 3/4] [mtwebster] xadapter.vala: Remove XkbKeyTypesMask and + fields from XKbChangeMap call. +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +This was originally a workaround for xFree86 4.3 - see: +https://bugzilla.gnome.org/show_bug.cgi?id=673547 +​ +As of https://gitlab.freedesktop.org/xorg/xserver/-/commit/87c64fc5b0 this +causes a BadLength error when attempting to use shifted characters. +​ +Ref: +https://www.x.org/releases/X11R7.7/doc/libX11/XKB/xkblib.html#Changing_Map_Components_in_the_Server +--- + libcaribou/xadapter.vala | 9 ++------- + 1 file changed, 2 insertions(+), 7 deletions(-) + +diff --git a/libcaribou/xadapter.vala b/libcaribou/xadapter.vala +index 22858b7..1da5a78 100644 +--- a/libcaribou/xadapter.vala ++++ b/libcaribou/xadapter.vala +@@ -195,15 +195,10 @@ namespace Caribou { + + Xkb.MapChanges changes = Xkb.MapChanges (); + +- // We don't touch key types here but include the +- // information in XkbSetMap request to the server, because +- // some X servers need the information to check the sanity +- // of the keysyms change. +- changes.changed = (ushort) (Xkb.KeySymsMask | Xkb.KeyTypesMask); ++ changes.changed = (ushort) Xkb.KeySymsMask; + changes.first_key_sym = (char) this.reserved_keycode; + changes.num_key_syms = this.xkbdesc.map.key_sym_map[this.reserved_keycode].width; +- changes.first_type = 0; +- changes.num_types = this.xkbdesc.map.num_types; ++ + Xkb.change_map (this.xdisplay, this.xkbdesc, changes); + + this.xdisplay.flush (); +-- +2.29.2 + diff --git a/SPECS/caribou.spec b/SPECS/caribou.spec new file mode 100644 index 0000000..4e23f88 --- /dev/null +++ b/SPECS/caribou.spec @@ -0,0 +1,478 @@ +Name: caribou +Version: 0.4.21 +Release: 1%{?dist} +Summary: A simplified in-place on-screen keyboard +License: LGPLv2+ +URL: https://wiki.gnome.org/Projects/Caribou +Source0: http://download.gnome.org/sources/caribou/0.4/caribou-%{version}.tar.xz +Patch1: caribou-0.4.20-fix-python-exec.patch +Patch2: caribou-0.4.20-multilib.patch +# caribou isn't needed in gnome-shell so don't start there +Patch3: change_autostart_cinnamon.patch +Patch4: fix-style-css.patch +Patch5: Fix-compilation-error.patch +Patch6: Fix-subkey-popmenu-not-showing-after-being-dismissed.patch +Patch7: xadapter.vala-Remove-XkbKeyTypesMask-and-f.patch +Patch8: drop_gir_patch.patch + +BuildRequires: automake +BuildRequires: gtk2-devel +BuildRequires: gtk3-devel +BuildRequires: pygobject3-devel +BuildRequires: intltool +BuildRequires: gnome-doc-utils +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: clutter-devel +BuildRequires: vala +BuildRequires: libXtst-devel +BuildRequires: libxklavier-devel +BuildRequires: libgee-devel +BuildRequires: gobject-introspection-devel +BuildRequires: at-spi2-core-devel + +# Changed in F23 to pull python3-caribou default +Requires: python3-%{name} = %{version}-%{release} +Requires: gobject-introspection +Requires: caribou-gtk2-module +Requires: caribou-gtk3-module + +#Following is needed as package moved from noarch to arch +Obsoletes: caribou < 0.4.1-3 +# Obsolete retired 'gok' to make sure it gets removed with distro upgrade +Obsoletes: gok < 2.30.1-6 + +%description +Caribou is a text entry application that currently manifests itself as +a simplified in-place on-screen keyboard. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +# Obsolete retired 'gok' to make sure it gets removed with distro upgrade +Obsoletes: gok-devel < 2.30.1-6 + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%package -n python3-caribou +Summary: Keyboard UI for %{name} +BuildRequires: python3-devel +BuildRequires: python3-gobject +BuildRequires: make +Requires: python3-gobject +Requires: python3-pyatspi +Requires: %{name} = %{version}-%{release} +Obsoletes: caribou < 0.4.1-3 +BuildArch: noarch + +%description -n python3-caribou +This package contains caribou python3 GUI + +%package gtk2-module +Summary: Gtk2 module for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Obsoletes: caribou < 0.4.1-3 + +%description gtk2-module +This package contains caribou module for gtk2 applications. + +%package gtk3-module +Summary: Gtk3 module for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Obsoletes: caribou < 0.4.1-3 + +%description gtk3-module +This package contains caribou module for gtk3 applications. + +%package antler +Summary: Keyboard implementation for %{name} +Requires: python3-%{name} = %{version}-%{release} +Obsoletes: caribou < 0.4.1-3 + +%description antler +This package contains caribou keyboard implementation for +non-gnome-shell sessions. + +%prep +%autosetup -p1 +autoreconf -fiv + +%build +%configure --disable-static PYTHON=python3 +make clean +%make_build + +%install +%make_install + +find %{buildroot} -name '*.la' -exec rm -f {} ';' + +desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/caribou-autostart.desktop || : +desktop-file-validate %{buildroot}%{_libdir}/gnome-settings-daemon-3.0/gtk-modules/caribou-gtk-module.desktop || : + +%find_lang caribou + +%ldconfig_scriptlets + +%files -f caribou.lang +%doc NEWS README +%license COPYING +%{_bindir}/caribou-preferences +%{_datadir}/caribou +%{_libdir}/girepository-1.0/Caribou-1.0.typelib +%{_sysconfdir}/xdg/autostart/caribou-autostart.desktop +%{_datadir}/dbus-1/services/org.gnome.Caribou.Daemon.service +%{_datadir}/glib-2.0/schemas/org.gnome.caribou.gschema.xml +%{_libdir}/libcaribou.so.0* +%{_libdir}/gnome-settings-daemon-3.0/gtk-modules/caribou-gtk-module.desktop +%{_libexecdir}/caribou + +%files -n python3-caribou +%{python3_sitelib}/caribou + +%files devel +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/caribou-1.0.pc +%{_datadir}/gir-1.0/Caribou-1.0.gir +%{_datadir}/vala + +%files gtk2-module +%{_libdir}/gtk-2.0/modules/libcaribou-gtk-module.so + +%files gtk3-module +%{_libdir}/gtk-3.0/modules/libcaribou-gtk-module.so + +%files antler +%{_datadir}/antler +%{_datadir}/dbus-1/services/org.gnome.Caribou.Antler.service +%{_libexecdir}/antler-keyboard +%{_datadir}/glib-2.0/schemas/org.gnome.antler.gschema.xml + + +%changelog +* Wed Jan 19 2022 Fedora Release Engineering - 0.4.21-29 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jul 21 2021 Fedora Release Engineering - 0.4.21-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 0.4.21-27 +- Rebuilt for Python 3.10 + +* Tue Apr 20 2021 Leigh Scott - 0.4.21-26 +- Fix build (rhbz#1951450) + +* Tue Jan 26 2021 Fedora Release Engineering - 0.4.21-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jan 13 2021 Leigh Scott - 0.4.21-24 +- Fix last commit + +* Wed Jan 13 2021 Leigh Scott - 0.4.21-23 +- Patch to fix crash + +* Mon Jul 27 2020 Fedora Release Engineering - 0.4.21-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 0.4.21-21 +- Rebuilt for Python 3.9 + +* Tue Jan 28 2020 Fedora Release Engineering - 0.4.21-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jan 10 2020 Leigh Scott - 0.4.21-19 +- Remove all if defs as the python2 sub-package was removed + +* Wed Jan 08 2020 Leigh Scott - 0.4.21-18 +- Fix style.css issue (rhbz#1789053) + +* Thu Oct 03 2019 Miro Hrončok - 0.4.21-17 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 0.4.21-16 +- Rebuilt for Python 3.8 + +* Wed Jul 24 2019 Fedora Release Engineering - 0.4.21-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 0.4.21-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Nov 12 2018 Miro Hrončok - 0.4.21-13 +- Remove python2 subpackage (#1628174) + +* Thu Jul 12 2018 Fedora Release Engineering - 0.4.21-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 0.4.21-11 +- Rebuilt for Python 3.7 + +* Mon May 07 2018 Pete Walter - 0.4.21-10 +- Bump release so it's not covered by fedora-obsolete-packages (#1568670) + +* Tue May 01 2018 Leigh Scott - 0.4.21-9 +- Fix gnome missing schema issue + +* Sat Apr 28 2018 Leigh Scott - 0.4.21-8 +- Unretire +- Change autostart as gnome-shell has it's own builtin OSK application + +* Wed Feb 07 2018 Fedora Release Engineering - 0.4.21-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Feb 03 2018 Igor Gnatenko - 0.4.21-6 +- Switch to %%ldconfig_scriptlets + +* Wed Aug 02 2017 Fedora Release Engineering - 0.4.21-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.4.21-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.4.21-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 0.4.21-2 +- Rebuild for Python 3.6 + +* Sun Jul 24 2016 Parag Nemade - 0.4.21-1 +- Update to 0.4.21 + +* Tue Jul 19 2016 Fedora Release Engineering - 0.4.20-3 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Jun 30 2016 Parag Nemade - 0.4.20-2 +- Resolves:rh#1324995: caribou-preferences string import error +- Use %%license for COPYING +- move python-caribou to python2-caribou +- Add virtual provides for python packages + +* Tue Feb 16 2016 Richard Hughes - 0.4.20-1 +- Update to 0.4.20 + +* Wed Feb 03 2016 Fedora Release Engineering - 0.4.19-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Nov 10 2015 Fedora Release Engineering - 0.4.19-2 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Wed Oct 14 2015 Parag Nemade - 0.4.19-1 +- Update to 0.4.19 + +* Fri Oct 09 2015 Parag Nemade - 0.4.18.1-3 +- Resolves:rh#1228935: gnome-shell: strlen(): gnome-shell killed by SIGSEGV + +* Wed Jun 17 2015 Fedora Release Engineering - 0.4.18.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Apr 15 2015 Kalev Lember - 0.4.18.1-1 +- Update to 0.4.18.1 + +* Thu Apr 09 2015 Parag Nemade - 0.4.18-3 +- Resolves:rh#1210302: Fix dependencies for python{,3}-caribou + +* Thu Apr 02 2015 Parag Nemade - 0.4.18-2 +- Change Cariou to pull python3-caribou default in F23 + +* Mon Mar 23 2015 Kalev Lember - 0.4.18-1 +- Update to 0.4.18 + +* Fri Feb 20 2015 Parag Nemade - 0.4.17-2 +- Added python3 subpackage + +* Tue Feb 17 2015 Parag Nemade - 0.4.17-1 +- Update to 0.4.17 + +* Tue Nov 25 2014 Parag Nemade - 0.4.16-1 +- Update to 0.4.16 + +* Tue Sep 16 2014 Parag Nemade - 0.4.15-1 +- Update to 0.4.15 + +* Sun Sep 07 2014 Kalev Lember - 0.4.14-2 +- Fix a possible crash with new dbus activation code (#1138934) + +* Wed Sep 03 2014 Kalev Lember - 0.4.14-1 +- Update to 0.4.14 + +* Fri Aug 15 2014 Fedora Release Engineering - 0.4.13-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Tue Jul 22 2014 Kalev Lember - 0.4.13-6 +- Rebuilt for gobject-introspection 1.41.4 + +* Sat Jun 07 2014 Fedora Release Engineering - 0.4.13-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu Feb 20 2014 Kalev Lember - 0.4.13-4 +- Rebuilt for cogl soname bump + +* Mon Feb 10 2014 Peter Hutterer - 0.4.13-3 +- Rebuild for libevdev soname bump + +* Wed Feb 05 2014 Kalev Lember - 0.4.13-2 +- Rebuilt for cogl soname bump + +* Tue Nov 19 2013 Richard Hughes - 0.4.13-1 +- Update to 0.4.13 + +* Sat Aug 24 2013 Parag Nemade - 0.4.12-1 +- Update to 0.4.12 + +* Fri Aug 09 2013 Kalev Lember - 0.4.11-3 +- Rebuilt for cogl 1.15.4 soname bump + +* Sat Aug 03 2013 Fedora Release Engineering - 0.4.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Jun 10 2013 Parag Nemade - 0.4.11-1 +- Update to 0.4.11 + +* Wed Mar 20 2013 Richard Hughes - 0.4.10-1 +- Update to 0.4.10 + +* Mon Mar 04 2013 Parag Nemade - 0.4.9-1 +- Update to 0.4.9 + +* Thu Feb 21 2013 Kalev Lember - 0.4.8-2 +- Rebuilt for cogl soname bump + +* Tue Feb 19 2013 Parag Nemade - 0.4.8-1 +- Update to 0.4.8 + +* Wed Feb 13 2013 Fedora Release Engineering - 0.4.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Jan 16 2013 Parag Nemade - 0.4.7-2 +- vala .vapi and .deps files should be installed by -devel + +* Wed Jan 16 2013 Parag Nemade - 0.4.7-1 +- Update to 0.4.7 + +* Thu Dec 20 2012 Parag Nemade - 0.4.6-1 +- Update to 0.4.6 + +* Tue Dec 18 2012 Parag Nemade - 0.4.5-1 +- Update to 0.4.5 +- Resolves:rh#744852 - Pressing | in on-screen keyboard produces < +- Resolves:rh#880379 - Another service acquired %%s, quitting.. +- Resolves:rh#880382 + +* Wed Nov 21 2012 Parag Nemade - 0.4.4.2-6 +- Resolves:rh#878716 - need some spec cleanup + +* Thu Nov 15 2012 Parag Nemade - 0.4.4.2-5 +- Apply patch1 + +* Tue Nov 13 2012 Parag Nemade - 0.4.4.2-4 +- Patch from Rui Matos for exec python in shell shim scripts + +* Tue Nov 13 2012 Parag Nemade - 0.4.4.2-3 +- Fix multilib patch + +* Tue Nov 13 2012 Rui Matos - 0.4.4.2-2 +- Fix dependencies, caribou and antler both need python-caribou + +* Tue Nov 13 2012 Parag Nemade - 0.4.4.2-1 +- Update to 0.4.4.2 release + +* Thu Sep 06 2012 Richard Hughes - 0.4.4-1 +- Update to 0.4.4 + +* Wed Jul 25 2012 Kalev Lember - 0.4.3-3 +- Correct the obsoletes + +* Tue Jul 24 2012 Kalev Lember - 0.4.3-2 +- Obsolete gok + +* Thu Jul 19 2012 Parag Nemade - 0.4.3-1 +- Update to 0.4.3 release + +* Wed Jul 18 2012 Fedora Release Engineering - 0.4.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Mar 27 2012 Parag Nemade - 0.4.2-1 +- Update to 0.4.2 release + +* Tue Feb 07 2012 Parag Nemade - 0.4.1-5 +- Resolves:rh#768033 - Update Requires for caribou + +* Thu Jan 12 2012 Fedora Release Engineering - 0.4.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Dec 09 2011 Parag Nemade - 0.4.1-3 +- split package to subpackages -gtk2-module, -gtk3-module, -antler and python-caribou + +* Thu Nov 17 2011 Parag Nemade - 0.4.1-2 +- Resolves:rh#753149 - Upgraded F15 -> F16 gnome fails - wrong version of caribou + +* Tue Oct 18 2011 Parag Nemade - 0.4.1-1 +- upstream release 0.4.1 + +* Tue Sep 27 2011 Parag Nemade - 0.4.0-1 +- upstream release 0.4.0 + +* Tue Sep 20 2011 Parag Nemade - 0.3.92-1 +- upstream release 0.3.92 + +* Tue Sep 06 2011 Parag Nemade - 0.3.91-1 +- Update to new upstream release 0.3.91 + +* Wed Aug 31 2011 Matthias Clasen - 0.3.5-2 +- Rebuild with pygobject3 + +* Thu Aug 18 2011 Matthias Clasen - 0.3.5-1 +- Update to 0.3.5 + +* Tue Jul 05 2011 Parag Nemade - 0.3.3-1 +- Update to new upstream release 0.3.3 + +* Thu Jun 16 2011 Tomas Bzatek - 0.3.2-2 +- Tweak BuildRequires + +* Tue Jun 14 2011 Parag Nemade - 0.3.2-1 +- Update to new upstream release 0.3.2 + +* Fri May 6 2011 Christopher Aillon - 0.2.00-3 +- Update scriptlets per packaging guidelines + +* Thu May 05 2011 Parag Nemade - 0.2.00-2 +- Caribou now only be shown in GNOME. (rh#698603) +- Add desktop-file-validate for caribou-autostart.desktop +- Add ||: for caribou-autostart.desktop to skip the error. + +* Tue Apr 5 2011 Matthias Clasen - 0.2.00-1 +- Update to 0.2.00 + +* Tue Mar 22 2011 Parag Nemade - 0.1.92-1 +- Update to 0.1.92 + +* Thu Mar 10 2011 Parag Nemade - 0.1.91-1 +- Update to 0.1.91 + +* Thu Mar 10 2011 Parag Nemade - 0.1.7-1 +- Update to 0.1.7 + +* Tue Feb 08 2011 Fedora Release Engineering - 0.1.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Jul 21 2010 David Malcolm - 0.1.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Mon Jul 12 2010 Matthias Clasen - 0.1.5-1 +- Update to 0.1.5 + +* Wed Jun 16 2010 Matthias Clasen - 0.1.2-3 +- Require pyatspi, not at-spi-python + +* Sat May 29 2010 Matthias Clasen - 0.1.2-2 +- Rewrite spec for autotools + +* Fri May 28 2010 Matthias Clasen - 0.1.2-1 +- Update to 0.1.2 + +* Wed Jan 21 2009 Ben Konrath - 0.0.2-1 +- Initial release.