From 00d454d75062f56614cd6fe06eb407ca0c245e6f Mon Sep 17 00:00:00 2001 From: Kou Wenqi Date: Tue, 6 Sep 2022 16:57:25 +0800 Subject: [PATCH] Drop intltool requirement from autogen.sh intltool is not used by libxklavier. --- autogen.sh-Drop-intltool-requirement.patch | 32 ++++++++++++++++++++++ libxklavier.spec | 7 ++++- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 autogen.sh-Drop-intltool-requirement.patch diff --git a/autogen.sh-Drop-intltool-requirement.patch b/autogen.sh-Drop-intltool-requirement.patch new file mode 100644 index 0000000..befc1de --- /dev/null +++ b/autogen.sh-Drop-intltool-requirement.patch @@ -0,0 +1,32 @@ +From 4590ef4cb64b9a2fc45b82bd06a6358ff3aed1f3 Mon Sep 17 00:00:00 2001 +From: Michael Biebl +Date: Thu, 20 Oct 2016 19:14:14 +0200 +Subject: [PATCH] autogen.sh: Drop intltool requirement + +intltool is not used by libxklavier. + +Bug: https://bugs.freedesktop.org/show_bug.cgi?id=98363 +--- + autogen.sh | 6 ------ + 1 file changed, 6 deletions(-) + +diff --git a/autogen.sh b/autogen.sh +index c0b4dcf..279d1e9 100755 +--- a/autogen.sh ++++ b/autogen.sh +@@ -13,12 +13,6 @@ if test -z $GTKDOCIZE; then + exit 1 + fi + +-INTLTOOLIZE=`which intltoolize` +-if test -z $INTLTOOLIZE; then +- echo "*** No intltoolize found, please install the intltool package ***" +- exit 1 +-fi +- + AUTORECONF=`which autoreconf` + if test -z $AUTORECONF; then + echo "*** No autoreconf found, please install it ***" +-- +2.9.3 + diff --git a/libxklavier.spec b/libxklavier.spec index 80d81df..a57b6a4 100644 --- a/libxklavier.spec +++ b/libxklavier.spec @@ -1,11 +1,13 @@ Name: libxklavier Version: 5.4 -Release: 20 +Release: 21 Summary: Library with X keyboard related functions License: LGPLv2+ URL: https://www.freedesktop.org/wiki/Software/LibXklavier Source0: http://people.freedesktop.org/~svu/%{name}-%{version}.tar.bz2 +Patch9001: autogen.sh-Drop-intltool-requirement.patch + BuildRequires: make libX11-devel libxml2-devel iso-codes-devel glib2-devel libxkbfile-devel BuildRequires: libXi-devel gobject-introspection-devel Requires: iso-codes @@ -60,6 +62,9 @@ make check %{_datadir}/gtk-doc/* %changelog +* Tue Sep 6 2022 kouwenqi - 5.4-21 +- Drop intltool requirement from autogen.sh + * Wed Apr 6 2022 liuyumeng1 -5.4-20 - enable tests