GNOME Bugzilla – Bug 661128
patch for po files
Last modified: 2012-01-09 15:00:34 UTC
Created attachment 198476 [details] [review] Import Makefile.in.in from gtk See attached.
Does this make it shut up ? If so, +100
Not quite =/ For some reason gettextize modifies the Makefile.in.in with this, but it doesn't with gtk+.
*** Bug 629654 has been marked as a duplicate of this bug. ***
Created attachment 204797 [details] [review] Unbreak jhbuild for gdk-pixbuf The problem is pretty simple -- despite the guards against .po files being updated on 'make' in the GNU gettext Makefile, if 'gdk-pixbuf.pot' is newer than any .po file, the .po file will be updated from it. git plays a strange game with timestamps, of course -- and this is the source of our pain. Even if gdk-pixbuf.pot was less-recently updated than the .po files, you end up with the same timestamps on both (the time of the checkout) and the .po gets remade. We also have the problem that if the .pot file doesn't exist at all, it is generated on the spot. The only way to solve this issue is to have an old .pot file. To that end, we can just touch it to a date in the distant past from the autogen.sh. Since the content of the .pot file doesn't matter if it's old, we may as well let touch create it as an empty file -- so let's remove it from version control.
Review of attachment 204797 [details] [review]: A quick test seems to confirm your analysis. So you earn the +100 ::: autogen.sh @@ +8,3 @@ cd "$srcdir" +touch -t 200001010000 po/gdk-pixbuf.pot This should have a comment, otherwise it is too likely to get 'optimized' away
But what I don't understand is how is gdk-pixbuf different from gtk+? git grep \\.pot doesn't show anything like the equivalent of your command above.
Attachment 204797 [details] pushed as 591ab99 - Unbreak jhbuild for gdk-pixbuf