Initial import of gstreamer-0.6.1, a multimedia streamer library for GNOME2
This commit is contained in:
parent
27d251b0fb
commit
8d2c7af87f
7 changed files with 318 additions and 0 deletions
4
misc/gstreamer/DESCR
Normal file
4
misc/gstreamer/DESCR
Normal file
|
@ -0,0 +1,4 @@
|
|||
GStreamer is a framework for streaming media. The fundamental design comes
|
||||
from the video pipeline at Oregon Graduate Institute, as well as some ideas
|
||||
from DirectMedia. It's based on plug-ins that will provide the various
|
||||
codecs and other functionality.
|
35
misc/gstreamer/Makefile
Normal file
35
misc/gstreamer/Makefile
Normal file
|
@ -0,0 +1,35 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2003/04/25 04:39:55 rh Exp $
|
||||
#
|
||||
|
||||
DISTNAME= gstreamer-0.6.1
|
||||
CATEGORIES= misc gnome
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gstreamer/0.6/}
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
MAINTAINER= rh@netbsd.org
|
||||
HOMEPAGE= http://www.gstreamer.net/
|
||||
COMMENT= GNOME multimedia streamer library
|
||||
|
||||
BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_BUILDLINK2= yes
|
||||
USE_PKGLOCALEDIR= yes
|
||||
USE_LIBTOOL= yes
|
||||
USE_GMAKE= yes
|
||||
USE_PERL5= build
|
||||
|
||||
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
|
||||
PKGCONFIG_OVERRIDE+= ${WRKSRC}/libs/ext/cothreads/cothreads.pc.in
|
||||
PKGCONFIG_OVERRIDE+= ${WRKSRC}/pkgconfig/gstreamer-control.pc.in
|
||||
PKGCONFIG_OVERRIDE+= ${WRKSRC}/pkgconfig/gstreamer.pc.in
|
||||
|
||||
.include "../../devel/glib2/buildlink2.mk"
|
||||
.include "../../devel/libgnomeui/buildlink2.mk"
|
||||
.include "../../devel/pkgconfig/buildlink2.mk"
|
||||
.include "../../devel/popt/buildlink2.mk"
|
||||
.include "../../lang/python22/buildlink2.mk"
|
||||
.include "../../textproc/gtk-doc/buildlink2.mk"
|
||||
.include "../../textproc/libxml2/buildlink2.mk"
|
||||
.include "../../textproc/libxslt/buildlink2.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
147
misc/gstreamer/PLIST
Normal file
147
misc/gstreamer/PLIST
Normal file
|
@ -0,0 +1,147 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/25 04:39:55 rh Exp $
|
||||
bin/gst-complete
|
||||
bin/gst-compprep
|
||||
bin/gst-feedback
|
||||
bin/gst-inspect
|
||||
bin/gst-launch
|
||||
bin/gst-md5sum
|
||||
bin/gst-register
|
||||
bin/gst-xmllaunch
|
||||
include/gstreamer-0.6/gst/bytestream/bytestream.h
|
||||
include/gstreamer-0.6/gst/control/control.h
|
||||
include/gstreamer-0.6/gst/control/dparam.h
|
||||
include/gstreamer-0.6/gst/control/dparam_smooth.h
|
||||
include/gstreamer-0.6/gst/control/dparamcommon.h
|
||||
include/gstreamer-0.6/gst/control/dparammanager.h
|
||||
include/gstreamer-0.6/gst/control/dplinearinterp.h
|
||||
include/gstreamer-0.6/gst/control/unitconvert.h
|
||||
include/gstreamer-0.6/gst/getbits/getbits.h
|
||||
include/gstreamer-0.6/gst/gst.h
|
||||
include/gstreamer-0.6/gst/gstatomic.h
|
||||
include/gstreamer-0.6/gst/gstautoplug.h
|
||||
include/gstreamer-0.6/gst/gstbin.h
|
||||
include/gstreamer-0.6/gst/gstbuffer.h
|
||||
include/gstreamer-0.6/gst/gstbufferpool-default.h
|
||||
include/gstreamer-0.6/gst/gstcaps.h
|
||||
include/gstreamer-0.6/gst/gstclock.h
|
||||
include/gstreamer-0.6/gst/gstcompat.h
|
||||
include/gstreamer-0.6/gst/gstconfig.h
|
||||
include/gstreamer-0.6/gst/gstcpu.h
|
||||
include/gstreamer-0.6/gst/gstdata.h
|
||||
include/gstreamer-0.6/gst/gstelement.h
|
||||
include/gstreamer-0.6/gst/gstenumtypes.h
|
||||
include/gstreamer-0.6/gst/gstevent.h
|
||||
include/gstreamer-0.6/gst/gstextratypes.h
|
||||
include/gstreamer-0.6/gst/gstformat.h
|
||||
include/gstreamer-0.6/gst/gstindex.h
|
||||
include/gstreamer-0.6/gst/gstinfo.h
|
||||
include/gstreamer-0.6/gst/gstlog.h
|
||||
include/gstreamer-0.6/gst/gstmacros.h
|
||||
include/gstreamer-0.6/gst/gstmarshal.h
|
||||
include/gstreamer-0.6/gst/gstmemchunk.h
|
||||
include/gstreamer-0.6/gst/gstobject.h
|
||||
include/gstreamer-0.6/gst/gstpad.h
|
||||
include/gstreamer-0.6/gst/gstparse.h
|
||||
include/gstreamer-0.6/gst/gstpipeline.h
|
||||
include/gstreamer-0.6/gst/gstplugin.h
|
||||
include/gstreamer-0.6/gst/gstpluginfeature.h
|
||||
include/gstreamer-0.6/gst/gstprobe.h
|
||||
include/gstreamer-0.6/gst/gstprops.h
|
||||
include/gstreamer-0.6/gst/gstquery.h
|
||||
include/gstreamer-0.6/gst/gstqueue.h
|
||||
include/gstreamer-0.6/gst/gstregistry.h
|
||||
include/gstreamer-0.6/gst/gstscheduler.h
|
||||
include/gstreamer-0.6/gst/gstsystemclock.h
|
||||
include/gstreamer-0.6/gst/gstthread.h
|
||||
include/gstreamer-0.6/gst/gsttrace.h
|
||||
include/gstreamer-0.6/gst/gsttrashstack.h
|
||||
include/gstreamer-0.6/gst/gsttype.h
|
||||
include/gstreamer-0.6/gst/gsttypefind.h
|
||||
include/gstreamer-0.6/gst/gsttypes.h
|
||||
include/gstreamer-0.6/gst/gsturi.h
|
||||
include/gstreamer-0.6/gst/gstutils.h
|
||||
include/gstreamer-0.6/gst/gstversion.h
|
||||
include/gstreamer-0.6/gst/gstxml.h
|
||||
include/gstreamer-0.6/gst/putbits/putbits.h
|
||||
lib/gstreamer-0.6/libgstautoplugcache.a
|
||||
lib/gstreamer-0.6/libgstautoplugcache.la
|
||||
lib/gstreamer-0.6/libgstautoplugcache.so
|
||||
lib/gstreamer-0.6/libgstautoplugger.a
|
||||
lib/gstreamer-0.6/libgstautoplugger.la
|
||||
lib/gstreamer-0.6/libgstautoplugger.so
|
||||
lib/gstreamer-0.6/libgstbasicgthreadscheduler.a
|
||||
lib/gstreamer-0.6/libgstbasicgthreadscheduler.la
|
||||
lib/gstreamer-0.6/libgstbasicgthreadscheduler.so
|
||||
lib/gstreamer-0.6/libgstbasicomegascheduler.a
|
||||
lib/gstreamer-0.6/libgstbasicomegascheduler.la
|
||||
lib/gstreamer-0.6/libgstbasicomegascheduler.so
|
||||
lib/gstreamer-0.6/libgstbasicwingoscheduler.a
|
||||
lib/gstreamer-0.6/libgstbasicwingoscheduler.la
|
||||
lib/gstreamer-0.6/libgstbasicwingoscheduler.so
|
||||
lib/gstreamer-0.6/libgstbytestream.a
|
||||
lib/gstreamer-0.6/libgstbytestream.la
|
||||
lib/gstreamer-0.6/libgstbytestream.so
|
||||
lib/gstreamer-0.6/libgstelements.a
|
||||
lib/gstreamer-0.6/libgstelements.la
|
||||
lib/gstreamer-0.6/libgstelements.so
|
||||
lib/gstreamer-0.6/libgstgetbits.a
|
||||
lib/gstreamer-0.6/libgstgetbits.la
|
||||
lib/gstreamer-0.6/libgstgetbits.so
|
||||
lib/gstreamer-0.6/libgstindexers.a
|
||||
lib/gstreamer-0.6/libgstindexers.la
|
||||
lib/gstreamer-0.6/libgstindexers.so
|
||||
lib/gstreamer-0.6/libgstoptgthreadscheduler.a
|
||||
lib/gstreamer-0.6/libgstoptgthreadscheduler.la
|
||||
lib/gstreamer-0.6/libgstoptgthreadscheduler.so
|
||||
lib/gstreamer-0.6/libgstoptomegascheduler.a
|
||||
lib/gstreamer-0.6/libgstoptomegascheduler.la
|
||||
lib/gstreamer-0.6/libgstoptomegascheduler.so
|
||||
lib/gstreamer-0.6/libgstoptscheduler.a
|
||||
lib/gstreamer-0.6/libgstoptscheduler.la
|
||||
lib/gstreamer-0.6/libgstoptscheduler.so
|
||||
lib/gstreamer-0.6/libgstoptwingoscheduler.a
|
||||
lib/gstreamer-0.6/libgstoptwingoscheduler.la
|
||||
lib/gstreamer-0.6/libgstoptwingoscheduler.so
|
||||
lib/gstreamer-0.6/libgstputbits.a
|
||||
lib/gstreamer-0.6/libgstputbits.la
|
||||
lib/gstreamer-0.6/libgstputbits.so
|
||||
lib/gstreamer-0.6/libgstspider.a
|
||||
lib/gstreamer-0.6/libgstspider.la
|
||||
lib/gstreamer-0.6/libgstspider.so
|
||||
lib/gstreamer-0.6/libgststaticautoplug.a
|
||||
lib/gstreamer-0.6/libgststaticautoplug.la
|
||||
lib/gstreamer-0.6/libgststaticautoplug.so
|
||||
lib/gstreamer-0.6/libgststaticautoplugrender.a
|
||||
lib/gstreamer-0.6/libgststaticautoplugrender.la
|
||||
lib/gstreamer-0.6/libgststaticautoplugrender.so
|
||||
lib/gstreamer-0.6/libgsttypes.a
|
||||
lib/gstreamer-0.6/libgsttypes.la
|
||||
lib/gstreamer-0.6/libgsttypes.so
|
||||
lib/libgstcontrol-0.6.a
|
||||
lib/libgstcontrol-0.6.la
|
||||
lib/libgstcontrol-0.6.so
|
||||
lib/libgstcontrol-0.6.so.0
|
||||
lib/libgstcontrol-0.6.so.0.1
|
||||
lib/libgstreamer-0.6.a
|
||||
lib/libgstreamer-0.6.la
|
||||
lib/libgstreamer-0.6.so
|
||||
lib/libgstreamer-0.6.so.0
|
||||
lib/libgstreamer-0.6.so.0.1
|
||||
lib/pkgconfig/gstreamer-0.6.pc
|
||||
lib/pkgconfig/gstreamer-control-0.6.pc
|
||||
man/man1/gst-complete.1
|
||||
man/man1/gst-compprep.1
|
||||
man/man1/gst-feedback.1
|
||||
man/man1/gst-inspect.1
|
||||
man/man1/gst-launch.1
|
||||
man/man1/gst-md5sum.1
|
||||
man/man1/gst-register.1
|
||||
man/man1/gst-xmllaunch.1
|
||||
share/aclocal/gst-element-check-0.6.m4
|
||||
@dirrm lib/gstreamer-0.6
|
||||
@dirrm include/gstreamer-0.6/gst/putbits
|
||||
@dirrm include/gstreamer-0.6/gst/getbits
|
||||
@dirrm include/gstreamer-0.6/gst/control
|
||||
@dirrm include/gstreamer-0.6/gst/bytestream
|
||||
@dirrm include/gstreamer-0.6/gst
|
||||
@dirrm include/gstreamer-0.6
|
58
misc/gstreamer/buildlink2.mk
Normal file
58
misc/gstreamer/buildlink2.mk
Normal file
|
@ -0,0 +1,58 @@
|
|||
# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/04/25 04:39:55 rh Exp $
|
||||
#
|
||||
# This Makefile fragment is included by packages that use gstreamer.
|
||||
#
|
||||
# This file was created automatically using createbuildlink 2.4.
|
||||
#
|
||||
|
||||
.if !defined(GSTREAMER_BUILDLINK2_MK)
|
||||
GSTREAMER_BUILDLINK2_MK= # defined
|
||||
|
||||
BUILDLINK_PACKAGES+= gstreamer
|
||||
BUILDLINK_DEPENDS.gstreamer?= gstreamer>=0.6.1
|
||||
BUILDLINK_PKGSRCDIR.gstreamer?= ../../misc/gstreamer
|
||||
|
||||
EVAL_PREFIX+= BUILDLINK_PREFIX.gstreamer=gstreamer
|
||||
BUILDLINK_PREFIX.gstreamer_DEFAULT= ${LOCALBASE}
|
||||
BUILDLINK_FILES.gstreamer+= include/gstreamer-0.6/gst/*.h
|
||||
BUILDLINK_FILES.gstreamer+= include/gstreamer-0.6/gst/bytestream/*.h
|
||||
BUILDLINK_FILES.gstreamer+= include/gstreamer-0.6/gst/control/*.h
|
||||
BUILDLINK_FILES.gstreamer+= include/gstreamer-0.6/gst/getbits/*.h
|
||||
BUILDLINK_FILES.gstreamer+= include/gstreamer-0.6/gst/putbits/*.h
|
||||
BUILDLINK_FILES.gstreamer+= lib/gstreamer-0.6/libgstautoplugcache.*
|
||||
BUILDLINK_FILES.gstreamer+= lib/gstreamer-0.6/libgstautoplugger.*
|
||||
BUILDLINK_FILES.gstreamer+= lib/gstreamer-0.6/libgstbasicgthreadscheduler.*
|
||||
BUILDLINK_FILES.gstreamer+= lib/gstreamer-0.6/libgstbasicomegascheduler.*
|
||||
BUILDLINK_FILES.gstreamer+= lib/gstreamer-0.6/libgstbasicwingoscheduler.*
|
||||
BUILDLINK_FILES.gstreamer+= lib/gstreamer-0.6/libgstbytestream.*
|
||||
BUILDLINK_FILES.gstreamer+= lib/gstreamer-0.6/libgstelements.*
|
||||
BUILDLINK_FILES.gstreamer+= lib/gstreamer-0.6/libgstgetbits.*
|
||||
BUILDLINK_FILES.gstreamer+= lib/gstreamer-0.6/libgstindexers.*
|
||||
BUILDLINK_FILES.gstreamer+= lib/gstreamer-0.6/libgstoptgthreadscheduler.*
|
||||
BUILDLINK_FILES.gstreamer+= lib/gstreamer-0.6/libgstoptomegascheduler.*
|
||||
BUILDLINK_FILES.gstreamer+= lib/gstreamer-0.6/libgstoptscheduler.*
|
||||
BUILDLINK_FILES.gstreamer+= lib/gstreamer-0.6/libgstoptwingoscheduler.*
|
||||
BUILDLINK_FILES.gstreamer+= lib/gstreamer-0.6/libgstputbits.*
|
||||
BUILDLINK_FILES.gstreamer+= lib/gstreamer-0.6/libgstspider.*
|
||||
BUILDLINK_FILES.gstreamer+= lib/gstreamer-0.6/libgststaticautoplug.*
|
||||
BUILDLINK_FILES.gstreamer+= lib/gstreamer-0.6/libgststaticautoplugrender.*
|
||||
BUILDLINK_FILES.gstreamer+= lib/gstreamer-0.6/libgsttypes.*
|
||||
BUILDLINK_FILES.gstreamer+= lib/libgstcontrol-0.6.*
|
||||
BUILDLINK_FILES.gstreamer+= lib/libgstreamer-0.6.*
|
||||
BUILDLINK_FILES.gstreamer+= lib/pkgconfig/gstreamer-0.6.pc
|
||||
BUILDLINK_FILES.gstreamer+= lib/pkgconfig/gstreamer-control-0.6.pc
|
||||
|
||||
.include "../../devel/glib2/buildlink2.mk"
|
||||
.include "../../devel/libgnomeui/buildlink2.mk"
|
||||
.include "../../devel/pkgconfig/buildlink2.mk"
|
||||
.include "../../devel/popt/buildlink2.mk"
|
||||
.include "../../lang/python22/buildlink2.mk"
|
||||
.include "../../textproc/gtk-doc/buildlink2.mk"
|
||||
.include "../../textproc/libxml2/buildlink2.mk"
|
||||
.include "../../textproc/libxslt/buildlink2.mk"
|
||||
|
||||
BUILDLINK_TARGETS+= gstreamer-buildlink
|
||||
|
||||
gstreamer-buildlink: _BUILDLINK_USE
|
||||
|
||||
.endif # GSTREAMER_BUILDLINK2_MK
|
6
misc/gstreamer/distinfo
Normal file
6
misc/gstreamer/distinfo
Normal file
|
@ -0,0 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2003/04/25 04:39:55 rh Exp $
|
||||
|
||||
SHA1 (gstreamer-0.6.1.tar.bz2) = 9d5dbc733a1912d1e180537e6648e994329fbd5b
|
||||
Size (gstreamer-0.6.1.tar.bz2) = 1063325 bytes
|
||||
SHA1 (patch-aa) = 7106102c2310f998f812a39d3eef6af4384f291b
|
||||
SHA1 (patch-ab) = eab356ac97ea5d6fe0eac0ea45e3b851bffb47cc
|
20
misc/gstreamer/patches/patch-aa
Normal file
20
misc/gstreamer/patches/patch-aa
Normal file
|
@ -0,0 +1,20 @@
|
|||
$NetBSD: patch-aa,v 1.1.1.1 2003/04/25 04:39:55 rh Exp $
|
||||
|
||||
--- libs/ext/cothreads/tests/cothreads.c.orig 2002-08-14 07:53:24.000000000 +1000
|
||||
+++ libs/ext/cothreads/tests/cothreads.c
|
||||
@@ -94,12 +94,14 @@ int main (int argc, char *argv[])
|
||||
#ifdef HAVE_PTHREAD_ATTR_SETSTACK
|
||||
if (!pthread_attr_setstack (&attr[i], stack, MAIN_STACK_SIZE))
|
||||
perror ("setting stack size and address");
|
||||
-#else
|
||||
+#elif defined(HAVE_PTHREAD_ATTR_SETSTACKADDR)
|
||||
if (!pthread_attr_setstackaddr (&attr[i], stack))
|
||||
perror ("setting stack address");
|
||||
+#ifdef HAVE_PTHREAD_ATTR_SETSTACKSIZE
|
||||
if (!pthread_attr_setstacksize (&attr[i], MAIN_STACK_SIZE))
|
||||
perror ("setting stack size");
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
pthread_create (&thread[i], &attr[i], pthread, &pthreadnum[i]);
|
||||
}
|
48
misc/gstreamer/patches/patch-ab
Normal file
48
misc/gstreamer/patches/patch-ab
Normal file
|
@ -0,0 +1,48 @@
|
|||
$NetBSD: patch-ab,v 1.1.1.1 2003/04/25 04:39:55 rh Exp $
|
||||
|
||||
--- tools/gst-launch.c.orig 2003-02-02 10:05:42.000000000 +1000
|
||||
+++ tools/gst-launch.c
|
||||
@@ -1,7 +1,9 @@
|
||||
+#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <signal.h>
|
||||
#include <sys/wait.h>
|
||||
+#include <sys/signal.h>
|
||||
#include <gst/gst.h>
|
||||
|
||||
static guint64 iterations = 0;
|
||||
@@ -158,6 +160,19 @@ fault_handler (int signum, siginfo_t *si
|
||||
|
||||
}
|
||||
|
||||
+#ifndef SA_SIGINFO
|
||||
+void si_handler(int sig, int code, struct sigcontext *scp)
|
||||
+{
|
||||
+ siginfo_t si;
|
||||
+
|
||||
+ si.si_signo = sig;
|
||||
+ si.si_errno = errno;
|
||||
+ si.si_code = code;
|
||||
+
|
||||
+ fault_handler(sig, &si, scp);
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
static void
|
||||
fault_restore (void)
|
||||
{
|
||||
@@ -176,8 +191,13 @@ fault_setup (void)
|
||||
struct sigaction action;
|
||||
|
||||
memset (&action, 0, sizeof (action));
|
||||
+#ifdef SA_SIGINFO
|
||||
action.sa_sigaction = fault_handler;
|
||||
action.sa_flags = SA_SIGINFO;
|
||||
+#else
|
||||
+ action.sa_sigaction = (void (*)(int))si_handler;
|
||||
+ action.sa_flags = 0;
|
||||
+#endif
|
||||
|
||||
sigaction (SIGSEGV, &action, NULL);
|
||||
sigaction (SIGQUIT, &action, NULL);
|
Loading…
Reference in a new issue