Package: gpr
Version: 0.9deb-7
Severity: wishlist
Tags: l10n
Hi,
Please find attached the French translation, proofread by the
debian-l10n-french mailing list contributors.
This file should be put as fr.po in the appropriate place in
your package build tree.
There was some modification to do to have the transslation to work as well as
some unstranslatable strigs.
You will find attached :
configure.in.diff which take account of the fr language and the
destination directory
Makefile.in.in which has to be put in the ./po directory instead
of the existing one. The existing one is quite
standard... and never works
gpr-gettext-src-diff whish is the source file gettitisation [tm] for
otherwise no translatable strings. I'm not sure I've
checked everything. Maybe some are still missing,
please have a look.
fr.po finally, the French translation for the program
Thanks to Thomas Huriaux <[EMAIL PROTECTED]> for his contribution for the
configure script and ./po/Makefile.in.in
Best regards
Jean-Luc
-- Package-specific info:
ls -la /usr/bin/lpr
lrwxrwxrwx 1 root root 24 2005-11-06 14:23 /usr/bin/lpr ->
/usr/lib/gpr/lpr.wrapper
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (900, 'unstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-k8-5
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages gpr depends on:
ii cupsys-bsd [lpr] 1.1.23-12 Common UNIX Printing System(tm) -
ii debconf [debconf-2.0] 1.4.59 Debian configuration management sy
ii gdk-imlib11 1.9.14-26 imaging library for use with gtk
ii libart2 1.4.2-26 The GNOME canvas widget - runtime
ii libaudiofile0 0.2.6-6 Open-source version of SGI's audio
ii libc6 2.3.5-7 GNU C Library: Shared libraries an
ii libdb3 3.2.9-23 Berkeley v3 Database Libraries [ru
ii libesd-alsa0 [libesd0] 0.2.36-1 Enlightened Sound Daemon (ALSA) -
ii libglib1.2 1.2.10-10 The GLib library of C routines
ii libgnome32 1.4.2-26 The GNOME libraries
ii libgnomesupport0 1.4.2-26 The GNOME libraries (Support libra
ii libgnomeui32 1.4.2-26 The GNOME libraries (User Interfac
ii libgtk1.2 1.2.10-18 The GIMP Toolkit set of widgets fo
ii libice6 6.8.2.dfsg.1-10 Inter-Client Exchange library
ii libppd0 2:0.10-4 postscript PPD file library
ii libsm6 6.8.2.dfsg.1-10 X Window System Session Management
ii libx11-6 6.8.2.dfsg.1-10 X Window System protocol client li
ii libxext6 6.8.2.dfsg.1-10 X Window System miscellaneous exte
ii libxi6 6.8.2.dfsg.1-10 X Window System Input extension li
ii libxml1 1:1.8.17-10 GNOME XML library
ii ppdfilt 2:0.10-4 filter that inserts printer specif
ii xlibs 6.8.2.dfsg.1-10 X Window System client libraries m
ii zlib1g 1:1.2.3-8 compression library - runtime
Versions of packages gpr recommends:
ii a2ps 1:4.13b-5 GNU a2ps - 'Anything to PostScript
-- debconf information:
* gpr/divert_lpr: true
--- ../gpr-0.9deb.init/configure.in 2005-11-10 17:13:48.000000000 +0100
+++ configure.in 2005-11-10 17:15:39.000000000 +0100
@@ -40,18 +40,17 @@
GNOME_X_CHECKS
dnl Add the languages which your application supports here.
-ALL_LINGUAS=""
-AM_GNU_GETTEXT([external])
+ALL_LINGUAS="fr"
+AM_GNU_GETTEXT([external])
dnl Set PACKAGE_LOCALE_DIR in config.h.
dnl Subst PACKAGE_PIXMAPS_DIR.
dnl Subst PACKAGE_SCRIPTS_DIR.
if test "x${prefix}" = "xNONE"; then
- kjwerojgr="${ac_default_prefix}/${DATADIRNAME}/locale"
- else
- kjwerojgr= "${prefix}/${DATADIRNAME}/locale"
+ AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${ac_default_prefix}/share/locale",[locale directory])
+else
+ AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${prefix}/share/locale",[locale directory])
fi
-AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR,"$kjwerojgr" ,[fixme])
AC_DEFINE([HAVE_LIBSM], [], [fixme])
# Makefile for PO directory in any package using GNU gettext.
# Copyright (C) 1995-1997, 2000-2005 by Ulrich Drepper <[EMAIL PROTECTED]>
#
# This file can be copied and used freely without restrictions. It can
# be used in projects which are not available under the GNU General Public
# License but which still want to provide support for the GNU gettext
# functionality.
# Please note that the actual code of GNU gettext is covered by the GNU
# General Public License and is *not* in the public domain.
#
# Origin: gettext-0.14.4
PACKAGE = @PACKAGE@
VERSION = @VERSION@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
SHELL = /bin/sh
@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
datadir = @datadir@
localedir = $(datadir)/locale
gettextsrcdir = $(datadir)/gettext/po
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
MKINSTALLDIRS = @MKINSTALLDIRS@
mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
GMSGFMT = @GMSGFMT@
MSGFMT = @MSGFMT@
XGETTEXT = @XGETTEXT@
MSGMERGE = msgmerge
MSGMERGE_UPDATE = @MSGMERGE@ --update
MSGINIT = msginit
MSGCONV = msgconv
MSGFILTER = msgfilter
POFILES = @POFILES@
GMOFILES = @GMOFILES@
UPDATEPOFILES = @UPDATEPOFILES@
DUMMYPOFILES = @DUMMYPOFILES@
DISTFILES.common = Makefile.in.in remove-potcdate.sin \
$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \
$(POFILES) $(GMOFILES) \
$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3)
POTFILES = \
CATALOGS = @CATALOGS@
# Makevars gets inserted here. (Don't remove this line!)
.SUFFIXES:
.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update
.po.mo:
@echo "$(MSGFMT) -c -o $@ $<"; \
$(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
.po.gmo:
@lang=`echo $* | sed -e 's,.*/,,'`; \
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o
$${lang}.gmo $${lang}.po"; \
cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o
t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
.sin.sed:
sed -e '/^#/d' $< > t-$@
mv t-$@ $@
all: [EMAIL PROTECTED]@
all-yes: stamp-po
all-no:
# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
# we don't want to bother translators with empty POT files). We assume that
# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
# In this case, stamp-po is a nop (i.e. a phony target).
# stamp-po is a timestamp denoting the last time at which the CATALOGS have
# been loosely updated. Its purpose is that when a developer or translator
# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
# invocations of "make" will do nothing. This timestamp would not be necessary
# if updating the $(CATALOGS) would always touch them; however, the rule for
# $(POFILES) has been designed to not touch files that don't need to be
# changed.
stamp-po: $(srcdir)/$(DOMAIN).pot
test ! -f $(srcdir)/$(DOMAIN).pot || \
test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
@test ! -f $(srcdir)/$(DOMAIN).pot || { \
echo "touch stamp-po" && \
echo timestamp > stamp-poT && \
mv stamp-poT stamp-po; \
}
# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
# otherwise packages like GCC can not be built if only parts of the source
# have been downloaded.
# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' =
'@'PACKAGE_BUGREPORT'@'; then \
msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
else \
msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
fi; \
$(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
--add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \
--files-from=$(srcdir)/POTFILES.in \
--copyright-holder='$(COPYRIGHT_HOLDER)' \
--msgid-bugs-address="$$msgid_bugs_address"
test ! -f $(DOMAIN).po || { \
if test -f $(srcdir)/$(DOMAIN).pot; then \
sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot >
$(DOMAIN).1po && \
sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
else \
rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
fi; \
else \
mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
fi; \
}
# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
# every "make" invocation, only create it when it is missing.
# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
$(srcdir)/$(DOMAIN).pot:
$(MAKE) $(DOMAIN).pot-update
# This target rebuilds a PO file if $(DOMAIN).pot has changed.
# Note that a PO file is not touched if it doesn't need to be changed.
$(POFILES): $(srcdir)/$(DOMAIN).pot
@lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
if test -f "$(srcdir)/$${lang}.po"; then \
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \
cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \
else \
$(MAKE) $${lang}.po-create; \
fi
install: install-exec install-data
install-exec:
install-data: [EMAIL PROTECTED]@
if test "$(PACKAGE)" = "gettext-tools"; then \
$(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
for file in $(DISTFILES.common) Makevars.template; do \
$(INSTALL_DATA) $(srcdir)/$$file \
$(DESTDIR)$(gettextsrcdir)/$$file; \
done; \
for file in Makevars; do \
rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
done; \
else \
: ; \
fi
install-data-no: all
install-data-yes: all
$(mkinstalldirs) $(DESTDIR)$(datadir)
@catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \
cat=`basename $$cat`; \
lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
dir=$(localedir)/$$lang/LC_MESSAGES; \
$(mkinstalldirs) $(DESTDIR)$$dir; \
if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat;
fi; \
$(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
if test -n "$$lc"; then \
if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc
2>/dev/null) | grep ' -> ' >/dev/null; then \
link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d
$$lc | sed -e 's/^.* -> //'`; \
mv $(DESTDIR)$(localedir)/$$lang/$$lc
$(DESTDIR)$(localedir)/$$lang/$$lc.old; \
mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
(cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
for file in *; do \
if test -f $$file; then \
ln -s ../$$link/$$file
$(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
fi; \
done); \
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
else \
if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
:; \
else \
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
fi; \
fi; \
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
ln -s ../LC_MESSAGES/$(DOMAIN).mo
$(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo
$(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo
$(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
echo "installing $$realcat link as
$(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
fi; \
done; \
done
install-strip: install
installdirs: installdirs-exec installdirs-data
installdirs-exec:
installdirs-data: [EMAIL PROTECTED]@
if test "$(PACKAGE)" = "gettext-tools"; then \
$(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
else \
: ; \
fi
installdirs-data-no:
installdirs-data-yes:
$(mkinstalldirs) $(DESTDIR)$(datadir)
@catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \
cat=`basename $$cat`; \
lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
dir=$(localedir)/$$lang/LC_MESSAGES; \
$(mkinstalldirs) $(DESTDIR)$$dir; \
for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
if test -n "$$lc"; then \
if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc
2>/dev/null) | grep ' -> ' >/dev/null; then \
link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d
$$lc | sed -e 's/^.* -> //'`; \
mv $(DESTDIR)$(localedir)/$$lang/$$lc
$(DESTDIR)$(localedir)/$$lang/$$lc.old; \
mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
(cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
for file in *; do \
if test -f $$file; then \
ln -s ../$$link/$$file
$(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
fi; \
done); \
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
else \
if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
:; \
else \
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
fi; \
fi; \
fi; \
done; \
done
# Define this as empty until I found a useful application.
installcheck:
uninstall: uninstall-exec uninstall-data
uninstall-exec:
uninstall-data: [EMAIL PROTECTED]@
if test "$(PACKAGE)" = "gettext-tools"; then \
for file in $(DISTFILES.common) Makevars.template; do \
rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
done; \
else \
: ; \
fi
uninstall-data-no:
uninstall-data-yes:
catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \
cat=`basename $$cat`; \
lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
done; \
done
check: all
info dvi ps pdf html tags TAGS ctags CTAGS ID:
mostlyclean:
rm -f remove-potcdate.sed
rm -f stamp-poT
rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
rm -fr *.o
clean: mostlyclean
distclean: clean
rm -f Makefile Makefile.in POTFILES *.mo
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 stamp-po $(GMOFILES)
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
dist distdir:
$(MAKE) update-po
@$(MAKE) dist2
# This is a separate target because 'update-po' must be executed before.
dist2: stamp-po $(DISTFILES)
dists="$(DISTFILES)"; \
if test "$(PACKAGE)" = "gettext-tools"; then \
dists="$$dists Makevars.template"; \
fi; \
if test -f $(srcdir)/$(DOMAIN).pot; then \
dists="$$dists $(DOMAIN).pot stamp-po"; \
fi; \
if test -f $(srcdir)/ChangeLog; then \
dists="$$dists ChangeLog"; \
fi; \
for i in 0 1 2 3 4 5 6 7 8 9; do \
if test -f $(srcdir)/ChangeLog.$$i; then \
dists="$$dists ChangeLog.$$i"; \
fi; \
done; \
if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \
for file in $$dists; do \
if test -f $$file; then \
cp -p $$file $(distdir) || exit 1; \
else \
cp -p $(srcdir)/$$file $(distdir) || exit 1; \
fi; \
done
update-po: Makefile
$(MAKE) $(DOMAIN).pot-update
test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
$(MAKE) update-gmo
# General rule for creating PO files.
.nop.po-create:
@lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
echo "File $$lang.po does not exist. If you are a translator, you can
create it through 'msginit'." 1>&2; \
exit 1
# General rule for updating PO files.
.nop.po-update:
@lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH;
fi; \
tmpdir=`pwd`; \
echo "$$lang:"; \
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
cd $(srcdir); \
if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \
if cmp $$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 \
:; \
else \
echo "msgmerge for $$lang.po failed: cannot move
$$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
exit 1; \
fi; \
fi; \
else \
echo "msgmerge for $$lang.po failed!" 1>&2; \
rm -f $$tmpdir/$$lang.new.po; \
fi
$(DUMMYPOFILES):
update-gmo: Makefile $(GMOFILES)
@:
Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/[EMAIL PROTECTED] CONFIG_HEADERS= \
$(SHELL) ./config.status
force:
# 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:
# French translation of gpr
# Copyright (C) 2005 Free Software Foundation, Inc.
# Jean-Luc Coulon (f5ibh) <[EMAIL PROTECTED]>, 2005.
#
msgid ""
msgstr ""
"Project-Id-Version: gpr\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-11-11 15:48+0100\n"
"PO-Revision-Date: 2005-11-14 17:12+0100\n"
"Last-Translator: Jean-Luc Coulon (f5ibh) <[EMAIL PROTECTED]>\n"
"Language-Team: French <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=iso-8859-15\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: French\n"
"X-Poedit-Country: FRANCE\n"
#: ../src/main.c:59
msgid "Specify a destination printer"
msgstr "Indiquer une imprimante de destination"
#: ../src/main.c:62
msgid "Enable debugging output"
msgstr "Afficher les informations de débogage"
#: ../src/main.c:65
msgid "lpr option: Job name to print on burst page"
msgstr "option de lpr : nom de travail à imprimer sur la page d'en-tête"
#: ../src/main.c:68
msgid "lpr option: Remove the files upon completion of spooling"
msgstr ""
"option de lpr : supprimer les fichiers une fois la mise en file d'attente "
"effectuée"
#: ../src/main.c:71
msgid "gpr option: Print the command line rather than executing the command"
msgstr ""
"option de gpr : afficher la commande d'impression plutôt que de l'exécuter"
#: ../src/main.c:75
msgid "gpr option: Use ppdfilt: 0 = Never, 1 = Always, 2 = with non-default PPD"
msgstr ""
"option de gpr : utiliser ppdfilt : 0 = jamais, 1 = toujours, 2 = avec un "
"fichier PPD autre que celui par défaut"
#: ../src/interface.c:216
msgid "gpr"
msgstr "gpr"
#. label for printfile entrybox
#: ../src/interface.c:255
msgid ""
"File To\n"
"Print"
msgstr ""
"Fichier à\n"
"imprimer"
#. label for printer selection optionmenu
#: ../src/interface.c:327
msgid "Select Printer"
msgstr "Imprimante"
#. label for ppd file entry box
#: ../src/interface.c:368
msgid "PPD File"
msgstr "Fichier PPD"
#. frame around printer configuration objects
#: ../src/interface.c:471
msgid "Printer Configuration"
msgstr "Configuration de l'imprimante"
#. printer configuration button
#: ../src/interface.c:506
msgid ""
"Configure\n"
"Printer"
msgstr ""
"Configurer\n"
"l'imprimante"
#. frame around saved settings objects
#: ../src/interface.c:521
msgid "Saved Settings"
msgstr "Paramètres enregistrés"
#. label for saved setting option menu
#: ../src/interface.c:547
msgid "Retrieve Settings"
msgstr "Charger les paramètres"
#. "Save Settings button
#: ../src/interface.c:578
msgid "Save Settings"
msgstr "Enregistrer les paramètres"
#. notebook tab1 label
#: ../src/interface.c:601
msgid "Main"
msgstr "Principal"
#. label for the number of copies spinbox
#: ../src/interface.c:639
msgid "Copies"
msgstr "Copies"
#. label describing the page size option combo
#: ../src/interface.c:688
msgid "Media Size"
msgstr "Taille du support"
#. frame around page range objects
#: ../src/interface.c:716
msgid "Page Ranges"
msgstr "Pages à imprimer"
#: ../src/interface.c:742
msgid "All"
msgstr "Toutes"
#: ../src/interface.c:755
msgid "Odd"
msgstr "Impaires"
#: ../src/interface.c:767
msgid "Even"
msgstr "Paires"
#: ../src/interface.c:787
msgid "From"
msgstr "De"
#. label for the "To" portion of the range
#: ../src/interface.c:813
msgid "To"
msgstr "à"
#. frame around n-up objects
#: ../src/interface.c:888
msgid "N-Up Printing"
msgstr "Regroupement des pages"
#. radiobutton for choosing 1-up layout (default)
#: ../src/interface.c:940
msgid "1-Up"
msgstr "1 par feuille"
#. radiobutton for choosing 2-up layout
#: ../src/interface.c:951
msgid "2-Up"
msgstr "2 par feuille"
#. radiobutton for choosing 4-up layout
#: ../src/interface.c:961
msgid "4-Up"
msgstr "4 par feuille"
#. frame around collate objects
#: ../src/interface.c:1034
msgid "Collate"
msgstr "Assembler les copies"
#: ../src/interface.c:1079
#: ../src/interface.c:1170
msgid "Yes"
msgstr "Oui"
#: ../src/interface.c:1091
#: ../src/interface.c:1182
msgid "No"
msgstr "Non"
#. frame around reverse order objects
#: ../src/interface.c:1127
msgid "Reverse Order"
msgstr "Inverser l'ordre d'impression"
#. notebook tab 2 label
#: ../src/interface.c:1217
msgid "Common Options"
msgstr "Options communes"
#. notebook 3 label
#: ../src/interface.c:1251
msgid "Printer"
msgstr "Imprimante"
#. print button
#: ../src/interface.c:1272
msgid "Print"
msgstr "Imprimer"
#: ../src/interface.c:1358
msgid "Installable Options"
msgstr "Options installables"
#: ../src/interface.c:1619
#, c-format
msgid ""
"FATAL ERROR!\n"
"\n"
"Cannot open %s.\n"
"\n"
"Exit the program and ensure that a proper printcap file is present."
msgstr ""
"ERREUR FATALE !\n"
"\n"
"Ouverture de %s impossible.\n"
"\n"
"Quittez le programme et assurez-vous de la présence d'un fichier printcap "
"approprié. "
#: ../src/callbacks.c:112
msgid "Unable to load file to print\n"
msgstr "Chargement du fichier à imprimer impossible\n"
#: ../src/callbacks.c:167
msgid ""
"ERROR!\n"
"\n"
"Unable to load ppd file.\n"
"Please select another PPD file."
msgstr ""
"ERREUR !\n"
"\n"
"Impossible de charger le fichier PPD.\n"
"Veuillez choisir un autre fichier PPD."
#: ../src/callbacks.c:252
msgid ""
"Unable to find a default PPD file.\n"
"Please select a PPD file with the file browser or\n"
"edit the printcap file section for this printer,\n"
"adding an entry under \"ppdfile=\".\n"
msgstr ""
"Fichier PPD par défaut introuvable.\n"
"Veuillez choisir un fichier PPD avec le navigateur\n"
"de fichiers ou éditer la section du fichier printcap\n"
"correspondant à cette imprimante en ajoutant une entrée\n"
"« ppdfile= ».\n"
#: ../src/callbacks.c:425
#, c-format
msgid ""
"ERROR!\n"
"\n"
"Invalid file name. The PPD file \n"
"%s\n"
"associated with this printer doesn't\n"
"exist. You can either install the\n"
"PPD file or select another PPD file.\n"
msgstr ""
"ERREUR !\n"
"\n"
"Nom de fichier non valable. Le fichier PPD\n"
"%s\n"
"associé avec cette imprimante n'existe pas.\n"
"Vous pouvez soit installer le fichier PPD,\n"
"soit choisir un autre fichier PPD.\n"
#: ../src/callbacks.c:438
msgid ""
"Invalid PPD file.\n"
"Please select a PPD file with the file browser or\n"
"edit the printcap file section for this printer,\n"
"adding an entry under \"ppdfile=\".\n"
msgstr ""
"Fichier PPD non valable.\n"
"Veuillez choisir un fichier PPD avec le navigateur\n"
"de fichier ou éditer la section du fichier printcap\n"
"correspondant à cette imprimante en ajoutant une\n"
"entrée « pidfile= ».\n"
#. OK, this needs to be more explanatory. will fix later
#: ../src/callbacks.c:541
#: ../src/callbacks.c:560
#, c-format
msgid ""
"Unable to create configuration directory (%s).\n"
"Make sure you have adequate file permissions for this directory.\n"
"\n"
"Session settings will not be saved.\n"
msgstr ""
"Impossible de créer le répertoire de configuration (%s).\n"
"Assurez-vous que vous avez les droits suffisants dans ce répertoire.\n"
"\n"
"Les paramètres de la session ne seront pas enregistrés.\n"
#: ../src/callbacks.c:614
#, c-format
msgid "No file to print was specified. Exitting Gpr.\n"
msgstr "Aucun fichier à imprimer n'a été indiqué. Fin du programme gpr.\n"
#: ../src/callbacks.c:670
msgid ""
"Unable to print non-PostScript file.\n"
"Please install a2ps.\n"
msgstr ""
"Impossible d'imprimer un fichier non PostScript.\n"
"Veuillez installer a2ps.\n"
#: ../src/callbacks.c:1307
#: ../src/callbacks.c:1391
#, c-format
msgid ""
"CONFLICTING CHOICES!\n"
"\n"
"%s\n"
"Please change options to eliminate conflicts."
msgstr ""
"CHOIX CONFLICTUELS !\n"
"\n"
"%s\n"
"Veuillez modifier les options pour éliminer les conflits."
#: ../src/callbacks.c:1485
msgid "Please enter a name for your settings!"
msgstr "Veuillez choisir un nom pour vos paramètres."
#: ../src/support.c:69
#, c-format
msgid "Widget not found: %s"
msgstr "Objet graphique introuvable : %s"
#: ../src/support.c:100
msgid "Couldn't create replacement pixmap."
msgstr "Impossible de créer l'image de remplacement."
#: ../src/support.c:132
msgid "Couldn't create pixmap from data."
msgstr "Impossible de créer l'image à partir des données."
#: ../src/support.c:151
#: ../src/support.c:186
#, c-format
msgid "Couldn't find pixmap file: %s"
msgstr "Impossible de trouver le fichier image : %s"
#: ../src/support.c:166
#, c-format
msgid "Couldn't create pixmap from file: %s"
msgstr "Impossible de créer l'image à partir du fichier : %s"
#: ../src/tab_categories.c:60
#, c-format
msgid "title = %s\n"
msgstr "titre = %s\n"
#: ../src/tab_categories.c:64
#, c-format
msgid "pattern = %s\n"
msgstr "motif = %s\n"
#: ../src/tab_categories.c:68
#, c-format
msgid "regexp = %d\n"
msgstr "expression rationnelle = %d\n"
#: ../src/tab_categories.c:74
#, c-format
msgid "string = %s\n"
msgstr "chaîne = %s\n"
#: ../src/tab_categories.c:88
#, c-format
msgid "out of memory\n"
msgstr "mémoire insuffisante\n"
#: ../src/tab_categories.c:194
#, c-format
msgid "empty document\n"
msgstr "document vide\n"
#: ../src/tab_categories.c:202
#, c-format
msgid "Document of the wrong type\n"
msgstr "Type de document incorrect\n"
#: ../src/tab_categories.c:214
#, c-format
msgid "document of the wrong type, Tabs expected, found (%s)\n"
msgstr ""
"type de document incorrect, des tabulations sont attendues, trouvé (%s)\n"
#: ../src/tab_categories.c:309
#: ../src/tab_categories.c:312
#: ../src/tab_categories.c:315
#: ../src/tab_categories.c:318
#, c-format
msgid "[%s] matches [%s]\n"
msgstr "[%s] correspond à [%s]\n"
diff -ruB --exclude='*o' gpr-0.9deb.orig/src/callbacks.c
gpr-0.9deb/src/callbacks.c
--- gpr-0.9deb.orig/src/callbacks.c 2005-03-17 00:05:12.000000000 +0100
+++ gpr-0.9deb/src/callbacks.c 2005-11-11 15:29:15.295096655 +0100
@@ -109,7 +109,7 @@
local_ppd->file_to_print = tmp;
if (local_ppd->file_to_print == NULL) {
- g_printerr("Unable to load file to print\n");
+ g_printerr(_("Unable to load file to print\n"));
return;
}
}
@@ -164,7 +164,7 @@
if (local_ppd->ppd_file == NULL) {
g_printerr
- ("ERROR!\n\nUnable to load ppd file.\nPlease select another PPD file.");
+ (_("ERROR!\n\nUnable to load ppd file.\nPlease select another PPD
file."));
return;
}
}
@@ -249,7 +249,7 @@
if ((ppd_file == NULL) && (default_ppd_file == NULL)
&& (printcap_ppd_file == NULL)) {
g_printerr
- ("Unable to find a default PPD file.\nPlease select a PPD file with the
file browser or\nedit the printcap file section for this printer,\nadding an
entry under \"ppdfile=\".\n");
+ (_("Unable to find a default PPD file.\nPlease select a PPD file with
the file browser or\nedit the printcap file section for this printer,\nadding
an entry under \"ppdfile=\".\n"));
return;
}
@@ -422,10 +422,10 @@
* Check to see if the name is a file or a directory
*/
if (!is_file((gchar *) local_file)) {
- g_printerr("ERROR!\n\n" "Invalid file name. The PPD file \n%s\n"
+ g_printerr(_("ERROR!\n\n" "Invalid file name. The PPD file \n%s\n"
"associated with this printer doesn't\n"
"exist. You can either install the\n"
- "PPD file or select another PPD file.\n",local_file);
+ "PPD file or select another PPD file.\n"),local_file);
return;
}
@@ -435,7 +435,7 @@
// check handle here, output error message if null
if (local_ppd_handle == NULL) {
g_printerr
- ("Invalid PPD file.\nPlease select a PPD file with the file browser
or\nedit the printcap file section for this printer,\nadding an entry under
\"ppdfile=\".\n");
+ (_("Invalid PPD file.\nPlease select a PPD file with the file browser
or\nedit the printcap file section for this printer,\nadding an entry under
\"ppdfile=\".\n"));
return;
}
@@ -538,12 +538,12 @@
if (chdir((char *)config_dir) != 0) {
if (mkdir((char *)config_dir, 0700) != 0) {
/* OK, this needs to be more explanatory. will fix later */
- errorstr = g_strconcat ("Unable to create configuration "
- "directory (", config_dir, ").\n"
+ errorstr = g_strdup_printf (_("Unable to create configuration "
+ "directory (%s).\n"
"Make sure you have adequate file "
"permissions for this directory.\n\n"
- "Session settings will not be saved.\n",
- NULL);
+ "Session settings will not be saved.\n"),
+ config_dir);
g_printerr(errorstr);
g_free (errorstr);
}
@@ -557,12 +557,12 @@
if (chdir((char *)config_dir) != 0) {
if (mkdir((char *)config_dir, 0700) != 0) {
/* OK, this needs to be more explanatory. will fix later */
- errorstr = g_strconcat ("Unable to create configuration "
- "directory (", config_dir, ").\n"
- "Make sure you have adequate file "
- "permissions for this directory.\n\n"
- "Session settings will not be saved.\n",
- NULL);
+ errorstr = g_strdup_printf (_("Unable to create configuration "
+ "directory (%s).\n"
+ "Make sure you have adequate file "
+ "permissions for this directory.\n\n"
+ "Session settings will not be saved.\n"),
+ config_dir);
g_printerr(errorstr);
g_free (errorstr);
@@ -611,7 +611,7 @@
g_set_printerr_handler((GPrintFunc) error_box);
if (local_ppd->file_to_print == NULL) {
- fprintf (stderr, "No file to print was specified. Exitting Gpr.\n");
+ fprintf (stderr, _("No file to print was specified. Exitting Gpr.\n"));
return;
}
@@ -667,7 +667,7 @@
g_strconcat(command_line, quoted_filename, " ", NULL);
command_line = g_strconcat(command_line, "| ppdfilt -p ", NULL);
} else {
- g_printerr("Unable to print non-PostScript file.\nPlease install
a2ps.\n");
+ g_printerr(_("Unable to print non-PostScript file.\nPlease install
a2ps.\n"));
return;
}
}
@@ -1304,8 +1304,9 @@
/* show constraint dialog if there are any conflicts */
if (constr_message != NULL) {
constr_message =
- g_strjoin("\n", "CONFLICTING CHOICES!\n", constr_message,
- "Please change options to eliminate conflicts.", NULL);
+ g_strdup_printf(_("CONFLICTING CHOICES!\n\n%s\n"
+ "Please change options to eliminate conflicts."),
+ constr_message);
g_printerr(constr_message);
}
}
@@ -1387,8 +1388,9 @@
/* if there are conflicts, show the constraint dialog */
if (constr_message != NULL) {
constr_message =
- g_strjoin("\n", "CONFLICTING CHOICES!\n", constr_message,
- "Please change options to eliminate conflicts.", NULL);
+ g_strdup_printf(_("CONFLICTING CHOICES!\n\n%s\n"
+ "Please change options to eliminate conflicts."),
+ constr_message);
g_printerr(constr_message);
}
}
@@ -1480,7 +1482,7 @@
* if no name is specified, do nothing
*/
if ((g_strcasecmp(sett_name, "") == 0) || (sett_name == NULL)) {
- g_printerr("Please enter a name for your settings!");
+ g_printerr(_("Please enter a name for your settings!"));
return;
} else
local_ppd->setting_name = g_strdup(sett_name);
diff -ruB --exclude='*o' gpr-0.9deb.orig/src/interface.c
gpr-0.9deb/src/interface.c
--- gpr-0.9deb.orig/src/interface.c 2005-03-17 00:05:13.000000000 +0100
+++ gpr-0.9deb/src/interface.c 2005-11-11 15:39:14.833076428 +0100
@@ -1616,9 +1616,9 @@
printcap = fopen(PRINTCAP, "r");
if (printcap == NULL) {
g_printerr
- ("FATAL ERROR!\n\nCannot open %s.\n\nExit the program and ensure that a"
- "proper printcap file is present.",
- PRINTCAP);
+ (_("FATAL ERROR!\n\nCannot open %s.\n\nExit the program and ensure that "
+ "a proper printcap file is present."),
+ PRINTCAP);
return NULL;
}
diff -ruB --exclude='*o' gpr-0.9deb.orig/src/Makefile.in
gpr-0.9deb/src/Makefile.in
--- gpr-0.9deb.orig/src/Makefile.in 2005-10-01 23:27:47.000000000 +0200
+++ gpr-0.9deb/src/Makefile.in 2005-11-14 17:06:52.423074813 +0100
@@ -1,8 +1,8 @@
-# Makefile.in generated by automake 1.7.9 from Makefile.am.
+# Makefile.in generated by automake 1.8.5 from Makefile.am.
# @configure_input@
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
-# Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -14,6 +14,8 @@
@SET_MAKE@
+SOURCES = $(gpr_SOURCES)
+
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
@@ -36,6 +37,50 @@
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_triplet = @host@
+bin_PROGRAMS = gpr$(EXEEXT)
+subdir = src
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/macros/compiler-flags.m4 \
+ $(top_srcdir)/macros/gnome-gnorba-check.m4 \
+ $(top_srcdir)/macros/gnome-orbit-check.m4 \
+ $(top_srcdir)/macros/gnome-pthread-check.m4 \
+ $(top_srcdir)/macros/gnome-x-checks.m4 \
+ $(top_srcdir)/macros/gnome.m4 $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+am__installdirs = "$(DESTDIR)$(bindir)"
+binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+PROGRAMS = $(bin_PROGRAMS)
+am_gpr_OBJECTS = main.$(OBJEXT) support.$(OBJEXT) callbacks.$(OBJEXT) \
+ interface.$(OBJEXT) tab_categories.$(OBJEXT)
+gpr_OBJECTS = $(am_gpr_OBJECTS)
+am__DEPENDENCIES_1 =
+gpr_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
[EMAIL PROTECTED]@DEP_FILES = ./$(DEPDIR)/callbacks.Po \
[EMAIL PROTECTED]@ ./$(DEPDIR)/interface.Po ./$(DEPDIR)/main.Po \
[EMAIL PROTECTED]@ ./$(DEPDIR)/support.Po \
[EMAIL PROTECTED]@ ./$(DEPDIR)/tab_categories.Po
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(gpr_SOURCES)
+DIST_SOURCES = $(gpr_SOURCES)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMDEP_FALSE = @AMDEP_FALSE@
AMDEP_TRUE = @AMDEP_TRUE@
@@ -89,6 +134,7 @@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INTLLIBS = @INTLLIBS@
+INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
LDFLAGS = @LDFLAGS@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
@@ -163,6 +209,7 @@
libexecdir = @libexecdir@
localstatedir = @localstatedir@
mandir = @mandir@
+mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
prefix = @prefix@
program_transform_name = @program_transform_name@
@@ -170,11 +217,7 @@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
-
INCLUDES = -I$(top_srcdir)/intl $(GNOME_INCLUDEDIR) @LIBPPD_INCLUDES@
-
-bin_PROGRAMS = gpr
-
gpr_SOURCES = main.c support.c support.h callbacks.c callbacks.h interface.c \
interface.h tab_categories.c tab_categories.h
@@ -178,67 +221,54 @@
gpr_SOURCES = main.c support.c support.h callbacks.c callbacks.h interface.c \
interface.h tab_categories.c tab_categories.h
-
gpr_LDADD = @LIBPPD_LIBS@ $(GNOME_LIBDIR) $(GNOMEUI_LIBS) $(INTLLIBS)
-
check_SCRIPTS = checklist.sh
-
CLEANFILES = $(check_SCRIPTS)
-
SUFFIXES = .m4 .sh
-subdir = src
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
-bin_PROGRAMS = gpr$(EXEEXT)
-PROGRAMS = $(bin_PROGRAMS)
-
-am_gpr_OBJECTS = main.$(OBJEXT) support.$(OBJEXT) callbacks.$(OBJEXT) \
- interface.$(OBJEXT) tab_categories.$(OBJEXT)
-gpr_OBJECTS = $(am_gpr_OBJECTS)
-gpr_DEPENDENCIES =
-gpr_LDFLAGS =
-
-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
[EMAIL PROTECTED]@DEP_FILES = ./$(DEPDIR)/callbacks.Po \
[EMAIL PROTECTED]@ ./$(DEPDIR)/interface.Po ./$(DEPDIR)/main.Po \
[EMAIL PROTECTED]@ ./$(DEPDIR)/support.Po \
[EMAIL PROTECTED]@ ./$(DEPDIR)/tab_categories.Po
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
- $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-CCLD = $(CC)
-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(AM_LDFLAGS) $(LDFLAGS) -o $@
-DIST_SOURCES = $(gpr_SOURCES)
-DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
-SOURCES = $(gpr_SOURCES)
-
all: all-am
.SUFFIXES:
.SUFFIXES: .m4 .sh .c .lo .o .obj
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu src/Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
$(am__depfiles_maybe)
-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
$(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
$(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure
$(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(bindir)
+ test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
@list='$(bin_PROGRAMS)'; for p in $$list; do \
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
if test -f $$p \
|| test -f $$p1 \
; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install
$(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install
$(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install
$(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install
$(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
else :; fi; \
done
@@ -246,8 +276,8 @@
@$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed
's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
- echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
- rm -f $(DESTDIR)$(bindir)/$$f; \
+ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+ rm -f "$(DESTDIR)$(bindir)/$$f"; \
done
clean-binPROGRAMS:
@@ -261,7 +291,7 @@
$(LINK) $(gpr_LDFLAGS) $(gpr_OBJECTS) $(gpr_LDADD) $(LIBS)
mostlyclean-compile:
- -rm -f *.$(OBJEXT) core *.core
+ -rm -f *.$(OBJEXT)
distclean-compile:
-rm -f *.tab.c
@@ -273,37 +303,28 @@
@AMDEP_TRUE@@am__include@ @[EMAIL PROTECTED]/$(DEPDIR)/[EMAIL PROTECTED]@
.c.o:
[EMAIL PROTECTED]@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
[EMAIL PROTECTED]@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
[EMAIL PROTECTED]@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
[EMAIL PROTECTED]@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
[EMAIL PROTECTED]@ fi
[EMAIL PROTECTED]@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c
-o $@ $<; \
[EMAIL PROTECTED]@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else
rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no
@AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po'
tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
[EMAIL PROTECTED]@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
[EMAIL PROTECTED]@ $(COMPILE) -c $<
.c.obj:
[EMAIL PROTECTED]@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
[EMAIL PROTECTED]@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<';
else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
[EMAIL PROTECTED]@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
[EMAIL PROTECTED]@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
[EMAIL PROTECTED]@ fi
[EMAIL PROTECTED]@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c
-o $@ `$(CYGPATH_W) '$<'`; \
[EMAIL PROTECTED]@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else
rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no
@AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po'
tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
[EMAIL PROTECTED]@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<';
else $(CYGPATH_W) '$(srcdir)/$<'; fi`
[EMAIL PROTECTED]@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
.c.lo:
[EMAIL PROTECTED]@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
[EMAIL PROTECTED]@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
[EMAIL PROTECTED]@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
[EMAIL PROTECTED]@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
[EMAIL PROTECTED]@ fi
[EMAIL PROTECTED]@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo"
-c -o $@ $<; \
[EMAIL PROTECTED]@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else
rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes
@AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo'
tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
[EMAIL PROTECTED]@ $(LTCOMPILE) -c -o $@ `test -f '$<' || echo
'$(srcdir)/'`$<
[EMAIL PROTECTED]@ $(LTCOMPILE) -c -o $@ $<
mostlyclean-libtool:
-rm -f *.lo
@@ -315,14 +336,6 @@
-rm -f libtool
uninstall-info-am:
-ETAGS = etags
-ETAGSFLAGS =
-
-CTAGS = ctags
-CTAGSFLAGS =
-
-tags: TAGS
-
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
@@ -331,6 +344,7 @@
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
mkid -fID $$unique
+tags: TAGS
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
@@ -342,10 +356,11 @@
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
- test -z "$(ETAGS_ARGS)$$tags$$unique" \
- || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- $$tags $$unique
-
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
ctags: CTAGS
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
@@ -368,10 +383,6 @@
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-
-top_distdir = ..
-distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
@@ -385,7 +396,7 @@
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
- $(mkinstalldirs) "$(distdir)$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
@@ -404,9 +415,10 @@
$(MAKE) $(AM_MAKEFLAGS) $(check_SCRIPTS)
check: check-am
all-am: Makefile $(PROGRAMS)
-
installdirs:
- $(mkinstalldirs) $(DESTDIR)$(bindir)
+ for dir in "$(DESTDIR)$(bindir)"; do \
+ test -z "$$dir" || $(mkdir_p) "$$dir"; \
+ done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
@@ -446,6 +458,8 @@
dvi-am:
+html: html-am
+
info: info-am
info-am:
@@ -483,14 +497,14 @@
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
clean-generic clean-libtool ctags distclean distclean-compile \
distclean-generic distclean-libtool distclean-tags distdir dvi \
- dvi-am info info-am install install-am install-binPROGRAMS \
- install-data install-data-am install-exec install-exec-am \
- install-info install-info-am install-man install-strip \
- installcheck installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-compile \
- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
- tags uninstall uninstall-am uninstall-binPROGRAMS \
- uninstall-info-am
+ dvi-am html html-am info info-am install install-am \
+ install-binPROGRAMS install-data install-data-am install-exec \
+ install-exec-am install-info install-info-am install-man \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+ pdf pdf-am ps ps-am tags uninstall uninstall-am \
+ uninstall-binPROGRAMS uninstall-info-am
%.sh: %.m4 stdlib.mc
diff -ruB --exclude='*o' gpr-0.9deb.orig/src/support.c gpr-0.9deb/src/support.c
--- gpr-0.9deb.orig/src/support.c 2005-03-17 00:05:10.000000000 +0100
+++ gpr-0.9deb/src/support.c 2005-11-10 18:27:49.433797447 +0100
@@ -66,7 +66,7 @@
found_widget =
(GtkWidget *) gtk_object_get_data(GTK_OBJECT(widget), widget_name);
if (!found_widget)
- g_warning("Widget not found: %s", widget_name);
+ g_warning(_("Widget not found: %s"), widget_name);
return found_widget;
}
@@ -97,7 +97,7 @@
gdk_pixmap_colormap_create_from_xpm_d(NULL, colormap, &mask, NULL,
dummy_pixmap_xpm);
if (gdkpixmap == NULL)
- g_error("Couldn't create replacement pixmap.");
+ g_error(_("Couldn't create replacement pixmap."));
pixmap = gtk_pixmap_new(gdkpixmap, mask);
gdk_pixmap_unref(gdkpixmap);
gdk_bitmap_unref(mask);
@@ -129,7 +129,7 @@
gdk_pixmap_colormap_create_from_xpm_d(NULL, colormap, &mask, NULL,
xpm_data);
if (gdkpixmap == NULL)
- g_error("Couldn't create pixmap from data.");
+ g_error(_("Couldn't create pixmap from data."));
pixmap = gtk_pixmap_new(gdkpixmap, mask);
gdk_pixmap_unref(gdkpixmap);
gdk_bitmap_unref(mask);
diff -ruB --exclude='*o' gpr-0.9deb.orig/src/tab_categories.c
gpr-0.9deb/src/tab_categories.c
--- gpr-0.9deb.orig/src/tab_categories.c 2005-03-17 00:05:14.000000000
+0100
+++ gpr-0.9deb/src/tab_categories.c 2005-11-11 15:47:26.015762951 +0100
@@ -4,6 +4,8 @@
#include <regex.h>
#include <sys/stat.h>
#include <unistd.h>
+#include <libintl.h>
+#define _(String) gettext (String)
#include <gnome-xml/parser.h>
@@ -55,21 +57,21 @@
if (! tab) return;
- if (tab->title) printf ("title = %s\n", tab->title);
+ if (tab->title) printf (_("title = %s\n"), tab->title);
idx = 0;
while (tab->patterns[idx])
- printf ("pattern = %s\n", tab->patterns[idx++]);
+ printf (_("pattern = %s\n"), tab->patterns[idx++]);
idx = 0;
while (tab->regexp[idx]) {
- printf ("regexp = %d\n", (tab->regexp[idx])->re_nsub);
+ printf (_("regexp = %d\n"), (tab->regexp[idx])->re_nsub);
idx++;
}
idx = 0;
while (tab->strings[idx])
- printf ("string = %s\n", tab->strings[idx++]);
+ printf (_("string = %s\n"), tab->strings[idx++]);
}
/*-------------------------------------------------------------------
@@ -83,7 +85,7 @@
/* allocate the struct */
ret = (ptrTab) malloc(sizeof(tTab));
if (ret == NULL) {
- fprintf(stderr,"out of memory\n");
+ fprintf(stderr,_("out of memory\n"));
return(NULL);
}
memset(ret, 0, sizeof(tTab));
@@ -189,7 +191,7 @@
/* Check the document is of the right kind */
cur = doc->root;
if (cur == NULL) {
- fprintf(stderr,"empty document\n");
+ fprintf(stderr,_("empty document\n"));
xmlFreeDoc(doc);
return NULL;
}
@@ -197,7 +199,7 @@
ns = xmlSearchNsByHref(doc, cur, "http://sourceforge.net/projects/gnulpr");
if ((ns == NULL) || (strcmp(cur->name, "Helping"))) {
fprintf(stderr,
- "Document of the wrong type\n");
+ _("Document of the wrong type\n"));
xmlFreeDoc (doc);
return NULL;
}
@@ -209,7 +211,7 @@
cur = cur->childs;
if ((strcmp(cur->name, "Tabs")) || (cur->ns != ns)) {
fprintf(stderr,
- "document of the wrong type, Tabs expected, found (%s)\n",
+ _("document of the wrong type, Tabs expected, found (%s)\n"),
cur->name);
xmlFreeDoc (doc);
return NULL;
@@ -304,16 +306,16 @@
/* Some test matches */
strcpy (teststr, "Watermark Stuff");
- printf ("[%s] matches [%s]\n", teststr, tab_match (teststr, cur));
+ printf (_("[%s] matches [%s]\n"), teststr, tab_match (teststr, cur));
strcpy (teststr, "Foobar");
- printf ("[%s] matches [%s]\n", teststr, tab_match (teststr, cur));
+ printf (_("[%s] matches [%s]\n"), teststr, tab_match (teststr, cur));
strcpy (teststr, "Water Mark String");
- printf ("[%s] matches [%s]\n", teststr, tab_match (teststr, cur));
+ printf (_("[%s] matches [%s]\n"), teststr, tab_match (teststr, cur));
strcpy (teststr, "WaterMark");
- printf ("[%s] matches [%s]\n", teststr, tab_match (teststr, cur));
+ printf (_("[%s] matches [%s]\n"), teststr, tab_match (teststr, cur));
tab_free_all (cur);