[X2Go-Commits] [pyhoca-gui] 02/02: Try to build the .po -> .mo files during package build.

git-admin at x2go.org git-admin at x2go.org
Wed Oct 15 23:17:50 CEST 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository pyhoca-gui.

commit e2f0790eb888f474845fe576fe9b7d9185f99a0e
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Oct 15 23:17:44 2014 +0200

    Try to build the .po -> .mo files during package build.
---
 debian/changelog |    1 +
 pyhoca-gui.spec  |    2 ++
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 583a104..04e4f93 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -81,6 +81,7 @@ pyhoca-gui (0.5.0.0-0x2go1) UNRELEASED; urgency=low
     + openSUSE has python-notify whereas Fedora/RHEL has notify-python.
     + openSUSE (at least >= 12.3) has wxPython 2.9. So let's use it. (On openSUSE
       13.1, pyhoca-gui segfaults with wxPython 2.8).
+    + Try to build the .po -> .mo files during package build.
 
   [ Mike DePaulo ]
   * New upstream version (0.5.0.0):
diff --git a/pyhoca-gui.spec b/pyhoca-gui.spec
index b24d34d..c217c71 100644
--- a/pyhoca-gui.spec
+++ b/pyhoca-gui.spec
@@ -13,6 +13,7 @@ URL:            http://www.x2go.org/
 Source0:        http://code.x2go.org/releases/source/%{name}/%{name}-%{version}.tar.gz
 
 BuildArch:      noarch
+BuildRequires:  gettext
 %if 0%{?suse_version}
 BuildRequires:  python-devel
 BuildRequires:  fdupes
@@ -57,6 +58,7 @@ notification area and allows multiple X2Go session handling.
 
 
 %build
+%{__python} setup.py build_i18n
 %{__python} setup.py build
 
 

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git


More information about the x2go-commits mailing list