FreeBSD Bugzilla – Attachment 125393 Details for
Bug 169005
multimedia/mjpegtools: Fix build with GTK2 option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
multimedia_mjpegtools.diff
multimedia_mjpegtools.diff (text/x-diff), 4.70 KB, created by
tkato432
on 2012-06-14 18:59:19 UTC
(
hide
)
Description:
multimedia_mjpegtools.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2012-06-14 18:59:19 UTC
Size:
4.70 KB
patch
obsolete
>diff -urN /usr/ports/multimedia/mjpegtools/Makefile multimedia/mjpegtools/Makefile >--- /usr/ports/multimedia/mjpegtools/Makefile 2012-06-12 05:38:39.000000000 +0900 >+++ multimedia/mjpegtools/Makefile 2012-06-14 15:37:22.000000000 +0900 >@@ -7,31 +7,33 @@ > > PORTNAME= mjpegtools > PORTVERSION= 2.0.0 >-PORTREVISION= 3 >+PORTREVISION= 4 > CATEGORIES= multimedia > MASTER_SITES= SF/${PORTNAME:S/tools//}/${PORTNAME}/${PORTVERSION} > > MAINTAINER= multimedia@FreeBSD.org > COMMENT= Set of tools to record/playback/edit videos in MPEG format > >-LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg >+LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg > > OPTIONS_DEFINE= GTK2 SDL PNG DV QUICKTIME SIMD DOCS >-OPTIONS_DEFAULT= SDL PNG >+OPTIONS_DEFAULT=GTK2 SDL PNG > QUICKTIME_DESC= Enable libQuickTime support > > CONFLICTS= mplex-[0-9]* > >-USE_GNOME= gnomehack >-WANT_GNOME= yes >-WANT_SDL= yes >+USE_GNOME= pkgconfig > USE_GMAKE= yes >-USE_AUTOTOOLS= libtool >+USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf >+LIBTOOLIZE_ARGS=--force >+ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal >+AUTOMAKEL_ARGS= --add-missing --foreign > CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ > PTHREAD_LIBS="${PTHREAD_LIBS}" \ > ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no > CONFIGURE_ARGS= --without-x > USE_LDCONFIG= yes >+MAKE_JOBS_SAFE= yes > > MAN1= jpeg2yuv.1 lav2mpeg.1 lav2wav.1 lav2yuv.1 lavpipe.1 lavplay.1 \ > lavrec.1 lavtrans.1 mjpegtools.1 mp2enc.1 mpeg2enc.1 mplex.1 \ >@@ -49,19 +51,10 @@ > CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} > LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} > >-.include <bsd.port.pre.mk> >- >-.if ${ARCH} == "i386" >-CFLAGS= -O0 >-.endif >-.if ${ARCH} == "powerpc" && ${OSVERSION} > 900000 >-BROKEN= Does not build on powerpc-9 >-.endif >+.include <bsd.port.options.mk> > > .if ${PORT_OPTIONS:MGTK2} > >-BROKEN= glav is not built >- > .if empty(PORT_OPTIONS:MSDL) > IGNORE= GTK+2 player needs SDL > .endif # GTK2/SDL >@@ -70,7 +63,7 @@ > PLIST_SUB+= GTK2:="" > .else > PLIST_SUB+= GTK2:="@comment " >-_HAVE_GTK= false >+CONFIGURE_ARGS+=--without-gtk > .endif # GTK2 > > .if ${PORT_OPTIONS:MSDL} >@@ -79,7 +72,7 @@ > .else > CONFIGURE_ENV+= ac_cv_path_SDL_CONFIG=no > PLIST_SUB+= SDL:="@comment " >-CONFIGURE_ARGS+= --without-libsdl >+CONFIGURE_ARGS+=--without-libsdl > .endif # SDL > > .if ${PORT_OPTIONS:MPNG} >@@ -92,7 +85,7 @@ > .endif # PNG > > .if ${PORT_OPTIONS:MDV} >-LIB_DEPENDS+= dv.4:${PORTSDIR}/multimedia/libdv >+LIB_DEPENDS+= dv:${PORTSDIR}/multimedia/libdv > CONFIGURE_ARGS+=--with-libdv > .else > CONFIGURE_ARGS+=--without-libdv >@@ -100,7 +93,7 @@ > > .if ${PORT_OPTIONS:MQUICKTIME} > PLIST_SUB+= QUICKTIME="" >-LIB_DEPENDS+= quicktime.0:${PORTSDIR}/multimedia/libquicktime >+LIB_DEPENDS+= quicktime:${PORTSDIR}/multimedia/libquicktime > CONFIGURE_ARGS+=--with-libquicktime > .else > PLIST_SUB+= QUICKTIME="@comment " >@@ -113,10 +106,21 @@ > CONFIGURE_ARGS+=--disable-simd-accel > .endif # SIMD > >+.include <bsd.port.pre.mk> >+ >+.if ${ARCH} == "i386" >+CFLAGS:= ${CFLAGS:N-O*:N-fno-strict*} >+.endif >+ >+.if ${ARCH} == "powerpc" && ${OSVERSION} > 900000 >+BROKEN= Does not build on powerpc-9 >+.endif >+ > post-patch: >- @${REINPLACE_CMD} -e 's|have_gtk="true"|have_gtk="${_HAVE_GTK}"|g ; \ >- /^CFLAGS=/s|$$ARCHFLAGS||g ; \ >- /^CXXFLAGS=/s|$$ARCHFLAGS||g' ${WRKSRC}/configure >+ @${REINPLACE_CMD} -e \ >+ '/ARCHFLAGS=/s|^|#|g' ${WRKSRC}/configure.ac >+ @${REINPLACE_CMD} -e \ >+ '/^pkgconfigdir/s|$$(libdir)|$$(prefix)/libdata|g' ${WRKSRC}/Makefile.am > > post-install: > .if ${PORT_OPTIONS:MDOCS} >diff -urN /usr/ports/multimedia/mjpegtools/files/patch-utils-Makefile.in multimedia/mjpegtools/files/patch-utils-Makefile.in >--- /usr/ports/multimedia/mjpegtools/files/patch-utils-Makefile.in 2005-02-26 08:51:19.000000000 +0900 >+++ multimedia/mjpegtools/files/patch-utils-Makefile.in 1970-01-01 09:00:00.000000000 +0900 >@@ -1,11 +0,0 @@ >---- utils/Makefile.in.orig Tue Nov 9 22:37:34 2004 >-+++ utils/Makefile.in Tue Nov 9 22:37:44 2004 >-@@ -56,7 +56,7 @@ >- CCAS = @CCAS@ >- CCASFLAGS = @CCASFLAGS@ >- CCDEPMODE = @CCDEPMODE@ >--CFLAGS = @CFLAGS@ >-+CFLAGS = @CFLAGS@ -fPIC >- CPP = @CPP@ >- CPPFLAGS = @CPPFLAGS@ >- CXX = @CXX@ >diff -urN /usr/ports/multimedia/mjpegtools/files/patch-y4mdenoise__MotionSercher.hh multimedia/mjpegtools/files/patch-y4mdenoise__MotionSercher.hh >--- /usr/ports/multimedia/mjpegtools/files/patch-y4mdenoise__MotionSercher.hh 1970-01-01 09:00:00.000000000 +0900 >+++ multimedia/mjpegtools/files/patch-y4mdenoise__MotionSercher.hh 2012-06-12 19:24:03.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- y4mdenoise/MotionSearcher.hh.orig 2010-07-26 05:06:56.000000000 +0900 >++++ y4mdenoise/MotionSearcher.hh 2012-06-12 19:23:18.000000000 +0900 >+@@ -2196,7 +2196,7 @@ >+ { >+ // This region is too small to be bothered with. >+ // Just get rid of it. >+- DeleteRegion (a_pRegion); >++ this->DeleteRegion (a_pRegion); >+ } >+ else >+ {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 169005
:
125392
| 125393