head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.8 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.8.0.6 pkgsrc-2012Q4-base:1.8 pkgsrc-2011Q4:1.8.0.4 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q2:1.8.0.2 pkgsrc-2011Q2-base:1.8 pkgsrc-2010Q2:1.7.0.18 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.16 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.14 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.12 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.10 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.8 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.7.0.6 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.4 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.2 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.6.0.20 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.18 pkgsrc-2008Q1:1.6.0.16 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.14 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.12 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.10 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.8 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.6 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.4 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.2 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.5.0.6 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.4 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.2 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.3.0.2 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.2.0.4 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.2 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.1.1.1.0.6 pkgsrc-2004Q3-base:1.1.1.1 pkgsrc-2004Q2:1.1.1.1.0.4 pkgsrc-2004Q2-base:1.1.1.1 pkgsrc-2004Q1:1.1.1.1.0.2 pkgsrc-2004Q1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.8 date 2010.07.21.16.47.57; author drochner; state dead; branches; next 1.7; 1.7 date 2008.07.17.17.00.35; author drochner; state Exp; branches; next 1.6; 1.6 date 2006.06.26.17.13.11; author wiz; state Exp; branches; next 1.5; 1.5 date 2005.09.20.12.10.53; author dmcmahill; state Exp; branches; next 1.4; 1.4 date 2005.07.29.16.09.11; author drochner; state dead; branches; next 1.3; 1.3 date 2005.05.26.22.47.22; author reed; state Exp; branches; next 1.2; 1.2 date 2004.10.27.20.31.33; author drochner; state dead; branches; next 1.1; 1.1 date 2004.01.26.13.03.38; author jmmv; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2004.01.26.13.03.38; author jmmv; state Exp; branches; next ; desc @@ 1.8 log @remove some patches which look unnecessary or obsolete @ text @$NetBSD: patch-al,v 1.7 2008/07/17 17:00:35 drochner Exp $ --- src/xine-utils/xineutils.h.orig 2008-06-25 15:04:09.000000000 +0200 +++ src/xine-utils/xineutils.h @@@@ -673,7 +673,13 @@@@ void xine_strdupa(char *dest, char *src) /* compatibility macros */ #define xine_strpbrk(S, ACCEPT) strpbrk((S), (ACCEPT)) + +#ifndef HAVE_STRSEP +#define strsep(STRINGP, DELIM) _xine_private_strsep((STRINGP), (DELIM)) +char *_xine_private_strsep(char **stringp, const char *delim); +#endif #define xine_strsep(STRINGP, DELIM) strsep((STRINGP), (DELIM)) + #define xine_setenv(NAME, VAL, XX) setenv((NAME), (VAL), (XX)) /** @ 1.7 log @update to 1.1.14 changes: -adds Xv port & type selection -improved content type detection for HTTP streams -some DVB and V4L improvements -DVB audio bug fixed @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @regen (with correct offsets) @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.5 2005/09/20 12:10:53 dmcmahill Exp $ d3 1 a3 1 --- src/xine-utils/xineutils.h.orig 2005-10-08 13:57:49.000000000 +0000 d5 1 a5 1 @@@@ -679,7 +679,13 @@@@ void xine_strdupa(char *dest, char *src) d18 1 a18 1 /* @ 1.5 log @when the os is missing strsep() and we provide a replacement, do it in the header file too otherwise xine-ui won't find the replacement. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/xine-utils/xineutils.h.orig 2004-12-12 08:51:30.000000000 -0500 d5 1 a5 1 @@@@ -666,7 +666,13 @@@@ void xine_strdupa(char *dest, char *src) @ 1.4 log @update to 1.0.2 changes: * fixed playback of single-session Real RTSP streams, such as rtsp://stream.samurai.fm/broadcast/live_hi.rm * fixed xxmc / xvmc mocomp / IDCT rendering errors caused by the big update. * support --enable-fpic with recent versions of gcc * clip goom fps value to >= 1 [bug #1193783] * fixed xvmc plugin segfault when it tried software blending on nonexistant xv image * cleaned up libmpeg2 behaviour on xxmc plugin abrupt software fallback * use -fno-inline-functions with gcc < 3.4.0 (bug known to be in 3.3.5) * fix xxmc plugin wanting to change vld xvmc context when stream changes from non-interlaced to interlaced [bug #1194350] * speed up xx44 alphablending of large transparent areas * stop libmpeg2 XvMC IDCT / MOCOMP attempting software motion compensation [bug #1194754] * improve xxmc cpu-usage for IDCT / MOCOMP acceleration through better locking [bug #1195282] * gcc4 build patches [bug #1175002] * don't assume that file is in /usr/bin (build fix) [bug #1195539] * plugin loader fixes - could cause xine to lock up hard on startup [bug #1196819] * Fix xxmc bob deinterlacing for field-coded interlaced streams * Fix LE_64/BE_64 macros on non-x86 plataforms. may fixes issues with some demuxers like avi, asf and ogg. * sputext improvements/workarounds * add a new error message when a file we tried to play is an empty (zero-sized) file * be more POSIX-compliant (head, tail) (build fix) * fixed deadlock when libxine was called from the event listener thread and tried to flush all pending events. * Added xine(5), documenting MRL syntax. * allow playing just a single title/chapter from dvd (useful for extracting audio - check media.dvd.play_single_chapter) * new stream infos allows frontends to query current title/chapter/angle on dvds * new upmix_mono audio post plugin to convert mono to stereo * added --with-external-a52dec and --with-external-libmad switches * fix a locking bug which affects configuration callback functions @ text @d1 1 a1 2 $NetBSD: patch-al,v 1.3 2005/05/26 22:47:22 reed Exp $ Bug fix from CVS: Clip goom fps value to >= 1 [xine bug #1193783] d3 6 a8 6 --- src/post/goom/xine_goom.c.orig Sat May 7 18:03:44 2005 +++ src/post/goom/xine_goom.c Sat May 7 18:04:41 2005 @@@@ -145,9 +145,13 @@@@ if(class->ip) { post_plugin_goom_t *this = class->ip; d10 5 a14 2 + if (cfg->num_value < 1) + cfg->num_value = 1; d16 1 a16 1 this->fps = cfg->num_value; d18 1 a18 5 - if(this->sample_rate && this->fps) + if(this->sample_rate) this->samples_per_frame = this->sample_rate / this->fps; } } @ 1.3 log @Add PLIST.FreeBSD and three patches to make it build for FreeBSD. Add patch-ak and patch-an to support -enable-fpic with recent versions of gcc. From xine cvs. Bump PKGREVISION just in case these patch-ak and patch-an change functionality. Tested builds and running on FreeBSD 5.4-STABLE with gcc 3.4.2 and FreeBSD 5.3, and Linux 2.6.9 with gcc 3.3.5. And tested build and install on NetBSD 1.6.2_STABLE. Okayed by jmmv a couple weeks ago. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @update to xine-lib-1-rc6a New Features: - Added support for Annodex bitsream format. The Annodex bitstream format is a subset of the Ogg encapsulation format: it"s basically Ogg with extra timing information, so that time-based stream - Added support for VobSub-in-Matroska (Vobsub is raw subtitle stream from a DVD. This patch enables support for VobSub - Added support for 44100Hz DTS in .wav files - Added experimental time stretching plugin: play stream faster or slower than original speed, optionally preserving pitch - Added configure option for building xine with external ffmpeg library - Added api for finer playback speed control (requires frontend support) - Added support for QuickTime 6.3 DLLs - Added support for mp3 audio in mp4 files - Added support for using utf-8 for matroska subtitles @ text @d1 2 a2 1 $NetBSD: patch-al,v 1.1 2004/01/26 13:03:38 jmmv Exp $ d4 11 a14 3 --- src/libw32dll/wine/win32.c.orig 2003-10-02 12:25:52.000000000 +0000 +++ src/libw32dll/wine/win32.c 2003-10-02 12:21:50.000000000 +0000 @@@@ -440,9 +440,8 @@@@ d16 4 a19 34 alccnt--; - if (last_alloc) - pthread_mutex_unlock(&memmut); - else + pthread_mutex_unlock(&memmut); + if (!last_alloc) pthread_mutex_destroy(&memmut); //if (alccnt < 40000) printf("MY_RELEASE: %p\t%ld (%d)\n", header, header->size, alccnt); @@@@ -1350,10 +1349,12 @@@@ printf("wine/win32: Win32 Warning: Accessed uninitialized Critical Section (%p)!\n", c); } if(cs->locked) - if(cs->id==pthread_self()) + if(cs->id==pthread_self()) { + cs->locked++; return; + } pthread_mutex_lock(&(cs->mutex)); - cs->locked=1; + cs->locked++; /* should always be 1 */ cs->id=pthread_self(); return; } @@@@ -1371,8 +1372,8 @@@@ printf("Win32 Warning: Leaving uninitialized Critical Section %p!!\n", c); return; } - cs->locked=0; - pthread_mutex_unlock(&(cs->mutex)); + if (!--cs->locked) + pthread_mutex_unlock(&(cs->mutex)); return; a20 1 static void WINAPI expDeleteCriticalSection(CRITICAL_SECTION *c) @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.2 2003/10/03 17:49:27 mycroft Exp $ @ 1.1.1.1 log @Move xine-lib to the multimedia category (coming from graphics). This is version 1rc0anb3. @ text @@