[atomix] 02/03: Add fix-locale-dir.patch.

Markus Koschany apo-guest at moszumanska.debian.org
Mon Apr 27 11:25:16 UTC 2015


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

apo-guest pushed a commit to branch master
in repository atomix.

commit 060c92074779c6c48b2bb2d770b950a7095340fa
Author: Markus Koschany <apo at gambaru.de>
Date:   Mon Apr 27 13:12:35 2015 +0200

    Add fix-locale-dir.patch.
    
    Fix path to installed localized translation files due to Debian specific
    datadir.
---
 debian/changelog                    |  2 ++
 debian/patches/fix-locale-dir.patch | 21 +++++++++++++++++++++
 debian/patches/series               |  1 +
 3 files changed, 24 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ce4165d..49133c3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -32,6 +32,8 @@ atomix (3.16.0-1) unstable; urgency=medium
   * Add fix-incorrect-arrow-click-sensitivity.patch
     Cherry-pick upstream commit f53a3905e790170b1ad5e7f9dcb0c78c7fe841f2
     to fix a bug with selecting nearby atoms.
+  * Add fix-locale-dir.patch and fix incorrect directory of installed
+    translation files due to Debian specific datadir.
 
  -- Markus Koschany <apo at gambaru.de>  Sun, 26 Apr 2015 21:15:24 +0200
 
diff --git a/debian/patches/fix-locale-dir.patch b/debian/patches/fix-locale-dir.patch
new file mode 100644
index 0000000..d6af06b
--- /dev/null
+++ b/debian/patches/fix-locale-dir.patch
@@ -0,0 +1,21 @@
+From: Markus Koschany <apo at gambaru.de>
+Date: Mon, 27 Apr 2015 13:12:12 +0200
+Subject: fix locale dir
+
+---
+ src/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 79ddfac..163ebb7 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -7,7 +7,7 @@ INCLUDES = -I$(top_srcdir) \
+ 	$(WARN_CFLAGS) \
+ 	-DPKGDATADIR="\"$(pkgdatadir)\"" \
+ 	-DDATADIR=\""$(datadir)"\" \
+-	-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
++	-DGNOMELOCALEDIR=\""/usr/share/locale"\" \
+ 	-DSCORESDIR=\""$(scoredir)"\"
+ 
+ bin_PROGRAMS = atomix
diff --git a/debian/patches/series b/debian/patches/series
index 4ca220d..12e403d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 icon-path.patch
 fix-incorrect-arrow-click-sensitivity.patch
+fix-locale-dir.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/atomix.git



More information about the Pkg-games-commits mailing list