Skip to content

Commit 47f5b58

Browse files
author
descender
committed
* configure.ac, po/Makefile.in.in, po/Makevars: Add version suffix to .mo files. * po/libvisual.pot: Rename to libvisual-0.3.pot. * po/*.po: Merge with new POT file.
1 parent b383ecf commit 47f5b58

File tree

6 files changed

+920
-500
lines changed

6 files changed

+920
-500
lines changed

libvisual/configure.ac

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,12 @@ AC_CHECK_LIB([m], [sqrt], [LIBS="-lm $LIBS"],
137137
AC_MSG_ERROR([*** You need the Standard C Math Library to build Libvisual.]))
138138

139139
# Internationalization
140-
GETTEXT_PACKAGE=libvisual
140+
GETTEXT_PACKAGE="libvisual-${LIBVISUAL_VERSION_SUFFIX}"
141141
AC_SUBST(GETTEXT_PACKAGE)
142142
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [GETTEXT package name])
143143
AC_DEFINE_UNQUOTED(LOCALEDIR, "${prefix}/share/locale", [String catalog location])
144144
AM_GNU_GETTEXT([external])
145+
AM_GNU_GETTEXT_VERSION([0.14.1])
145146

146147
dnl -------------------------------
147148
dnl Check for native thread support
@@ -349,7 +350,7 @@ elif test x"$LV_THREAD_CFLAGS" != x; then
349350
fi
350351
AC_SUBST(VISUAL_PKG_CONFIG_DEP)
351352

352-
VISUAL_LIBS="$LIBS -lvisual${LIBVISUAL_VERSION_SUFFIX}"
353+
VISUAL_LIBS="$LIBS -lvisual-${LIBVISUAL_VERSION_SUFFIX}"
353354
if test x"$LV_THREAD_LIBS" != x; then
354355
VISUAL_LIBS="$LV_THREAD_LIBS $VISUAL_LIBS"
355356
fi

libvisual/po/Makefile.in.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#
1111
# Origin: gettext-0.14
1212

13+
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
14+
1315
PACKAGE = @PACKAGE@
1416
VERSION = @VERSION@
1517

libvisual/po/Makevars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Makefile variables for PO directory in any package using GNU gettext.
22

33
# Usually the message domain is the same as the package name.
4-
DOMAIN = $(PACKAGE)
4+
DOMAIN = $(GETTEXT_PACKAGE)
55

66
# These two variables depend on the location of this directory.
77
subdir = po

0 commit comments

Comments
 (0)