Commit 1873274a authored by Javier Jardón's avatar Javier Jardón
Browse files

Do not depend on intltool: Use upstream gettext instead

gettext recently added GtkBuilder format support, so no need
on depend on intltool anymore
parent 3f951604
......@@ -13,12 +13,6 @@ if test -z $AUTORECONF; then
exit 1
fi
INTLTOOLIZE=`which intltoolize`
if test -z $INTLTOOLIZE; then
echo "*** No intltoolize found, please install the intltool package ***"
exit 1
fi
GNOMEDOC=`which yelp-build`
if test -z $GNOMEDOC; then
echo "*** The tools to build the documentation are not found,"
......@@ -26,10 +20,7 @@ if test -z $GNOMEDOC; then
exit 1
fi
mkdir -p build-aux
autopoint --force
AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
autoreconf --force --install --verbose
cd $olddir
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
......@@ -138,9 +138,7 @@ AC_RUN_IFELSE(
dnl ------------------
dnl | Language Support |---------------------------------------
dnl ------------------
IT_PROG_INTLTOOL([0.41.0])
AM_GNU_GETTEXT_VERSION([0.18.1])
AM_GNU_GETTEXT_VERSION([0.18.3])
AM_GNU_GETTEXT([external])
AC_SUBST([GETTEXT_PACKAGE], [giggle])
......
......@@ -2,11 +2,7 @@ gladedir = $(datadir)/giggle/glade
dist_glade_DATA = \
main-window.ui
desktop_in_data=giggle.desktop.in
desktop_DATA=$(desktop_in_data:.desktop.in=.desktop)
desktop_DATA=giggle.desktop
desktopdir=$(datadir)/applications
@INTLTOOL_DESKTOP_RULE@
CLEANFILES=$(desktop_DATA)
EXTRA_DIST=giggle.desktop.in
EXTRA_DIST=$(desktop_DATA)
[Desktop Entry]
Version=1.0
Type=Application
_Name=Giggle
_Comment=Git repository viewer
Name=Giggle
Exec=giggle %F
Icon=giggle
StartupNotify=true
......
......@@ -17,12 +17,12 @@ AM_LDFLAGS = \
plugin_LTLIBRARIES = \
libpersonal-details.la
dist_plugin_DATA = \
personal-details.xml
personal-details.ui
noinst_LTLIBRARIES = \
libhello-world.la
dist_noinst_DATA = \
hello-world.xml
hello-world.ui
libhello_world_la_SOURCES = \
giggle-hello-world-plugin.c
......@@ -46,7 +46,7 @@ if USE_VTE
plugin_LTLIBRARIES += \
libterminal-view.la
dist_plugin_DATA += \
terminal-view.xml
terminal-view.ui
libterminal_view_la_SOURCES = \
giggle-view-terminal-plugin.c \
giggle-view-terminal.c \
......
# Makefile variables for PO directory in any package using GNU gettext.
# Usually the message domain is the same as the package name.
DOMAIN = $(PACKAGE)
# These two variables depend on the location of this directory.
subdir = po
top_builddir = ..
# These options get passed to xgettext.
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --from-code=UTF-8
# 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
# package. (Note that the msgstr strings, extracted from the package's
# sources, belong to the copyright holder of the package.) Translators are
# expected to transfer the copyright for their translations to this person
# or entity, or to disclaim their copyright. The empty string stands for
# the public domain; in this case the translators are expected to disclaim
# their copyright.
COPYRIGHT_HOLDER = Free Software Foundation, Inc.
# This is the email address or URL to which the translators shall report
# bugs in the untranslated strings:
# - Strings which are not entire sentences, see the maintainer guidelines
# in the GNU gettext documentation, section 'Preparing Strings'.
# - Strings which use unclear terms or require additional context to be
# understood.
# - Strings which make invalid assumptions about notation of date, time or
# money.
# - Pluralisation problems.
# - Incorrect English spelling.
# - Incorrect formatting.
# It can be your email address, or a mailing list address where translators
# can write to without being subscribed, or the URL of a web page through
# which the translators can contact you.
MSGID_BUGS_ADDRESS =
# This is the list of locale categories, beyond LC_MESSAGES, for which the
# message catalogs shall be used. It is usually empty.
EXTRA_LOCALE_CATEGORIES =
# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
# context. Possible values are "yes" and "no". Set this to yes if the
# package uses functions taking also a message context, like pgettext(), or
# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
USE_MSGCTXT = no
# These options get passed to msgmerge.
# Useful options are in particular:
# --previous to keep previous msgids of translated messages,
# --quiet to reduce the verbosity.
MSGMERGE_OPTIONS =
data/giggle.desktop.in
[type: gettext/glade]data/main-window.ui
data/main-window.ui
libgiggle/giggle-plugin.c
[type: gettext/glade]plugins/hello-world.xml
plugins/hello-world.ui
plugins/giggle-personal-details-window.c
plugins/giggle-view-terminal.c
[type: gettext/glade]plugins/personal-details.xml
[type: gettext/glade]plugins/terminal-view.xml
plugins/personal-details.ui
plugins/terminal-view.ui
src/eggfindbar.c
src/giggle-authors-view.c
src/giggle-branches-view.c
......
Supports Markdown
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