gst-qa: fix build in po
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 31 Jul 2013 09:49:48 +0000 (10:49 +0100)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Wed, 31 Jul 2013 11:10:28 +0000 (08:10 -0300)
Using a lot of grep and some cargo culting.

validate/autogen.sh
validate/configure.ac
validate/po/POTFILES.in [new file with mode: 0644]

index 3ad8972..95ff44d 100755 (executable)
@@ -29,6 +29,10 @@ then
     ln -s ../../common/hooks/pre-commit.hook .git/hooks/pre-commit
 fi
 
+# GNU gettext automake support doesn't get along with git.
+# https://bugzilla.gnome.org/show_bug.cgi?id=661128
+touch -t 200001010000 po/gst-qa-0.10.pot
+
 CONFIGURE_DEF_OPT='--enable-maintainer-mode --enable-gtk-doc'
 
 autogen_options $@
index b0a4cd4..01ba560 100644 (file)
@@ -60,7 +60,7 @@ dnl set up gettext
 dnl the version check needs to stay here because autopoint greps for it
 AM_GNU_GETTEXT_VERSION([0.17])
 AM_GNU_GETTEXT([external])
-AG_GST_GETTEXT([gstreamer-$GST_API_VERSION])
+AG_GST_GETTEXT([gst-qa-$GST_API_VERSION])
 
 dnl *** check for arguments to configure ***
 
@@ -245,6 +245,7 @@ common/m4/Makefile
 gst/Makefile
 gst/qa/Makefile
 data/Makefile
+po/Makefile.in
 ])
 AC_OUTPUT
 
diff --git a/validate/po/POTFILES.in b/validate/po/POTFILES.in
new file mode 100644 (file)
index 0000000..ea3bcf5
--- /dev/null
@@ -0,0 +1 @@
+gst/qa/gst-qa-report.c