From c2a865bcb58d363ea00c16213aaba311cda9073b Mon Sep 17 00:00:00 2001 From: lioux Date: Sat, 26 Oct 2002 16:25:05 +0000 Subject: Update to 0.4.1 --- multimedia/gstreamer/Makefile | 13 ++++++++----- multimedia/gstreamer/distinfo | 2 +- multimedia/gstreamer/files/patch-gst::gstthread.c | 22 ---------------------- .../patch-libs::ext::cothreads::tests::Makefile.in | 6 +++--- .../patch-libs::ext::cothreads::tests::cothreads.c | 18 ------------------ multimedia/gstreamer/pkg-plist | 17 +++++++++++------ 6 files changed, 23 insertions(+), 55 deletions(-) delete mode 100644 multimedia/gstreamer/files/patch-gst::gstthread.c delete mode 100644 multimedia/gstreamer/files/patch-libs::ext::cothreads::tests::cothreads.c (limited to 'multimedia/gstreamer') diff --git a/multimedia/gstreamer/Makefile b/multimedia/gstreamer/Makefile index 544466b..f644f9a 100644 --- a/multimedia/gstreamer/Makefile +++ b/multimedia/gstreamer/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gstreamer -PORTVERSION= 0.4.0 +PORTVERSION= 0.4.1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -22,6 +22,7 @@ IGNORE= Needs help fixing scheduling code under FreeBSD USE_BISON= yes USE_BZIP2= yes +USE_GMAKE= yes USE_LIBTOOL= yes USE_REINPLACE= yes GNU_CONFIGURE= yes @@ -30,18 +31,16 @@ CONFIGURE_ARGS= --disable-tests \ CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} \ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" +CONFIGURE_TARGET= INSTALLS_SHLIB= yes MAN1= gst-complete.1 gst-compprep.1 gst-inspect.1 gst-launch.1 \ + gst-feedback.1 gst-md5sum.1 \ gst-register.1 gst-xmllaunch.1 PKG_CONFIG?="${LOCALBASE}/bin/pkg-config" post-patch: -# do not prefix binary names with anything - @${REINPLACE_CMD} -E -e \ - 's|(@program_transform_name@),[^,]+,|\1,s/$$$$//,|' \ - ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} # use proper dir @${REINPLACE_CMD} -E -e \ 's|^(pkgconfigdir).*$$|\1=${PREFIX}/libdata/pkgconfig|' \ @@ -65,4 +64,8 @@ post-configure: @${REINPLACE_CMD} -E -e 's|-release ${PORTVERSION}||' \ ${WRKSRC}/gst/Makefile +post-install: +# register plugins + @${PREFIX}/bin/gst-register 2>/dev/null + .include diff --git a/multimedia/gstreamer/distinfo b/multimedia/gstreamer/distinfo index 0f73d06..ce93e69 100644 --- a/multimedia/gstreamer/distinfo +++ b/multimedia/gstreamer/distinfo @@ -1 +1 @@ -MD5 (gstreamer-0.4.0.tar.bz2) = 6dffb9d8f8e0c82989966f6fc7a7c94e +MD5 (gstreamer-0.4.1.tar.bz2) = 3d0b97165b684e8939377ca74702ac0e diff --git a/multimedia/gstreamer/files/patch-gst::gstthread.c b/multimedia/gstreamer/files/patch-gst::gstthread.c deleted file mode 100644 index e6f3393..0000000 --- a/multimedia/gstreamer/files/patch-gst::gstthread.c +++ /dev/null @@ -1,22 +0,0 @@ ---- gst/gstthread.c.orig Wed Jul 10 15:22:00 2002 -+++ gst/gstthread.c Wed Jul 10 15:22:52 2002 -@@ -147,7 +147,7 @@ - thread->cond = g_cond_new (); - - thread->ppid = getpid (); -- thread->thread_id = -1; -+ thread->thread_id = (pthread_t) -1; - } - - static void -@@ -276,8 +276,8 @@ - if (pthread_attr_init (&thread->attr) != 0) - g_warning ("pthread_attr_init returned an error !"); - if (gst_scheduler_get_preferred_stack (GST_ELEMENT_SCHED (element), &thread->stack, &stacksize)) { -- if (pthread_attr_setstack (&thread->attr, thread->stack, stacksize) != 0) { -- g_warning ("pthread_attr_setstack failed"); -+ if (pthread_attr_setstacksize (&thread->attr, stacksize) != 0) { -+ g_warning ("pthread_attr_setstacksize failed"); - return GST_STATE_FAILURE; - } - GST_DEBUG (GST_CAT_THREAD, "pthread attr set stack at %p of size %ld", diff --git a/multimedia/gstreamer/files/patch-libs::ext::cothreads::tests::Makefile.in b/multimedia/gstreamer/files/patch-libs::ext::cothreads::tests::Makefile.in index 19d00d8..fd554c2 100644 --- a/multimedia/gstreamer/files/patch-libs::ext::cothreads::tests::Makefile.in +++ b/multimedia/gstreamer/files/patch-libs::ext::cothreads::tests::Makefile.in @@ -1,6 +1,6 @@ ---- libs/ext/cothreads/tests/Makefile.in.orig Wed Jul 10 15:44:45 2002 -+++ libs/ext/cothreads/tests/Makefile.in Wed Jul 10 15:45:06 2002 -@@ -76,7 +76,7 @@ +--- libs/ext/cothreads/tests/Makefile.in.orig Sat Sep 28 23:05:55 2002 ++++ libs/ext/cothreads/tests/Makefile.in Sat Sep 28 23:06:23 2002 +@@ -83,7 +83,7 @@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ diff --git a/multimedia/gstreamer/files/patch-libs::ext::cothreads::tests::cothreads.c b/multimedia/gstreamer/files/patch-libs::ext::cothreads::tests::cothreads.c deleted file mode 100644 index a7ca258..0000000 --- a/multimedia/gstreamer/files/patch-libs::ext::cothreads::tests::cothreads.c +++ /dev/null @@ -1,18 +0,0 @@ ---- libs/ext/cothreads/tests/cothreads.c.orig Fri Jun 21 01:33:11 2002 -+++ libs/ext/cothreads/tests/cothreads.c Mon Jul 15 18:11:38 2002 -@@ -79,10 +79,13 @@ - printf ("0: creating the gthreads\n"); - for (i=0; i/dev/null || true @dirrm lib/gst @dirrm include/gstreamer/gst/putbits @dirrm include/gstreamer/gst/getbits -- cgit v1.1