[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-cvs
Subject:    gst-devtools: mediainfo: update build setup
From:       ensonic () kemper ! freedesktop ! org (Stefan Kost)
Date:       2016-12-30 10:54:58
Message-ID: 20161230105458.3C9927610F () kemper ! freedesktop ! org
[Download RAW message or body]

Module: gst-devtools
Branch: master
Commit: 1a27ff33f9f93844d18ea6f2dcb37bcab8f89a10
URL:    http://cgit.freedesktop.org/gstreamer/gst-devtools/commit/?id=1a27ff33f9f93844d18ea6f2dcb37bcab8f89a10


Author: christophecvr <stefansat@telenet.be>
Date:   Fri Dec 30 11:53:13 2016 +0100

mediainfo: update build setup

Fix intltool build setup to make it build on ubuntu 16.04 as well.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=776523

---

 mediainfo/autogen.sh      |  3 ++-
 mediainfo/configure.ac    | 15 +++++++++------
 mediainfo/src/Makefile.am |  6 +++---
 3 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/mediainfo/autogen.sh b/mediainfo/autogen.sh
index a2f799f..1aa654a 100755
--- a/mediainfo/autogen.sh
+++ b/mediainfo/autogen.sh
@@ -12,7 +12,8 @@ test -n "$srcdir" || srcdir=$(dirname "$0")
 test -n "$srcdir" || srcdir=.
 (
   cd "$srcdir" &&
-  AUTOPOINT='intltoolize --automake -c -f' autoreconf -fivm
+  AUTOPOINT='intltoolize --automake -c -f' autoreconf -fiv &&
+  test -f "po/Makefile.in.in" || intltoolize -c -f
 ) || exit
 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
 
diff --git a/mediainfo/configure.ac b/mediainfo/configure.ac
index fef0da4..991546a 100644
--- a/mediainfo/configure.ac
+++ b/mediainfo/configure.ac
@@ -1,6 +1,10 @@
-# configure.ac
-
-AC_INIT([gst-mediainfo], [0.1.1])
+AC_PREREQ(2.62)
+dnl initialize autoconf
+dnl when going to/from release please set the nano (fourth number) right !
+dnl releases only do Wall, cvs and prerelease does Werror too
+AC_INIT(Gst-Mediainfo, 1.11.0.1,
+    http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer,
+    gst-mediainfo)
 AC_CONFIG_SRCDIR([src/mi.vala])
 AC_CONFIG_HEADERS([config.h])
 
@@ -13,19 +17,18 @@ AC_PROG_CC
 AC_PROG_CC_STDC
 AM_PROG_VALAC([0.7.0])
 AC_PROG_INSTALL
-AC_PROG_INTLTOOL([0.35])
+IT_PROG_INTLTOOL([0.35])
 PKG_PROG_PKG_CONFIG
 
 pkg_modules="gee-0.8 gtk+-3.0 >= 3.0.0 gstreamer-1.0 >= 1.1.0 \
gstreamer-plugins-base-1.0 >= 1.1.0 gstreamer-pbutils-1.0 >= 1.1.0 \
gstreamer-video-1.0 >= 1.1.0"  MI_PACKAGES="--pkg gee-0.8 --pkg gtk+-3.0 --pkg \
gdk-x11-3.0 --pkg gstreamer-1.0 --pkg gstreamer-pbutils-1.0 --pkg \
gstreamer-video-1.0"  PKG_CHECK_MODULES([MI], [$pkg_modules])
-
 AC_SUBST(MI_CFLAGS)
 AC_SUBST(MI_LIBS)
 AC_SUBST(MI_PACKAGES)
 
 GETTEXT_PACKAGE=gst-mi
-AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Gettext Package])
+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext Package])
 AC_SUBST(GETTEXT_PACKAGE)
 # AC_PROG_INTLTOOL is enough, the lines below caused:
 #   required file `./config.rpath' not found
diff --git a/mediainfo/src/Makefile.am b/mediainfo/src/Makefile.am
index 36bf607..a45f753 100644
--- a/mediainfo/src/Makefile.am
+++ b/mediainfo/src/Makefile.am
@@ -1,6 +1,6 @@
 bin_PROGRAMS = gst-mi
-
-INCLUDES = \
+ 
+AM_CPPFLAGS = \
 	-include config.h \
 	$(MI_CFLAGS) \
 	-DG_LOG_DOMAIN=\"gst-mi\" \
@@ -8,7 +8,7 @@ INCLUDES = \
 	-DPKGDATADIR=\""$(pkgdatadir)"\" \
 	-DPKGLIBDIR=\""$(pkglibdir)"\"
 
-VALAFLAGS = \
+AM_VALAFLAGS = \
 	--vapidir=$(top_srcdir)/vapi --pkg config \
 	@MI_PACKAGES@
 

_______________________________________________
gstreamer-commits mailing list
gstreamer-commits@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic