mirror of
https://github.com/tstellar/bygfoot.git
synced 2025-01-31 07:54:50 +01:00
Renamed the ui files again to glade as intltool doesn't try to translate .ui files. Updated the autogen chain so intltool is used instead of gettext (it also translate glade files)
Made the menu translatable again (at least partly)
This commit is contained in:
parent
8806302284
commit
9ef49d18ed
File diff suppressed because one or more lines are too long
21
Makefile.in
21
Makefile.in
@ -69,6 +69,7 @@ GZIP_ENV = --best
|
||||
distuninstallcheck_listfiles = find . -type f -print
|
||||
distcleancheck_listfiles = find . -type f -print
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ALL_LINGUAS = @ALL_LINGUAS@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
@ -104,6 +105,10 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTOBJEXT = @INSTOBJEXT@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
|
||||
INTLTOOL_MERGE = @INTLTOOL_MERGE@
|
||||
INTLTOOL_PERL = @INTLTOOL_PERL@
|
||||
INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
@ -115,6 +120,7 @@ MKDIR_P = @MKDIR_P@
|
||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||
MSGFMT = @MSGFMT@
|
||||
MSGFMT_OPTS = @MSGFMT_OPTS@
|
||||
MSGMERGE = @MSGMERGE@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
@ -185,6 +191,11 @@ EXTRA_DIST = \
|
||||
bygfoot.glade \
|
||||
bygfoot.gladep
|
||||
|
||||
DISTCLEANFILES = \
|
||||
intltool-extract \
|
||||
intltool-merge \
|
||||
intltool-update
|
||||
|
||||
SUPPORT_DIRS = support_files support_files/pixmaps \
|
||||
support_files/pixmaps/live_game support_files/pixmaps/symbols \
|
||||
support_files/pixmaps/history support_files/mmedia \
|
||||
@ -1499,10 +1510,13 @@ SUPPORT_FILES = support_files/pixmaps/live_game/save.png \
|
||||
support_files/hints/bygfoot_hints_it \
|
||||
support_files/hints/bygfoot_hints_ro \
|
||||
support_files/hints/bygfoot_hints_el \
|
||||
support_files/bygfoot_help support_files/bygfoot.ui \
|
||||
support_files/bygfoot_help \
|
||||
support_files/bygfoot_training.glade \
|
||||
support_files/bygfoot_misc.glade \
|
||||
support_files/bygfoot_user.conf support_files/bygfoot_tokens \
|
||||
support_files/bygfoot.conf support_files/bygfoot_constants \
|
||||
support_files/bygfoot_app
|
||||
support_files/bygfoot.conf support_files/bygfoot.glade \
|
||||
support_files/bygfoot_misc3.glade \
|
||||
support_files/bygfoot_constants support_files/bygfoot_app
|
||||
all: config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
|
||||
@ -1863,6 +1877,7 @@ clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
|
@ -28,7 +28,7 @@ fi
|
||||
DIE=1
|
||||
}
|
||||
|
||||
(grep "^AC_PROG_INTLTOOL" $srcdir/configure.in >/dev/null) && {
|
||||
(grep "^IT_PROG_INTLTOOL" $srcdir/configure.in >/dev/null) && {
|
||||
(intltoolize --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "**Error**: You must have \`intltool' installed."
|
||||
@ -120,7 +120,7 @@ do
|
||||
echo "Making $dr/aclocal.m4 writable ..."
|
||||
test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4
|
||||
fi
|
||||
if grep "^AC_PROG_INTLTOOL" configure.in >/dev/null; then
|
||||
if grep "^IT_PROG_INTLTOOL" configure.in >/dev/null; then
|
||||
echo "Running intltoolize..."
|
||||
intltoolize --copy --force --automake
|
||||
fi
|
||||
|
750
configure
vendored
750
configure
vendored
@ -649,18 +649,43 @@ PO_IN_DATADIR_TRUE
|
||||
INTLLIBS
|
||||
INSTOBJEXT
|
||||
GMOFILES
|
||||
DATADIRNAME
|
||||
CATOBJEXT
|
||||
CATALOGS
|
||||
XGETTEXT
|
||||
GMSGFMT
|
||||
MSGFMT_OPTS
|
||||
MSGFMT
|
||||
USE_NLS
|
||||
GETTEXT_PACKAGE
|
||||
PACKAGE_LIBS
|
||||
PACKAGE_CFLAGS
|
||||
PKG_CONFIG
|
||||
DATADIRNAME
|
||||
ALL_LINGUAS
|
||||
INTLTOOL_PERL
|
||||
GMSGFMT
|
||||
MSGFMT
|
||||
MSGMERGE
|
||||
XGETTEXT
|
||||
INTLTOOL_POLICY_RULE
|
||||
INTLTOOL_SERVICE_RULE
|
||||
INTLTOOL_THEME_RULE
|
||||
INTLTOOL_SCHEMAS_RULE
|
||||
INTLTOOL_CAVES_RULE
|
||||
INTLTOOL_XML_NOMERGE_RULE
|
||||
INTLTOOL_XML_RULE
|
||||
INTLTOOL_KBD_RULE
|
||||
INTLTOOL_XAM_RULE
|
||||
INTLTOOL_UI_RULE
|
||||
INTLTOOL_SOUNDLIST_RULE
|
||||
INTLTOOL_SHEET_RULE
|
||||
INTLTOOL_SERVER_RULE
|
||||
INTLTOOL_PONG_RULE
|
||||
INTLTOOL_OAF_RULE
|
||||
INTLTOOL_PROP_RULE
|
||||
INTLTOOL_KEYS_RULE
|
||||
INTLTOOL_DIRECTORY_RULE
|
||||
INTLTOOL_DESKTOP_RULE
|
||||
INTLTOOL_EXTRACT
|
||||
INTLTOOL_MERGE
|
||||
INTLTOOL_UPDATE
|
||||
USE_NLS
|
||||
HAVE_WINDRES_FALSE
|
||||
HAVE_WINDRES_TRUE
|
||||
EGREP
|
||||
@ -750,6 +775,7 @@ ac_user_opts='
|
||||
enable_option_checking
|
||||
enable_maintainer_mode
|
||||
enable_dependency_tracking
|
||||
enable_nls
|
||||
enable_gstreamer
|
||||
with_localedir
|
||||
'
|
||||
@ -1395,6 +1421,7 @@ Optional Features:
|
||||
(and sometimes confusing) to the casual installer
|
||||
--disable-dependency-tracking speeds up one-time build
|
||||
--enable-dependency-tracking do not reject slow dependency extractors
|
||||
--disable-nls do not use Native Language Support
|
||||
--enable-gstreamer use GStreamer for media
|
||||
|
||||
Optional Packages:
|
||||
@ -5707,6 +5734,692 @@ else
|
||||
fi
|
||||
|
||||
|
||||
{ $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
|
||||
$as_echo_n "checking whether NLS is requested... " >&6; }
|
||||
# Check whether --enable-nls was given.
|
||||
if test "${enable_nls+set}" = set; then
|
||||
enableval=$enable_nls; USE_NLS=$enableval
|
||||
else
|
||||
USE_NLS=yes
|
||||
fi
|
||||
|
||||
{ $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
|
||||
$as_echo "$USE_NLS" >&6; }
|
||||
|
||||
|
||||
|
||||
|
||||
case "$am__api_version" in
|
||||
1.01234)
|
||||
{ { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
|
||||
$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
if test -n "0.35.0"; then
|
||||
{ $as_echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
|
||||
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
|
||||
|
||||
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
|
||||
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
|
||||
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
|
||||
|
||||
{ $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
|
||||
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
|
||||
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
|
||||
{ { $as_echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.35.0 or later." >&5
|
||||
$as_echo "$as_me: error: Your intltool is too old. You need intltool 0.35.0 or later." >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
|
||||
# Extract the first word of "intltool-update", so it can be a program name with args.
|
||||
set dummy intltool-update; ac_word=$2
|
||||
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
||||
$as_echo_n "checking for $ac_word... " >&6; }
|
||||
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
case $INTLTOOL_UPDATE in
|
||||
[\\/]* | ?:[\\/]*)
|
||||
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
|
||||
;;
|
||||
*)
|
||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||
for as_dir in $PATH
|
||||
do
|
||||
IFS=$as_save_IFS
|
||||
test -z "$as_dir" && as_dir=.
|
||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
||||
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
|
||||
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||
break 2
|
||||
fi
|
||||
done
|
||||
done
|
||||
IFS=$as_save_IFS
|
||||
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
|
||||
if test -n "$INTLTOOL_UPDATE"; then
|
||||
{ $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
|
||||
$as_echo "$INTLTOOL_UPDATE" >&6; }
|
||||
else
|
||||
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
# Extract the first word of "intltool-merge", so it can be a program name with args.
|
||||
set dummy intltool-merge; ac_word=$2
|
||||
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
||||
$as_echo_n "checking for $ac_word... " >&6; }
|
||||
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
case $INTLTOOL_MERGE in
|
||||
[\\/]* | ?:[\\/]*)
|
||||
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
|
||||
;;
|
||||
*)
|
||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||
for as_dir in $PATH
|
||||
do
|
||||
IFS=$as_save_IFS
|
||||
test -z "$as_dir" && as_dir=.
|
||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
||||
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
|
||||
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||
break 2
|
||||
fi
|
||||
done
|
||||
done
|
||||
IFS=$as_save_IFS
|
||||
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
|
||||
if test -n "$INTLTOOL_MERGE"; then
|
||||
{ $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
|
||||
$as_echo "$INTLTOOL_MERGE" >&6; }
|
||||
else
|
||||
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
# Extract the first word of "intltool-extract", so it can be a program name with args.
|
||||
set dummy intltool-extract; ac_word=$2
|
||||
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
||||
$as_echo_n "checking for $ac_word... " >&6; }
|
||||
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
case $INTLTOOL_EXTRACT in
|
||||
[\\/]* | ?:[\\/]*)
|
||||
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
|
||||
;;
|
||||
*)
|
||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||
for as_dir in $PATH
|
||||
do
|
||||
IFS=$as_save_IFS
|
||||
test -z "$as_dir" && as_dir=.
|
||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
||||
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
|
||||
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||
break 2
|
||||
fi
|
||||
done
|
||||
done
|
||||
IFS=$as_save_IFS
|
||||
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
|
||||
if test -n "$INTLTOOL_EXTRACT"; then
|
||||
{ $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
|
||||
$as_echo "$INTLTOOL_EXTRACT" >&6; }
|
||||
else
|
||||
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
|
||||
{ { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
|
||||
$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
|
||||
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
|
||||
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
|
||||
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
|
||||
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
|
||||
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
|
||||
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
|
||||
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
|
||||
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
|
||||
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
|
||||
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
|
||||
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
|
||||
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
|
||||
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
|
||||
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
|
||||
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
|
||||
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
|
||||
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
|
||||
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
|
||||
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Check the gettext tools to make sure they are GNU
|
||||
# Extract the first word of "xgettext", so it can be a program name with args.
|
||||
set dummy xgettext; ac_word=$2
|
||||
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
||||
$as_echo_n "checking for $ac_word... " >&6; }
|
||||
if test "${ac_cv_path_XGETTEXT+set}" = set; then
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
case $XGETTEXT in
|
||||
[\\/]* | ?:[\\/]*)
|
||||
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
|
||||
;;
|
||||
*)
|
||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||
for as_dir in $PATH
|
||||
do
|
||||
IFS=$as_save_IFS
|
||||
test -z "$as_dir" && as_dir=.
|
||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
||||
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
|
||||
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||
break 2
|
||||
fi
|
||||
done
|
||||
done
|
||||
IFS=$as_save_IFS
|
||||
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
XGETTEXT=$ac_cv_path_XGETTEXT
|
||||
if test -n "$XGETTEXT"; then
|
||||
{ $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
|
||||
$as_echo "$XGETTEXT" >&6; }
|
||||
else
|
||||
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
# Extract the first word of "msgmerge", so it can be a program name with args.
|
||||
set dummy msgmerge; ac_word=$2
|
||||
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
||||
$as_echo_n "checking for $ac_word... " >&6; }
|
||||
if test "${ac_cv_path_MSGMERGE+set}" = set; then
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
case $MSGMERGE in
|
||||
[\\/]* | ?:[\\/]*)
|
||||
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
|
||||
;;
|
||||
*)
|
||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||
for as_dir in $PATH
|
||||
do
|
||||
IFS=$as_save_IFS
|
||||
test -z "$as_dir" && as_dir=.
|
||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
||||
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
|
||||
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||
break 2
|
||||
fi
|
||||
done
|
||||
done
|
||||
IFS=$as_save_IFS
|
||||
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
MSGMERGE=$ac_cv_path_MSGMERGE
|
||||
if test -n "$MSGMERGE"; then
|
||||
{ $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
|
||||
$as_echo "$MSGMERGE" >&6; }
|
||||
else
|
||||
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
# Extract the first word of "msgfmt", so it can be a program name with args.
|
||||
set dummy msgfmt; ac_word=$2
|
||||
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
||||
$as_echo_n "checking for $ac_word... " >&6; }
|
||||
if test "${ac_cv_path_MSGFMT+set}" = set; then
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
case $MSGFMT in
|
||||
[\\/]* | ?:[\\/]*)
|
||||
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
|
||||
;;
|
||||
*)
|
||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||
for as_dir in $PATH
|
||||
do
|
||||
IFS=$as_save_IFS
|
||||
test -z "$as_dir" && as_dir=.
|
||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
||||
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
|
||||
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||
break 2
|
||||
fi
|
||||
done
|
||||
done
|
||||
IFS=$as_save_IFS
|
||||
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
MSGFMT=$ac_cv_path_MSGFMT
|
||||
if test -n "$MSGFMT"; then
|
||||
{ $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
|
||||
$as_echo "$MSGFMT" >&6; }
|
||||
else
|
||||
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
# Extract the first word of "gmsgfmt", so it can be a program name with args.
|
||||
set dummy gmsgfmt; ac_word=$2
|
||||
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
||||
$as_echo_n "checking for $ac_word... " >&6; }
|
||||
if test "${ac_cv_path_GMSGFMT+set}" = set; then
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
case $GMSGFMT in
|
||||
[\\/]* | ?:[\\/]*)
|
||||
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
|
||||
;;
|
||||
*)
|
||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||
for as_dir in $PATH
|
||||
do
|
||||
IFS=$as_save_IFS
|
||||
test -z "$as_dir" && as_dir=.
|
||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
||||
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
|
||||
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||
break 2
|
||||
fi
|
||||
done
|
||||
done
|
||||
IFS=$as_save_IFS
|
||||
|
||||
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
GMSGFMT=$ac_cv_path_GMSGFMT
|
||||
if test -n "$GMSGFMT"; then
|
||||
{ $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
|
||||
$as_echo "$GMSGFMT" >&6; }
|
||||
else
|
||||
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
|
||||
{ { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
|
||||
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
|
||||
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
|
||||
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
|
||||
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
|
||||
{ { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
|
||||
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
|
||||
# Extract the first word of "perl", so it can be a program name with args.
|
||||
set dummy perl; ac_word=$2
|
||||
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
||||
$as_echo_n "checking for $ac_word... " >&6; }
|
||||
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
case $INTLTOOL_PERL in
|
||||
[\\/]* | ?:[\\/]*)
|
||||
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
|
||||
;;
|
||||
*)
|
||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||
for as_dir in $PATH
|
||||
do
|
||||
IFS=$as_save_IFS
|
||||
test -z "$as_dir" && as_dir=.
|
||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
||||
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
|
||||
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||
break 2
|
||||
fi
|
||||
done
|
||||
done
|
||||
IFS=$as_save_IFS
|
||||
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
|
||||
if test -n "$INTLTOOL_PERL"; then
|
||||
{ $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
|
||||
$as_echo "$INTLTOOL_PERL" >&6; }
|
||||
else
|
||||
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
if test -z "$INTLTOOL_PERL"; then
|
||||
{ { $as_echo "$as_me:$LINENO: error: perl not found" >&5
|
||||
$as_echo "$as_me: error: perl not found" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
|
||||
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
|
||||
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
|
||||
if test $? -ne 0; then
|
||||
{ { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
|
||||
$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
else
|
||||
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
|
||||
{ $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
|
||||
$as_echo "$IT_PERL_VERSION" >&6; }
|
||||
fi
|
||||
if test "x" != "xno-xml"; then
|
||||
{ $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
|
||||
$as_echo_n "checking for XML::Parser... " >&6; }
|
||||
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
|
||||
{ $as_echo "$as_me:$LINENO: result: ok" >&5
|
||||
$as_echo "ok" >&6; }
|
||||
else
|
||||
{ { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
|
||||
$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
fi
|
||||
|
||||
# Substitute ALL_LINGUAS so we can use it in po/Makefile
|
||||
|
||||
|
||||
# Set DATADIRNAME correctly if it is not set yet
|
||||
# (copied from glib-gettext.m4)
|
||||
if test -z "$DATADIRNAME"; then
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
cat confdefs.h >>conftest.$ac_ext
|
||||
cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
extern int _nl_msg_cat_cntr;
|
||||
return _nl_msg_cat_cntr
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
rm -f conftest.$ac_objext conftest$ac_exeext
|
||||
if { (ac_try="$ac_link"
|
||||
case "(($ac_try" in
|
||||
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
||||
*) ac_try_echo=$ac_try;;
|
||||
esac
|
||||
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
||||
$as_echo "$ac_try_echo") >&5
|
||||
(eval "$ac_link") 2>conftest.er1
|
||||
ac_status=$?
|
||||
grep -v '^ *+' conftest.er1 >conftest.err
|
||||
rm -f conftest.er1
|
||||
cat conftest.err >&5
|
||||
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); } && {
|
||||
test -z "$ac_c_werror_flag" ||
|
||||
test ! -s conftest.err
|
||||
} && test -s conftest$ac_exeext && {
|
||||
test "$cross_compiling" = yes ||
|
||||
$as_test_x conftest$ac_exeext
|
||||
}; then
|
||||
DATADIRNAME=share
|
||||
else
|
||||
$as_echo "$as_me: failed program was:" >&5
|
||||
sed 's/^/| /' conftest.$ac_ext >&5
|
||||
|
||||
case $host in
|
||||
*-*-solaris*)
|
||||
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
|
||||
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
|
||||
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
cat confdefs.h >>conftest.$ac_ext
|
||||
cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
|
||||
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
||||
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
|
||||
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char bind_textdomain_codeset (); below.
|
||||
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
||||
<limits.h> exists even on freestanding compilers. */
|
||||
|
||||
#ifdef __STDC__
|
||||
# include <limits.h>
|
||||
#else
|
||||
# include <assert.h>
|
||||
#endif
|
||||
|
||||
#undef bind_textdomain_codeset
|
||||
|
||||
/* Override any GCC internal prototype to avoid an error.
|
||||
Use char because int might match the return type of a GCC
|
||||
builtin and then its argument prototype would still apply. */
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
char bind_textdomain_codeset ();
|
||||
/* The GNU C library defines this for functions which it implements
|
||||
to always fail with ENOSYS. Some functions are actually named
|
||||
something starting with __ and the normal name is an alias. */
|
||||
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
|
||||
choke me
|
||||
#endif
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
return bind_textdomain_codeset ();
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
rm -f conftest.$ac_objext conftest$ac_exeext
|
||||
if { (ac_try="$ac_link"
|
||||
case "(($ac_try" in
|
||||
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
||||
*) ac_try_echo=$ac_try;;
|
||||
esac
|
||||
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
||||
$as_echo "$ac_try_echo") >&5
|
||||
(eval "$ac_link") 2>conftest.er1
|
||||
ac_status=$?
|
||||
grep -v '^ *+' conftest.er1 >conftest.err
|
||||
rm -f conftest.er1
|
||||
cat conftest.err >&5
|
||||
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); } && {
|
||||
test -z "$ac_c_werror_flag" ||
|
||||
test ! -s conftest.err
|
||||
} && test -s conftest$ac_exeext && {
|
||||
test "$cross_compiling" = yes ||
|
||||
$as_test_x conftest$ac_exeext
|
||||
}; then
|
||||
ac_cv_func_bind_textdomain_codeset=yes
|
||||
else
|
||||
$as_echo "$as_me: failed program was:" >&5
|
||||
sed 's/^/| /' conftest.$ac_ext >&5
|
||||
|
||||
ac_cv_func_bind_textdomain_codeset=no
|
||||
fi
|
||||
|
||||
rm -rf conftest.dSYM
|
||||
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
fi
|
||||
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
|
||||
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
|
||||
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
|
||||
DATADIRNAME=share
|
||||
else
|
||||
DATADIRNAME=lib
|
||||
fi
|
||||
|
||||
;;
|
||||
*)
|
||||
DATADIRNAME=lib
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
rm -rf conftest.dSYM
|
||||
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
pkg_modules="gtk+-2.0 >= 2.14 glib-2.0 >= 2.12 gmodule-export-2.0"
|
||||
|
||||
|
||||
@ -7883,6 +8596,10 @@ Usually this means the macro was only invoked conditionally." >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
|
||||
ac_config_commands="$ac_config_commands po/stamp-it"
|
||||
|
||||
|
||||
|
||||
: ${CONFIG_STATUS=./config.status}
|
||||
ac_write_fail=0
|
||||
ac_clean_files_save=$ac_clean_files
|
||||
@ -8397,6 +9114,7 @@ do
|
||||
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
||||
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
|
||||
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
|
||||
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
|
||||
|
||||
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
||||
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
||||
@ -9189,6 +9907,28 @@ $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
||||
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
|
||||
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
|
||||
esac ;;
|
||||
"po/stamp-it":C)
|
||||
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
|
||||
{ { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
|
||||
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
|
||||
>"po/stamp-it.tmp"
|
||||
sed '/^#/d
|
||||
s/^[[].*] *//
|
||||
/^[ ]*$/d
|
||||
'"s|^| $ac_top_srcdir/|" \
|
||||
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
|
||||
|
||||
sed '/^POTFILES =/,/[^\\]$/ {
|
||||
/^POTFILES =/!d
|
||||
r po/POTFILES
|
||||
}
|
||||
' "po/Makefile.in" >"po/Makefile"
|
||||
rm -f "po/Makefile.tmp"
|
||||
mv "po/stamp-it.tmp" "po/stamp-it"
|
||||
;;
|
||||
|
||||
esac
|
||||
done # for ac_tag
|
||||
|
@ -10,7 +10,7 @@ AC_PROG_CC
|
||||
AM_PROG_CC_STDC
|
||||
AC_HEADER_STDC
|
||||
AM_CONDITIONAL(HAVE_WINDRES, which windres > /dev/null)
|
||||
|
||||
IT_PROG_INTLTOOL(0.35.0)
|
||||
pkg_modules="gtk+-2.0 >= 2.14 glib-2.0 >= 2.12 gmodule-export-2.0"
|
||||
|
||||
dnl echo -n "checking for gthread-2.0 ... "
|
||||
|
261
po/Makefile.in
261
po/Makefile.in
@ -1,16 +1,21 @@
|
||||
# Makefile for program source directory in GNU NLS utilities package.
|
||||
# Copyright (C) 1995, 1996, 1997 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
|
||||
# Copyright (C) 2004-2008 Rodney Dawes <dobey.pwns@gmail.com>
|
||||
#
|
||||
# This file file be copied and used freely without restrictions. It can
|
||||
# be used in projects which are not available under the GNU Public License
|
||||
# This file may be copied and used freely without restrictions. It may
|
||||
# be used in projects which are not available under a GNU Public License,
|
||||
# but which still want to provide support for the GNU gettext functionality.
|
||||
# Please note that the actual code is *not* freely available.
|
||||
#
|
||||
# - Modified by Owen Taylor <otaylor@redhat.com> to use GETTEXT_PACKAGE
|
||||
# instead of PACKAGE and to look for po2tbl in ./ not in intl/
|
||||
#
|
||||
# - Modified by jacob berkman <jacob@ximian.com> to install
|
||||
# Makefile.in.in and po2tbl.sed.in for use with glib-gettextize
|
||||
#
|
||||
# - Modified by Rodney Dawes <dobey.pwns@gmail.com> for use with intltool
|
||||
#
|
||||
# We have the following line for use by intltoolize:
|
||||
# INTLTOOL_MAKEFILE
|
||||
|
||||
GETTEXT_PACKAGE = bygfoot
|
||||
PACKAGE = bygfoot
|
||||
@ -18,73 +23,70 @@ VERSION = 0.1
|
||||
|
||||
SHELL = /bin/bash
|
||||
|
||||
|
||||
srcdir = .
|
||||
top_srcdir = ..
|
||||
top_builddir = ..
|
||||
|
||||
|
||||
prefix = /usr/local
|
||||
exec_prefix = ${prefix}
|
||||
datarootdir = ${prefix}/share
|
||||
datadir = ${datarootdir}
|
||||
datarootdir = ${prefix}/share
|
||||
libdir = ${exec_prefix}/lib
|
||||
localedir = $(libdir)/locale
|
||||
gnulocaledir = $(datadir)/locale
|
||||
gettextsrcdir = $(datadir)/glib-2.0/gettext/po
|
||||
DATADIRNAME = share
|
||||
itlocaledir = $(prefix)/$(DATADIRNAME)/locale
|
||||
subdir = po
|
||||
install_sh = $(SHELL) /media/disk-1/bygfoot_devel/trunk/bygfoot/trunk/install-sh
|
||||
# Automake >= 1.8 provides /bin/mkdir -p.
|
||||
# Until it can be supposed, use the safe fallback:
|
||||
mkdir_p = $(install_sh) -d
|
||||
|
||||
INSTALL = /usr/bin/install -c
|
||||
INSTALL_DATA = ${INSTALL} -m 644
|
||||
MKINSTALLDIRS = $(top_srcdir)/./mkinstalldirs
|
||||
|
||||
CC = gcc
|
||||
GENCAT = @GENCAT@
|
||||
GMSGFMT = /usr/bin/msgfmt
|
||||
MSGFMT = /usr/bin/msgfmt
|
||||
MSGFMT_OPTS = -c
|
||||
XGETTEXT = /usr/bin/xgettext
|
||||
MSGMERGE = msgmerge
|
||||
INTLTOOL_UPDATE = /usr/bin/intltool-update
|
||||
INTLTOOL_EXTRACT = /usr/bin/intltool-extract
|
||||
MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist
|
||||
GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot
|
||||
|
||||
DEFS = -DHAVE_CONFIG_H
|
||||
CFLAGS = -g -O2
|
||||
CPPFLAGS =
|
||||
ALL_LINGUAS = de nl fr pl pt_PT pt_BR ro bg zh es da sv it el
|
||||
|
||||
INCLUDES = -I.. -I$(top_srcdir)/intl
|
||||
PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi)
|
||||
|
||||
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS)
|
||||
USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep '^$$lang$$' $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep '^$$lang$$'`"; then printf "$$lang "; fi; done; fi)
|
||||
|
||||
SOURCES =
|
||||
POFILES = de.po nl.po fr.po pl.po pt_PT.po pt_BR.po ro.po bg.po zh.po es.po da.po sv.po it.po el.po
|
||||
GMOFILES = de.gmo nl.gmo fr.gmo pl.gmo pt_PT.gmo pt_BR.gmo ro.gmo bg.gmo zh.gmo es.gmo da.gmo sv.gmo it.gmo el.gmo
|
||||
DISTFILES = LINGUAS ChangeLog Makefile.in.in POTFILES.in $(GETTEXT_PACKAGE).pot \
|
||||
$(POFILES) $(GMOFILES) $(SOURCES)
|
||||
USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done)
|
||||
|
||||
POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done)
|
||||
|
||||
DISTFILES = Makefile.in.in POTFILES.in $(POFILES)
|
||||
EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS
|
||||
|
||||
POTFILES = \
|
||||
# This comment gets stripped out
|
||||
|
||||
CATALOGS = de.gmo nl.gmo fr.gmo pl.gmo pt_PT.gmo pt_BR.gmo ro.gmo bg.gmo zh.gmo es.gmo da.gmo sv.gmo it.gmo el.gmo
|
||||
CATOBJEXT = .gmo
|
||||
INSTOBJEXT = .mo
|
||||
CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done)
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat
|
||||
|
||||
.c.o:
|
||||
$(COMPILE) $<
|
||||
.SUFFIXES: .po .pox .gmo .mo .msg .cat
|
||||
|
||||
.po.pox:
|
||||
$(MAKE) $(GETTEXT_PACKAGE).pot
|
||||
$(MSGMERGE) $< $(srcdir)/$(GETTEXT_PACKAGE).pot -o $*.pox
|
||||
$(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox
|
||||
|
||||
.po.mo:
|
||||
$(MSGFMT) -o $@ $<
|
||||
|
||||
.po.gmo:
|
||||
file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
|
||||
&& rm -f $$file && $(GMSGFMT) $(MSGFMT_OPTS) -o $$file $<
|
||||
file=`echo $* | sed 's,.*/,,'`.gmo \
|
||||
&& rm -f $$file && $(GMSGFMT) -o $$file $<
|
||||
|
||||
.po.cat:
|
||||
sed -f ../intl/po2msg.sed < $< > $*.msg \
|
||||
&& rm -f $@ && $(GENCAT) $@ $*.msg
|
||||
&& rm -f $@ && gencat $@ $*.msg
|
||||
|
||||
|
||||
all: all-yes
|
||||
@ -92,141 +94,97 @@ all: all-yes
|
||||
all-yes: $(CATALOGS)
|
||||
all-no:
|
||||
|
||||
$(srcdir)/$(GETTEXT_PACKAGE).pot: $(POTFILES)
|
||||
$(XGETTEXT) --default-domain=$(GETTEXT_PACKAGE) --directory=$(top_srcdir) \
|
||||
--add-comments --keyword=_ --keyword=N_ \
|
||||
--flag=g_strdup_printf:1:c-format \
|
||||
--flag=g_string_printf:2:c-format \
|
||||
--flag=g_string_append_printf:2:c-format \
|
||||
--flag=g_error_new:3:c-format \
|
||||
--flag=g_set_error:4:c-format \
|
||||
--flag=g_markup_printf_escaped:1:c-format \
|
||||
--flag=g_log:3:c-format \
|
||||
--flag=g_print:1:c-format \
|
||||
--flag=g_printerr:1:c-format \
|
||||
--flag=g_printf:1:c-format \
|
||||
--flag=g_fprintf:2:c-format \
|
||||
--flag=g_sprintf:2:c-format \
|
||||
--flag=g_snprintf:3:c-format \
|
||||
--flag=g_scanner_error:2:c-format \
|
||||
--flag=g_scanner_warn:2:c-format \
|
||||
--files-from=$(srcdir)/POTFILES.in \
|
||||
&& test ! -f $(GETTEXT_PACKAGE).po \
|
||||
|| ( rm -f $(srcdir)/$(GETTEXT_PACKAGE).pot \
|
||||
&& mv $(GETTEXT_PACKAGE).po $(srcdir)/$(GETTEXT_PACKAGE).pot )
|
||||
$(GETTEXT_PACKAGE).pot: $(POTFILES)
|
||||
$(GENPOT)
|
||||
|
||||
install: install-exec install-data
|
||||
install-exec:
|
||||
install: install-data
|
||||
install-data: install-data-yes
|
||||
install-data-no: all
|
||||
install-data-yes: all
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
$(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
|
||||
else \
|
||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
|
||||
fi
|
||||
@catalogs='$(CATALOGS)'; \
|
||||
for cat in $$catalogs; do \
|
||||
cat=`basename $$cat`; \
|
||||
case "$$cat" in \
|
||||
*.gmo) destdir=$(gnulocaledir);; \
|
||||
*) destdir=$(localedir);; \
|
||||
esac; \
|
||||
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
||||
dir=$(DESTDIR)$$destdir/$$lang/LC_MESSAGES; \
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
$(MKINSTALLDIRS) $$dir; \
|
||||
linguas="$(USE_LINGUAS)"; \
|
||||
for lang in $$linguas; do \
|
||||
dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \
|
||||
$(mkdir_p) $$dir; \
|
||||
if test -r $$lang.gmo; then \
|
||||
$(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
|
||||
echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \
|
||||
else \
|
||||
$(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \
|
||||
$(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
|
||||
echo "installing $(srcdir)/$$lang.gmo as" \
|
||||
"$$dir/$(GETTEXT_PACKAGE).mo"; \
|
||||
fi; \
|
||||
if test -r $$cat; then \
|
||||
$(INSTALL_DATA) $$cat $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
|
||||
echo "installing $$cat as $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT)"; \
|
||||
if test -r $$lang.gmo.m; then \
|
||||
$(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \
|
||||
echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \
|
||||
else \
|
||||
$(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
|
||||
echo "installing $(srcdir)/$$cat as" \
|
||||
"$$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT)"; \
|
||||
fi; \
|
||||
if test -r $$cat.m; then \
|
||||
$(INSTALL_DATA) $$cat.m $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
|
||||
echo "installing $$cat.m as $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m"; \
|
||||
else \
|
||||
if test -r $(srcdir)/$$cat.m ; then \
|
||||
$(INSTALL_DATA) $(srcdir)/$$cat.m \
|
||||
$$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
|
||||
echo "installing $(srcdir)/$$cat as" \
|
||||
"$$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m"; \
|
||||
if test -r $(srcdir)/$$lang.gmo.m ; then \
|
||||
$(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \
|
||||
$$dir/$(GETTEXT_PACKAGE).mo.m; \
|
||||
echo "installing $(srcdir)/$$lang.gmo.m as" \
|
||||
"$$dir/$(GETTEXT_PACKAGE).mo.m"; \
|
||||
else \
|
||||
true; \
|
||||
fi; \
|
||||
fi; \
|
||||
done
|
||||
if test "$(PACKAGE)" = "glib"; then \
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
$(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
|
||||
else \
|
||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \
|
||||
fi; \
|
||||
$(INSTALL_DATA) $(srcdir)/Makefile.in.in \
|
||||
$(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
|
||||
else \
|
||||
: ; \
|
||||
fi
|
||||
|
||||
# Define this as empty until I found a useful application.
|
||||
installcheck:
|
||||
|
||||
uninstall:
|
||||
catalogs='$(CATALOGS)'; \
|
||||
for cat in $$catalogs; do \
|
||||
cat=`basename $$cat`; \
|
||||
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
||||
rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
|
||||
rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
|
||||
rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
|
||||
rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
|
||||
done
|
||||
if test "$(PACKAGE)" = "glib"; then \
|
||||
rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
|
||||
fi
|
||||
|
||||
check: all
|
||||
|
||||
# Empty stubs to satisfy archaic automake needs
|
||||
dvi info tags TAGS ID:
|
||||
|
||||
# Define this as empty until I found a useful application.
|
||||
install-exec installcheck:
|
||||
|
||||
uninstall:
|
||||
linguas="$(USE_LINGUAS)"; \
|
||||
for lang in $$linguas; do \
|
||||
rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
|
||||
rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
|
||||
done
|
||||
|
||||
check: all $(GETTEXT_PACKAGE).pot
|
||||
rm -f missing notexist
|
||||
srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m
|
||||
if [ -r missing -o -r notexist ]; then \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
mostlyclean:
|
||||
rm -f core core.* *.pox $(GETTEXT_PACKAGE).po *.old.po cat-id-tbl.tmp
|
||||
rm -fr *.o
|
||||
rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp
|
||||
rm -f .intltool-merge-cache
|
||||
|
||||
clean: mostlyclean
|
||||
|
||||
distclean: clean
|
||||
rm -f Makefile Makefile.in POTFILES *.mo *.msg *.cat *.cat.m
|
||||
rm -f Makefile Makefile.in POTFILES stamp-it
|
||||
rm -f *.mo *.msg *.cat *.cat.m *.gmo
|
||||
|
||||
maintainer-clean: distclean
|
||||
@echo "This command is intended for maintainers to use;"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
rm -f $(GMOFILES)
|
||||
rm -f Makefile.in.in
|
||||
|
||||
distdir = ../$(GETTEXT_PACKAGE)-$(VERSION)/$(subdir)
|
||||
dist distdir: update-po $(DISTFILES)
|
||||
distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
|
||||
dist distdir: $(DISTFILES)
|
||||
dists="$(DISTFILES)"; \
|
||||
extra_dists="$(EXTRA_DISTFILES)"; \
|
||||
for file in $$extra_dists; do \
|
||||
test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \
|
||||
done; \
|
||||
for file in $$dists; do \
|
||||
ln $(srcdir)/$$file $(distdir) 2> /dev/null \
|
||||
|| cp -p $(srcdir)/$$file $(distdir); \
|
||||
test -f $$file || file="$(srcdir)/$$file"; \
|
||||
ln $$file $(distdir) 2> /dev/null \
|
||||
|| cp -p $$file $(distdir); \
|
||||
done
|
||||
|
||||
update-po: Makefile
|
||||
$(MAKE) $(GETTEXT_PACKAGE).pot
|
||||
tmpdir=`pwd`; \
|
||||
cd $(srcdir); \
|
||||
catalogs='$(CATALOGS)'; \
|
||||
for cat in $$catalogs; do \
|
||||
cat=`basename $$cat`; \
|
||||
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
||||
linguas="$(USE_LINGUAS)"; \
|
||||
for lang in $$linguas; do \
|
||||
echo "$$lang:"; \
|
||||
if $(MSGMERGE) $$lang.po $(GETTEXT_PACKAGE).pot -o $$tmpdir/$$lang.new.po; then \
|
||||
if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
|
||||
result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \
|
||||
if $$result; then \
|
||||
if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
|
||||
rm -f $$tmpdir/$$lang.new.po; \
|
||||
else \
|
||||
if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
|
||||
@ -238,32 +196,21 @@ update-po: Makefile
|
||||
fi; \
|
||||
fi; \
|
||||
else \
|
||||
echo "msgmerge for $$cat failed!"; \
|
||||
echo "msgmerge for $$lang.gmo failed!"; \
|
||||
rm -f $$tmpdir/$$lang.new.po; \
|
||||
fi; \
|
||||
done
|
||||
|
||||
# POTFILES is created from POTFILES.in by stripping comments, empty lines
|
||||
# and Intltool tags (enclosed in square brackets), and appending a full
|
||||
# relative path to them
|
||||
POTFILES: POTFILES.in
|
||||
( if test 'x$(srcdir)' != 'x.'; then \
|
||||
posrcprefix='$(top_srcdir)/'; \
|
||||
else \
|
||||
posrcprefix="../"; \
|
||||
fi; \
|
||||
rm -f $@-t $@ \
|
||||
&& (sed -e '/^#/d' \
|
||||
-e "s/^\[.*\] +//" \
|
||||
-e '/^[ ]*$$/d' \
|
||||
-e "s@.*@ $$posrcprefix& \\\\@" < $(srcdir)/$@.in \
|
||||
| sed -e '$$s/\\$$//') > $@-t \
|
||||
&& chmod a-w $@-t \
|
||||
&& mv $@-t $@ )
|
||||
Makefile POTFILES: stamp-it
|
||||
@if test ! -f $@; then \
|
||||
rm -f stamp-it; \
|
||||
$(MAKE) stamp-it; \
|
||||
fi
|
||||
|
||||
Makefile: Makefile.in.in ../config.status POTFILES
|
||||
cd .. \
|
||||
&& $(SHELL) ./config.status $(subdir)/$@.in
|
||||
stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
$(SHELL) ./config.status
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make not to export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
|
@ -1,90 +1,92 @@
|
||||
# Makefile for program source directory in GNU NLS utilities package.
|
||||
# Copyright (C) 1995, 1996, 1997 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
|
||||
# Copyright (C) 2004-2008 Rodney Dawes <dobey.pwns@gmail.com>
|
||||
#
|
||||
# This file file be copied and used freely without restrictions. It can
|
||||
# be used in projects which are not available under the GNU Public License
|
||||
# This file may be copied and used freely without restrictions. It may
|
||||
# be used in projects which are not available under a GNU Public License,
|
||||
# but which still want to provide support for the GNU gettext functionality.
|
||||
# Please note that the actual code is *not* freely available.
|
||||
#
|
||||
# - Modified by Owen Taylor <otaylor@redhat.com> to use GETTEXT_PACKAGE
|
||||
# instead of PACKAGE and to look for po2tbl in ./ not in intl/
|
||||
#
|
||||
# - Modified by jacob berkman <jacob@ximian.com> to install
|
||||
# Makefile.in.in and po2tbl.sed.in for use with glib-gettextize
|
||||
#
|
||||
# - Modified by Rodney Dawes <dobey.pwns@gmail.com> for use with intltool
|
||||
#
|
||||
# We have the following line for use by intltoolize:
|
||||
# INTLTOOL_MAKEFILE
|
||||
|
||||
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
||||
PACKAGE = @PACKAGE@
|
||||
VERSION = @VERSION@
|
||||
|
||||
SHELL = @SHELL@
|
||||
@SET_MAKE@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
top_builddir = @top_builddir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
datarootdir = @datarootdir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
libdir = @libdir@
|
||||
localedir = $(libdir)/locale
|
||||
gnulocaledir = $(datadir)/locale
|
||||
gettextsrcdir = $(datadir)/glib-2.0/gettext/po
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
itlocaledir = $(prefix)/$(DATADIRNAME)/locale
|
||||
subdir = po
|
||||
install_sh = @install_sh@
|
||||
# Automake >= 1.8 provides @mkdir_p@.
|
||||
# Until it can be supposed, use the safe fallback:
|
||||
mkdir_p = $(install_sh) -d
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
MKINSTALLDIRS = $(top_srcdir)/@MKINSTALLDIRS@
|
||||
|
||||
CC = @CC@
|
||||
GENCAT = @GENCAT@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
MSGFMT = @MSGFMT@
|
||||
MSGFMT_OPTS = @MSGFMT_OPTS@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
MSGMERGE = msgmerge
|
||||
INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
|
||||
INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
|
||||
MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist
|
||||
GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot
|
||||
|
||||
DEFS = @DEFS@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
ALL_LINGUAS = @ALL_LINGUAS@
|
||||
|
||||
INCLUDES = -I.. -I$(top_srcdir)/intl
|
||||
PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi)
|
||||
|
||||
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS)
|
||||
USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep '^$$lang$$' $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep '^$$lang$$'`"; then printf "$$lang "; fi; done; fi)
|
||||
|
||||
SOURCES =
|
||||
POFILES = @POFILES@
|
||||
GMOFILES = @GMOFILES@
|
||||
DISTFILES = LINGUAS ChangeLog Makefile.in.in POTFILES.in $(GETTEXT_PACKAGE).pot \
|
||||
$(POFILES) $(GMOFILES) $(SOURCES)
|
||||
USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done)
|
||||
|
||||
POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done)
|
||||
|
||||
DISTFILES = Makefile.in.in POTFILES.in $(POFILES)
|
||||
EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS
|
||||
|
||||
POTFILES = \
|
||||
# This comment gets stripped out
|
||||
|
||||
CATALOGS = @CATALOGS@
|
||||
CATOBJEXT = @CATOBJEXT@
|
||||
INSTOBJEXT = @INSTOBJEXT@
|
||||
CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done)
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat
|
||||
|
||||
.c.o:
|
||||
$(COMPILE) $<
|
||||
.SUFFIXES: .po .pox .gmo .mo .msg .cat
|
||||
|
||||
.po.pox:
|
||||
$(MAKE) $(GETTEXT_PACKAGE).pot
|
||||
$(MSGMERGE) $< $(srcdir)/$(GETTEXT_PACKAGE).pot -o $*.pox
|
||||
$(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox
|
||||
|
||||
.po.mo:
|
||||
$(MSGFMT) -o $@ $<
|
||||
|
||||
.po.gmo:
|
||||
file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
|
||||
&& rm -f $$file && $(GMSGFMT) $(MSGFMT_OPTS) -o $$file $<
|
||||
file=`echo $* | sed 's,.*/,,'`.gmo \
|
||||
&& rm -f $$file && $(GMSGFMT) -o $$file $<
|
||||
|
||||
.po.cat:
|
||||
sed -f ../intl/po2msg.sed < $< > $*.msg \
|
||||
&& rm -f $@ && $(GENCAT) $@ $*.msg
|
||||
&& rm -f $@ && gencat $@ $*.msg
|
||||
|
||||
|
||||
all: all-@USE_NLS@
|
||||
@ -92,141 +94,97 @@ all: all-@USE_NLS@
|
||||
all-yes: $(CATALOGS)
|
||||
all-no:
|
||||
|
||||
$(srcdir)/$(GETTEXT_PACKAGE).pot: $(POTFILES)
|
||||
$(XGETTEXT) --default-domain=$(GETTEXT_PACKAGE) --directory=$(top_srcdir) \
|
||||
--add-comments --keyword=_ --keyword=N_ \
|
||||
--flag=g_strdup_printf:1:c-format \
|
||||
--flag=g_string_printf:2:c-format \
|
||||
--flag=g_string_append_printf:2:c-format \
|
||||
--flag=g_error_new:3:c-format \
|
||||
--flag=g_set_error:4:c-format \
|
||||
--flag=g_markup_printf_escaped:1:c-format \
|
||||
--flag=g_log:3:c-format \
|
||||
--flag=g_print:1:c-format \
|
||||
--flag=g_printerr:1:c-format \
|
||||
--flag=g_printf:1:c-format \
|
||||
--flag=g_fprintf:2:c-format \
|
||||
--flag=g_sprintf:2:c-format \
|
||||
--flag=g_snprintf:3:c-format \
|
||||
--flag=g_scanner_error:2:c-format \
|
||||
--flag=g_scanner_warn:2:c-format \
|
||||
--files-from=$(srcdir)/POTFILES.in \
|
||||
&& test ! -f $(GETTEXT_PACKAGE).po \
|
||||
|| ( rm -f $(srcdir)/$(GETTEXT_PACKAGE).pot \
|
||||
&& mv $(GETTEXT_PACKAGE).po $(srcdir)/$(GETTEXT_PACKAGE).pot )
|
||||
$(GETTEXT_PACKAGE).pot: $(POTFILES)
|
||||
$(GENPOT)
|
||||
|
||||
install: install-exec install-data
|
||||
install-exec:
|
||||
install: install-data
|
||||
install-data: install-data-@USE_NLS@
|
||||
install-data-no: all
|
||||
install-data-yes: all
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
$(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
|
||||
else \
|
||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
|
||||
fi
|
||||
@catalogs='$(CATALOGS)'; \
|
||||
for cat in $$catalogs; do \
|
||||
cat=`basename $$cat`; \
|
||||
case "$$cat" in \
|
||||
*.gmo) destdir=$(gnulocaledir);; \
|
||||
*) destdir=$(localedir);; \
|
||||
esac; \
|
||||
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
||||
dir=$(DESTDIR)$$destdir/$$lang/LC_MESSAGES; \
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
$(MKINSTALLDIRS) $$dir; \
|
||||
linguas="$(USE_LINGUAS)"; \
|
||||
for lang in $$linguas; do \
|
||||
dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \
|
||||
$(mkdir_p) $$dir; \
|
||||
if test -r $$lang.gmo; then \
|
||||
$(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
|
||||
echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \
|
||||
else \
|
||||
$(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \
|
||||
$(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
|
||||
echo "installing $(srcdir)/$$lang.gmo as" \
|
||||
"$$dir/$(GETTEXT_PACKAGE).mo"; \
|
||||
fi; \
|
||||
if test -r $$cat; then \
|
||||
$(INSTALL_DATA) $$cat $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
|
||||
echo "installing $$cat as $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT)"; \
|
||||
if test -r $$lang.gmo.m; then \
|
||||
$(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \
|
||||
echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \
|
||||
else \
|
||||
$(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
|
||||
echo "installing $(srcdir)/$$cat as" \
|
||||
"$$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT)"; \
|
||||
fi; \
|
||||
if test -r $$cat.m; then \
|
||||
$(INSTALL_DATA) $$cat.m $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
|
||||
echo "installing $$cat.m as $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m"; \
|
||||
else \
|
||||
if test -r $(srcdir)/$$cat.m ; then \
|
||||
$(INSTALL_DATA) $(srcdir)/$$cat.m \
|
||||
$$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
|
||||
echo "installing $(srcdir)/$$cat as" \
|
||||
"$$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m"; \
|
||||
if test -r $(srcdir)/$$lang.gmo.m ; then \
|
||||
$(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \
|
||||
$$dir/$(GETTEXT_PACKAGE).mo.m; \
|
||||
echo "installing $(srcdir)/$$lang.gmo.m as" \
|
||||
"$$dir/$(GETTEXT_PACKAGE).mo.m"; \
|
||||
else \
|
||||
true; \
|
||||
fi; \
|
||||
fi; \
|
||||
done
|
||||
if test "$(PACKAGE)" = "glib"; then \
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
$(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
|
||||
else \
|
||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \
|
||||
fi; \
|
||||
$(INSTALL_DATA) $(srcdir)/Makefile.in.in \
|
||||
$(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
|
||||
else \
|
||||
: ; \
|
||||
fi
|
||||
|
||||
# Define this as empty until I found a useful application.
|
||||
installcheck:
|
||||
|
||||
uninstall:
|
||||
catalogs='$(CATALOGS)'; \
|
||||
for cat in $$catalogs; do \
|
||||
cat=`basename $$cat`; \
|
||||
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
||||
rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
|
||||
rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
|
||||
rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
|
||||
rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
|
||||
done
|
||||
if test "$(PACKAGE)" = "glib"; then \
|
||||
rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
|
||||
fi
|
||||
|
||||
check: all
|
||||
|
||||
# Empty stubs to satisfy archaic automake needs
|
||||
dvi info tags TAGS ID:
|
||||
|
||||
# Define this as empty until I found a useful application.
|
||||
install-exec installcheck:
|
||||
|
||||
uninstall:
|
||||
linguas="$(USE_LINGUAS)"; \
|
||||
for lang in $$linguas; do \
|
||||
rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
|
||||
rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
|
||||
done
|
||||
|
||||
check: all $(GETTEXT_PACKAGE).pot
|
||||
rm -f missing notexist
|
||||
srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m
|
||||
if [ -r missing -o -r notexist ]; then \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
mostlyclean:
|
||||
rm -f core core.* *.pox $(GETTEXT_PACKAGE).po *.old.po cat-id-tbl.tmp
|
||||
rm -fr *.o
|
||||
rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp
|
||||
rm -f .intltool-merge-cache
|
||||
|
||||
clean: mostlyclean
|
||||
|
||||
distclean: clean
|
||||
rm -f Makefile Makefile.in POTFILES *.mo *.msg *.cat *.cat.m
|
||||
rm -f Makefile Makefile.in POTFILES stamp-it
|
||||
rm -f *.mo *.msg *.cat *.cat.m *.gmo
|
||||
|
||||
maintainer-clean: distclean
|
||||
@echo "This command is intended for maintainers to use;"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
rm -f $(GMOFILES)
|
||||
rm -f Makefile.in.in
|
||||
|
||||
distdir = ../$(GETTEXT_PACKAGE)-$(VERSION)/$(subdir)
|
||||
dist distdir: update-po $(DISTFILES)
|
||||
distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
|
||||
dist distdir: $(DISTFILES)
|
||||
dists="$(DISTFILES)"; \
|
||||
extra_dists="$(EXTRA_DISTFILES)"; \
|
||||
for file in $$extra_dists; do \
|
||||
test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \
|
||||
done; \
|
||||
for file in $$dists; do \
|
||||
ln $(srcdir)/$$file $(distdir) 2> /dev/null \
|
||||
|| cp -p $(srcdir)/$$file $(distdir); \
|
||||
test -f $$file || file="$(srcdir)/$$file"; \
|
||||
ln $$file $(distdir) 2> /dev/null \
|
||||
|| cp -p $$file $(distdir); \
|
||||
done
|
||||
|
||||
update-po: Makefile
|
||||
$(MAKE) $(GETTEXT_PACKAGE).pot
|
||||
tmpdir=`pwd`; \
|
||||
cd $(srcdir); \
|
||||
catalogs='$(CATALOGS)'; \
|
||||
for cat in $$catalogs; do \
|
||||
cat=`basename $$cat`; \
|
||||
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
||||
linguas="$(USE_LINGUAS)"; \
|
||||
for lang in $$linguas; do \
|
||||
echo "$$lang:"; \
|
||||
if $(MSGMERGE) $$lang.po $(GETTEXT_PACKAGE).pot -o $$tmpdir/$$lang.new.po; then \
|
||||
if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
|
||||
result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \
|
||||
if $$result; then \
|
||||
if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
|
||||
rm -f $$tmpdir/$$lang.new.po; \
|
||||
else \
|
||||
if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
|
||||
@ -238,32 +196,21 @@ update-po: Makefile
|
||||
fi; \
|
||||
fi; \
|
||||
else \
|
||||
echo "msgmerge for $$cat failed!"; \
|
||||
echo "msgmerge for $$lang.gmo failed!"; \
|
||||
rm -f $$tmpdir/$$lang.new.po; \
|
||||
fi; \
|
||||
done
|
||||
|
||||
# POTFILES is created from POTFILES.in by stripping comments, empty lines
|
||||
# and Intltool tags (enclosed in square brackets), and appending a full
|
||||
# relative path to them
|
||||
POTFILES: POTFILES.in
|
||||
( if test 'x$(srcdir)' != 'x.'; then \
|
||||
posrcprefix='$(top_srcdir)/'; \
|
||||
else \
|
||||
posrcprefix="../"; \
|
||||
fi; \
|
||||
rm -f $@-t $@ \
|
||||
&& (sed -e '/^#/d' \
|
||||
-e "s/^\[.*\] +//" \
|
||||
-e '/^[ ]*$$/d' \
|
||||
-e "s@.*@ $$posrcprefix& \\\\@" < $(srcdir)/$@.in \
|
||||
| sed -e '$$s/\\$$//') > $@-t \
|
||||
&& chmod a-w $@-t \
|
||||
&& mv $@-t $@ )
|
||||
Makefile POTFILES: stamp-it
|
||||
@if test ! -f $@; then \
|
||||
rm -f stamp-it; \
|
||||
$(MAKE) stamp-it; \
|
||||
fi
|
||||
|
||||
Makefile: Makefile.in.in ../config.status POTFILES
|
||||
cd .. \
|
||||
&& $(SHELL) ./config.status $(subdir)/$@.in
|
||||
stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
$(SHELL) ./config.status
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make not to export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
|
@ -9,7 +9,6 @@ src/fixture.c
|
||||
src/game.c
|
||||
src/game_gui.c
|
||||
src/interface.c
|
||||
src/league_table_interface.c
|
||||
src/lg_commentary.c
|
||||
src/live_game.c
|
||||
src/load_save.c
|
||||
@ -37,4 +36,7 @@ src/user.c
|
||||
src/window.c
|
||||
src/xml.c
|
||||
src/youth_academy.c
|
||||
bygfoot.ui.h
|
||||
support_files/bygfoot_misc3.glade
|
||||
support_files/bygfoot_training.glade
|
||||
support_files/bygfoot_misc.glade
|
||||
support_files/bygfoot.glade
|
||||
|
@ -94,6 +94,7 @@ ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ALL_LINGUAS = @ALL_LINGUAS@
|
||||
AMTAR = @AMTAR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
@ -129,6 +130,10 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTOBJEXT = @INSTOBJEXT@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
|
||||
INTLTOOL_MERGE = @INTLTOOL_MERGE@
|
||||
INTLTOOL_PERL = @INTLTOOL_PERL@
|
||||
INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
@ -140,6 +145,7 @@ MKDIR_P = @MKDIR_P@
|
||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||
MSGFMT = @MSGFMT@
|
||||
MSGFMT_OPTS = @MSGFMT_OPTS@
|
||||
MSGMERGE = @MSGMERGE@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
|
@ -22,7 +22,7 @@ create_main_window (void)
|
||||
{
|
||||
GtkWidget *main_window;
|
||||
GtkBuilder *builder;
|
||||
builder = load_ui(file_find_support_file("bygfoot.ui", TRUE));
|
||||
builder = load_ui(file_find_support_file("bygfoot.glade", TRUE));
|
||||
main_window = GTK_WIDGET (gtk_builder_get_object (builder, "main_window"));
|
||||
|
||||
/* Store pointers to all widgets, for use by lookup_widget(). */
|
||||
|
@ -28,7 +28,7 @@ create_window_bets (void)
|
||||
{
|
||||
GtkWidget *window_bets;
|
||||
GtkBuilder *builder;
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc3.ui", TRUE));
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc3.glade", TRUE));
|
||||
window_bets = GTK_WIDGET (gtk_builder_get_object (builder, "window_bets"));
|
||||
gtk_widget_show (window_bets);
|
||||
GTK_HOOKUP_OBJECT (window_bets, builder, "checkbutton_bet_all_leagues");
|
||||
@ -47,7 +47,7 @@ create_window_splash (void)
|
||||
{
|
||||
GtkWidget *window_splash;
|
||||
GtkBuilder *builder;
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc3.ui", TRUE));
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc3.glade", TRUE));
|
||||
window_splash = GTK_WIDGET (gtk_builder_get_object (builder, "window_splash"));
|
||||
gtk_widget_show (window_splash);
|
||||
|
||||
@ -72,7 +72,7 @@ create_window_alr (void)
|
||||
{
|
||||
GtkWidget *window_alr;
|
||||
GtkBuilder *builder;
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc3.ui", TRUE));
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc3.glade", TRUE));
|
||||
window_alr = GTK_WIDGET (gtk_builder_get_object (builder, "window_alr"));
|
||||
gtk_widget_show (window_alr);
|
||||
|
||||
@ -94,7 +94,7 @@ create_window_news (void)
|
||||
{
|
||||
GtkWidget *window_news;
|
||||
GtkBuilder *builder;
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc3.ui", TRUE));
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc3.glade", TRUE));
|
||||
window_news = GTK_WIDGET (gtk_builder_get_object (builder, "window_news"));
|
||||
gtk_widget_show (window_news);
|
||||
|
||||
|
@ -28,7 +28,7 @@ create_window_startup (void)
|
||||
{
|
||||
GtkWidget *window_startup;
|
||||
GtkBuilder *builder;
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc.ui", TRUE));
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc.glade", TRUE));
|
||||
window_startup = GTK_WIDGET (gtk_builder_get_object (builder, "window_startup"));
|
||||
|
||||
/* Store pointers to all widgets, for use by lookup_widget(). */
|
||||
@ -54,7 +54,7 @@ create_window_font_sel (void)
|
||||
{
|
||||
GtkWidget *window_font_sel;
|
||||
GtkBuilder *builder;
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc.ui", TRUE));
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc.glade", TRUE));
|
||||
window_font_sel = GTK_WIDGET (gtk_builder_get_object (builder, "window_font_sel"));
|
||||
|
||||
/* Store pointers to all widgets, for use by lookup_widget(). */
|
||||
@ -70,7 +70,7 @@ create_window_live (void)
|
||||
{
|
||||
GtkWidget *window_live;
|
||||
GtkBuilder *builder;
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc.ui", TRUE));
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc.glade", TRUE));
|
||||
window_live = GTK_WIDGET (gtk_builder_get_object (builder, "window_live"));
|
||||
|
||||
/* Store pointers to all widgets, for use by lookup_widget(). */
|
||||
@ -108,7 +108,7 @@ create_window_stadium (void)
|
||||
{
|
||||
GtkWidget *window_stadium;
|
||||
GtkBuilder *builder;
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc.ui", TRUE));
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc.glade", TRUE));
|
||||
window_stadium = GTK_WIDGET (gtk_builder_get_object (builder, "window_stadium"));
|
||||
|
||||
/* Store pointers to all widgets, for use by lookup_widget(). */
|
||||
@ -141,7 +141,7 @@ create_window_file_chooser (void)
|
||||
{
|
||||
GtkWidget *window_file_chooser;
|
||||
GtkBuilder *builder;
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc.ui", TRUE));
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc.glade", TRUE));
|
||||
window_file_chooser = GTK_WIDGET (gtk_builder_get_object (builder, "window_file_chooser"));
|
||||
|
||||
/* Store pointers to all widgets, for use by lookup_widget(). */
|
||||
@ -157,7 +157,7 @@ create_window_sponsors (void)
|
||||
{
|
||||
GtkWidget *window_sponsors;
|
||||
GtkBuilder *builder;
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc.ui", TRUE));
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc.glade", TRUE));
|
||||
window_sponsors = GTK_WIDGET (gtk_builder_get_object (builder, "window_sponsors"));
|
||||
|
||||
/* Store pointers to all widgets, for use by lookup_widget(). */
|
||||
|
@ -21,7 +21,7 @@ create_window_training_camp (void)
|
||||
{
|
||||
GtkWidget *window_training_camp;
|
||||
GtkBuilder *builder;
|
||||
builder = load_ui(file_find_support_file("bygfoot_training.ui", TRUE));
|
||||
builder = load_ui(file_find_support_file("bygfoot_training.glade", TRUE));
|
||||
window_training_camp = GTK_WIDGET (gtk_builder_get_object (builder, "window_training_camp"));
|
||||
|
||||
/* Store pointers to all widgets, for use by lookup_widget(). */
|
||||
|
@ -46,7 +46,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_load_last_save">
|
||||
<property name="label">Load last save</property>
|
||||
<property name="label" translatable="yes">Load last save</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image5</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -147,7 +147,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_save_window_geometry">
|
||||
<property name="label">Save window geometry</property>
|
||||
<property name="label" translatable="yes">Save window geometry</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="tooltip_text" translatable="yes">Save window size, position and vertical divider</property>
|
||||
<property name="image">image4</property>
|
||||
@ -178,7 +178,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_fixtures">
|
||||
<property name="label">Fixtures (competitions)</property>
|
||||
<property name="label" translatable="yes">Fixtures (competitions)</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image2</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -188,7 +188,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_tables">
|
||||
<property name="label">Tables</property>
|
||||
<property name="label" translatable="yes">Tables</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image3</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -198,7 +198,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_my_league_results">
|
||||
<property name="label">My league results</property>
|
||||
<property name="label" translatable="yes">My league results</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image6</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -208,7 +208,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_season_results">
|
||||
<property name="label">Season results</property>
|
||||
<property name="label" translatable="yes">Season results</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image7</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -229,7 +229,7 @@
|
||||
<object class="GtkMenu" id="menu_team_menu">
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_playing_style">
|
||||
<property name="label">Playing style</property>
|
||||
<property name="label" translatable="yes">Playing style</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image8</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -290,7 +290,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_scout">
|
||||
<property name="label">Scout</property>
|
||||
<property name="label" translatable="yes">Scout</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image9</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -392,7 +392,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_youth_academy">
|
||||
<property name="label">Youth academy</property>
|
||||
<property name="label" translatable="yes">Youth academy</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image11</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -532,7 +532,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_boost">
|
||||
<property name="label">Boost</property>
|
||||
<property name="label" translatable="yes">Boost</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image12</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -619,7 +619,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_reset_players">
|
||||
<property name="label">Reset player list</property>
|
||||
<property name="label" translatable="yes">Reset player list</property>
|
||||
<property name="tooltip_text" translatable="yes">Reset player list to the formation at the beginning of the live game pause (right click on player list)</property>
|
||||
<property name="image">image13</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -628,7 +628,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_custom_structure">
|
||||
<property name="label">Enter custom structure</property>
|
||||
<property name="label" translatable="yes">Enter custom structure</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image14</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -637,7 +637,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_rearrange_team">
|
||||
<property name="label">Rearrange team</property>
|
||||
<property name="label" translatable="yes">Rearrange team</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="tooltip_text" translatable="yes">Try to put the startup players onto their favoured positions and sort the substitutes (Ctrl-R or middle click)</property>
|
||||
<property name="image">image15</property>
|
||||
@ -653,7 +653,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_browse_teams">
|
||||
<property name="label">Browse teams</property>
|
||||
<property name="label" translatable="yes">Browse teams</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image16</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -688,7 +688,7 @@
|
||||
<object class="GtkMenu" id="menu_player_menu">
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_show_info">
|
||||
<property name="label">Show info</property>
|
||||
<property name="label" translatable="yes">Show info</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image17</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -697,7 +697,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_put_on_transfer_list">
|
||||
<property name="label">Put on transfer list</property>
|
||||
<property name="label" translatable="yes">Put on transfer list</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image18</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -706,7 +706,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_remove_from_transfer_list">
|
||||
<property name="label">Remove from transfer list</property>
|
||||
<property name="label" translatable="yes">Remove from transfer list</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image19</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -715,7 +715,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_offer_new_contract">
|
||||
<property name="label">Offer new contract</property>
|
||||
<property name="label" translatable="yes">Offer new contract</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image20</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -724,7 +724,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_fire">
|
||||
<property name="label">Fire</property>
|
||||
<property name="label" translatable="yes">Fire</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image21</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -733,7 +733,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_shoots_penalties">
|
||||
<property name="label">Shoots penalties</property>
|
||||
<property name="label" translatable="yes">Shoots penalties</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image22</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -742,7 +742,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_move_to_youth_academy">
|
||||
<property name="label">Move to youth academy</property>
|
||||
<property name="label" translatable="yes">Move to youth academy</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image23</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -751,7 +751,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_edit_name">
|
||||
<property name="label">Edit name</property>
|
||||
<property name="label" translatable="yes">Edit name</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image24</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -765,7 +765,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_browse_players">
|
||||
<property name="label">Browse players</property>
|
||||
<property name="label" translatable="yes">Browse players</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image25</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -785,7 +785,7 @@
|
||||
<object class="GtkMenu" id="menu_user_menu">
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_user_show_last_match">
|
||||
<property name="label">Show last match</property>
|
||||
<property name="label" translatable="yes">Show last match</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image26</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -795,7 +795,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_user_show_last_stats">
|
||||
<property name="label">Show last match stats</property>
|
||||
<property name="label" translatable="yes">Show last match stats</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image27</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -805,7 +805,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_user_show_coming_matches">
|
||||
<property name="label">Show coming matches</property>
|
||||
<property name="label" translatable="yes">Show coming matches</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image28</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -820,7 +820,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_next_user">
|
||||
<property name="label">Next user</property>
|
||||
<property name="label" translatable="yes">Next user</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image29</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -830,7 +830,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_previous_user">
|
||||
<property name="label">Previous user</property>
|
||||
<property name="label" translatable="yes">Previous user</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image30</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -840,7 +840,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_manage_users">
|
||||
<property name="label">Manage users</property>
|
||||
<property name="label" translatable="yes">Manage users</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image31</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -861,7 +861,7 @@
|
||||
<object class="GtkMenu" id="menu_finances_stadium_menu">
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_show_finances">
|
||||
<property name="label">Show finances</property>
|
||||
<property name="label" translatable="yes">Show finances</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image32</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -871,7 +871,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_show_stadium">
|
||||
<property name="label">Show stadium</property>
|
||||
<property name="label" translatable="yes">Show stadium</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image33</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -925,7 +925,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_league_stats">
|
||||
<property name="label">League stats</property>
|
||||
<property name="label" translatable="yes">League stats</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image34</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -935,7 +935,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_season_history">
|
||||
<property name="label">Season history</property>
|
||||
<property name="label" translatable="yes">Season history</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image35</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -945,7 +945,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_user_show_history">
|
||||
<property name="label">User history</property>
|
||||
<property name="label" translatable="yes">User history</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image36</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -955,7 +955,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="memorable_matches">
|
||||
<property name="label">Memorable matches</property>
|
||||
<property name="label" translatable="yes">Memorable matches</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image37</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -963,7 +963,7 @@
|
||||
<object class="GtkMenu" id="memorable_matches_menu">
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="mm_add_last_match">
|
||||
<property name="label">Add last match</property>
|
||||
<property name="label" translatable="yes">Add last match</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="tooltip_text" translatable="yes">Add last recorded match to the current memorable matches file.</property>
|
||||
<property name="image">image38</property>
|
||||
@ -974,7 +974,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="mm_manage_matches">
|
||||
<property name="label">Manage matches</property>
|
||||
<property name="label" translatable="yes">Manage matches</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="tooltip_text" translatable="yes">Replay, delete or add memorable matches.</property>
|
||||
<property name="image">image39</property>
|
||||
@ -1000,7 +1000,7 @@
|
||||
<object class="GtkMenu" id="menu_help1_menu">
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_about">
|
||||
<property name="label">About</property>
|
||||
<property name="label" translatable="yes">About</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image40</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -1009,7 +1009,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_contributors">
|
||||
<property name="label">Contributors</property>
|
||||
<property name="label" translatable="yes">Contributors</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image41</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -1018,7 +1018,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_help">
|
||||
<property name="label">Help</property>
|
||||
<property name="label" translatable="yes">Help</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="image">image42</property>
|
||||
<property name="use_stock">False</property>
|
||||
@ -1837,7 +1837,7 @@
|
||||
<object class="GtkMenu" id="menu_youth">
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_youth_move_to_team">
|
||||
<property name="label">Move to team</property>
|
||||
<property name="label" translatable="yes">Move to team</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="use_stock">True</property>
|
||||
@ -1846,7 +1846,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImageMenuItem" id="menu_youth_kick_out_of_academy">
|
||||
<property name="label">Kick out of academy</property>
|
||||
<property name="label" translatable="yes">Kick out of academy</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="use_stock">True</property>
|
Loading…
x
Reference in New Issue
Block a user