mirror of https://github.com/GNOME/gimp.git
Makefile.am configure.in added new directory po-perl which takes care of
2000-08-27 Sven Neumann <sven@gimp.org> * Makefile.am * configure.in * po-perl: added new directory po-perl which takes care of i18n for gimp-perl the standard way. Tweaked pxgettext a little. * plug-ins/perl/Makefile.PL: disabled use of plug-ins/perl/po. Marc will take care of either removing the po directory or moving the new stuff there.
This commit is contained in:
parent
c0961494f7
commit
3a83ab3f6d
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2000-08-27 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* Makefile.am
|
||||
* configure.in
|
||||
* po-perl: added new directory po-perl which takes care of
|
||||
i18n for gimp-perl the standard way. Tweaked pxgettext a little.
|
||||
|
||||
* plug-ins/perl/Makefile.PL: disabled use of plug-ins/perl/po.
|
||||
Marc will take care of either removing the po directory or moving
|
||||
the new stuff there.
|
||||
|
||||
2000-08-27 Alastair McKinstry <mckinstry@computer.org>
|
||||
|
||||
* configure.in: Added Irish (ga) to ALL_LINGUAS.
|
||||
|
|
|
@ -5,6 +5,7 @@ SUBDIRS = \
|
|||
po \
|
||||
po-libgimp \
|
||||
po-plug-ins \
|
||||
$(GIMP_PERL_PO) \
|
||||
po-script-fu \
|
||||
intl \
|
||||
libgimp \
|
||||
|
|
|
@ -617,7 +617,6 @@ if test "x$enable_perl" != xno; then
|
|||
GIMP_LIBS="$GIMP_LIBS_NOUI -lgimpui"
|
||||
GIMPTOOL="../../gimptool"
|
||||
IN_GIMP=1
|
||||
PERL_COMPAT_CRUFT="-DGIMP_ENABLE_COMPAT_CRUFT"
|
||||
EXTENSIVE_TESTS=0
|
||||
|
||||
dnl include the autoconf fragment from there
|
||||
|
@ -632,8 +631,10 @@ if test "x$enable_perl" != xno; then
|
|||
$PERL Makefile.PL --writemakefile $perl_prefix
|
||||
EOF
|
||||
GIMP_PERL=perl
|
||||
GIMP_PERL_PO=po-perl
|
||||
else
|
||||
GIMP_PERL=
|
||||
GIMP_PERL_PO=
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN(*** gimp-perl plug-in won't be build (perl5.004_04 or higher required) ***)
|
||||
fi
|
||||
|
@ -740,6 +741,7 @@ AC_SUBST(GIMP_THREAD_LIBS)
|
|||
AC_SUBST(GIMP_MP_FLAGS)
|
||||
AC_SUBST(GIMP_MP_LIBS)
|
||||
AC_SUBST(GIMP_PERL)
|
||||
AC_SUBST(GIMP_PERL_PO)
|
||||
AC_SUBST(GIMPDOCS)
|
||||
AC_SUBST(GIMPINSTALL)
|
||||
AC_SUBST(HELPBROWSER)
|
||||
|
@ -827,6 +829,7 @@ build/Makefile
|
|||
build/win32/Makefile
|
||||
po/Makefile.in
|
||||
po-libgimp/Makefile.in
|
||||
po-perl/Makefile.in
|
||||
po-plug-ins/Makefile.in
|
||||
po-script-fu/Makefile.in
|
||||
intl/Makefile
|
||||
|
@ -870,6 +873,7 @@ help/images/Makefile],
|
|||
chmod +x gimptool
|
||||
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
|
||||
sed -e "/POTFILES =/r po-libgimp/POTFILES" po-libgimp/Makefile.in > po-libgimp/Makefile
|
||||
sed -e "/POTFILES =/r po-perl/POTFILES" po-perl/Makefile.in > po-perl/Makefile
|
||||
sed -e "/POTFILES =/r po-plug-ins/POTFILES" po-plug-ins/Makefile.in > po-plug-ins/Makefile
|
||||
sed -e "/POTFILES =/r po-script-fu/POTFILES" po-script-fu/Makefile.in > po-script-fu/Makefile
|
||||
case "$CONFIG_FILES" in
|
||||
|
|
|
@ -171,7 +171,7 @@ sub MY::install {
|
|||
my $install = $self->SUPER::install(@_);
|
||||
($install =~ s/\b(un)?install\b/really-$1install/g) or return $install;
|
||||
'
|
||||
install :: install-po
|
||||
install ::
|
||||
@for dir in \
|
||||
$(INSTALLPRIVLIB) \
|
||||
$(INSTALLARCHLIB) \
|
||||
|
@ -192,9 +192,6 @@ install :: install-po
|
|||
$(MAKE) really-install install-plugins'."
|
||||
$main::dont_embed || (cd embed && \$(MAKE) install)
|
||||
|
||||
install-po:
|
||||
cd po && \$(MAKE) install-po
|
||||
|
||||
".$install;
|
||||
}
|
||||
|
||||
|
@ -264,7 +261,7 @@ setver:
|
|||
}
|
||||
|
||||
$GIMP_INC_NOUI = "-I../../ $GIMP_INC_NOUI" if $IN_GIMP;
|
||||
@DIRS= qw/Gimp Net UI po/;
|
||||
@DIRS= qw/Gimp Net UI/;
|
||||
|
||||
$build_module = $IN_GIMP || $ENV{GIMP_PERL_MODULE_INC};
|
||||
# temporarily disabled because of politics
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
*.gmo
|
||||
*.mo
|
||||
Makefile
|
||||
Makefile.in
|
||||
POTFILES
|
||||
cat-id-tbl.c
|
||||
*.pot
|
||||
stamp-cat-id
|
||||
messages
|
|
@ -0,0 +1,189 @@
|
|||
2000-08-27 Sven Neumann <sven@gimp.org>
|
||||
|
||||
Moved all po-files over to this place and migrated to
|
||||
standard build process.
|
||||
|
||||
Fri Aug 25 11:14:07 CEST 2000 Stanislav Brabec <utx@penguin.cz>
|
||||
|
||||
* cs.po: Updated translation.
|
||||
|
||||
2000-06-04 Valek Filippov <frob@df.ru>
|
||||
|
||||
* ru.po: Updated russian translation.
|
||||
|
||||
Wed May 31 13:38:18 CEST 2000 Stanislav Brabec <utx@penguin.cz>
|
||||
|
||||
* cs.po: Updated translation.
|
||||
|
||||
2000-05-26 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* de.po: updated german translation
|
||||
|
||||
2000-05-23 Kjartan Maraas <kmaraas@gnu.org>
|
||||
|
||||
* no.po: Updated Norwegian translation.
|
||||
|
||||
2000-05-23 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* de.po: updated german translation
|
||||
|
||||
2000-05-22 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* de.po: updated german translation
|
||||
|
||||
Mon May 22 11:54:43 CEST 2000 Stanislav Brabec <utx@penguin.cz>
|
||||
|
||||
* cs.po: Updated translation.
|
||||
|
||||
Fri May 5 21:49:29 CEST 2000 Marc Lehmann <pcg@goof.com>
|
||||
|
||||
* $alltarget was never set (have to have a look at the logs).
|
||||
Probably was responsible for the "gmo's don't build" problem.
|
||||
|
||||
Thu Apr 6 22:38:51 CEST 2000 Marc Lehmann <pcg@goof.com>
|
||||
|
||||
* Makefile.PL: msgmerge will no longer be called under any
|
||||
circumstances (except for update.sh or make update-po).
|
||||
|
||||
Wed Apr 5 06:02:58 CEST 2000 Marc Lehmann <pcg@goof.com>
|
||||
|
||||
* Makefile.PL: possible fix for #8148. basically, nothing at all
|
||||
will be done when MSGFMT == "no" or empty. Otherwise, msgmerge is
|
||||
assumed to be in the path somewhere (just like po/Makefile.in.in
|
||||
btw).
|
||||
|
||||
2000-04-03 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* de.po: more updates
|
||||
|
||||
2000-04-02 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* de.po: corrected a few entries
|
||||
|
||||
Thu Mar 30 07:11:26 CEST 2000 Marc Lehmann <pcg@goof.com>
|
||||
|
||||
* Makefile.PL: implemented Sven's suggestions (well, at least some
|
||||
of them). The default target will invoke pxgettext, merges the .po
|
||||
files and creates the .gmo files.
|
||||
|
||||
2000-03-28 Shirasaki Yasuhiro <yasuhiro@gnome.gr.jp>
|
||||
|
||||
* ja.po: updated Japanese translation.
|
||||
|
||||
2000-03-27 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* Makefile.PL: corrected the path to the example scripts
|
||||
* de.po: msgmerge to uncomment the messages again
|
||||
|
||||
2000-03-27 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* de.po: updated german translation
|
||||
|
||||
I've updated the pot-file and it seems that lots of strings have
|
||||
vanished. Looks like something's wrong with my setup. The missing
|
||||
strings are included as comments. Don't remove them!
|
||||
|
||||
Wed Mar 8 22:51:30 CET 2000 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* fr.po: s/<Images>/<Image>/
|
||||
s/<Boite a utils>/<Toolbox>/
|
||||
|
||||
2000-03-09 Shirasaki Yasuhiro <yasuhiro@gnome.gr.jp>
|
||||
|
||||
* ja.po: added japanese translation.
|
||||
|
||||
Wed Mar 8 15:34:45 CET 2000 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* de.po: updated german translation (not very happy with all
|
||||
translations, but it's a start...)
|
||||
|
||||
Mon Mar 6 22:31:58 CET 2000 Stanislav Brabec <utx@penguin.cz>
|
||||
|
||||
* cs.po: Updated translation.
|
||||
|
||||
Wed Mar 1 21:52:14 CET 2000 Stanislav Brabec <utx@penguin.cz>
|
||||
|
||||
* cs.po: Updated translation.
|
||||
|
||||
Mon Feb 21 14:40:47 CET 2000 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* .cvsignore: shut up CVS
|
||||
|
||||
Mon Feb 21 13:24:39 CET 2000 Marc Lehmann <pcg@goof.com>
|
||||
|
||||
* Makefile.PL: New file, should support the "standard" targets.
|
||||
* update.sh: Sven wrote this better version.
|
||||
|
||||
Mon Feb 21 01:15:28 CET 2000 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* .cvsignore: added a few files that shouldn't be in CVS
|
||||
|
||||
Mon Feb 21 02:05:14 CET 2000 Marc Lehmann <pcg@goof.com>
|
||||
|
||||
* de.po: Updated translation.
|
||||
|
||||
Sat Feb 19 23:39:03 CET 2000 Marc Lehmann <pcg@goof.com>
|
||||
|
||||
* update.sh: changed to _not_ update the .po files anymore
|
||||
(as suggested by sven).
|
||||
|
||||
Thu Feb 17 00:36:51 CET 2000 Stanislav Brabec <utx@penguin.cz>
|
||||
|
||||
* cs.po: Updated translation.
|
||||
|
||||
Mon Feb 14 21:23:46 CET 2000 Stanislav Brabec <utx@penguin.cz>
|
||||
|
||||
* cs.po: Updated translation.
|
||||
|
||||
Fri Feb 11 12:13:41 CET 2000 Stanislav Brabec <utx@penguin.cz>
|
||||
|
||||
* cs.po: Updated translation.
|
||||
|
||||
Mon Feb 7 13:27:30 CET 2000 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* it.po: Updates from Daniele Medri <madrid@linux.it>
|
||||
|
||||
Fri Feb 4 20:40:33 CET 2000 Stanislav Brabec <utx@penguin.cz>
|
||||
|
||||
* cs.po: Updated translation.
|
||||
|
||||
Fri Jan 28 19:16:43 CET 2000 Stanislav Brabec <utx@penguin.cz>
|
||||
|
||||
* cs.po: Updated translation.
|
||||
|
||||
Wed Jan 19 16:12:08 CET 2000 Stanislav Brabec <utx@penguin.cz>
|
||||
|
||||
* cs.po: Updated translation.
|
||||
|
||||
Sun Jan 16 18:08:33 CET 2000 Stanislav Brabec <utx@penguin.cz>
|
||||
|
||||
* cs.po: Completed translation.
|
||||
|
||||
Sat Jan 15 12:46:03 CET 2000 Stanislav Brabec <utx@penguin.cz>
|
||||
|
||||
* cs.po: Updated translation.
|
||||
|
||||
Tue Jan 11 21:00:11 CET 2000 Stanislav Brabec <utx@penguin.cz>
|
||||
|
||||
* cs.po: Updated translation.
|
||||
|
||||
2000-01-08
|
||||
* ru.po: Added Russian translation from
|
||||
Valek Filippov <frob@df.ru>
|
||||
|
||||
Fri Jan 7 19:26:06 CET 2000 Stanislav Brabec <utx@penguin.cz>
|
||||
|
||||
* cs.po: Updated translation.
|
||||
|
||||
1999-12-08 Kjartan Maraas <kmaraas@online.no>
|
||||
|
||||
* no.po: Added Norwegian translation.
|
||||
|
||||
Tue Dec 7 15:16:03 CET 1999 Stanislav Brabec <utx@penguin.cz>
|
||||
|
||||
* cs.po: Updated translation.
|
||||
|
||||
Fri Dec 3 22:52:38 CET 1999 Stanislav Brabec <utx@penguin.cz>
|
||||
|
||||
* cs.po: Added translation.
|
||||
|
|
@ -0,0 +1,246 @@
|
|||
# Makefile for program source directory in GNU NLS utilities package.
|
||||
# Copyright (C) 1995, 1996, 1997 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
|
||||
#
|
||||
# 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
|
||||
# but which still want to provide support for the GNU gettext functionality.
|
||||
# Please note that the actual code is *not* freely available.
|
||||
|
||||
PACKAGE = gimp-perl
|
||||
VERSION = @VERSION@
|
||||
|
||||
SHELL = /bin/sh
|
||||
@SET_MAKE@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
datadir = $(prefix)/@DATADIRNAME@
|
||||
localedir = $(datadir)/locale
|
||||
gnulocaledir = $(prefix)/share/locale
|
||||
gettextsrcdir = $(prefix)/share/gettext/po
|
||||
subdir = po-plug-ins
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
MKINSTALLDIRS = $(top_srcdir)/@MKINSTALLDIRS@
|
||||
|
||||
CC = @CC@
|
||||
GENCAT = @GENCAT@
|
||||
GMSGFMT = PATH=../src:$$PATH @GMSGFMT@
|
||||
MSGFMT = @MSGFMT@
|
||||
PXGETTEXT = perl $(srcdir)/pxgettext
|
||||
MSGMERGE = PATH=../src:$$PATH msgmerge
|
||||
|
||||
DEFS = @DEFS@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
|
||||
INCLUDES = -I.. -I$(top_srcdir)/intl
|
||||
|
||||
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS)
|
||||
|
||||
SOURCES = cat-id-tbl.c
|
||||
POFILES = @POFILES@
|
||||
GMOFILES = @GMOFILES@
|
||||
DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(PACKAGE).pot \
|
||||
stamp-cat-id $(POFILES) $(GMOFILES) $(SOURCES) $(PXGETTEXT)
|
||||
|
||||
POTFILES = \
|
||||
|
||||
CATALOGS = @CATALOGS@
|
||||
CATOBJEXT = @CATOBJEXT@
|
||||
INSTOBJEXT = @INSTOBJEXT@
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat
|
||||
|
||||
.c.o:
|
||||
$(COMPILE) $<
|
||||
|
||||
.po.pox:
|
||||
$(MAKE) $(PACKAGE).pot
|
||||
$(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox
|
||||
|
||||
.po.mo:
|
||||
$(MSGFMT) -o $@ $<
|
||||
|
||||
.po.gmo:
|
||||
file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
|
||||
&& rm -f $$file && $(GMSGFMT) -o $$file $<
|
||||
|
||||
.po.cat:
|
||||
sed -f ../intl/po2msg.sed < $< > $*.msg \
|
||||
&& rm -f $@ && $(GENCAT) $@ $*.msg
|
||||
|
||||
|
||||
all: all-@USE_NLS@
|
||||
|
||||
all-yes: cat-id-tbl.c $(CATALOGS)
|
||||
all-no:
|
||||
|
||||
$(srcdir)/$(PACKAGE).pot: $(POTFILES)
|
||||
$(PXGETTEXT) $(POTFILES) > $(PACKAGE).po \
|
||||
&& test ! -f $(PACKAGE).po \
|
||||
|| ( rm -f $(srcdir)/$(PACKAGE).pot \
|
||||
&& mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot )
|
||||
|
||||
$(srcdir)/cat-id-tbl.c: stamp-cat-id; @:
|
||||
$(srcdir)/stamp-cat-id: $(PACKAGE).pot
|
||||
rm -f cat-id-tbl.tmp
|
||||
sed -f ../intl/po2tbl.sed $(srcdir)/$(PACKAGE).pot \
|
||||
| sed -e "s/@PACKAGE NAME@/$(PACKAGE)/" > cat-id-tbl.tmp
|
||||
if cmp -s cat-id-tbl.tmp $(srcdir)/cat-id-tbl.c; then \
|
||||
rm cat-id-tbl.tmp; \
|
||||
else \
|
||||
echo cat-id-tbl.c changed; \
|
||||
rm -f $(srcdir)/cat-id-tbl.c; \
|
||||
mv cat-id-tbl.tmp $(srcdir)/cat-id-tbl.c; \
|
||||
fi
|
||||
cd $(srcdir) && rm -f stamp-cat-id && echo timestamp > stamp-cat-id
|
||||
|
||||
|
||||
install: install-exec install-data
|
||||
install-exec:
|
||||
install-data: install-data-@USE_NLS@
|
||||
install-data-no: all
|
||||
install-data-yes: all
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
$(MKINSTALLDIRS) $(datadir); \
|
||||
else \
|
||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(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/$$lang/LC_MESSAGES; \
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
$(MKINSTALLDIRS) $$dir; \
|
||||
else \
|
||||
$(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \
|
||||
fi; \
|
||||
if test -r $$cat; then \
|
||||
$(INSTALL_DATA) $$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \
|
||||
echo "installing $$cat as $$dir/$(PACKAGE)$(INSTOBJEXT)"; \
|
||||
else \
|
||||
$(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \
|
||||
echo "installing $(srcdir)/$$cat as" \
|
||||
"$$dir/$(PACKAGE)$(INSTOBJEXT)"; \
|
||||
fi; \
|
||||
if test -r $$cat.m; then \
|
||||
$(INSTALL_DATA) $$cat.m $$dir/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
echo "installing $$cat.m as $$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
|
||||
else \
|
||||
if test -r $(srcdir)/$$cat.m ; then \
|
||||
$(INSTALL_DATA) $(srcdir)/$$cat.m \
|
||||
$$dir/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
echo "installing $(srcdir)/$$cat as" \
|
||||
"$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
|
||||
else \
|
||||
true; \
|
||||
fi; \
|
||||
fi; \
|
||||
done
|
||||
if test "$(PACKAGE)" = "gettext"; then \
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
$(MKINSTALLDIRS) $(gettextsrcdir); \
|
||||
else \
|
||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \
|
||||
fi; \
|
||||
$(INSTALL_DATA) $(srcdir)/Makefile.in.in \
|
||||
$(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 $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
done
|
||||
rm -f $(gettextsrcdir)/po-Makefile.in.in
|
||||
|
||||
check: all
|
||||
|
||||
cat-id-tbl.o: ../intl/libgettext.h
|
||||
|
||||
dvi info tags TAGS ID:
|
||||
|
||||
mostlyclean:
|
||||
rm -f core core.* *.pox $(PACKAGE).po *.old.po cat-id-tbl.tmp
|
||||
rm -fr *.o
|
||||
|
||||
clean: mostlyclean
|
||||
|
||||
distclean: clean
|
||||
rm -f Makefile Makefile.in POTFILES *.mo *.msg *.cat *.cat.m
|
||||
|
||||
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)
|
||||
|
||||
distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
|
||||
dist distdir: update-po $(DISTFILES)
|
||||
dists="$(DISTFILES)"; \
|
||||
for file in $$dists; do \
|
||||
ln $(srcdir)/$$file $(distdir) 2> /dev/null \
|
||||
|| cp -p $(srcdir)/$$file $(distdir); \
|
||||
done
|
||||
|
||||
update-po: Makefile
|
||||
$(MAKE) $(PACKAGE).pot
|
||||
PATH=`pwd`/../src:$$PATH; \
|
||||
cd $(srcdir); \
|
||||
catalogs='$(CATALOGS)'; \
|
||||
for cat in $$catalogs; do \
|
||||
cat=`basename $$cat`; \
|
||||
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
||||
mv $$lang.po $$lang.old.po; \
|
||||
echo "$$lang:"; \
|
||||
if $(MSGMERGE) $$lang.old.po $(PACKAGE).pot -o $$lang.po; then \
|
||||
rm -f $$lang.old.po; \
|
||||
else \
|
||||
echo "msgmerge for $$cat failed!"; \
|
||||
rm -f $$lang.po; \
|
||||
mv $$lang.old.po $$lang.po; \
|
||||
fi; \
|
||||
done
|
||||
|
||||
POTFILES: POTFILES.in
|
||||
( if test 'x$(srcdir)' != 'x.'; then \
|
||||
posrcprefix='$(top_srcdir)/'; \
|
||||
else \
|
||||
posrcprefix="../"; \
|
||||
fi; \
|
||||
rm -f $@-t $@ \
|
||||
&& (sed -e '/^#/d' -e '/^[ ]*$$/d' \
|
||||
-e "s@.*@ $$posrcprefix& \\\\@" < $(srcdir)/$@.in \
|
||||
| sed -e '$$s/\\$$//') > $@-t \
|
||||
&& chmod a-w $@-t \
|
||||
&& mv $@-t $@ )
|
||||
|
||||
Makefile: Makefile.in.in ../config.status POTFILES
|
||||
cd .. \
|
||||
&& CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \
|
||||
$(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.
|
||||
.NOEXPORT:
|
|
@ -0,0 +1,87 @@
|
|||
# Files from the Gimp-Perl distribution which have been
|
||||
# marked to allow runtime translation of messages
|
||||
|
||||
plug-ins/perl/Gimp/Compat.pm
|
||||
plug-ins/perl/Gimp/Fu.pm
|
||||
plug-ins/perl/Gimp/Lib.xs
|
||||
plug-ins/perl/Gimp/Util.pm
|
||||
plug-ins/perl/Net/Net.pm
|
||||
plug-ins/perl/Net/Net.xs
|
||||
plug-ins/perl/Gimp.pm
|
||||
plug-ins/perl/Perl-Server
|
||||
plug-ins/perl/UI/UI.pm
|
||||
plug-ins/perl/UI/UI.xs
|
||||
plug-ins/perl/blib/lib/Gimp.pm
|
||||
plug-ins/perl/examples/Create_Images
|
||||
plug-ins/perl/examples/PDB
|
||||
plug-ins/perl/examples/alpha2color
|
||||
plug-ins/perl/examples/animate_cells
|
||||
plug-ins/perl/examples/avi
|
||||
plug-ins/perl/examples/billboard
|
||||
plug-ins/perl/examples/blended2
|
||||
plug-ins/perl/examples/blowinout
|
||||
plug-ins/perl/examples/border
|
||||
plug-ins/perl/examples/bricks
|
||||
plug-ins/perl/examples/burst
|
||||
plug-ins/perl/examples/centerguide
|
||||
plug-ins/perl/examples/clear_alpha
|
||||
plug-ins/perl/examples/colorhtml
|
||||
plug-ins/perl/examples/colourtoalpha
|
||||
plug-ins/perl/examples/dataurl
|
||||
plug-ins/perl/examples/ditherize
|
||||
plug-ins/perl/examples/dust
|
||||
plug-ins/perl/examples/example-fu
|
||||
plug-ins/perl/examples/example-net
|
||||
plug-ins/perl/examples/example-oo
|
||||
plug-ins/perl/examples/feedback
|
||||
plug-ins/perl/examples/fire
|
||||
plug-ins/perl/examples/fit-text
|
||||
plug-ins/perl/examples/font_table
|
||||
plug-ins/perl/examples/frame_filter
|
||||
plug-ins/perl/examples/frame_reshuffle
|
||||
plug-ins/perl/examples/gap-vcr
|
||||
plug-ins/perl/examples/gimp-make-img-map
|
||||
plug-ins/perl/examples/gimpmagick
|
||||
plug-ins/perl/examples/glowing_steel
|
||||
plug-ins/perl/examples/goldenmean
|
||||
plug-ins/perl/examples/gouge
|
||||
plug-ins/perl/examples/guide_remove
|
||||
plug-ins/perl/examples/guidegrid
|
||||
plug-ins/perl/examples/guides_to_selection
|
||||
plug-ins/perl/examples/homepage-logo
|
||||
plug-ins/perl/examples/image_list
|
||||
plug-ins/perl/examples/image_tile
|
||||
plug-ins/perl/examples/innerbevel
|
||||
plug-ins/perl/examples/layerfuncs
|
||||
plug-ins/perl/examples/logulator
|
||||
plug-ins/perl/examples/map_to_gradient
|
||||
plug-ins/perl/examples/miff
|
||||
plug-ins/perl/examples/mirrorsplit
|
||||
plug-ins/perl/examples/parasite-editor
|
||||
plug-ins/perl/examples/perlcc
|
||||
plug-ins/perl/examples/perlotine
|
||||
plug-ins/perl/examples/pixelmap
|
||||
plug-ins/perl/examples/povray
|
||||
plug-ins/perl/examples/prep4gif
|
||||
plug-ins/perl/examples/randomart1
|
||||
plug-ins/perl/examples/randomblends
|
||||
plug-ins/perl/examples/repdup
|
||||
plug-ins/perl/examples/roundrectsel
|
||||
plug-ins/perl/examples/roundsel
|
||||
plug-ins/perl/examples/scratches
|
||||
plug-ins/perl/examples/sethspin
|
||||
plug-ins/perl/examples/stampify
|
||||
plug-ins/perl/examples/stamps
|
||||
plug-ins/perl/examples/terral_text
|
||||
plug-ins/perl/examples/tex-to-float
|
||||
plug-ins/perl/examples/translogo
|
||||
plug-ins/perl/examples/triangle
|
||||
plug-ins/perl/examples/view3d
|
||||
plug-ins/perl/examples/visual
|
||||
plug-ins/perl/examples/warp-sharp
|
||||
plug-ins/perl/examples/webify
|
||||
plug-ins/perl/examples/windify
|
||||
plug-ins/perl/examples/xachlego
|
||||
plug-ins/perl/examples/xachshadow
|
||||
plug-ins/perl/examples/xachvision
|
||||
plug-ins/perl/examples/yinyang
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,3 @@
|
|||
PACKAGE = gimp-perl
|
||||
INSTALLSUBDIR = gimp
|
||||
include ../../gtk+/po/makefile.cygwin
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,63 @@
|
|||
#!/usr/bin/perl
|
||||
|
||||
# a lame attempt at xgettext for perl
|
||||
# no line numbers, yet
|
||||
|
||||
# 5.005_02 in particular seems to have a BIG BUG
|
||||
# resulting in an endless loop and a memory leak in the
|
||||
# regex machinery :(
|
||||
exit 0 unless ( $] >= 5.005_03 || $] <= 5.005 );
|
||||
|
||||
undef $/;
|
||||
|
||||
print <<'EOF';
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Free Software Foundation, Inc.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: gimp-perl VERSION\n"
|
||||
EOF
|
||||
|
||||
print "\"POT-Creation-Date: ", scalar localtime(), "\\n\"\n";
|
||||
|
||||
print <<'EOF';
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: ENCODING\n"
|
||||
EOF
|
||||
|
||||
while (<>) {
|
||||
$file = $ARGV;
|
||||
$file =~ s/\.\.\///;
|
||||
|
||||
while (/(?:N|_)_\(?"((?:[^"\\]+|\\.)*)"\)?/sg) {
|
||||
my $s = $1;
|
||||
if ($s =~ /\n/) {
|
||||
$e = "msgid \"\"\n";
|
||||
for (split /\n/, $s) {
|
||||
$e .= "\"$_\\n\"\n";
|
||||
}
|
||||
} else {
|
||||
$e = "msgid \"$s\"\n";
|
||||
}
|
||||
$e .= "msgstr \"\"\n";
|
||||
|
||||
$fileposition = "#: $file:0\n";
|
||||
|
||||
push @{$entry{$e}}, $fileposition;
|
||||
}
|
||||
}
|
||||
|
||||
foreach $e (sort keys %entry) {
|
||||
print @{$entry{$e}};
|
||||
print $e;
|
||||
print "\n";
|
||||
}
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,39 @@
|
|||
#!/bin/sh
|
||||
|
||||
PACKAGE="gimp-perl"
|
||||
|
||||
if [ "x$1" = "x--help" ]; then
|
||||
|
||||
echo Usage: ./update.sh langcode
|
||||
echo --help display this help and exit
|
||||
echo
|
||||
echo Examples of use:
|
||||
echo ./update.sh ----- just creates a new pot file from the source
|
||||
echo ./update.sh da -- created new pot file and updated the da.po file
|
||||
|
||||
elif [ "x$1" = "x" ]; then
|
||||
|
||||
echo "Building the $PACKAGE.pot ..."
|
||||
|
||||
perl ./pxgettext `sed -e 's/\\\\//' POTFILES` > $PACKAGE.po \
|
||||
&& test ! -f $PACKAGE.po \
|
||||
|| ( rm -f ./$PACKAGE.pot \
|
||||
&& mv $PACKAGE.po ./$PACKAGE.pot );
|
||||
|
||||
else
|
||||
|
||||
echo "Building the $PACKAGE.pot ..."
|
||||
|
||||
perl ./pxgettext `sed -e 's/\\\\//' POTFILES` > $PACKAGE.po \
|
||||
&& test ! -f $PACKAGE.po \
|
||||
|| ( rm -f ./$PACKAGE.pot \
|
||||
&& mv $PACKAGE.po ./$PACKAGE.pot );
|
||||
|
||||
echo "Now merging $1.po with $PACKAGE.pot, and creating an updated $1.po ..."
|
||||
|
||||
mv $1.po $1.po.old && msgmerge $1.po.old $PACKAGE.pot -o $1.po \
|
||||
&& rm $1.po.old;
|
||||
|
||||
msgfmt --statistics $1.po
|
||||
|
||||
fi;
|
|
@ -2,7 +2,6 @@
|
|||
*.mo
|
||||
Makefile
|
||||
Makefile.in
|
||||
Makefile.in.in
|
||||
POTFILES
|
||||
cat-id-tbl.c
|
||||
*.pot
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
*.mo
|
||||
Makefile
|
||||
Makefile.in
|
||||
Makefile.in.in
|
||||
POTFILES
|
||||
cat-id-tbl.c
|
||||
*.pot
|
||||
|
|
Loading…
Reference in New Issue