From 487d5c380f93d76b39b0793af920b6ada9f4f508 Mon Sep 17 00:00:00 2001 From: Qiyu Yan Date: Dec 10 2020 14:26:07 +0000 Subject: Remove an unused gnome module(#1905661) --- diff --git a/.gitignore b/.gitignore index 8f91a65..98b1ade 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ -onboard-0.93.0.tar.gz -/onboard-0.94.0.tar.gz -/onboard-1.4.1.tar.gz +/onboard-*.tar.gz +*.rpm \ No newline at end of file diff --git a/0001-remove-tweener.patch b/0001-remove-tweener.patch new file mode 100644 index 0000000..472046b --- /dev/null +++ b/0001-remove-tweener.patch @@ -0,0 +1,24 @@ +From 2aa57868146e96f532141b17a840a51a3badcc1c Mon Sep 17 00:00:00 2001 +From: Qiyu Yan +Date: Thu, 10 Dec 2020 22:18:43 +0800 +Subject: [PATCH] remove tweener + +--- + gnome/Onboard_Indicator@onboard.org/extension.js | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/gnome/Onboard_Indicator@onboard.org/extension.js b/gnome/Onboard_Indicator@onboard.org/extension.js +index 33bca89..0e0eb5b 100644 +--- a/gnome/Onboard_Indicator@onboard.org/extension.js ++++ b/gnome/Onboard_Indicator@onboard.org/extension.js +@@ -27,7 +27,6 @@ + const Clutter = imports.gi.Clutter; + const St = imports.gi.St; + const Main = imports.ui.main; +-const Tweener = imports.ui.tweener; + const Keyboard = imports.ui.keyboard.Keyboard; + const Gio = imports.gi.Gio; + const GLib = imports.gi.GLib; +-- +2.29.2 + diff --git a/onboard-1.4.1-pythonversion.patch b/onboard-1.4.1-pythonversion.patch index af894be..172c22e 100644 --- a/onboard-1.4.1-pythonversion.patch +++ b/onboard-1.4.1-pythonversion.patch @@ -1,5 +1,5 @@ ---- Onboard/IconPalette.py 2017-02-15 09:42:04.000000000 +0100 -+++ Onboard/IconPalette.py 2017-03-10 21:47:16.000000000 +0100 +--- a/Onboard/IconPalette.py 2017-02-15 09:42:04.000000000 +0100 ++++ b/Onboard/IconPalette.py 2017-03-10 21:47:16.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 diff --git a/onboard.spec b/onboard.spec index edbdb4b..015f0bf 100644 --- a/onboard.spec +++ b/onboard.spec @@ -3,7 +3,7 @@ Name: onboard Version: 1.4.1 %global major_version 1.4 -Release: 21%{?dist} +Release: 22%{?dist} Summary: On-screen keyboard for TabletPC and mobility impaired users (Xorg only) # The entire source code is GPLv3 apart from translation strings and @@ -16,6 +16,10 @@ Source0: %{url}%{major_version}/%{version}/+download/onboard-%{versio # Reported (2017-03-10, fixed in the upstream): https://bugs.launchpad.net/onboard/+bug/1671930 Patch0: onboard-1.4.1-pythonversion.patch +# remove an unsupported module +# see: https://bugzilla.redhat.com/show_bug.cgi?id=1905661 +Patch1: 0001-remove-tweener.patch + BuildRequires: gcc-c++ BuildRequires: python3-devel BuildRequires: python3-distutils-extra @@ -45,8 +49,7 @@ without the need of any configuration, as it can read the keyboard layout from the X server. %prep -%setup -q -%patch0 +%autosetup -p1 %build %py3_build @@ -95,6 +98,9 @@ Requires: onboard %{_datadir}/gnome-shell/extensions/Onboard_Indicator@onboard.org %changelog +* Thu Dec 10 22:25:55 CST 2020 Qiyu Yan - 1.4.1-22 +- Remove an unused gnome module(#1905661) + * Wed Nov 25 12:16:04 CST 2020 Qiyu Yan - 1.4.1-21 - drop %%_python_bytecompile_extra and rebuild