[SCM] gmtk/master: Use the SONAME as domain for gettext.

sramacher-guest at users.alioth.debian.org sramacher-guest at users.alioth.debian.org
Sat Apr 7 19:41:02 UTC 2012


The following commit has been merged in the master branch:
commit be9bb0eec74c6494a8bfcc24afed4496afe9b4a9
Author: Sebastian Ramacher <s.ramacher at gmx.at>
Date:   Sat Apr 7 21:34:31 2012 +0200

    Use the SONAME as domain for gettext.
    
    This will prevent conflicts between libgmtk0-data and libmgtkX-data in the
    future (Policy §8.2).

diff --git a/debian/libgmtk0-data.install b/debian/libgmtk0-data.install
index 9591896..d993bef 100644
--- a/debian/libgmtk0-data.install
+++ b/debian/libgmtk0-data.install
@@ -1 +1 @@
-usr/share/locale/*/LC_MESSAGES/gmtk.mo
+usr/share/locale/*/LC_MESSAGES/libgmtk0.mo
diff --git a/debian/patches/0003-use-soname-as-domain.patch b/debian/patches/0003-use-soname-as-domain.patch
new file mode 100644
index 0000000..d9a2b46
--- /dev/null
+++ b/debian/patches/0003-use-soname-as-domain.patch
@@ -0,0 +1,20 @@
+Description: Use the SONAME as domain for gettext.
+ This will prevent conflicts between libgmtk0-data and libmgtkX-data in the
+ future (Policy §8.2).
+Author: Sebastian Ramacher <s.ramacher at gmx.at>
+Last-Update: 2012-04-07
+Forwarded: no
+
+diff --git a/configure.ac b/configure.ac
+index a3acf8f..26e4c5b 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,7 +16,7 @@ AC_CONFIG_MACRO_DIR([m4])
+ dnl ***************************************************************************
+ dnl Internatinalization
+ dnl ***************************************************************************
+-GETTEXT_PACKAGE=gmtk
++GETTEXT_PACKAGE=libgmtk0
+ AC_SUBST(GETTEXT_PACKAGE)
+ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 963cda0..fe04dc8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0002-hide-private-symbols.patch
+0003-use-soname-as-domain.patch

-- 
gmtk packaging



More information about the pkg-multimedia-commits mailing list