diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-03-12 16:23:10 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-03-12 16:23:10 +0800 |
commit | 0e0836e53280726c1c232f57d0797201940ec413 (patch) | |
tree | 8533eeead5b72c0e70b9a736632d5731cb7b1f51 /multimedia | |
parent | 7bb5046b96550e436682baec8db3f1acb88a65c5 (diff) | |
download | marcuscom-ports-0e0836e53280726c1c232f57d0797201940ec413.tar marcuscom-ports-0e0836e53280726c1c232f57d0797201940ec413.tar.gz marcuscom-ports-0e0836e53280726c1c232f57d0797201940ec413.tar.bz2 marcuscom-ports-0e0836e53280726c1c232f57d0797201940ec413.tar.lz marcuscom-ports-0e0836e53280726c1c232f57d0797201940ec413.tar.xz marcuscom-ports-0e0836e53280726c1c232f57d0797201940ec413.tar.zst marcuscom-ports-0e0836e53280726c1c232f57d0797201940ec413.zip |
Re-add gstreamer now with the initial thread stacksize hack conditionally
removed for versions of FreeBSD that don't need it.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3928 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gstreamer/Makefile | 66 | ||||
-rw-r--r-- | multimedia/gstreamer/distinfo | 2 | ||||
-rw-r--r-- | multimedia/gstreamer/files/extra-patch-gst::cothreads.c | 11 | ||||
-rw-r--r-- | multimedia/gstreamer/files/patch-configure | 29 | ||||
-rw-r--r-- | multimedia/gstreamer/files/patch-gst::cothreads.c | 13 | ||||
-rw-r--r-- | multimedia/gstreamer/files/patch-gst_gstmemchunk.c | 10 | ||||
-rw-r--r-- | multimedia/gstreamer/pkg-descr | 24 | ||||
-rw-r--r-- | multimedia/gstreamer/pkg-plist | 131 | ||||
-rw-r--r-- | multimedia/gstreamer80/Makefile | 66 | ||||
-rw-r--r-- | multimedia/gstreamer80/distinfo | 2 | ||||
-rw-r--r-- | multimedia/gstreamer80/files/extra-patch-gst::cothreads.c | 11 | ||||
-rw-r--r-- | multimedia/gstreamer80/files/patch-configure | 29 | ||||
-rw-r--r-- | multimedia/gstreamer80/files/patch-gst::cothreads.c | 13 | ||||
-rw-r--r-- | multimedia/gstreamer80/files/patch-gst_gstmemchunk.c | 10 | ||||
-rw-r--r-- | multimedia/gstreamer80/pkg-descr | 24 | ||||
-rw-r--r-- | multimedia/gstreamer80/pkg-plist | 131 |
16 files changed, 572 insertions, 0 deletions
diff --git a/multimedia/gstreamer/Makefile b/multimedia/gstreamer/Makefile new file mode 100644 index 000000000..055f0b36c --- /dev/null +++ b/multimedia/gstreamer/Makefile @@ -0,0 +1,66 @@ +# New ports collection makefile for: gstreamer +# Date created: Tue Jul 9 20:24:02 UTC 2002 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD: ports/multimedia/gstreamer/Makefile,v 1.32 2005/02/09 19:07:15 kwm Exp $ +# + +PORTNAME= gstreamer +PORTVERSION= 0.8.9 +PORTREVISION= 1 +CATEGORIES= multimedia +MASTER_SITES= ${MASTER_SITE_GNOME} \ + http://gstreamer.freedesktop.org/src/gstreamer/ +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${GST_VERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= lioux@FreeBSD.org +COMMENT= Development framework for creating media applications + +LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt + +USE_X_PREFIX= yes +USE_BISON= yes +USE_BZIP2= yes +USE_GMAKE= yes +WANT_GNOME= yes +USE_GNOME= gnomehack \ + gnomeprefix \ + glib20 \ + libxml2 +USE_LIBTOOL_VER=15 +CONFIGURE_ARGS= --disable-tests \ + --disable-examples \ + --disable-docs-build \ + --disable-failing-tests +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" +PLIST_SUB= \ + VERSION="${GST_VERSION}" \ + SHLIB_VERSION="${SHLIB_VERSION}" \ + PORTVERSION="${PORTVERSION}" +INSTALLS_SHLIB= yes + +MAN1= gst-complete-${GST_VERSION}.1 gst-compprep-${GST_VERSION}.1 \ + gst-feedback-${GST_VERSION}.1 gst-inspect-${GST_VERSION}.1 \ + gst-launch-${GST_VERSION}.1 gst-md5sum-${GST_VERSION}.1 \ + gst-register-${GST_VERSION}.1 gst-typefind-${GST_VERSION}.1 \ + gst-xmllaunch-${GST_VERSION}.1 gst-xmlinspect-${GST_VERSION}.1 + +GST_VERSION=${PORTVERSION:C/..$//} + +# library minor number +SHLIB_VERSION= 5 + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 600012 +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-gst::cothreads.c +.endif + +post-install: +# register plugins + -@${PREFIX}/bin/gst-register-${GST_VERSION} \ + --gst-registry=${PREFIX}/share/gnome/cache/gstreamer-${GST_VERSION}/registry.xml 2>/dev/null + +.include <bsd.port.post.mk> diff --git a/multimedia/gstreamer/distinfo b/multimedia/gstreamer/distinfo new file mode 100644 index 000000000..8d93776cc --- /dev/null +++ b/multimedia/gstreamer/distinfo @@ -0,0 +1,2 @@ +MD5 (gnome2/gstreamer-0.8.9.tar.bz2) = 6769de224de8457ed0dc09016287883a +SIZE (gnome2/gstreamer-0.8.9.tar.bz2) = 1456548 diff --git a/multimedia/gstreamer/files/extra-patch-gst::cothreads.c b/multimedia/gstreamer/files/extra-patch-gst::cothreads.c new file mode 100644 index 000000000..3581c0987 --- /dev/null +++ b/multimedia/gstreamer/files/extra-patch-gst::cothreads.c @@ -0,0 +1,11 @@ +--- gst/cothreads.c.orig Mon Feb 2 06:56:53 2004 ++++ gst/cothreads.c Fri Feb 6 13:05:26 2004 +@@ -52,7 +56,7 @@ + #endif + #endif + +-#define STACK_SIZE 0x200000 ++#define STACK_SIZE 0x100000 + + #define COTHREAD_MAGIC_NUMBER 0xabcdef + diff --git a/multimedia/gstreamer/files/patch-configure b/multimedia/gstreamer/files/patch-configure new file mode 100644 index 000000000..672c3d317 --- /dev/null +++ b/multimedia/gstreamer/files/patch-configure @@ -0,0 +1,29 @@ +--- configure.orig Fri Jun 4 18:19:18 2004 ++++ configure Fri Jun 4 18:20:27 2004 +@@ -21877,7 +21877,7 @@ + + + EXP_VAR=LOCALEDIR +- FROM_VAR=$datadir/locale ++ FROM_VAR=$prefix/share/locale + + prefix_save=$prefix + exec_prefix_save=$exec_prefix +@@ -21981,7 +21981,7 @@ + echo $ECHO_N "checking to see if compiler understands -Werror... $ECHO_C" >&6 + + save_CFLAGS="$CFLAGS" +- CFLAGS="$CFLAGS -Werror" ++ CFLAGS="$CFLAGS" + + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ +@@ -22031,7 +22031,7 @@ + CFLAGS="$save_CFLAGS" + + if test "X$flag_ok" = Xyes ; then +- GST_ERROR_CFLAGS="$GST_ERROR_CFLAGS -Werror" ++ GST_ERROR_CFLAGS="$GST_ERROR_CFLAGS" + true + else + diff --git a/multimedia/gstreamer/files/patch-gst::cothreads.c b/multimedia/gstreamer/files/patch-gst::cothreads.c new file mode 100644 index 000000000..a756de582 --- /dev/null +++ b/multimedia/gstreamer/files/patch-gst::cothreads.c @@ -0,0 +1,13 @@ +--- gst/cothreads.c.orig Mon Feb 2 06:56:53 2004 ++++ gst/cothreads.c Fri Feb 6 13:05:26 2004 +@@ -42,6 +42,10 @@ + #include <ucontext.h> + #endif + ++#ifdef HAVE_MAKECONTEXT ++#include <ucontext.h> ++#endif ++ + #ifndef MAP_ANONYMOUS + #ifdef MAP_ANON + /* older glibc's have MAP_ANON instead of MAP_ANONYMOUS */ diff --git a/multimedia/gstreamer/files/patch-gst_gstmemchunk.c b/multimedia/gstreamer/files/patch-gst_gstmemchunk.c new file mode 100644 index 000000000..5a3a624cb --- /dev/null +++ b/multimedia/gstreamer/files/patch-gst_gstmemchunk.c @@ -0,0 +1,10 @@ +--- gst/gstmemchunk.c.orig Wed Aug 4 15:31:41 2004 ++++ gst/gstmemchunk.c Wed Aug 4 15:31:52 2004 +@@ -24,6 +24,7 @@ + #include "gstmemchunk.h" + #include "gsttrashstack.h" + #ifdef HAVE_VALGRIND ++#include <sys/types.h> + #include <sys/mman.h> + #include <valgrind/valgrind.h> + #endif diff --git a/multimedia/gstreamer/pkg-descr b/multimedia/gstreamer/pkg-descr new file mode 100644 index 000000000..3e7e98b0e --- /dev/null +++ b/multimedia/gstreamer/pkg-descr @@ -0,0 +1,24 @@ +[ excerpt from developer's site ] +- What is GStreamer? +GStreamer allows the construction of graphs of media-handling +components, ranging from simple mp3 playback to complex audio +(mixing) and video (non-linear editing) processing. Applications +can take advantage of advances in codec and filter technology +transparently. Developers can add new codecs and filters by writing +a simple plugin with a clean, generic interface. GStreamer is +released under the LGPL, with many of the included plugins retaining +the license of the code they were derived from, usually GPL or BSD. + +- Features: +* Comprehensive Core Library +* Intelligent Plugin Architecture +* Extensive Development Tools + +- Is GStreamer a media player? +No, GStreamer is a development framework for creating applications +like media players, video editors, streaming media broadcasters and +so on. That said, very good media players can easily be built on +top of GStreamer and we even include a simple yet functional +mediaplayer with GStreamer called Gst-Player + +WWW: http://gstreamer.sourceforge.net/ diff --git a/multimedia/gstreamer/pkg-plist b/multimedia/gstreamer/pkg-plist new file mode 100644 index 000000000..a9b872d2a --- /dev/null +++ b/multimedia/gstreamer/pkg-plist @@ -0,0 +1,131 @@ +bin/gst-complete +bin/gst-complete-%%VERSION%% +bin/gst-compprep +bin/gst-compprep-%%VERSION%% +bin/gst-feedback +bin/gst-feedback-%%VERSION%% +bin/gst-inspect +bin/gst-inspect-%%VERSION%% +bin/gst-launch +bin/gst-launch-%%VERSION%% +bin/gst-md5sum +bin/gst-md5sum-%%VERSION%% +bin/gst-register +bin/gst-register-%%VERSION%% +bin/gst-typefind +bin/gst-typefind-%%VERSION%% +bin/gst-xmlinspect +bin/gst-xmlinspect-%%VERSION%% +bin/gst-xmllaunch +bin/gst-xmllaunch-%%VERSION%% +include/gstreamer-%%VERSION%%/gst/bytestream/adapter.h +include/gstreamer-%%VERSION%%/gst/bytestream/bytestream.h +include/gstreamer-%%VERSION%%/gst/bytestream/filepad.h +include/gstreamer-%%VERSION%%/gst/control/control.h +include/gstreamer-%%VERSION%%/gst/control/dparam.h +include/gstreamer-%%VERSION%%/gst/control/dparam_smooth.h +include/gstreamer-%%VERSION%%/gst/control/dparamcommon.h +include/gstreamer-%%VERSION%%/gst/control/dparammanager.h +include/gstreamer-%%VERSION%%/gst/control/dplinearinterp.h +include/gstreamer-%%VERSION%%/gst/control/unitconvert.h +include/gstreamer-%%VERSION%%/gst/dataprotocol/dataprotocol.h +include/gstreamer-%%VERSION%%/gst/getbits/getbits.h +include/gstreamer-%%VERSION%%/gst/gst.h +include/gstreamer-%%VERSION%%/gst/gstatomic.h +include/gstreamer-%%VERSION%%/gst/gstbin.h +include/gstreamer-%%VERSION%%/gst/gstbuffer.h +include/gstreamer-%%VERSION%%/gst/gstcaps.h +include/gstreamer-%%VERSION%%/gst/gstclock.h +include/gstreamer-%%VERSION%%/gst/gstcompat.h +include/gstreamer-%%VERSION%%/gst/gstconfig.h +include/gstreamer-%%VERSION%%/gst/gstcpu.h +include/gstreamer-%%VERSION%%/gst/gstdata.h +include/gstreamer-%%VERSION%%/gst/gstelement.h +include/gstreamer-%%VERSION%%/gst/gstenumtypes.h +include/gstreamer-%%VERSION%%/gst/gsterror.h +include/gstreamer-%%VERSION%%/gst/gstevent.h +include/gstreamer-%%VERSION%%/gst/gstfilter.h +include/gstreamer-%%VERSION%%/gst/gstformat.h +include/gstreamer-%%VERSION%%/gst/gstindex.h +include/gstreamer-%%VERSION%%/gst/gstinfo.h +include/gstreamer-%%VERSION%%/gst/gstinterface.h +include/gstreamer-%%VERSION%%/gst/gstmacros.h +include/gstreamer-%%VERSION%%/gst/gstmarshal.h +include/gstreamer-%%VERSION%%/gst/gstmemchunk.h +include/gstreamer-%%VERSION%%/gst/gstobject.h +include/gstreamer-%%VERSION%%/gst/gstpad.h +include/gstreamer-%%VERSION%%/gst/gstparse.h +include/gstreamer-%%VERSION%%/gst/gstpipeline.h +include/gstreamer-%%VERSION%%/gst/gstplugin.h +include/gstreamer-%%VERSION%%/gst/gstpluginfeature.h +include/gstreamer-%%VERSION%%/gst/gstprobe.h +include/gstreamer-%%VERSION%%/gst/gstquery.h +include/gstreamer-%%VERSION%%/gst/gstqueue.h +include/gstreamer-%%VERSION%%/gst/gstregistry.h +include/gstreamer-%%VERSION%%/gst/gstregistrypool.h +include/gstreamer-%%VERSION%%/gst/gstscheduler.h +include/gstreamer-%%VERSION%%/gst/gststructure.h +include/gstreamer-%%VERSION%%/gst/gstsystemclock.h +include/gstreamer-%%VERSION%%/gst/gsttag.h +include/gstreamer-%%VERSION%%/gst/gsttaginterface.h +include/gstreamer-%%VERSION%%/gst/gstthread.h +include/gstreamer-%%VERSION%%/gst/gsttrace.h +include/gstreamer-%%VERSION%%/gst/gsttrashstack.h +include/gstreamer-%%VERSION%%/gst/gsttypefind.h +include/gstreamer-%%VERSION%%/gst/gsttypes.h +include/gstreamer-%%VERSION%%/gst/gsturi.h +include/gstreamer-%%VERSION%%/gst/gsturitype.h +include/gstreamer-%%VERSION%%/gst/gstutils.h +include/gstreamer-%%VERSION%%/gst/gstvalue.h +include/gstreamer-%%VERSION%%/gst/gstversion.h +include/gstreamer-%%VERSION%%/gst/gstxml.h +lib/gstreamer-%%VERSION%%/libgstbasicgthreadscheduler.so +lib/gstreamer-%%VERSION%%/libgstbasicomegascheduler.so +lib/gstreamer-%%VERSION%%/libgstbytestream.so +lib/gstreamer-%%VERSION%%/libgstdataprotocol.so +lib/gstreamer-%%VERSION%%/libgstelements.so +lib/gstreamer-%%VERSION%%/libgstentrygthreadscheduler.so +lib/gstreamer-%%VERSION%%/libgstentryomegascheduler.so +lib/gstreamer-%%VERSION%%/libgstfairgthreadscheduler.so +lib/gstreamer-%%VERSION%%/libgstgetbits.so +lib/gstreamer-%%VERSION%%/libgstindexers.so +lib/gstreamer-%%VERSION%%/libgstoptgthreadscheduler.so +lib/gstreamer-%%VERSION%%/libgstoptomegascheduler.so +lib/gstreamer-%%VERSION%%/libgstoptscheduler.so +lib/gstreamer-%%VERSION%%/libgstspider.so +lib/libgstcontrol-%%VERSION%%.a +lib/libgstcontrol-%%VERSION%%.so +lib/libgstcontrol-%%VERSION%%.so.%%SHLIB_VERSION%% +lib/libgstreamer-%%VERSION%%.a +lib/libgstreamer-%%VERSION%%.so +lib/libgstreamer-%%VERSION%%.so.%%SHLIB_VERSION%% +libdata/pkgconfig/gstreamer-%%VERSION%%.pc +libdata/pkgconfig/gstreamer-control-%%VERSION%%.pc +share/aclocal/gst-element-check-%%VERSION%%.m4 +share/locale/af/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/az/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/ca/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/cs/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/de/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/en_GB/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/fr/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/it/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/nb/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/nl/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/sq/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/sr/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/sv/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/tr/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/uk/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/vi/LC_MESSAGES/gstreamer-%%VERSION%%.mo +@unexec rm %D/share/gnome/cache/gstreamer-%%VERSION%%/registry.xml 2>/dev/null || true +@dirrm share/gnome/cache/gstreamer-%%VERSION%% +@unexec rmdir %D/share/gnome/cache 2>/dev/null || true +@dirrm lib/gstreamer-%%VERSION%% +@dirrm include/gstreamer-%%VERSION%%/gst/getbits +@dirrm include/gstreamer-%%VERSION%%/gst/dataprotocol +@dirrm include/gstreamer-%%VERSION%%/gst/control +@dirrm include/gstreamer-%%VERSION%%/gst/bytestream +@dirrm include/gstreamer-%%VERSION%%/gst +@dirrm include/gstreamer-%%VERSION%% +@exec %D/bin/gst-register --gst-registry=%D/share/gnome/cache/gstreamer-%%VERSION%%/registry.xml 2>/dev/null || true diff --git a/multimedia/gstreamer80/Makefile b/multimedia/gstreamer80/Makefile new file mode 100644 index 000000000..055f0b36c --- /dev/null +++ b/multimedia/gstreamer80/Makefile @@ -0,0 +1,66 @@ +# New ports collection makefile for: gstreamer +# Date created: Tue Jul 9 20:24:02 UTC 2002 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD: ports/multimedia/gstreamer/Makefile,v 1.32 2005/02/09 19:07:15 kwm Exp $ +# + +PORTNAME= gstreamer +PORTVERSION= 0.8.9 +PORTREVISION= 1 +CATEGORIES= multimedia +MASTER_SITES= ${MASTER_SITE_GNOME} \ + http://gstreamer.freedesktop.org/src/gstreamer/ +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${GST_VERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= lioux@FreeBSD.org +COMMENT= Development framework for creating media applications + +LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt + +USE_X_PREFIX= yes +USE_BISON= yes +USE_BZIP2= yes +USE_GMAKE= yes +WANT_GNOME= yes +USE_GNOME= gnomehack \ + gnomeprefix \ + glib20 \ + libxml2 +USE_LIBTOOL_VER=15 +CONFIGURE_ARGS= --disable-tests \ + --disable-examples \ + --disable-docs-build \ + --disable-failing-tests +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" +PLIST_SUB= \ + VERSION="${GST_VERSION}" \ + SHLIB_VERSION="${SHLIB_VERSION}" \ + PORTVERSION="${PORTVERSION}" +INSTALLS_SHLIB= yes + +MAN1= gst-complete-${GST_VERSION}.1 gst-compprep-${GST_VERSION}.1 \ + gst-feedback-${GST_VERSION}.1 gst-inspect-${GST_VERSION}.1 \ + gst-launch-${GST_VERSION}.1 gst-md5sum-${GST_VERSION}.1 \ + gst-register-${GST_VERSION}.1 gst-typefind-${GST_VERSION}.1 \ + gst-xmllaunch-${GST_VERSION}.1 gst-xmlinspect-${GST_VERSION}.1 + +GST_VERSION=${PORTVERSION:C/..$//} + +# library minor number +SHLIB_VERSION= 5 + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 600012 +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-gst::cothreads.c +.endif + +post-install: +# register plugins + -@${PREFIX}/bin/gst-register-${GST_VERSION} \ + --gst-registry=${PREFIX}/share/gnome/cache/gstreamer-${GST_VERSION}/registry.xml 2>/dev/null + +.include <bsd.port.post.mk> diff --git a/multimedia/gstreamer80/distinfo b/multimedia/gstreamer80/distinfo new file mode 100644 index 000000000..8d93776cc --- /dev/null +++ b/multimedia/gstreamer80/distinfo @@ -0,0 +1,2 @@ +MD5 (gnome2/gstreamer-0.8.9.tar.bz2) = 6769de224de8457ed0dc09016287883a +SIZE (gnome2/gstreamer-0.8.9.tar.bz2) = 1456548 diff --git a/multimedia/gstreamer80/files/extra-patch-gst::cothreads.c b/multimedia/gstreamer80/files/extra-patch-gst::cothreads.c new file mode 100644 index 000000000..3581c0987 --- /dev/null +++ b/multimedia/gstreamer80/files/extra-patch-gst::cothreads.c @@ -0,0 +1,11 @@ +--- gst/cothreads.c.orig Mon Feb 2 06:56:53 2004 ++++ gst/cothreads.c Fri Feb 6 13:05:26 2004 +@@ -52,7 +56,7 @@ + #endif + #endif + +-#define STACK_SIZE 0x200000 ++#define STACK_SIZE 0x100000 + + #define COTHREAD_MAGIC_NUMBER 0xabcdef + diff --git a/multimedia/gstreamer80/files/patch-configure b/multimedia/gstreamer80/files/patch-configure new file mode 100644 index 000000000..672c3d317 --- /dev/null +++ b/multimedia/gstreamer80/files/patch-configure @@ -0,0 +1,29 @@ +--- configure.orig Fri Jun 4 18:19:18 2004 ++++ configure Fri Jun 4 18:20:27 2004 +@@ -21877,7 +21877,7 @@ + + + EXP_VAR=LOCALEDIR +- FROM_VAR=$datadir/locale ++ FROM_VAR=$prefix/share/locale + + prefix_save=$prefix + exec_prefix_save=$exec_prefix +@@ -21981,7 +21981,7 @@ + echo $ECHO_N "checking to see if compiler understands -Werror... $ECHO_C" >&6 + + save_CFLAGS="$CFLAGS" +- CFLAGS="$CFLAGS -Werror" ++ CFLAGS="$CFLAGS" + + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ +@@ -22031,7 +22031,7 @@ + CFLAGS="$save_CFLAGS" + + if test "X$flag_ok" = Xyes ; then +- GST_ERROR_CFLAGS="$GST_ERROR_CFLAGS -Werror" ++ GST_ERROR_CFLAGS="$GST_ERROR_CFLAGS" + true + else + diff --git a/multimedia/gstreamer80/files/patch-gst::cothreads.c b/multimedia/gstreamer80/files/patch-gst::cothreads.c new file mode 100644 index 000000000..a756de582 --- /dev/null +++ b/multimedia/gstreamer80/files/patch-gst::cothreads.c @@ -0,0 +1,13 @@ +--- gst/cothreads.c.orig Mon Feb 2 06:56:53 2004 ++++ gst/cothreads.c Fri Feb 6 13:05:26 2004 +@@ -42,6 +42,10 @@ + #include <ucontext.h> + #endif + ++#ifdef HAVE_MAKECONTEXT ++#include <ucontext.h> ++#endif ++ + #ifndef MAP_ANONYMOUS + #ifdef MAP_ANON + /* older glibc's have MAP_ANON instead of MAP_ANONYMOUS */ diff --git a/multimedia/gstreamer80/files/patch-gst_gstmemchunk.c b/multimedia/gstreamer80/files/patch-gst_gstmemchunk.c new file mode 100644 index 000000000..5a3a624cb --- /dev/null +++ b/multimedia/gstreamer80/files/patch-gst_gstmemchunk.c @@ -0,0 +1,10 @@ +--- gst/gstmemchunk.c.orig Wed Aug 4 15:31:41 2004 ++++ gst/gstmemchunk.c Wed Aug 4 15:31:52 2004 +@@ -24,6 +24,7 @@ + #include "gstmemchunk.h" + #include "gsttrashstack.h" + #ifdef HAVE_VALGRIND ++#include <sys/types.h> + #include <sys/mman.h> + #include <valgrind/valgrind.h> + #endif diff --git a/multimedia/gstreamer80/pkg-descr b/multimedia/gstreamer80/pkg-descr new file mode 100644 index 000000000..3e7e98b0e --- /dev/null +++ b/multimedia/gstreamer80/pkg-descr @@ -0,0 +1,24 @@ +[ excerpt from developer's site ] +- What is GStreamer? +GStreamer allows the construction of graphs of media-handling +components, ranging from simple mp3 playback to complex audio +(mixing) and video (non-linear editing) processing. Applications +can take advantage of advances in codec and filter technology +transparently. Developers can add new codecs and filters by writing +a simple plugin with a clean, generic interface. GStreamer is +released under the LGPL, with many of the included plugins retaining +the license of the code they were derived from, usually GPL or BSD. + +- Features: +* Comprehensive Core Library +* Intelligent Plugin Architecture +* Extensive Development Tools + +- Is GStreamer a media player? +No, GStreamer is a development framework for creating applications +like media players, video editors, streaming media broadcasters and +so on. That said, very good media players can easily be built on +top of GStreamer and we even include a simple yet functional +mediaplayer with GStreamer called Gst-Player + +WWW: http://gstreamer.sourceforge.net/ diff --git a/multimedia/gstreamer80/pkg-plist b/multimedia/gstreamer80/pkg-plist new file mode 100644 index 000000000..a9b872d2a --- /dev/null +++ b/multimedia/gstreamer80/pkg-plist @@ -0,0 +1,131 @@ +bin/gst-complete +bin/gst-complete-%%VERSION%% +bin/gst-compprep +bin/gst-compprep-%%VERSION%% +bin/gst-feedback +bin/gst-feedback-%%VERSION%% +bin/gst-inspect +bin/gst-inspect-%%VERSION%% +bin/gst-launch +bin/gst-launch-%%VERSION%% +bin/gst-md5sum +bin/gst-md5sum-%%VERSION%% +bin/gst-register +bin/gst-register-%%VERSION%% +bin/gst-typefind +bin/gst-typefind-%%VERSION%% +bin/gst-xmlinspect +bin/gst-xmlinspect-%%VERSION%% +bin/gst-xmllaunch +bin/gst-xmllaunch-%%VERSION%% +include/gstreamer-%%VERSION%%/gst/bytestream/adapter.h +include/gstreamer-%%VERSION%%/gst/bytestream/bytestream.h +include/gstreamer-%%VERSION%%/gst/bytestream/filepad.h +include/gstreamer-%%VERSION%%/gst/control/control.h +include/gstreamer-%%VERSION%%/gst/control/dparam.h +include/gstreamer-%%VERSION%%/gst/control/dparam_smooth.h +include/gstreamer-%%VERSION%%/gst/control/dparamcommon.h +include/gstreamer-%%VERSION%%/gst/control/dparammanager.h +include/gstreamer-%%VERSION%%/gst/control/dplinearinterp.h +include/gstreamer-%%VERSION%%/gst/control/unitconvert.h +include/gstreamer-%%VERSION%%/gst/dataprotocol/dataprotocol.h +include/gstreamer-%%VERSION%%/gst/getbits/getbits.h +include/gstreamer-%%VERSION%%/gst/gst.h +include/gstreamer-%%VERSION%%/gst/gstatomic.h +include/gstreamer-%%VERSION%%/gst/gstbin.h +include/gstreamer-%%VERSION%%/gst/gstbuffer.h +include/gstreamer-%%VERSION%%/gst/gstcaps.h +include/gstreamer-%%VERSION%%/gst/gstclock.h +include/gstreamer-%%VERSION%%/gst/gstcompat.h +include/gstreamer-%%VERSION%%/gst/gstconfig.h +include/gstreamer-%%VERSION%%/gst/gstcpu.h +include/gstreamer-%%VERSION%%/gst/gstdata.h +include/gstreamer-%%VERSION%%/gst/gstelement.h +include/gstreamer-%%VERSION%%/gst/gstenumtypes.h +include/gstreamer-%%VERSION%%/gst/gsterror.h +include/gstreamer-%%VERSION%%/gst/gstevent.h +include/gstreamer-%%VERSION%%/gst/gstfilter.h +include/gstreamer-%%VERSION%%/gst/gstformat.h +include/gstreamer-%%VERSION%%/gst/gstindex.h +include/gstreamer-%%VERSION%%/gst/gstinfo.h +include/gstreamer-%%VERSION%%/gst/gstinterface.h +include/gstreamer-%%VERSION%%/gst/gstmacros.h +include/gstreamer-%%VERSION%%/gst/gstmarshal.h +include/gstreamer-%%VERSION%%/gst/gstmemchunk.h +include/gstreamer-%%VERSION%%/gst/gstobject.h +include/gstreamer-%%VERSION%%/gst/gstpad.h +include/gstreamer-%%VERSION%%/gst/gstparse.h +include/gstreamer-%%VERSION%%/gst/gstpipeline.h +include/gstreamer-%%VERSION%%/gst/gstplugin.h +include/gstreamer-%%VERSION%%/gst/gstpluginfeature.h +include/gstreamer-%%VERSION%%/gst/gstprobe.h +include/gstreamer-%%VERSION%%/gst/gstquery.h +include/gstreamer-%%VERSION%%/gst/gstqueue.h +include/gstreamer-%%VERSION%%/gst/gstregistry.h +include/gstreamer-%%VERSION%%/gst/gstregistrypool.h +include/gstreamer-%%VERSION%%/gst/gstscheduler.h +include/gstreamer-%%VERSION%%/gst/gststructure.h +include/gstreamer-%%VERSION%%/gst/gstsystemclock.h +include/gstreamer-%%VERSION%%/gst/gsttag.h +include/gstreamer-%%VERSION%%/gst/gsttaginterface.h +include/gstreamer-%%VERSION%%/gst/gstthread.h +include/gstreamer-%%VERSION%%/gst/gsttrace.h +include/gstreamer-%%VERSION%%/gst/gsttrashstack.h +include/gstreamer-%%VERSION%%/gst/gsttypefind.h +include/gstreamer-%%VERSION%%/gst/gsttypes.h +include/gstreamer-%%VERSION%%/gst/gsturi.h +include/gstreamer-%%VERSION%%/gst/gsturitype.h +include/gstreamer-%%VERSION%%/gst/gstutils.h +include/gstreamer-%%VERSION%%/gst/gstvalue.h +include/gstreamer-%%VERSION%%/gst/gstversion.h +include/gstreamer-%%VERSION%%/gst/gstxml.h +lib/gstreamer-%%VERSION%%/libgstbasicgthreadscheduler.so +lib/gstreamer-%%VERSION%%/libgstbasicomegascheduler.so +lib/gstreamer-%%VERSION%%/libgstbytestream.so +lib/gstreamer-%%VERSION%%/libgstdataprotocol.so +lib/gstreamer-%%VERSION%%/libgstelements.so +lib/gstreamer-%%VERSION%%/libgstentrygthreadscheduler.so +lib/gstreamer-%%VERSION%%/libgstentryomegascheduler.so +lib/gstreamer-%%VERSION%%/libgstfairgthreadscheduler.so +lib/gstreamer-%%VERSION%%/libgstgetbits.so +lib/gstreamer-%%VERSION%%/libgstindexers.so +lib/gstreamer-%%VERSION%%/libgstoptgthreadscheduler.so +lib/gstreamer-%%VERSION%%/libgstoptomegascheduler.so +lib/gstreamer-%%VERSION%%/libgstoptscheduler.so +lib/gstreamer-%%VERSION%%/libgstspider.so +lib/libgstcontrol-%%VERSION%%.a +lib/libgstcontrol-%%VERSION%%.so +lib/libgstcontrol-%%VERSION%%.so.%%SHLIB_VERSION%% +lib/libgstreamer-%%VERSION%%.a +lib/libgstreamer-%%VERSION%%.so +lib/libgstreamer-%%VERSION%%.so.%%SHLIB_VERSION%% +libdata/pkgconfig/gstreamer-%%VERSION%%.pc +libdata/pkgconfig/gstreamer-control-%%VERSION%%.pc +share/aclocal/gst-element-check-%%VERSION%%.m4 +share/locale/af/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/az/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/ca/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/cs/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/de/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/en_GB/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/fr/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/it/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/nb/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/nl/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/sq/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/sr/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/sv/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/tr/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/uk/LC_MESSAGES/gstreamer-%%VERSION%%.mo +share/locale/vi/LC_MESSAGES/gstreamer-%%VERSION%%.mo +@unexec rm %D/share/gnome/cache/gstreamer-%%VERSION%%/registry.xml 2>/dev/null || true +@dirrm share/gnome/cache/gstreamer-%%VERSION%% +@unexec rmdir %D/share/gnome/cache 2>/dev/null || true +@dirrm lib/gstreamer-%%VERSION%% +@dirrm include/gstreamer-%%VERSION%%/gst/getbits +@dirrm include/gstreamer-%%VERSION%%/gst/dataprotocol +@dirrm include/gstreamer-%%VERSION%%/gst/control +@dirrm include/gstreamer-%%VERSION%%/gst/bytestream +@dirrm include/gstreamer-%%VERSION%%/gst +@dirrm include/gstreamer-%%VERSION%% +@exec %D/bin/gst-register --gst-registry=%D/share/gnome/cache/gstreamer-%%VERSION%%/registry.xml 2>/dev/null || true |