Index: head/sysutils/xvidcap/Makefile =================================================================== --- head/sysutils/xvidcap/Makefile (revision 493710) +++ head/sysutils/xvidcap/Makefile (revision 493711) @@ -1,55 +1,61 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= xvidcap PORTVERSION= 1.1.7 -PORTREVISION= 9 +PORTREVISION= 10 PORTEPOCH= 1 CATEGORIES= sysutils multimedia MASTER_SITES= SF MAINTAINER= thierry@FreeBSD.org COMMENT= Capture your X display to individual frames or MPEG video LICENSE= GPLv3 BUILD_DEPENDS= xml2po:textproc/gnome-doc-utils \ scrollkeeper-config:textproc/rarian -LIB_DEPENDS= libswscale.so:multimedia/ffmpeg \ +LIB_DEPENDS= libdbus-1.so:devel/dbus \ + libfreetype.so:print/freetype2 \ + libswscale.so:multimedia/ffmpeg \ libdbus-glib-1.so:devel/dbus-glib \ + libfontconfig.so:x11-fonts/fontconfig \ libmp3lame.so:audio/lame RUN_DEPENDS= animate:graphics/ImageMagick6 \ gimp:graphics/gimp-app -GNU_CONFIGURE= yes -# --export-dynamic fixes libglade problems -LDFLAGS+= -Wl,--export-dynamic - -USE_GNOME= glib20 libglade2 intltool USES= gettext gmake gnome localbase pkgconfig -USE_XORG= x11 xmu ice xfixes xdamage + +USE_GNOME= cairo gdkpixbuf2 glib20 libglade2 intltool +USE_XORG= x11 xext xmu ice xfixes xdamage INSTALLS_OMF= yes MANLANG= "" de es it +GNU_CONFIGURE= yes +# --export-dynamic fixes libglade problems +LDFLAGS+= -L${LOCALBASE}/lib -Wl,--export-dynamic -lz + .if !defined(CFLAGS) || ${CFLAGS:M-fno-strict-aliasing*} == "" CFLAGS+= -O2 -fno-strict-aliasing .endif PORTDOCS= AUTHORS ChangeLog README NULLDOCS= COPYING OPTIONS_DEFINE= DOCS -post-patch: +pre-configure: ${REINPLACE_CMD} -e 's|/bin/bash | /bin/sh|' ${WRKSRC}/ppm2mpeg.sh - @${REINPLACE_CMD} '/^xvidcap_LDADD =/s/$$/ -lXext -lX11/' \ + ${REINPLACE_CMD} '/^xvidcap_LDADD =/s/$$/ -lXext -lX11/' \ ${WRKSRC}/src/Makefile.in + ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/${CONFIGURE_SCRIPT} -post-patch-DOCS-on: +pre-configure-DOCS-on: ${REINPLACE_CMD} -e 's|pkgdataDATA install-xvidcapdocDATA|pkgdataDATA|' \ ${WRKSRC}/Makefile.in post-install-DOCS-on: ${RM} ${NULLDOCS:S|^|${STAGEDIR}${DOCSDIR}/|} .include Index: head/sysutils/xvidcap/files/patch-src_gnome_ui.c =================================================================== --- head/sysutils/xvidcap/files/patch-src_gnome_ui.c (revision 493710) +++ head/sysutils/xvidcap/files/patch-src_gnome_ui.c (nonexistent) @@ -1,11 +0,0 @@ ---- ./src/gnome_ui.c.orig 2008-06-12 22:48:03.000000000 +0200 -+++ ./src/gnome_ui.c 2014-04-30 22:44:15.000000000 +0200 -@@ -1679,7 +1679,7 @@ - { - #define DEBUGFUNCTION "xvc_init_pre()" - g_thread_init (NULL); -- gdk_threads_init (); -+ /*gdk_threads_init ();*/ - - gtk_init (&argc, &argv); - return TRUE; Property changes on: head/sysutils/xvidcap/files/patch-src_gnome_ui.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/sysutils/xvidcap/files/patch-configure =================================================================== --- head/sysutils/xvidcap/files/patch-configure (nonexistent) +++ head/sysutils/xvidcap/files/patch-configure (revision 493711) @@ -0,0 +1,24 @@ +--- configure.orig 2008-07-09 07:28:25 UTC ++++ configure +@@ -11280,7 +11280,7 @@ if ( `test \( \( x${ac_cv_lib_avutil_av_rescale+set} = + # build embedded ffmpeg + echo "${MAKE-make}-ing prerequisite ffmpeg libraries" && \ + ( cd ./ffmpeg/ && \ +- ./configure --cc=${CC} --enable-gpl ${ac_my_ffmpeg_cfg_lib_switch} --enable-pthreads --enable-swscale --disable-ffserver --disable-ffplay && \ ++ ./configure --cc=${CC} --enable-gpl ${ac_my_ffmpeg_cfg_lib_switch} --enable-pthreads --enable-swscale --disable-ffserver --disable-ffplay --extra-cflags=-I%%LOCALBASE%%/include --extra-ldflags=-L%%LOCALBASE%%/lib --disable-demuxer=v4l2 --disable-mmx && \ + ln -s libavcodec/avcodec.h ./ && \ + ln -s libavcodec/dsputil.h ./ && \ + ln -s libavformat/avformat.h ./ && \ +@@ -11296,10 +11296,10 @@ if ( `test \( \( x${ac_cv_lib_avutil_av_rescale+set} = + ln -s libswscale/swscale.h ./ && \ + ln -s libswscale/rgb2rgb.h ./ && \ + ln -s libavdevice/avdevice.h ./ && \ +- ${MAKE-make} ) ++ ${MAKE-gmake} ) + # try to link it statically, or reset cache, set static_avcodec=no + top_srcdir=`pwd` +- ac_my_ldflags_save=${LDFLAGS} ; LDFLAGS="${LDFLAGS} -L$top_srcdir/ffmpeg/libavcodec -L$top_srcdir/ffmpeg/libavformat -L$top_srcdir/ffmpeg/libavutil -L$top_srcdir/ffmpeg/libswscale -L$top_srcdir/ffmpeg/libavdevice" ++ ac_my_ldflags_save=${LDFLAGS} ; LDFLAGS="-L$top_srcdir/ffmpeg/libavcodec -L$top_srcdir/ffmpeg/libavformat -L$top_srcdir/ffmpeg/libavutil -L$top_srcdir/ffmpeg/libswscale -L$top_srcdir/ffmpeg/libavdevice ${LDFLAGS}" + ac_my_cflags_save=${CFLAGS} ; CFLAGS="${CFLAGS} -I $top_srcdir -I$top_srcdir/ffmpeg/libavcodec -I$top_srcdir/ffmpeg/libavformat -I$top_srcdir/ffmpeg/libavutil -I$top_srcdir/ffmpeg/libswscale -I$top_srcdir/ffmpeg/libavdevice" + + Property changes on: head/sysutils/xvidcap/files/patch-configure ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sysutils/xvidcap/files/patch-src_gnome__ui.c =================================================================== --- head/sysutils/xvidcap/files/patch-src_gnome__ui.c (nonexistent) +++ head/sysutils/xvidcap/files/patch-src_gnome__ui.c (revision 493711) @@ -0,0 +1,11 @@ +--- src/gnome_ui.c.orig 2008-06-12 20:48:03 UTC ++++ src/gnome_ui.c +@@ -1679,7 +1679,7 @@ xvc_init_pre (int argc, char **argv) + { + #define DEBUGFUNCTION "xvc_init_pre()" + g_thread_init (NULL); +- gdk_threads_init (); ++ /*gdk_threads_init ();*/ + + gtk_init (&argc, &argv); + return TRUE; Property changes on: head/sysutils/xvidcap/files/patch-src_gnome__ui.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property