[Kimchi-devel] [PATCH V2] [Wok] Use correct gettext package for building

Lucio Correia luciojhc at linux.vnet.ibm.com
Tue Dec 15 19:29:19 UTC 2015


The correct gettext package needs to be installed in each
distro in order autogen does not show the following error
messages:
warning: macro 'AM_GNU_GETTEXT' not found in library
warning: macro 'AM_GNU_GETTEXT_VERSION' not found in library

Signed-off-by: Lucio Correia <luciojhc at linux.vnet.ibm.com>
---
 contrib/DEBIAN/control.in  | 1 +
 contrib/wok.spec.fedora.in | 1 +
 contrib/wok.spec.suse.in   | 1 +
 docs/README.md             | 2 +-
 4 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/contrib/DEBIAN/control.in b/contrib/DEBIAN/control.in
index 185b187..9105ea6 100644
--- a/contrib/DEBIAN/control.in
+++ b/contrib/DEBIAN/control.in
@@ -16,6 +16,7 @@ Depends: python-cherrypy3 (>= 3.2.0),
          fonts-font-awesome,
          texlive-fonts-extra
 Build-Depends: xsltproc,
+               gettext,
                openssl,
                python-lxml,
                pkg-config,
diff --git a/contrib/wok.spec.fedora.in b/contrib/wok.spec.fedora.in
index ff7589d..a73ca76 100644
--- a/contrib/wok.spec.fedora.in
+++ b/contrib/wok.spec.fedora.in
@@ -19,6 +19,7 @@ Requires:	python-ldap
 Requires:	python-psutil >= 0.6.0
 Requires:	fontawesome-fonts
 Requires:	open-sans-fonts
+BuildRequires:	gettext-devel
 BuildRequires:	libxslt
 BuildRequires:	openssl
 BuildRequires:	python-lxml
diff --git a/contrib/wok.spec.suse.in b/contrib/wok.spec.suse.in
index 192163b..a13c154 100644
--- a/contrib/wok.spec.suse.in
+++ b/contrib/wok.spec.suse.in
@@ -20,6 +20,7 @@ Requires:	nginx
 Requires:	python-psutil >= 0.6.0
 Requires:	fontawesome-fonts
 Requires:	google-opensans-fonts
+BuildRequires:	gettext-tools
 BuildRequires:	libxslt-tools
 BuildRequires:	openssl
 BuildRequires:	python-lxml
diff --git a/docs/README.md b/docs/README.md
index 1965960..5a2e7c5 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -49,7 +49,7 @@ Install Dependencies
 
 **For Fedora and RHEL:**
 
-     $ sudo yum install gcc make autoconf automake gettext git \
+     $ sudo yum install gcc make autoconf automake gettext-devel git \
                         python-cherrypy python-cheetah python-imaging\
                         PyPAM m2crypto python-jsonschema rpm-build \
                         python-psutil python-ldap python-lxml \
-- 
1.9.1




More information about the Kimchi-devel mailing list