Re: vdr-1.5.7-1.5.8.diff problems?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Klaus Schmidinger wrote:
> On 08/19/07 18:07, Anssi Hannula wrote:
>> Udo Richter wrote:
>>> Luca Olivetti wrote:
>>>> The diff fails on all po files, it's only me or does it happens to others?
>>> po files are a pain for diff-patches because they have lists of source 
>>> code line numbers in the comments. If you've applied any other patch to 
>>> the VDR sources, and did a recompile, then all your po files will have 
>>> lots of changed line numbers.
>> Maybe they should not be regenerated during compiling, but have a 
>> separate make target for that?
> 
> Like this?
> 
> i18n: $(I18Nmo)
>         @mkdir -p $(LOCALEDIR)
>         for i in $(I18Ndirs); do\
>             mkdir -p $(LOCALEDIR)/$$i/LC_MESSAGES;\
>             cp $(PODIR)/$$i.mo $(LOCALEDIR)/$$i/LC_MESSAGES/vdr.mo;\
>             done
> 
> ;-)

Not really. I mean't a separate target for running "xgettext" and 
"msgmerge", as they are only needed to be run by developers, and cause 
patch conflicts as Udo noted.

Only "msgfmt" and the copying of the files needs to be done when the 
user compiles VDR.

I checked few other random projects, and they use a make target 
"update-po" for running xgettext and msgmerge, which is not done by default.

-- 
Anssi Hannula

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux