mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
Remove multimedia/handbrake-gtk2:
BROKEN= Does not build with new ffmpeg DEPRECATED= Obsolete, getting old to keep unsupport version around EXPIRATION_DATE=2007-06-30
This commit is contained in:
parent
0039788392
commit
1e290c5bf7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194935
1
MOVED
1
MOVED
@ -3090,3 +3090,4 @@ databases/p5-DBI-137|databases/p5-DBI|2007-07-03|Only useful for 4.x
|
|||||||
multimedia/libdivxencore||2007-07-04|Obsolete port
|
multimedia/libdivxencore||2007-07-04|Obsolete port
|
||||||
multimedia/libdivxdecore||2007-07-04|Obsolete port
|
multimedia/libdivxdecore||2007-07-04|Obsolete port
|
||||||
multimedia/libdivxdecore-devel||2007-07-04|Obsolete port
|
multimedia/libdivxdecore-devel||2007-07-04|Obsolete port
|
||||||
|
multimedia/handbrake-gtk2||2007-07-04|Obsolete, getting old to keep unsupport version around
|
||||||
|
@ -80,7 +80,6 @@
|
|||||||
SUBDIR += gxine
|
SUBDIR += gxine
|
||||||
SUBDIR += gxmms
|
SUBDIR += gxmms
|
||||||
SUBDIR += handbrake
|
SUBDIR += handbrake
|
||||||
SUBDIR += handbrake-gtk2
|
|
||||||
SUBDIR += hayes
|
SUBDIR += hayes
|
||||||
SUBDIR += helixplayer
|
SUBDIR += helixplayer
|
||||||
SUBDIR += iriverter
|
SUBDIR += iriverter
|
||||||
|
@ -1,95 +0,0 @@
|
|||||||
# New ports collection makefile for: handbrake
|
|
||||||
# Date created: 19 November 2004
|
|
||||||
# Whom: Andrew Thompson <andy@fud.org.nz>
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
|
||||||
#
|
|
||||||
|
|
||||||
PORTNAME= handbrake
|
|
||||||
PORTVERSION= 0.6.2
|
|
||||||
PORTREVISION= 5
|
|
||||||
CATEGORIES= multimedia
|
|
||||||
MASTER_SITES= http://download.m0k.org/${PORTNAME}/ \
|
|
||||||
http://www.mirrors.ausmac.net/ftp/AudioVisual-SW/HandBrake/ \
|
|
||||||
http://apple.doit.wisc.edu/mirrors/ausmac/Audio-SW/HandBrake/
|
|
||||||
PKGNAMESUFFIX= -gtk2
|
|
||||||
DISTNAME= HandBrake-${PORTVERSION}-src
|
|
||||||
|
|
||||||
MAINTAINER= multimedia@FreeBSD.org
|
|
||||||
COMMENT= A DVD to MPEG-4 ripper and encoder
|
|
||||||
|
|
||||||
BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam \
|
|
||||||
nasm:${PORTSDIR}/devel/nasm
|
|
||||||
LIB_DEPENDS= a52.0:${PORTSDIR}/audio/liba52 \
|
|
||||||
avcodec.1:${PORTSDIR}/multimedia/ffmpeg \
|
|
||||||
dvdcss.2:${PORTSDIR}/multimedia/libdvdcss \
|
|
||||||
dvdread.5:${PORTSDIR}/multimedia/libdvdread \
|
|
||||||
faac.0:${PORTSDIR}/audio/faac \
|
|
||||||
mp3lame.0:${PORTSDIR}/audio/lame \
|
|
||||||
mp4v2.0:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2 \
|
|
||||||
mpeg2.0:${PORTSDIR}/multimedia/libmpeg2 \
|
|
||||||
ogg.5:${PORTSDIR}/audio/libogg \
|
|
||||||
samplerate.1:${PORTSDIR}/audio/libsamplerate \
|
|
||||||
vorbis.3:${PORTSDIR}/audio/libvorbis \
|
|
||||||
xvidcore.4:${PORTSDIR}/multimedia/xvid
|
|
||||||
|
|
||||||
BROKEN= Does not build with new ffmpeg
|
|
||||||
DEPRECATED= Obsolete, getting old to keep unsupport version around
|
|
||||||
EXPIRATION_DATE=2007-06-30
|
|
||||||
|
|
||||||
PLIST_FILES= bin/handbrake-gtk2
|
|
||||||
WRKSRC= ${WRKDIR}/HandBrake-${PORTVERSION}
|
|
||||||
|
|
||||||
USE_GNOME= gtk20
|
|
||||||
USE_X_PREFIX= yes
|
|
||||||
|
|
||||||
SYSCTL_CMD?= /sbin/sysctl
|
|
||||||
|
|
||||||
EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude beos \
|
|
||||||
--exclude macosx \
|
|
||||||
--exclude packageOSX.sh \
|
|
||||||
--exclude contrib/liba52 \
|
|
||||||
--exclude contrib/libavcodec \
|
|
||||||
--exclude contrib/libdvdcss \
|
|
||||||
--exclude contrib/libdvdread \
|
|
||||||
--exclude contrib/libfaac \
|
|
||||||
--exclude contrib/libmp3lame \
|
|
||||||
--exclude contrib/libmp4v2 \
|
|
||||||
--exclude contrib/libmpeg2 \
|
|
||||||
--exclude contrib/libogg \
|
|
||||||
--exclude contrib/libsamplerate \
|
|
||||||
--exclude contrib/libvorbis \
|
|
||||||
--exclude contrib/libxvidcore
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
.if ${OSVERSION} < 500000
|
|
||||||
BROKEN= Does not build
|
|
||||||
USE_GETOPT_LONG= yes
|
|
||||||
MAKE_ENV= EXTRA_LIBS="-lcipher -lgnugetopt"
|
|
||||||
WITH_DVD_DEVICE?= acd0c
|
|
||||||
.else
|
|
||||||
WITH_DVD_DEVICE?= acd0
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
|
||||||
@${REINPLACE_CMD} -e 's:%%PREFIX%%:${LOCALBASE}:g' \
|
|
||||||
-e 's:%%PTHREAD_LIBS%%:${PTHREAD_LIBS}:g' \
|
|
||||||
-e 's:%%CC%%:${CC}:g' -e 's:%%CXX%%:${CXX}:g' \
|
|
||||||
-e 's:-g ::g' -e 's:%%CFLAGS%%:${CFLAGS}:g' \
|
|
||||||
${BUILD_WRKSRC}/Jamfile ${BUILD_WRKSRC}/core/Jamfile \
|
|
||||||
${BUILD_WRKSRC}/Jamrules
|
|
||||||
@${REINPLACE_CMD} -e 's:%%DVD_DEVICE%%:${WITH_DVD_DEVICE}:g' \
|
|
||||||
${BUILD_WRKSRC}/gtk2/main.c
|
|
||||||
# sysctl
|
|
||||||
@${REINPLACE_CMD} -e 's|/usr/sbin/sysctl|${SYSCTL_CMD}|' \
|
|
||||||
${BUILD_WRKSRC}/core/HandBrake.c
|
|
||||||
|
|
||||||
# jam -dx, it will giving a verbose of build.
|
|
||||||
do-build:
|
|
||||||
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} jam -dx)
|
|
||||||
|
|
||||||
do-install:
|
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/gtk2HB ${PREFIX}/bin/handbrake-gtk2
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
|
@ -1,3 +0,0 @@
|
|||||||
MD5 (HandBrake-0.6.2-src.tar.gz) = a787787622cfa5411c13b7a4bc057ea5
|
|
||||||
SHA256 (HandBrake-0.6.2-src.tar.gz) = 1efa2778ad0955e0f19769de23a25dd137c34b6695d4014f99b959300d49b6a4
|
|
||||||
SIZE (HandBrake-0.6.2-src.tar.gz) = 1992682
|
|
@ -1,24 +0,0 @@
|
|||||||
--- Jamfile.orig Wed May 26 05:51:32 2004
|
|
||||||
+++ Jamfile Sun Dec 19 11:14:57 2004
|
|
||||||
@@ -54,6 +54,21 @@
|
|
||||||
ObjectCcFlags $(GTK2_SRC) : `pkg-config gtk+-2.0 --cflags` ;
|
|
||||||
Main $(GTK2_BIN) : $(GTK2_SRC) ;
|
|
||||||
}
|
|
||||||
+if $(OS) = FREEBSD
|
|
||||||
+{
|
|
||||||
+ HB_LIBS = libhb.a libx264.a ;
|
|
||||||
+ SystemLibraries $(TEST_BIN) : -L%%PREFIX%%/lib %%PTHREAD_LIBS%% -la52
|
|
||||||
+ -lavcodec -ldvdcss -ldvdread -lfaac -lmp3lame -lmp4v2 -lmpeg2
|
|
||||||
+ -logg -lsamplerate -lvorbis -lvorbisenc -lxvidcore
|
|
||||||
+ $(EXTRA_LIBS) ;
|
|
||||||
+ SystemLibraries $(GTK2_BIN) : -L%%PREFIX%%/lib %%PTHREAD_LIBS%%
|
|
||||||
+ $(EXTRA_LIBS) `pkg-config gtk+-2.0 --libs` -la52 -lavcodec
|
|
||||||
+ -ldvdcss -ldvdread -lfaac -lmp3lame -lmp4v2 -lmpeg2 -logg
|
|
||||||
+ -lsamplerate -lvorbis -lvorbisenc -lxvidcore ;
|
|
||||||
+ ObjectCcFlags $(TEST_SRC) : -I%%PREFIX%%/include ;
|
|
||||||
+ ObjectCcFlags $(GTK2_SRC) : `pkg-config gtk+-2.0 --cflags` ;
|
|
||||||
+ Main $(GTK2_BIN) : $(GTK2_SRC) ;
|
|
||||||
+}
|
|
||||||
if $(OS) = CYGWIN
|
|
||||||
{
|
|
||||||
SystemLibraries $(TEST_BIN) : -lws2_32 ;
|
|
@ -1,29 +0,0 @@
|
|||||||
--- Jamrules.orig Tue May 25 13:51:32 2004
|
|
||||||
+++ Jamrules Mon Nov 22 12:57:16 2004
|
|
||||||
@@ -8,11 +8,11 @@
|
|
||||||
LANGUAGES = fr de it pl ru nl es pt ja ;
|
|
||||||
|
|
||||||
# Compilers & flags
|
|
||||||
-CC = gcc ;
|
|
||||||
-C++ = g++ ;
|
|
||||||
+CC = %%CC%% ;
|
|
||||||
+C++ = %%CXX%% ;
|
|
||||||
AS = nasm ;
|
|
||||||
-LINK = g++ ;
|
|
||||||
-OPTIM = -O3 -funroll-loops ;
|
|
||||||
+LINK = %%CXX%% ;
|
|
||||||
+OPTIM = %%CFLAGS%% ;
|
|
||||||
DEFINES = HB_$(OS) HB_VERSION=\\\"$(HB_VERSION)\\\" ;
|
|
||||||
|
|
||||||
if $(OS) = BEOS
|
|
||||||
@@ -32,6 +32,10 @@
|
|
||||||
if $(OS) = LINUX
|
|
||||||
{
|
|
||||||
ASFLAGS = -f elf ;
|
|
||||||
+}
|
|
||||||
+if $(OS) = FREEBSD
|
|
||||||
+{
|
|
||||||
+ OPTIM = %%CFLAGS%% ;
|
|
||||||
}
|
|
||||||
if $(OS) = CYGWIN
|
|
||||||
{
|
|
@ -1,18 +0,0 @@
|
|||||||
--- contrib/Jamfile.orig Fri Nov 19 15:50:35 2004
|
|
||||||
+++ contrib/Jamfile Fri Nov 19 15:50:49 2004
|
|
||||||
@@ -1,15 +1,3 @@
|
|
||||||
SubDir TOP contrib ;
|
|
||||||
|
|
||||||
-SubInclude TOP contrib liba52 ;
|
|
||||||
-SubInclude TOP contrib libavcodec ;
|
|
||||||
-SubInclude TOP contrib libdvdcss ;
|
|
||||||
-SubInclude TOP contrib libdvdread ;
|
|
||||||
-SubInclude TOP contrib libfaac ;
|
|
||||||
-SubInclude TOP contrib libmp3lame ;
|
|
||||||
-SubInclude TOP contrib libmp4v2 ;
|
|
||||||
-SubInclude TOP contrib libmpeg2 ;
|
|
||||||
-SubInclude TOP contrib libogg ;
|
|
||||||
-SubInclude TOP contrib libsamplerate ;
|
|
||||||
-SubInclude TOP contrib libvorbis ;
|
|
||||||
SubInclude TOP contrib libx264 ;
|
|
||||||
-SubInclude TOP contrib libxvidcore ;
|
|
@ -1,11 +0,0 @@
|
|||||||
--- core/FfmpegEnc.c.orig Sun Dec 19 11:16:49 2004
|
|
||||||
+++ core/FfmpegEnc.c Sun Dec 19 11:16:58 2004
|
|
||||||
@@ -132,7 +132,7 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
HBBufferClose( &scaledBuffer );
|
|
||||||
- free( frame );
|
|
||||||
+ av_free( frame );
|
|
||||||
|
|
||||||
return 1;
|
|
||||||
}
|
|
@ -1,29 +0,0 @@
|
|||||||
--- core/Fifo.c.orig Wed May 26 05:51:32 2004
|
|
||||||
+++ core/Fifo.c Fri Nov 19 15:55:26 2004
|
|
||||||
@@ -23,7 +23,7 @@
|
|
||||||
|
|
||||||
#if defined( HB_BEOS ) || defined( HB_LINUX )
|
|
||||||
b->data = memalign( 16, size );
|
|
||||||
-#elif defined( HB_MACOSX )
|
|
||||||
+#elif defined( HB_MACOSX ) || defined( HB_FREEBSD )
|
|
||||||
/* OS X's malloc returns 16-bytes aligned memory */
|
|
||||||
b->data = malloc( size );
|
|
||||||
#elif defined( HB_CYGWIN )
|
|
||||||
@@ -47,7 +47,7 @@
|
|
||||||
{
|
|
||||||
/* We don't care about alignment here, realloc is only used in the
|
|
||||||
AVI muxer anyway */
|
|
||||||
-#if defined( HB_BEOS ) || defined( HB_LINUX ) || defined( HB_MACOSX )
|
|
||||||
+#if defined( HB_BEOS ) || defined( HB_LINUX ) || defined( HB_MACOSX ) || defined( HB_FREEBSD )
|
|
||||||
b->data = realloc( b->data, size );
|
|
||||||
#elif defined( HB_CYGWIN )
|
|
||||||
int alignment = b->data - b->dataOrig;
|
|
||||||
@@ -66,7 +66,7 @@
|
|
||||||
{
|
|
||||||
HBBuffer * b = *_b;
|
|
||||||
|
|
||||||
-#if defined( HB_BEOS ) || defined( HB_LINUX ) || defined( HB_MACOSX )
|
|
||||||
+#if defined( HB_BEOS ) || defined( HB_LINUX ) || defined( HB_MACOSX ) || defined( HB_FREEBSD )
|
|
||||||
free( b->data );
|
|
||||||
#elif defined( HB_CYGWIN )
|
|
||||||
free( b->dataOrig );
|
|
@ -1,21 +0,0 @@
|
|||||||
--- core/HandBrake.c.orig Wed May 26 05:51:32 2004
|
|
||||||
+++ core/HandBrake.c Sun Dec 19 11:02:32 2004
|
|
||||||
@@ -277,7 +277,8 @@
|
|
||||||
img_resample_full_init( t->outWidth, t->outHeight,
|
|
||||||
t->inWidth, t->inHeight,
|
|
||||||
t->topCrop, t->bottomCrop,
|
|
||||||
- t->leftCrop, t->rightCrop );
|
|
||||||
+ t->leftCrop, t->rightCrop,
|
|
||||||
+ 0,0,0,0 );
|
|
||||||
if( t->deinterlace )
|
|
||||||
{
|
|
||||||
avpicture_deinterlace( &pic2, &pic1, PIX_FMT_YUV420P,
|
|
||||||
@@ -709,7 +710,7 @@
|
|
||||||
get_system_info( &info );
|
|
||||||
CPUCount = info.cpu_count;
|
|
||||||
|
|
||||||
-#elif defined( HB_MACOSX )
|
|
||||||
+#elif defined( HB_MACOSX ) || defined( HB_FREEBSD )
|
|
||||||
FILE * info;
|
|
||||||
char buffer[256];
|
|
||||||
|
|
@ -1,38 +0,0 @@
|
|||||||
--- core/Jamfile.orig Sun May 7 11:49:29 2006
|
|
||||||
+++ core/Jamfile Sun May 7 11:54:18 2006
|
|
||||||
@@ -18,22 +18,19 @@
|
|
||||||
ObjectCcFlags $(LIBHB_SRC) : -g -Wall -W ;
|
|
||||||
|
|
||||||
# Needed includes
|
|
||||||
-ObjectHdrs Ac3Dec.c : $(TOP)/contrib/liba52 ;
|
|
||||||
-ObjectHdrs FfmpegEnc.c
|
|
||||||
+ObjectHdrs Ac3Dec.c
|
|
||||||
+ FfmpegEnc.c
|
|
||||||
HandBrake.c
|
|
||||||
MpgaDec.c
|
|
||||||
- Scale.c : $(TOP)/contrib/libavcodec ;
|
|
||||||
-ObjectHdrs DVDRead.c
|
|
||||||
- Scan.c : $(TOP)/contrib/libdvdread ;
|
|
||||||
-ObjectHdrs FaacEnc.c : $(TOP)/contrib/libfaac ;
|
|
||||||
-ObjectHdrs Mp3Enc.c : $(TOP)/contrib/libmp3lame ;
|
|
||||||
-ObjectHdrs Mp4Mux.c : $(TOP)/contrib/libmp4v2 ;
|
|
||||||
-ObjectHdrs Mpeg2Dec.c
|
|
||||||
- Scan.c : $(TOP)/contrib/libmpeg2 ;
|
|
||||||
-ObjectHdrs Resample.c : $(TOP)/contrib/libsamplerate ;
|
|
||||||
-ObjectHdrs OgmMux.c
|
|
||||||
- VorbisEnc.c : $(TOP)/contrib/libogg ;
|
|
||||||
-ObjectHdrs VorbisEnc.c : $(TOP)/contrib/libvorbis ;
|
|
||||||
+ Scale.c
|
|
||||||
+ DVDRead.c
|
|
||||||
+ Scan.c
|
|
||||||
+ FaacEnc.c
|
|
||||||
+ Mp3Enc.c
|
|
||||||
+ Mp4Mux.c
|
|
||||||
+ Mpeg2Dec.c
|
|
||||||
+ Resample.c
|
|
||||||
+ OgmMux.c
|
|
||||||
+ VorbisEnc.c
|
|
||||||
+ XvidEnc.c : %%PREFIX%%/include ;
|
|
||||||
ObjectHdrs X264Enc.c : $(TOP)/contrib/libx264 ;
|
|
||||||
-ObjectHdrs XvidEnc.c : $(TOP)/contrib/libxvidcore ;
|
|
||||||
-
|
|
@ -1,12 +0,0 @@
|
|||||||
--- core/Scale.c.orig Wed May 26 05:51:32 2004
|
|
||||||
+++ core/Scale.c Sun Dec 19 11:02:44 2004
|
|
||||||
@@ -52,7 +52,8 @@
|
|
||||||
img_resample_full_init( title->outWidth, title->outHeight,
|
|
||||||
title->inWidth, title->inHeight,
|
|
||||||
title->topCrop, title->bottomCrop,
|
|
||||||
- title->leftCrop, title->rightCrop );
|
|
||||||
+ title->leftCrop, title->rightCrop,
|
|
||||||
+ 0,0,0,0 );
|
|
||||||
|
|
||||||
return w;
|
|
||||||
}
|
|
@ -1,66 +0,0 @@
|
|||||||
diff -urN core/Thread.c core/Thread.c
|
|
||||||
--- core/Thread.c Wed May 26 05:51:32 2004
|
|
||||||
+++ core/Thread.c Fri Nov 19 08:08:07 2004
|
|
||||||
@@ -24,7 +24,7 @@
|
|
||||||
/* OS-specific thread id */
|
|
||||||
#if defined( HB_BEOS )
|
|
||||||
int thread;
|
|
||||||
-#elif defined( HB_MACOSX ) || defined( HB_LINUX )
|
|
||||||
+#elif defined( HB_MACOSX ) || defined( HB_LINUX ) || defined( HB_FREEBSD )
|
|
||||||
pthread_t thread;
|
|
||||||
#elif defined( HB_CYGWIN )
|
|
||||||
HANDLE thread;
|
|
||||||
@@ -74,7 +74,7 @@
|
|
||||||
t->thread = spawn_thread( (int32 (*)( void * )) ThreadFunc,
|
|
||||||
name, priority, t );
|
|
||||||
resume_thread( t->thread );
|
|
||||||
-#elif defined( HB_MACOSX ) || defined( HB_LINUX )
|
|
||||||
+#elif defined( HB_MACOSX ) || defined( HB_LINUX ) || defined( HB_FREEBSD )
|
|
||||||
pthread_create( &t->thread, NULL,
|
|
||||||
(void * (*)( void * )) ThreadFunc, t );
|
|
||||||
#elif defined( HB_CYGWIN )
|
|
||||||
@@ -96,7 +96,7 @@
|
|
||||||
#if defined( HB_BEOS )
|
|
||||||
long exitValue;
|
|
||||||
wait_for_thread( t->thread, &exitValue );
|
|
||||||
-#elif defined( HB_MACOSX ) || defined( HB_LINUX )
|
|
||||||
+#elif defined( HB_MACOSX ) || defined( HB_LINUX ) || defined( HB_FREEBSD )
|
|
||||||
pthread_join( t->thread, NULL );
|
|
||||||
#elif defined( HB_CYGWIN )
|
|
||||||
WaitForSingleObject( t->thread, INFINITE );
|
|
||||||
@@ -126,7 +126,7 @@
|
|
||||||
|
|
||||||
#if defined( HB_BEOS )
|
|
||||||
l->sem = create_sem( 1, "sem" );
|
|
||||||
-#elif defined( HB_MACOSX ) || defined( HB_LINUX )
|
|
||||||
+#elif defined( HB_MACOSX ) || defined( HB_LINUX ) || defined( HB_FREEBSD )
|
|
||||||
pthread_mutex_init( &l->mutex, NULL );
|
|
||||||
#elif defined( HB_CYGWIN )
|
|
||||||
l->mutex = CreateMutex( 0, FALSE, 0 );
|
|
||||||
@@ -141,7 +141,7 @@
|
|
||||||
|
|
||||||
#if defined( HB_BEOS )
|
|
||||||
delete_sem( l->sem );
|
|
||||||
-#elif defined( HB_MACOSX ) || defined( HB_LINUX )
|
|
||||||
+#elif defined( HB_MACOSX ) || defined( HB_LINUX ) || defined( HB_FREEBSD )
|
|
||||||
pthread_mutex_destroy( &l->mutex );
|
|
||||||
#elif defined( HB_CYGWIN )
|
|
||||||
CloseHandle( l->mutex );
|
|
||||||
@@ -161,7 +161,7 @@
|
|
||||||
|
|
||||||
#if defined( HB_BEOS )
|
|
||||||
c->thread = -1;
|
|
||||||
-#elif defined( HB_MACOSX ) || defined( HB_LINUX )
|
|
||||||
+#elif defined( HB_MACOSX ) || defined( HB_LINUX ) || defined( HB_FREEBSD )
|
|
||||||
pthread_cond_init( &c->cond, NULL );
|
|
||||||
#elif defined( HB_CYGWIN )
|
|
||||||
c->event = CreateEvent( NULL, FALSE, FALSE, NULL );
|
|
||||||
@@ -175,7 +175,7 @@
|
|
||||||
HBCond * c = *_c;
|
|
||||||
|
|
||||||
#if defined( HB_BEOS )
|
|
||||||
-#elif defined( HB_MACOSX ) || defined( HB_LINUX )
|
|
||||||
+#elif defined( HB_MACOSX ) || defined( HB_LINUX ) || defined( HB_FREEBSD )
|
|
||||||
pthread_cond_destroy( &c->cond );
|
|
||||||
#elif defined( HB_CYGWIN )
|
|
||||||
CloseHandle( c->event );
|
|
@ -1,75 +0,0 @@
|
|||||||
diff -urN core/Thread.h core/Thread.h
|
|
||||||
--- core/Thread.h Wed May 26 05:51:32 2004
|
|
||||||
+++ core/Thread.h Fri Nov 19 08:08:07 2004
|
|
||||||
@@ -10,7 +10,7 @@
|
|
||||||
/* System headers */
|
|
||||||
#if defined( HB_BEOS )
|
|
||||||
# include <OS.h>
|
|
||||||
-#elif defined( HB_MACOSX ) || defined( HB_LINUX )
|
|
||||||
+#elif defined( HB_MACOSX ) || defined( HB_LINUX ) || defined( HB_FREEBSD )
|
|
||||||
# include <pthread.h>
|
|
||||||
#elif defined( HB_CYGWIN )
|
|
||||||
# include <windows.h>
|
|
||||||
@@ -25,7 +25,7 @@
|
|
||||||
#elif defined( HB_MACOSX )
|
|
||||||
# define HB_LOW_PRIORITY 0
|
|
||||||
# define HB_NORMAL_PRIORITY 31
|
|
||||||
-#elif defined( HB_LINUX ) || defined( HB_CYGWIN )
|
|
||||||
+#elif defined( HB_LINUX ) || defined( HB_CYGWIN ) || defined( HB_FREEBSD )
|
|
||||||
/* Actually unused */
|
|
||||||
# define HB_LOW_PRIORITY 0
|
|
||||||
# define HB_NORMAL_PRIORITY 0
|
|
||||||
@@ -57,7 +57,7 @@
|
|
||||||
{
|
|
||||||
#if defined( HB_BEOS )
|
|
||||||
sem_id sem;
|
|
||||||
-#elif defined( HB_MACOSX ) || defined( HB_LINUX )
|
|
||||||
+#elif defined( HB_MACOSX ) || defined( HB_LINUX ) || defined( HB_FREEBSD )
|
|
||||||
pthread_mutex_t mutex;
|
|
||||||
#elif defined( HB_CYGWIN )
|
|
||||||
HANDLE mutex;
|
|
||||||
@@ -68,7 +68,7 @@
|
|
||||||
{
|
|
||||||
#if defined( HB_BEOS )
|
|
||||||
acquire_sem( l->sem );
|
|
||||||
-#elif defined( HB_MACOSX ) || defined( HB_LINUX )
|
|
||||||
+#elif defined( HB_MACOSX ) || defined( HB_LINUX ) || defined( HB_FREEBSD )
|
|
||||||
pthread_mutex_lock( &l->mutex );
|
|
||||||
#elif defined( HB_CYGWIN )
|
|
||||||
WaitForSingleObject( l->mutex, INFINITE );
|
|
||||||
@@ -79,7 +79,7 @@
|
|
||||||
{
|
|
||||||
#if defined( HB_BEOS )
|
|
||||||
release_sem( l->sem );
|
|
||||||
-#elif defined( HB_MACOSX ) || defined( HB_LINUX )
|
|
||||||
+#elif defined( HB_MACOSX ) || defined( HB_LINUX ) || defined( HB_FREEBSD )
|
|
||||||
pthread_mutex_unlock( &l->mutex );
|
|
||||||
#elif defined( HB_CYGWIN )
|
|
||||||
ReleaseMutex( l->mutex );
|
|
||||||
@@ -94,7 +94,7 @@
|
|
||||||
{
|
|
||||||
#if defined( HB_BEOS )
|
|
||||||
int thread;
|
|
||||||
-#elif defined( HB_MACOSX ) || defined( HB_LINUX )
|
|
||||||
+#elif defined( HB_MACOSX ) || defined( HB_LINUX ) || defined( HB_FREEBSD )
|
|
||||||
pthread_cond_t cond;
|
|
||||||
#elif defined( HB_CYGWIN )
|
|
||||||
HANDLE event;
|
|
||||||
@@ -110,7 +110,7 @@
|
|
||||||
suspend_thread( c->thread );
|
|
||||||
acquire_sem( lock->sem );
|
|
||||||
c->thread = -1;
|
|
||||||
-#elif defined( HB_MACOSX ) || defined( HB_LINUX )
|
|
||||||
+#elif defined( HB_MACOSX ) || defined( HB_LINUX ) || defined( HB_FREEBSD )
|
|
||||||
pthread_cond_wait( &c->cond, &lock->mutex );
|
|
||||||
#elif defined( HB_CYGWIN )
|
|
||||||
SignalObjectAndWait( lock->mutex, c->event, INFINITE, FALSE );
|
|
||||||
@@ -134,7 +134,7 @@
|
|
||||||
release_sem() and suspend_thread() lines, wait a bit */
|
|
||||||
snooze( 5000 );
|
|
||||||
}
|
|
||||||
-#elif defined( HB_MACOSX ) || defined( HB_LINUX )
|
|
||||||
+#elif defined( HB_MACOSX ) || defined( HB_LINUX ) || defined( HB_FREEBSD )
|
|
||||||
pthread_cond_signal( &c->cond );
|
|
||||||
#elif defined( HB_CYGWIN )
|
|
||||||
PulseEvent( c->event );
|
|
@ -1,12 +0,0 @@
|
|||||||
diff -urN core/Utils.c core/Utils.c
|
|
||||||
--- core/Utils.c Wed May 26 05:51:32 2004
|
|
||||||
+++ core/Utils.c Fri Nov 19 08:08:07 2004
|
|
||||||
@@ -38,7 +38,7 @@
|
|
||||||
{
|
|
||||||
#if defined( HB_BEOS )
|
|
||||||
snooze( time );
|
|
||||||
-#elif defined( HB_MACOSX ) || defined( HB_LINUX )
|
|
||||||
+#elif defined( HB_MACOSX ) || defined( HB_LINUX ) || defined( HB_FREEBSD )
|
|
||||||
usleep( time );
|
|
||||||
#elif defined( HB_CYGWIN )
|
|
||||||
Sleep( time / 1000 );
|
|
@ -1,10 +0,0 @@
|
|||||||
--- gtk2/main.c.orig Sat Nov 20 19:20:18 2004
|
|
||||||
+++ gtk2/main.c Sat Nov 20 19:21:02 2004
|
|
||||||
@@ -85,6 +85,7 @@
|
|
||||||
|
|
||||||
/* build dvd list */
|
|
||||||
items = g_list_append (items, "" );
|
|
||||||
+ items = g_list_append (items, "/dev/%%DVD_DEVICE%%" );
|
|
||||||
items = g_list_append (items, "/dev/dvd" );
|
|
||||||
gtk_combo_set_popdown_strings( GTK_COMBO(lookup_widget( hb_win_main, "combo1") ), items );
|
|
||||||
|
|
@ -1,20 +0,0 @@
|
|||||||
HandBrake is a GPL'd multi-platform, multithreaded DVD to MPEG-4 ripper and
|
|
||||||
converter. HandBrake was originally available on the BeOS, but now has been
|
|
||||||
ported over to MacOS X, GNU/Linux and FreeBSD.
|
|
||||||
|
|
||||||
Features:
|
|
||||||
* Can encode directly from DVDs (even encrypted ones) or from VIDEO_TS
|
|
||||||
folders
|
|
||||||
* Supports AC3, LPCM and MPEG audio tracks
|
|
||||||
* Outputs MP4, AVI or OGM files
|
|
||||||
* Outputs AAC, MP3 or Vorbis audio
|
|
||||||
* Supports 2-pass encoding
|
|
||||||
* Supports encoding of two audio tracks
|
|
||||||
* Includes a bitrate calculator
|
|
||||||
* Supports picture deinterlacing, cropping and scaling
|
|
||||||
|
|
||||||
Known limitations:
|
|
||||||
* Does not handle DTS audio tracks
|
|
||||||
* Does not handle single VOB files or any other file format
|
|
||||||
|
|
||||||
WWW: http://handbrake.m0k.org/
|
|
Loading…
Reference in New Issue
Block a user