Re: [Quilt-dev] Quilt 0.65 coming soon

2016-11-10 Thread Holger Wansing
Hi,

Jean Delvare  wrote:
> Hallo Holger,
> 
> On lun., 2016-11-07 at 12:00 +0100, Holger Wansing wrote:
> > Jean Delvare  wrote:
> > > On Fri, 4 Nov 2016 19:54:54 +0100, Holger Wansing wrote:
> > > > Where to find the new po files?
> > > > The de.po in git repo is still 100% translated.
> > > 
> > > Assuming you have gettext installed:
> > > 
> > > $ git pull
> > > $ ./configure
> > > $ make
> > > 
> > > Of course I can push untranslated files to the git repository, and push
> > > again when you provide the translation, but this doubles the commit
> > > history of the translation files, so I thought we could avoid it. But
> > > if it makes your work harder, I'll push the untranslated files now,
> > > sorry for the inconvenience.
> > 
> > I'm also sorry for this.
> > 
> > Since I am only a translator, but not a developer, I didn't know how to
> > update the po here locally.
> > 
> > "make updatepo" is common to me, but did not work with quilt.
> > 
> > I looked for a README.translators or something like that, to guide me how
> > to update po file. But I didn't find anything like that.
> 
> I understand. First of all, don't get me wrong, I'm very happy that you
> are providing translations for quilt even if you are not using it. It is
> very nice of you.
> 
> I just wrote a patch adding a target "updatepo" to the Makefile, which
> should do what you expect. I'll post it now, please tell me if that fits
> in your workflow.

Wow, adding such target would be cool! 
Thanks for taking care of this.

And, yes, the patch works fine.
I have implemented and tested it: it works like it should, and it fits
well into my workflow as translator :-)

Thank you


Holger



-- 

Created with Sylpheed 3.5.0 under
D E B I A N   L I N U X   8 . 0   " J E S S I E " .

Registered Linux User #311290 - https://linuxcounter.net/


___
Quilt-dev mailing list
Quilt-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/quilt-dev


[Quilt-dev] [PATCH] Generate guards man page in doc/

2016-11-10 Thread Jean Delvare
For consistency, the guards manual page should be generated under
doc/, not bin/.
---
 Makefile.in |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/Makefile.in
+++ b/Makefile.in
@@ -104,8 +104,8 @@ DIRT += $(DOC_IN:%=doc/%) doc/reference
 
 MAN1 :=doc/quilt.1
 ifneq ($(POD2MAN),)
-MAN1 +=bin/guards.1
-DIRT +=bin/guards.1
+MAN1 +=doc/guards.1
+DIRT +=doc/guards.1
 endif
 
 LINGUAS := fr de ja ru
@@ -227,7 +227,7 @@ doc/reference : bin/quilt $(QUILT:%=quil
   -e '/^$$/!s/^/  /'   \
   -e 's/^  Usage: *//' > $@
 
-bin/guards.1 : bin/guards
+doc/guards.1 : bin/guards
$(POD2MAN) $< > $@
 
 $(PACKAGE)-$(VERSION).tar.gz : $(SRC) configure $(PACKAGE).spec

-- 
Jean Delvare
SUSE L3 Support


___
Quilt-dev mailing list
Quilt-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/quilt-dev


[Quilt-dev] [PATCH] Makefile: Add updatepo target

2016-11-10 Thread Jean Delvare
Add a target "updatepo" which translators can run to update the
translation files. Then they can look for strings to translate and
send us a patch or the updated translation file(s).
---
 Makefile.in |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

--- a/Makefile.in
+++ b/Makefile.in
@@ -148,6 +148,8 @@ endif
 %.po : po/quilt.pot
$(MSGMERGE) -o $@ $@ $^
 
+updatepo : $(PO:%=po/%)
+
 scripts : $(BIN:%=bin/%) $(QUILT:%=quilt/%)\
  $(SCRIPTS:%=quilt/scripts/%)  \
  $(if $(PATCH_WRAPPER),bin/patch-wrapper)
@@ -435,7 +437,7 @@ uninstall ::
done
 endif
 
-.PHONY :: all install uninstall clean distclean
+.PHONY :: all install uninstall clean distclean updatepo
 
 # Clear the suffix list
 .SUFFIXES:

-- 
Jean Delvare
SUSE L3 Support


___
Quilt-dev mailing list
Quilt-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/quilt-dev