[gdk-pixbuf] Unbreak jhbuild for gdk-pixbuf



commit 591ab991aef116e2e26baad970763539ab7534e3
Author: Ryan Lortie <desrt desrt ca>
Date:   Sat Jan 7 00:01:57 2012 -0500

    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.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=661128

 autogen.sh        |    2 +
 po/gdk-pixbuf.pot |  914 -----------------------------------------------------
 2 files changed, 2 insertions(+), 914 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 4a373e9..f5f5dd6 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -7,6 +7,8 @@ test -n "$srcdir" || srcdir=.
 olddir=`pwd`
 cd "$srcdir"
 
+touch -t 200001010000 po/gdk-pixbuf.pot
+
 GTKDOCIZE=`which gtkdocize`
 if test -z $GTKDOCIZE; then
         echo "*** No GTK-Doc found, please install it ***"



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