Drop intltool requirement from autogen.sh

intltool is not used by libxklavier.
This commit is contained in:
Kou Wenqi 2022-09-06 16:57:25 +08:00
parent 3492c26e9a
commit 00d454d750
2 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,32 @@
From 4590ef4cb64b9a2fc45b82bd06a6358ff3aed1f3 Mon Sep 17 00:00:00 2001
From: Michael Biebl <biebl@debian.org>
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

View File

@ -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 <kouwenqi@kylinos.cn> - 5.4-21
- Drop intltool requirement from autogen.sh
* Wed Apr 6 2022 liuyumeng1 <liuyumeng5@h-partners.com> -5.4-20
- enable tests