mate-media: Rebuilt to add upstream patch to enable gstmix to be build

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2013-11-03 20:19:36 +07:00
parent 84974d35b0
commit ae3e13976b
2 changed files with 50 additions and 2 deletions

View file

@ -0,0 +1,45 @@
--- configure.ac.orig 2013-11-03 20:13:23.140450797 +0700
+++ configure.ac 2013-11-03 20:14:34.055710980 +0700
@@ -45,9 +45,6 @@
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MMAP
-# CFLAGS
-MATE_COMPILE_WARNINGS
-
# AS_NANO(GM_RELEASE="yes", GM_RELEASE="no")
AS_COMPILER_FLAG(-Wall, GM_ERROR_CFLAGS="-Wall")
@@ -260,6 +257,21 @@
MATE_COMPILE_WARNINGS([maximum])
MATE_CXX_WARNINGS
+AC_ARG_ENABLE(deprecated,
+ [AS_HELP_STRING([--enable-deprecated],
+ [warn about deprecated usages [default=no]])],,
+ [enable_deprecated=no])
+
+if test "x$enable_deprecated" = "xyes"; then
+ DISABLE_DEPRECATED="\
+ -DMATE_DISABLE_DEPRECATED \
+ -DGDK_PIXBUF_DISABLE_DEPRECATED \
+ -DGTK_DISABLE_DEPRECATED \
+ -DGDK_DISABLE_DEPRECATED"
+ AC_SUBST(DISABLE_DEPRECATED)
+fi
+
+
# Turn on the additional warnings last, so warnings don't affect other tests.
AC_ARG_ENABLE(more-warnings,
[AC_HELP_STRING([--enable-more-warnings],
+++ Makefile.am 2013-11-03 20:15:53.073902725 +0700
@@ -21,7 +21,8 @@
DISTCHECK_CONFIGURE_FLAGS = \
--disable-scrollkeeper \
--enable-more-warnings \
- --enable-compile-warnings=maximum
+ --enable-compile-warnings=maximum \
+ --enable-deprecated
DIST_SUBDIRS = \
po \

View file

@ -25,7 +25,7 @@
PRGNAM=mate-media PRGNAM=mate-media
VERSION=${VERSION:-1.6.0} VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-2} BUILD=${BUILD:-3}
TAG=${TAG:-_msb} TAG=${TAG:-_msb}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
@ -74,6 +74,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \; -exec chmod 644 {} \;
# Upstream patch to make mate-media buildable for Slackware 14.1
patch -p0 < $CWD/mate-media-build.patch
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./autogen.sh \ ./autogen.sh \
@ -85,7 +88,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \ --docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-pulseaudio \ --disable-pulseaudio \
--disable-scrollkeeper \ --disable-scrollkeeper \
--disable-gstmix \ --enable-gstmix \
--enable-gst-mixer-applet \ --enable-gst-mixer-applet \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux