Commit b2da36e9 authored by Akira TAGOH's avatar Akira TAGOH

Use the native ITS support in gettext

and drop the dependency of itstool.
To get this working, need to patch out to fix a crash:
http://git.savannah.gnu.org/cgit/gettext.git/commit/?id=a0cab23332a254e3500cac2a3a984472d02180e5
parent a2e0ebf3
...@@ -109,13 +109,6 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package]) ...@@ -109,13 +109,6 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])
AM_GNU_GETTEXT_VERSION([0.19.8]) AM_GNU_GETTEXT_VERSION([0.19.8])
AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT([external])
if test "$os_win32" = "no"; then
AC_PATH_PROG(ITSTOOL, [itstool])
if test -z "$ITSTOOL"; then
AC_MSG_ERROR([The itstool were not found. Please install itstool.])
fi
fi
dnl ========================================================================== dnl ==========================================================================
if test "$os_win32" = "yes"; then if test "$os_win32" = "yes"; then
......
...@@ -8,7 +8,7 @@ subdir = po-conf ...@@ -8,7 +8,7 @@ subdir = po-conf
top_builddir = .. top_builddir = ..
# These options get passed to xgettext. # These options get passed to xgettext.
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --its=$(top_srcdir)/src/fontconfig.its
# This is the copyright holder that gets inserted into the header of the # This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
...@@ -18,7 +18,7 @@ XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ ...@@ -18,7 +18,7 @@ XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
# or entity, or to disclaim their copyright. The empty string stands for # or entity, or to disclaim their copyright. The empty string stands for
# the public domain; in this case the translators are expected to disclaim # the public domain; in this case the translators are expected to disclaim
# their copyright. # their copyright.
COPYRIGHT_HOLDER = Free Software Foundation, Inc. COPYRIGHT_HOLDER = Fontconfig Author(s)
# This tells whether or not to prepend "GNU " prefix to the package # This tells whether or not to prepend "GNU " prefix to the package
# name that gets inserted into the header of the $(DOMAIN).pot file. # name that gets inserted into the header of the $(DOMAIN).pot file.
...@@ -76,3 +76,5 @@ PO_DEPENDS_ON_POT = yes ...@@ -76,3 +76,5 @@ PO_DEPENDS_ON_POT = yes
# "no". Set this to no if the POT file and PO files are maintained # "no". Set this to no if the POT file and PO files are maintained
# externally. # externally.
DIST_DEPENDS_ON_UPDATE_PO = yes DIST_DEPENDS_ON_UPDATE_PO = yes
conf.d/10-autohint.conf
conf.d/10-hinting-full.conf
conf.d/10-hinting-medium.conf
conf.d/10-hinting-none.conf
conf.d/10-hinting-slight.conf
conf.d/10-no-sub-pixel.conf
conf.d/10-scale-bitmap-fonts.conf
conf.d/10-sub-pixel-bgr.conf
conf.d/10-sub-pixel-rgb.conf
conf.d/10-sub-pixel-vbgr.conf
conf.d/10-sub-pixel-vrgb.conf
conf.d/10-unhinted.conf
conf.d/11-lcdfilter-default.conf
conf.d/11-lcdfilter-legacy.conf
conf.d/11-lcdfilter-light.conf
conf.d/20-unhint-small-vera.conf
conf.d/25-unhint-nonlatin.conf
conf.d/30-metric-aliases.conf
conf.d/40-nonlatin.conf
conf.d/45-generic.conf
conf.d/45-latin.conf
conf.d/49-sansserif.conf
conf.d/50-user.conf
conf.d/51-local.conf
conf.d/60-generic.conf
conf.d/60-latin.conf
conf.d/65-fonts-persian.conf
conf.d/65-khmer.conf
conf.d/65-nonlatin.conf
conf.d/69-unifont.conf
conf.d/70-no-bitmaps.conf
conf.d/70-yes-bitmaps.conf
conf.d/80-delicious.conf
conf.d/90-synthetic.conf
...@@ -18,7 +18,7 @@ XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ ...@@ -18,7 +18,7 @@ XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
# or entity, or to disclaim their copyright. The empty string stands for # or entity, or to disclaim their copyright. The empty string stands for
# the public domain; in this case the translators are expected to disclaim # the public domain; in this case the translators are expected to disclaim
# their copyright. # their copyright.
COPYRIGHT_HOLDER = Free Software Foundation, Inc. COPYRIGHT_HOLDER = Fontconfig Author(s)
# This tells whether or not to prepend "GNU " prefix to the package # This tells whether or not to prepend "GNU " prefix to the package
# name that gets inserted into the header of the $(DOMAIN).pot file. # name that gets inserted into the header of the $(DOMAIN).pot file.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment