# HG changeset patch # User renatofilho # Date 1178035418 -3600 # Node ID aa1f309ec68689b52c9deafb79144f8c2ac30ae0 # Parent 3cdc32e43041ccef42d198c2bc1ed43a285e00a3 [svn r617] create concatmux package; fixed debian scripts diff -r 3cdc32e43041 -r aa1f309ec686 gst-gmyth/INSTALL --- a/gst-gmyth/INSTALL Tue May 01 16:36:58 2007 +0100 +++ b/gst-gmyth/INSTALL Tue May 01 17:03:38 2007 +0100 @@ -1,27 +1,43 @@ +Installation Instructions +************************* + +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free +Software Foundation, Inc. + +This file is free documentation; the Free Software Foundation gives +unlimited permission to copy, distribute and modify it. + Basic Installation ================== - These are generic installation instructions. +These are generic installation instructions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that -you can run in the future to recreate the current configuration, a file -`config.cache' that saves the results of its tests to speed up -reconfiguring, and a file `config.log' containing compiler output -(useful mainly for debugging `configure'). +you can run in the future to recreate the current configuration, and a +file `config.log' containing compiler output (useful mainly for +debugging `configure'). + + It can also use an optional file (typically called `config.cache' +and enabled with `--cache-file=config.cache' or simply `-C') that saves +the results of its tests to speed up reconfiguring. (Caching is +disabled by default to prevent problems with accidental use of stale +cache files.) If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can -be considered for the next release. If at some point `config.cache' -contains results you don't want to keep, you may remove or edit it. +be considered for the next release. If you are using the cache, and at +some point `config.cache' contains results you don't want to keep, you +may remove or edit it. - The file `configure.in' is used to create `configure' by a program -called `autoconf'. You only need `configure.in' if you want to change -it or regenerate `configure' using a newer version of `autoconf'. + The file `configure.ac' (or `configure.in') is used to create +`configure' by a program called `autoconf'. You only need +`configure.ac' if you want to change it or regenerate `configure' using +a newer version of `autoconf'. The simplest way to compile this package is: @@ -54,20 +70,22 @@ Compilers and Options ===================== - Some systems require unusual options for compilation or linking that -the `configure' script does not know about. You can give `configure' -initial values for variables by setting them in the environment. Using -a Bourne-compatible shell, you can do that on the command line like -this: - CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure +Some systems require unusual options for compilation or linking that the +`configure' script does not know about. Run `./configure --help' for +details on some of the pertinent environment variables. -Or on systems that have the `env' program, you can do it like this: - env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure + You can give `configure' initial values for configuration parameters +by setting variables in the command line or in the environment. Here +is an example: + + ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix + + *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== - You can compile the package for more than one kind of computer at the +You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the @@ -75,28 +93,28 @@ the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. - If you have to use a `make' that does not supports the `VPATH' -variable, you have to compile the package for one architecture at a time -in the source code directory. After you have installed the package for -one architecture, use `make distclean' before reconfiguring for another -architecture. + If you have to use a `make' that does not support the `VPATH' +variable, you have to compile the package for one architecture at a +time in the source code directory. After you have installed the +package for one architecture, use `make distclean' before reconfiguring +for another architecture. Installation Names ================== - By default, `make install' will install the package's files in -`/usr/local/bin', `/usr/local/man', etc. You can specify an -installation prefix other than `/usr/local' by giving `configure' the -option `--prefix=PATH'. +By default, `make install' installs the package's commands under +`/usr/local/bin', include files under `/usr/local/include', etc. You +can specify an installation prefix other than `/usr/local' by giving +`configure' the option `--prefix=PREFIX'. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you -give `configure' the option `--exec-prefix=PATH', the package will use -PATH as the prefix for installing programs and libraries. -Documentation and other data files will still use the regular prefix. +pass the option `--exec-prefix=PREFIX' to `configure', the package uses +PREFIX as the prefix for installing programs and libraries. +Documentation and other data files still use the regular prefix. In addition, if you use an unusual directory layout you can give -options like `--bindir=PATH' to specify different values for particular +options like `--bindir=DIR' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. @@ -107,7 +125,7 @@ Optional Features ================= - Some packages pay attention to `--enable-FEATURE' options to +Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The @@ -122,47 +140,85 @@ Specifying the System Type ========================== - There may be some features `configure' can not figure out -automatically, but needs to determine by the type of host the package -will run on. Usually `configure' can figure that out, but if it prints -a message saying it can not guess the host type, give it the -`--host=TYPE' option. TYPE can either be a short name for the system -type, such as `sun4', or a canonical name with three fields: +There may be some features `configure' cannot figure out automatically, +but needs to determine by the type of machine the package will run on. +Usually, assuming the package is built to be run on the _same_ +architectures, `configure' can figure that out, but if it prints a +message saying it cannot guess the machine type, give it the +`--build=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name which has the form: + CPU-COMPANY-SYSTEM -See the file `config.sub' for the possible values of each field. If +where SYSTEM can have one of these forms: + + OS KERNEL-OS + + See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't -need to know the host type. +need to know the machine type. - If you are building compiler tools for cross-compiling, you can also -use the `--target=TYPE' option to select the type of system they will -produce code for and the `--build=TYPE' option to select the type of -system on which you are compiling the package. + If you are _building_ compiler tools for cross-compiling, you should +use the option `--target=TYPE' to select the type of system they will +produce code for. + + If you want to _use_ a cross compiler, that generates code for a +platform different from the build platform, you should specify the +"host" platform (i.e., that on which the generated programs will +eventually be run) with `--host=TYPE'. Sharing Defaults ================ - If you want to set default values for `configure' scripts to share, -you can create a site shell script called `config.site' that gives -default values for variables like `CC', `cache_file', and `prefix'. +If you want to set default values for `configure' scripts to share, you +can create a site shell script called `config.site' that gives default +values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. -Operation Controls +Defining Variables ================== - `configure' recognizes the following options to control how it -operates. +Variables not defined in a site shell script can be set in the +environment passed to `configure'. However, some packages may run +configure again during the build, and the customized values of these +variables may be lost. In order to avoid this problem, you should set +them in the `configure' command line, using `VAR=value'. For example: + + ./configure CC=/usr/local2/bin/gcc + +causes the specified `gcc' to be used as the C compiler (unless it is +overridden in the site shell script). Here is a another example: + + /bin/bash ./configure CONFIG_SHELL=/bin/bash + +Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent +configuration-related scripts to be executed by `/bin/bash'. + +`configure' Invocation +====================== + +`configure' recognizes the following options to control how it operates. + +`--help' +`-h' + Print a summary of the options to `configure', and exit. + +`--version' +`-V' + Print the version of Autoconf used to generate the `configure' + script, and exit. `--cache-file=FILE' - Use and save the results of the tests in FILE instead of - `./config.cache'. Set FILE to `/dev/null' to disable caching, for - debugging `configure'. + Enable the cache: use and save the results of the tests in FILE, + traditionally `config.cache'. FILE defaults to `/dev/null' to + disable caching. -`--help' - Print a summary of the options to `configure', and exit. +`--config-cache' +`-C' + Alias for `--cache-file=config.cache'. `--quiet' `--silent' @@ -175,8 +231,6 @@ Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. -`--version' - Print the version of Autoconf used to generate the `configure' - script, and exit. +`configure' also accepts some other, not widely useful, options. Run +`configure --help' for more details. -`configure' also accepts some other, not widely useful, options. diff -r 3cdc32e43041 -r aa1f309ec686 gst-gmyth/Makefile.am --- a/gst-gmyth/Makefile.am Tue May 01 16:36:58 2007 +0100 +++ b/gst-gmyth/Makefile.am Tue May 01 17:03:38 2007 +0100 @@ -1,9 +1,9 @@ SUBDIRS = \ - mythtvsrc \ + mythsrc \ nuvdemux \ concatmux DIST_SUBDIRS = \ - mythtvsrc \ + mythsrc \ nuvdemux \ concatmux diff -r 3cdc32e43041 -r aa1f309ec686 gst-gmyth/autogen.sh --- a/gst-gmyth/autogen.sh Tue May 01 16:36:58 2007 +0100 +++ b/gst-gmyth/autogen.sh Tue May 01 17:03:38 2007 +0100 @@ -1,101 +1,19 @@ #!/bin/sh # Run this to generate all the initial makefiles, etc. -DIE=0 -package=mythtvsrc -srcfile=configure.ac +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. -# a quick cvs co if necessary to alleviate the pain - may remove this -# when developers get a clue ;) -if test ! -d common; -then - echo "+ getting common/ from svn" - svn co common -fi +PKG_NAME="gmemcoder" -# source helper functions -if test ! -f common/autogen-helper.sh; -then - echo There is something wrong with your source tree. - echo You are missing common/autogen-helper.sh - exit 1 -fi -. common/autogen-helper.sh - -CONFIGURE_DEF_OPT='--enable-maintainer-mode' - -CONFIGURE_EXT_OPT="$@" - -autogen_options - -echo -n "+ check for build tools" -if test ! -z "$NOCHECK"; then echo " skipped"; else echo; fi -version_check "autoconf" "$AUTOCONF autoconf autoconf-2.54 autoconf-2.53" \ - "ftp://ftp.gnu.org/pub/gnu/autoconf/" 2 53 || DIE=1 -version_check "automake" "$AUTOMAKE automake automake-1.9 automake-1.8 automake-1.7 automake-1.6" \ - "ftp://ftp.gnu.org/pub/gnu/automake/" 1 6 || DIE=1 -version_check "libtoolize" "$LIBTOOLIZE libtoolize" \ - "ftp://ftp.gnu.org/pub/gnu/libtool/" 1 5 0 || DIE=1 -version_check "pkg-config" "" \ - "http://www.freedesktop.org/software/pkgconfig" 0 8 0 || DIE=1 - -die_check $DIE - -aclocal_check || DIE=1 -autoheader_check || DIE=1 - -die_check $DIE - -# if no arguments specified then this will be printed -if test -z "$*"; then - echo "+ checking for autogen.sh options" - echo " This autogen script will automatically run ./configure as:" - echo " ./configure $CONFIGURE_DEF_OPT" - echo " To pass any additional options, please specify them on the $0" - echo " command line." -fi - -toplevel_check $srcfile - -tool_run "$aclocal" "-I m4 $ACLOCAL_FLAGS" -tool_run "$libtoolize" "--copy --force" -tool_run "$autoheader" - -# touch the stamp-h.in build stamp so we don't re-run autoheader in maintainer mode -- wingo -echo timestamp > stamp-h.in 2> /dev/null - -tool_run "$autoconf" -tool_run "$automake" "-a -c" - -# if enable exists, add an -enable option for each of the lines in that file -if test -f enable; then - for a in `cat enable`; do - CONFIGURE_FILE_OPT="--enable-$a" - done -fi - -# if disable exists, add an -disable option for each of the lines in that file -if test -f disable; then - for a in `cat disable`; do - CONFIGURE_FILE_OPT="$CONFIGURE_FILE_OPT --disable-$a" - done -fi - -test -n "$NOCONFIGURE" && { - echo "+ skipping configure stage for package $package, as requested." - echo "+ autogen.sh done." - exit 0 +(test -f $srcdir/configure.ac) || { + echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" + echo " top-level $PKG_NAME directory" + exit 1 } -echo "+ running configure ... " -test ! -z "$CONFIGURE_DEF_OPT" && echo " ./configure default flags: $CONFIGURE_DEF_OPT" -test ! -z "$CONFIGURE_EXT_OPT" && echo " ./configure external flags: $CONFIGURE_EXT_OPT" -test ! -z "$CONFIGURE_FILE_OPT" && echo " ./configure enable/disable flags: $CONFIGURE_FILE_OPT" -echo - -./configure $CONFIGURE_DEF_OPT $CONFIGURE_EXT_OPT $CONFIGURE_FILE_OPT || { - echo " configure failed" - exit 1 +which gnome-autogen.sh || { + echo "You need to install gnome-common from the GNOME CVS" + exit 1 } - -echo "Now type 'make' to compile $package." +REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 . gnome-autogen.sh diff -r 3cdc32e43041 -r aa1f309ec686 gst-gmyth/concatmux/Makefile.am --- a/gst-gmyth/concatmux/Makefile.am Tue May 01 16:36:58 2007 +0100 +++ b/gst-gmyth/concatmux/Makefile.am Tue May 01 17:03:38 2007 +0100 @@ -17,6 +17,3 @@ $(GST_BASE_LIBS) \ $(GST_PLUGINS_BASE_LIBS) -noinst_HEADERS = \ - gstconcatmux.h - diff -r 3cdc32e43041 -r aa1f309ec686 gst-gmyth/concatmux/gstconcatmux.c --- a/gst-gmyth/concatmux/gstconcatmux.c Tue May 01 16:36:58 2007 +0100 +++ b/gst-gmyth/concatmux/gstconcatmux.c Tue May 01 17:03:38 2007 +0100 @@ -535,5 +535,5 @@ GST_VERSION_MINOR, "concat muxer", "Concat streamers", - plugin_init, VERSION, "LGPL", "ConcatMux", "") + gst_concat_mux_plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN) diff -r 3cdc32e43041 -r aa1f309ec686 gst-gmyth/configure.ac --- a/gst-gmyth/configure.ac Tue May 01 16:36:58 2007 +0100 +++ b/gst-gmyth/configure.ac Tue May 01 17:03:38 2007 +0100 @@ -1,174 +1,141 @@ -# -*- Autoconf -*- -# Process this file with autoconf to produce a configure script. +dnl fill in your package name and version here +dnl autoconf configuration files for gst-plugins-dspbin +AC_INIT +AC_CANONICAL_TARGET -AC_PREREQ(2.50) +AC_CONFIG_MACRO_DIR([m4]) +dnl We disable static building for development, for time savings +dnl this goes before AS_LIBTOOL to appease autoconf +dnl *NOTE*: dnl this line before release, so release does static too +AM_DISABLE_STATIC -AC_INIT([mythtvsrc],[0.1]) - -dnl AC_CONFIG_SRCDIR([src]) -AC_CONFIG_HEADER(config.h) +dnl AM_MAINTAINER_MODE only provides the option to configure to enable it +AM_MAINTAINER_MODE dnl when going to/from release please set the nano (fourth number) right ! -dnl releases only do Wall, SVN and prerelease does Werror too -AS_VERSION(mythtvsrc, MYTHTVSRC, 0, 1, 0, 3, MYTHTVSRC_SVN="no", MYTHTVSRC_SVN="yes") +dnl releases only do Wall, cvs and prerelease does Werror too +AS_VERSION(gst-indt-plugins, GST_PLUGINS_VERSION, 0, 10, 0, 1, GST_CVS="no", GST_CVS="yes") -MYTHTVSRC_MAJORMINOR=$MYTHTVSRC_MAJOR_VERSION.$MYTHTVSRC_MINOR_VERSION +AM_INIT_AUTOMAKE($PACKAGE, $VERSION) -AC_SUBST(MYTHTVSRC_MAJORMINOR) +AM_PROG_LIBTOOL -dnl AM_MAINTAINER_MODE provides the option to enable maintainer mode -AM_MAINTAINER_MODE +AM_CONFIG_HEADER(config.h) + dnl make aclocal work in maintainer mode AC_SUBST(ACLOCAL_AMFLAGS, "-I m4") -# Checks for programs. -# check for tools -# Make sure CFLAGS is defined to stop AC_PROC_CC adding -g -CFLAGS="$CFLAGS -Wall" +dnl check for tools AC_PROG_CC -AC_PROG_LIBTOOL -# Checks for libraries. +AC_PROG_CC_STDC +AM_PROG_AS -# Checks for header files. -AC_HEADER_STDC -AC_CHECK_HEADERS([fcntl.h stdint.h stdlib.h string.h sys/ioctl.h sys/socket.h unistd.h]) +dnl decide on error flags +AS_COMPILER_FLAG(-Wall, GST_WALL="yes", GST_WALL="no") -# Checks for typedefs, structures, and compiler characteristics. -AC_C_CONST -AC_TYPE_PID_T -AC_STRUCT_TM +if test "x$GST_WALL" = "xyes"; then + ERROR_CFLAGS="$GST_ERROR -Wall" -# Checks for library functions. -AC_FUNC_FORK -AC_PROG_GCC_TRADITIONAL -AC_FUNC_MALLOC -AC_FUNC_MKTIME -AC_FUNC_VPRINTF -AC_CHECK_FUNCS([memset socket stime strstr strtoul]) + if test "x$GST_CVS" = "xyes"; then + AS_COMPILER_FLAG(-Werror,ERROR_CFLAGS="$ERROR_CFLAGS -Werror",ERROR_CFLAGS="$ERROR_CFLAGS") + fi +fi -AM_INIT_AUTOMAKE($PACKAGE, $VERSION) +AC_SUBST(ERROR_CFLAGS) -# Checks required packages +dnl determine c++ compiler +AC_PROG_CXX +dnl determine if c++ is available on this system +AC_CHECK_PROG(HAVE_CXX, $CXX, yes, no) +dnl determine c++ preprocessor +AC_PROG_CXXCPP +AC_ISC_POSIX -dnl Test if --disable-debug given -AC_ARG_ENABLE(debug, - [AC_HELP_STRING([--disable-debug], [disable debugging mode])], - enable_debug="$enableval", - enable_debug=yes) +AC_HEADER_STDC([]) +AC_C_INLINE -if test "x$enable_debug" = "xyes" ; then - CFLAGS="$CFLAGS -g" -else - AC_DEFINE( NDEBUG, 1, [disable debug messages] ) - CFLAGS="$CFLAGS -O2 -DG_DISABLE_CHECKS -DNDEBUG" -fi +dnl Check for pkgconfig first +AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, yes, no) -AM_CONDITIONAL( NDEBUG, test "x$enable_debug" = "xyes" ) - -# Check for pkgconfig -AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, yes, no) -# Give error and exit if we don't have pkgconfig +dnl Give error and exit if we don't have pkgconfig if test "x$HAVE_PKGCONFIG" = "xno"; then AC_MSG_ERROR(you need to have pkgconfig installed !) fi -# Check for Glib2.0 -PKG_CHECK_MODULES(GLIB, glib-2.0, HAVE_GLIB=yes,HAVE_GLIB=no) +dnl Now we're ready to ask for gstreamer libs and cflags +dnl And we can also ask for the right version of gstreamer -# Give error and exit if we don't have glib -if test "x$HAVE_GLIB" = "xno"; then - AC_MSG_ERROR(you need glib-2.0 installed) -fi - -# make GLIB_CFLAGS and GLIB_LIBS available -AC_SUBST(GLIB_CFLAGS) -AC_SUBST(GLIB_LIBS) - -# Check for GObject2.0 -PKG_CHECK_MODULES(GOBJECT, - gobject-2.0, - HAVE_GOBJECT=yes, HAVE_GOBJECT=no) - -# Give error and exit if we don't have gobject -if test "x$HAVE_GOBJECT" = "xno"; then - AC_MSG_ERROR(you need gobject-2.0 installed) -fi - -# make GOBJECT_CFLAGS and GOBJECT_LIBS available -AC_SUBST(GOBJECT_CFLAGS) -AC_SUBST(GOBJECT_LIBS) - -dnl *** MythTV *** -PKG_CHECK_MODULES(GMYTH, - gmyth, - HAVE_GMYTH=yes, HAVE_GMYTH=no) - -# Give error and exit if we don't have gobject -if test "x$HAVE_GMYTH" = "xno"; then - AC_MSG_ERROR(you need gmyth must to be installed) -fi - -# make GMYTH_CFLAGS and GMYTH_LIBS available -AC_SUBST(GMYTH_CFLAGS) -AC_SUBST(GMYTH_LIBS) - -# GStreamer version required -GST_REQUIRED=0.10 +GST_REQUIRED=0.10.3 GST_MAJORMINOR=0.10 -GST_PLUGINS_DIR=`$PKG_CONFIG gstreamer-plugins-base-$GST_MAJORMINOR --variable pluginsdir` -AC_SUBST(GST_PLUGINS_DIR) -AC_MSG_NOTICE(Using GStreamer Base Plugins in $GST_PLUGINS_DIR) - -dnl this really should only contain flags, not libs - they get added before -dnl whatevertarget_LIBS and -L flags here affect the rest of the linking -GST_PLUGIN_LDFLAGS="-module -avoid-version $GST_PLUGINS_DIR" -AC_SUBST(GST_PLUGIN_LDFLAGS) - -# check for gstreamer development files PKG_CHECK_MODULES(GST, \ gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED, - HAVE_GST=yes, HAVE_GST=no) + HAVE_GST=yes,HAVE_GST=no) -# Give error and exit if we don't have gstreamer +dnl Give error and exit if we don't have gstreamer if test "x$HAVE_GST" = "xno"; then AC_MSG_ERROR(you need gstreamer development packages installed !) fi -# make GST_CFLAGS and GST_LIBS available +if test "x$USE_DEBUG" = xyes; then + GST_CFLAGS="$GST_CFLAGS -g" +fi + +dnl added because of the i18n headers +GST_CFLAGS="-I\$(top_builddir)/gst-libs $GST_CFLAGS" + +dnl make GST_CFLAGS and GST_LIBS available AC_SUBST(GST_CFLAGS) AC_SUBST(GST_LIBS) -# check for gstreamer-base plugins (xoverlay interface) -GST_BASE_REQUIRED=0.10 -GST_BASE_MAJORMINOR=0.10 -PKG_CHECK_MODULES(GST_BASE, \ - gstreamer-base-$GST_BASE_MAJORMINOR >= $GST_BASE_REQUIRED, - HAVE_GST_BASE=yes, HAVE_GST_BASE=no) +dnl make GST_MAJORMINOR available in Makefile.am +AC_SUBST(GST_MAJORMINOR) -# Give error and exit if we don't have gstreamer base libraries +dnl check for gstreamer-base; uninstalled is selected preferentially +PKG_CHECK_MODULES(GST_BASE, gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED, + HAVE_GST_BASE="yes", HAVE_GST_BASE="no") + if test "x$HAVE_GST_BASE" = "xno"; then - AC_MSG_ERROR(you need gstreamer base development packages installed !) + AC_MSG_ERROR(no GStreamer Base Libs found) fi -# make GST_BASE_CFLAGS and GST_BASE_LIBS available +AC_SUBST(GST_BASE_LIBS) AC_SUBST(GST_BASE_CFLAGS) -AC_SUBST(GST_BASE_LIBS) -# make GST_MAJORMINOR available in Makefile.am -AC_SUBST(GST_MAJORMINOR) +dnl check for gstreamer-libs; uinstalled is selected preferentially +PKG_CHECK_MODULES(GST_PLUGINS_BASE, gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED, + HAVE_GST_PLUGINS="yes", HAVE_GST_PLUGINS="no") + +if test "x$HAVE_GST_PLUGINS" = "xno"; then + AC_MSG_ERROR(no GStreamer Plugins Libs found) +fi + +AC_SUBST(GST_PLUGINS_BASE_LIBS) +AC_SUBST(GST_PLUGINS_BASE_CFLAGS) + +PKG_CHECK_MODULES(GMYTH, gmyth >= 0.3, HAVE_GMYTH=yes,HAVE_GMYTH=no) +if test "x$HAVE_GMYTH" = "xno"; then + AC_MSG_ERROR(you need gmyth >= 0.3 installed) +fi +AC_SUBST(GMYTH_CFLAGS) +AC_SUBST(GMYTH_LIBS) + +dnl set the plugindir where plugins should be installed +plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR" +AC_SUBST(plugindir) + +dnl set proper LDFLAGS for plugins +GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex [_]*\(gst_\|Gst\|GST_\).*' +AC_SUBST(GST_PLUGIN_LDFLAGS) AC_DEFINE(GST_LICENSE, "LGPL", [License for Distribution]) +AC_DEFINE(GST_PACKAGE_NAME, "INdT plugins to Gstreamer ", [package name]) +AC_DEFINE(GST_PACKAGE_ORIGIN, "https://svn.sourceforge.net/svnroot/gmyth/gst-gmyth", [Origin of this package] ) -AC_DEFINE(GST_PACKAGE_NAME, "GStreamer", [Gstremar package name]) +AC_OUTPUT( \ + Makefile \ + nuvdemux/Makefile \ + mythsrc/Makefile \ + concatmux/Makefile +) -AC_DEFINE(GST_PACKAGE_ORIGIN, "http://gstreamer.net/", [Origin of this package] ) - -AC_CONFIG_FILES([ -Makefile -mythtvsrc/Makefile -nuvdemux/Makefile -concatmux/Makefile -]) - -AC_OUTPUT diff -r 3cdc32e43041 -r aa1f309ec686 gst-gmyth/debian/control --- a/gst-gmyth/debian/control Tue May 01 16:36:58 2007 +0100 +++ b/gst-gmyth/debian/control Tue May 01 17:03:38 2007 +0100 @@ -19,6 +19,14 @@ Description: INdT mythtv source GStreamer plugin This GStreamer plugin permits read streamer from MythTv Server +Package: gstreamer0.10-indt-concatmux +Architecture: any +Section: libs +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: INdT Concat Stream Mux GStreamer plugin + This GStreamer plugin permits contact any stream in a single stream + + Package: maemo-nuvdemux Architecture: all Depends: gstreamer0.10-indt-nuvdemux diff -r 3cdc32e43041 -r aa1f309ec686 gst-gmyth/debian/gstreamer0.10-indt-concatmux.install --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gst-gmyth/debian/gstreamer0.10-indt-concatmux.install Tue May 01 17:03:38 2007 +0100 @@ -0,0 +1,1 @@ +debian/tmp/usr/lib/gstreamer-*/*concatmux*.so diff -r 3cdc32e43041 -r aa1f309ec686 gst-gmyth/nuvdemux/gstnuvdemux.c --- a/gst-gmyth/nuvdemux/gstnuvdemux.c Tue May 01 16:36:58 2007 +0100 +++ b/gst-gmyth/nuvdemux/gstnuvdemux.c Tue May 01 17:03:38 2007 +0100 @@ -1673,5 +1673,5 @@ GST_VERSION_MINOR, "nuvdemux", "Demuxes and muxes audio and video", - plugin_init, VERSION, "LGPL", "NuvDemux", "") + plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)