diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2006-01-22 13:43:46 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2006-01-22 13:43:46 +0000 |
commit | 38fc40e4d08a9db95cc3f4136b24f40a17499af9 (patch) | |
tree | 2d245490c681afb5a90ef46a4579380f78483687 /graphics | |
parent | - Add checks to make sure a database backend has been chosen. (diff) |
GePhex is an interactive effect system for video jockeys. The effects
can be controlled with external devices like joysticks, web-cams, or
midi-devices. New effects can be designed in a GUI (Graphical User
Interface) by composing basic effects into more complex ones.
WWW: http://www.gephex.org/
PR: ports/7359
Submitted by: Igor Pokrovsky <ip (at) doom.homeunix.org>
Diffstat (limited to 'graphics')
19 files changed, 646 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index f99cfac5a08a..7af60b740d07 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -144,6 +144,7 @@ SUBDIR += geist SUBDIR += geomview SUBDIR += geos + SUBDIR += gephex SUBDIR += gfont SUBDIR += giblib SUBDIR += gif2png diff --git a/graphics/gephex/Makefile b/graphics/gephex/Makefile new file mode 100644 index 000000000000..ccabb792a292 --- /dev/null +++ b/graphics/gephex/Makefile @@ -0,0 +1,178 @@ +# New ports collection makefile for: gephex +# Date created: 25 Jan 2005 +# Whom: Igor Pokrovsky <ip@doom.homeunix.org> +# +# $FreeBSD$ +# + +PORTNAME= gephex +PORTVERSION= 0.4.3b +CATEGORIES= graphics +MASTER_SITES= http://www.gephex.org/download/src/ + +MAINTAINER= ip@doom.homeunix.org +COMMENT= Software-based interactive video-effect system + +LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg + +USE_BZIP2= yes +USE_GMAKE= yes +ACLOCAL_ARGS= --acdir=${ACLOCAL_DIR} -I ${LOCALBASE}/share/aclocal +USE_AUTOTOOLS= autoconf:259 autoheader:259 libtool:15 aclocal:19 automake:19 +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS= --without-V4L --without-ASOUNDLIB --without-LINUX_JOYSTICK \ + --without-FFMPEG --without-AVIFILE --without-MPEG3 \ + --without-LIBPNG --without-SDL --without-SDL_IMAGE \ + --without-SDL_TTF --without-AALIB --disable-static +CONFIGURE_ENV= "CFLAGS+=-I${LOCALBASE}/include LDFLAGS+=-L${LOCALBASE}/lib" +USE_QT_VER= 3 +WANT_SDL= yes +INSTALLS_SHLIB= yes +LDCONFIG_DIRS= %%PREFIX%%/lib/${PORTNAME}-${PORTVERSION:R} +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/[[:alpha:]]//g} + +MAN1= gephex-engine.1 gephex-gui.1 gephex.1 + +.include <bsd.port.pre.mk> + +.if ${HAVE_SDL:Msdl} && ${HAVE_SDL:Mimage} && ${HAVE_SDL:Mttf} && !defined(WITHOUT_SDL) +WITH_SDL= yes +.endif + +.if exists(${LOCALBASE}/lib/libaa.so.1) && !defined(WITHOUT_AALIB) +WITH_AALIB= yes +.endif + +.if exists(${LOCALBASE}/bin/avifile-config) && !defined(WITHOUT_AVIFILE) +WITH_AVIFILE= yes +.endif + +.if exists(${LOCALBASE}/lib/libavcodec.a) && !defined(WITHOUT_FFMPEG) +WITH_FFMPEG= yes +.endif + +.if exists(${LOCALBASE}/lib/libmpeg3.a) && !defined(WITHOUT_MPEG3) +WITH_MPEG3= yes +.endif + +.if exists(${LOCALBASE}/lib/libpng.so.5) && !defined(WITHOUT_PNG) +WITH_PNG= yes +.endif + +.if exists(${X11BASE}/lib/libGL.so) && !defined(WITHOUT_GL) +WITH_GL= yes +.endif + +.if ${ARCH} != "i386" +CONFIGURE_ARGS+= --disable-mmx +.else +BUILD_DEPENDS+= ${LOCALBASE}/bin/nasm:${PORTSDIR}/devel/nasm +.endif + +.ifdef (WITH_SDL) +CONFIGURE_ARGS+= --with-SDL --with-SDL_IMAGE --with-SDL_TTF +USE_SDL= sdl image ttf +.endif + +.ifdef (WITH_AALIB) +CONFIGURE_ARGS+= --with-AALIB +LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib +.endif + +.ifdef (WITH_AVIFILE) +CONFIGURE_ARGS+= --with-AVIFILE +LIB_DEPENDS+= aviplay.0:${PORTSDIR}/multimedia/avifile +.endif + +.ifdef (WITH_FFMPEG) +CONFIGURE_ARGS+= --with-FFMPEG +BUILD_DEPENDS+= ${LOCALBASE}/lib/libavcodec.a:${PORTSDIR}/multimedia/ffmpeg +.endif + +.ifdef (WITH_MPEG3) +CONFIGURE_ARGS+= --with-MPEG3 +BUILD_DEPENDS+= ${LOCALBASE}/lib/libmpeg3.a:${PORTSDIR}/multimedia/libmpeg3 +.endif + +.ifdef (WITH_PNG) +CONFIGURE_ARGS+= --with-LIBPNG +LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png +.endif + +.ifdef (WITH_GL) +CONFIGURE_ARGS+= --with-GL +USE_GL= yes +.endif + +.if !defined(WITH_SDL) +PLIST_SUB+= WITH_SDL="@comment " +.else +PLIST_SUB+= WITH_SDL="" +.endif + +.if !defined(WITH_FFMPEG) +PLIST_SUB+= WITH_FFMPEG="@comment " +.else +PLIST_SUB+= WITH_FFMPEG="" +.endif + +.if !defined(WITH_PNG) +PLIST_SUB+= WITH_PNG="@comment " +.else +PLIST_SUB+= WITH_PNG="" +.endif + +.ifdef (NOPORTDOCS) +DO_DOCS=\# +.endif + +pre-everything:: + @${ECHO_CMD} "Building with the following configuration:" +.if defined (WITH_AALIB) + @${ECHO_CMD} "WITH_AALIB=${WITH_AALIB}" +.else + @${ECHO_CMD} "WITH_AALIB=no" +.endif +.if defined (WITH_AVIFILE) + @${ECHO_CMD} "WITH_AVIFILE=${WITH_AVIFILE}" +.else + @${ECHO_CMD} "WITH_AVIFILE=no" +.endif +.if defined (WITH_FFMPEG) + @${ECHO_CMD} "WITH_FFMPEG=${WITH_FFMPEG}" +.else + @${ECHO_CMD} "WITH_FFMPEG=no" +.endif +.if defined (WITH_GL) + @${ECHO_CMD} "WITH_GL=${WITH_GL}" +.else + @${ECHO_CMD} "WITH_GL=no" +.endif +.if defined (WITH_MPEG3) + @${ECHO_CMD} "WITH_MPEG3=${WITH_MPEG3}" +.else + @${ECHO_CMD} "WITH_MPEG3=no" +.endif +.if defined (WITH_PNG) + @${ECHO_CMD} "WITH_PNG=${WITH_PNG}" +.else + @${ECHO_CMD} "WITH_PNG=no" +.endif +.if defined (WITH_SDL) + @${ECHO_CMD} "WITH_SDL=${WITH_SDL}" +.else + @${ECHO_CMD} "WITH_SDL=no" +.endif + @${ECHO_CMD} "Use WITH[OUT]_ definitions to change current port behaviour" + +post-patch: + @${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|; \ + s|%%X11BASE%%|${X11BASE}|; \ + s|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/configure.ac + @${REINPLACE_CMD} -e 's|%%PORTDOCS%%|${DO_DOCS}|' ${WRKSRC}/Makefile.am + +run-autotools: run-autotools-aclocal patch-autotools run-autotools-automake \ + run-autotools-autoconf run-autotools-autoheader + +.include <bsd.port.post.mk> diff --git a/graphics/gephex/distinfo b/graphics/gephex/distinfo new file mode 100644 index 000000000000..d67857829d19 --- /dev/null +++ b/graphics/gephex/distinfo @@ -0,0 +1,3 @@ +MD5 (gephex-0.4.3b.tar.bz2) = d4e1343fcca8314e773d6daacb8af841 +SHA256 (gephex-0.4.3b.tar.bz2) = c6958df62506b3bcb25801d76e0e583652b2a32c86c0f7da73eca29b0366e5df +SIZE (gephex-0.4.3b.tar.bz2) = 6123279 diff --git a/graphics/gephex/files/patch-Makefile.am b/graphics/gephex/files/patch-Makefile.am new file mode 100644 index 000000000000..948236b32bcd --- /dev/null +++ b/graphics/gephex/files/patch-Makefile.am @@ -0,0 +1,7 @@ +--- Makefile.am.orig Sat Aug 20 20:52:10 2005 ++++ Makefile.am Sat Aug 20 20:52:33 2005 +@@ -1,3 +1,3 @@ + AUTOMAKE_OPTIONS = 1.6 +-SUBDIRS = contrib base build engine types util modules effectvmodules qtgui data examples doc ++SUBDIRS = base build engine types util modules effectvmodules qtgui data examples %%PORTDOCS%% doc + EXTRA_DIST = BUGS NEWS README COPYING README.win32 README.macosx config_h.win32 diff --git a/graphics/gephex/files/patch-base_src_utils_sharedlibrary.cpp b/graphics/gephex/files/patch-base_src_utils_sharedlibrary.cpp new file mode 100644 index 000000000000..7af539664e55 --- /dev/null +++ b/graphics/gephex/files/patch-base_src_utils_sharedlibrary.cpp @@ -0,0 +1,11 @@ +--- base/src/utils/sharedlibrary.cpp.orig ++++ base/src/utils/sharedlibrary.cpp +@@ -73,7 +73,7 @@ + #elif defined(OS_LINUX) + m_impl->handle = dlopen(path.c_str(), RTLD_NOW); + #elif defined(OS_BSD) +- m_impl->handle = dlopen(path.c_str(), DL_LAZY); ++ m_impl->handle = dlopen(path.c_str(), RTLD_LAZY); + #elif defined(OS_POSIX) + m_impl->handle = dlopen(path.c_str(), 0); + #endif diff --git a/graphics/gephex/files/patch-configure.ac b/graphics/gephex/files/patch-configure.ac new file mode 100644 index 000000000000..4d981a0194cf --- /dev/null +++ b/graphics/gephex/files/patch-configure.ac @@ -0,0 +1,126 @@ +--- configure.ac.orig ++++ configure.ac +@@ -126,8 +126,11 @@ + fi + + # qt ++saved_LDFLAGS="${LDFLAGS}" ++LDFLAGS="${LDFLAGS} %%PTHREAD_LIBS%%" + AM_PATH_QT([2.3.0], $SHAREDLIBEXT, have_qt=yes, have_qt=no) + AM_CONDITIONAL(HAVE_QT, test "x$have_qt" = "xyes") ++LDFLAGS="${saved_LDFLAGS}" + + # Checks for libraries. + AC_CHECK_LIB(dl,dlopen, +@@ -170,11 +173,16 @@ + + # optional libraries + ++ac_save_CFLAGS="$CFLAGS" ++CFLAGS="${CFLAGS} -I%%X11BASE%%/include" ++ + CHECK_EXTRA_LIB([GL], + [AC_CHECK_HEADER([GL/glx.h],have_gl=yes,have_gl=no)], + [no], [with_gl], [have_gl], [use_gl]) + AM_CONDITIONAL([WITH_GL], test "x$use_gl" = "xyes") + ++CFLAGS="${ac_save_CFLAGS}" ++ + CHECK_EXTRA_LIB([SDL], [AM_PATH_SDL([1.1.0], have_sdl=yes, have_sdl=no)], + [yes], [with_sdl], [have_sdl], [use_sdl]) + AM_CONDITIONAL([WITH_SDL], test "x$use_sdl" = "xyes") +@@ -223,7 +231,8 @@ + # libpng + CHECK_EXTRA_LIB([LIBPNG], + [AC_CHECK_HEADER([png.h],have_libpng=yes,have_libpng=no)], +- [no], [with_libpng], [have_libpng], [use_libpng]) ++ [no], [with_libpng], [have_libpng], [use_libpng], ++ [AC_SUBST(PNG_LDFLAGS, "-L%%LOCALBASE%%/lib")]) + AM_CONDITIONAL([WITH_LIBPNG], test "x$use_libpng" = "xyes") + + # aalib +@@ -269,7 +278,7 @@ + + # ffmpeg + CHECK_EXTRA_LIB([FFMPEG], +- [if test -d $srcdir/contrib/ffmpeg; then have_ffmpeg=yes; else have_ffmpeg=no; fi], ++ [have_ffmpeg=yes], + [yes], [with_ffmpeg], [have_ffmpeg], [use_ffmpeg]) + AM_CONDITIONAL([WITH_FFMPEG], test "x$use_ffmpeg" = "xyes") + +@@ -345,46 +354,46 @@ + AC_DEFINE_UNQUOTED([FRBINMODULE_CACHE_SIZE], $FRBINCACHE, [Size of the cache the frbinmodule uses (in MB)]) + fi; + +-if test "x$use_ffmpeg" = "xyes"; then +- FFMPEG_CONFIGURE_FLAGS="--prefix=$prefix --disable-ffserver --disable-ffplay --enable-shared" ++#if test "x$use_ffmpeg" = "xyes"; then ++# FFMPEG_CONFIGURE_FLAGS="--prefix=$prefix --disable-ffserver --disable-ffplay --enable-shared" + #--disable-risky" + +- echo Preparing ffmpeg configure call... ++# echo Preparing ffmpeg configure call... + + # If building with builddir != srcdir, ffmpegs configure wants to be + # called with an absolute path. + # Also, we have to do some workarounds (doc dir is missing for example). +- if test "x${srcdir}" != x.; then +- pwd +- (mkdir contrib && mkdir contrib/ffmpeg) || true +- +- if ! test -e contrib/ffmpeg/doc +- then +- mkdir contrib/ffmpeg/doc +- echo "all:" > contrib/ffmpeg/doc/Makefile +- fi +- +- TMPDIR=`pwd` && cd ${srcdir} && absolute_srcdir=`pwd` && cd $TMPDIR +- +- FFMPEG_CONFIG_DIR="${absolute_srcdir}/contrib/ffmpeg" +- +- AC_SUBST(FFMPEG_DIR,"${absolute_srcdir}/contrib/ffmpeg") #TODO +- else +- FFMPEG_CONFIG_DIR="." +- AC_SUBST(FFMPEG_DIR,"../../../contrib/ffmpeg") #TODO +- fi ++# if test "x${srcdir}" != x.; then ++# pwd ++# (mkdir contrib && mkdir contrib/ffmpeg) || true ++# ++# if ! test -e contrib/ffmpeg/doc ++# then ++# mkdir contrib/ffmpeg/doc ++# echo "all:" > contrib/ffmpeg/doc/Makefile ++# fi ++# ++# TMPDIR=`pwd` && cd ${srcdir} && absolute_srcdir=`pwd` && cd $TMPDIR ++# ++# FFMPEG_CONFIG_DIR="${absolute_srcdir}/contrib/ffmpeg" ++# ++# AC_SUBST(FFMPEG_DIR,"${absolute_srcdir}/contrib/ffmpeg") #TODO ++# else ++# FFMPEG_CONFIG_DIR="." ++# AC_SUBST(FFMPEG_DIR,"../../../contrib/ffmpeg") #TODO ++# fi + + # get absolute path of builddir +- abs_builddir=`pwd` ++# abs_builddir=`pwd` + +- AC_SUBST(FFMPEG_LDFLAGS,"${abs_builddir}/contrib/ffmpeg/libavformat/libavformat.a ${abs_builddir}/contrib/ffmpeg/libavcodec/libavcodec.a -lz") ++ AC_SUBST(FFMPEG_LDFLAGS,"%%LOCALBASE%%/lib/libavformat.a %%LOCALBASE%%/lib/libavcodec.a -lz") + # AC_SUBST(FFMPEG_LDFLAGS,"-L${abs_builddir}/contrib/ffmpeg/libavcodec -lavcodec -lz -L${abs_builddir}/contrib/ffmpeg/libavformat -lavformat") +- AC_SUBST(FFMPEG_CFLAGS,"-I${FFMPEG_DIR}/libavcodec -I${FFMPEG_DIR}/libavformat") ++ AC_SUBST(FFMPEG_CFLAGS,"-I%%LOCALBASE%%/include/ffmpeg") + +- echo Calling ffmpeg configure with flags: +- echo "${FFMPEG_CONFIG_DIR}/configure $FFMPEG_CONFIGURE_FLAGS" +- cd contrib/ffmpeg/ && ${FFMPEG_CONFIG_DIR}/configure $FFMPEG_CONFIGURE_FLAGS && cd ../.. +-fi ++# echo Calling ffmpeg configure with flags: ++# echo "${FFMPEG_CONFIG_DIR}/configure $FFMPEG_CONFIGURE_FLAGS" ++# cd contrib/ffmpeg/ && ${FFMPEG_CONFIG_DIR}/configure $FFMPEG_CONFIGURE_FLAGS && cd ../.. ++#fi + + # set gphx_module_lib_dir and gphx_type_lib_dir + test "x$prefix" = xNONE && prefix=$ac_default_prefix diff --git a/graphics/gephex/files/patch-modules_src_ffmpegoutmodule_ffmpegwriter.h b/graphics/gephex/files/patch-modules_src_ffmpegoutmodule_ffmpegwriter.h new file mode 100644 index 000000000000..eec30d1a177f --- /dev/null +++ b/graphics/gephex/files/patch-modules_src_ffmpegoutmodule_ffmpegwriter.h @@ -0,0 +1,12 @@ +--- modules/src/ffmpegoutmodule/ffmpegwriter.h.orig ++++ modules/src/ffmpegoutmodule/ffmpegwriter.h +@@ -23,7 +23,8 @@ + + #include <iostream> + #include <map> +-
++#include <string> ++ + #define EMULATE_INTTYPES + #include "avformat.h" + #include "avcodec.h" diff --git a/graphics/gephex/files/patch-modules_src_frbinmodule_Makefile.am b/graphics/gephex/files/patch-modules_src_frbinmodule_Makefile.am new file mode 100644 index 000000000000..49c0a34833dd --- /dev/null +++ b/graphics/gephex/files/patch-modules_src_frbinmodule_Makefile.am @@ -0,0 +1,19 @@ +--- modules/src/frbinmodule/Makefile.am.orig ++++ modules/src/frbinmodule/Makefile.am +@@ -28,6 +28,7 @@ + + if WITH_FFMPEG + FFMPEG_sOURCES = ffmpegdriver.h ffmpegdriver.cpp ++FFMPEG_lDFLAGS = @FFMPEG_LDFLAGS@ + endif + + frbinmodule_la_SOURCES = \ +@@ -45,7 +46,7 @@ + + frbinmodule_la_LDFLAGS = \ + -module -avoid-version -no-undefined \ +- -L@builddir@/../libscale $(AVIFILE_LDFLAGS) $(SDL_IMAGE_lDFLAGS) $(MPEG3_lDFLAGS) @FFMPEG_LDFLAGS@ ++ -L@builddir@/../libscale $(AVIFILE_LDFLAGS) $(SDL_IMAGE_lDFLAGS) $(MPEG3_lDFLAGS) ${FFMPEG_lDFLAGS} + + frbinmodule_la_LIBADD = -lstdc++ -lscale + diff --git a/graphics/gephex/files/patch-modules_src_frboutmodule_gloutput.cpp b/graphics/gephex/files/patch-modules_src_frboutmodule_gloutput.cpp new file mode 100644 index 000000000000..e11835c93c8d --- /dev/null +++ b/graphics/gephex/files/patch-modules_src_frboutmodule_gloutput.cpp @@ -0,0 +1,12 @@ +--- modules/src/frboutmodule/gloutput.cpp.orig ++++ modules/src/frboutmodule/gloutput.cpp +@@ -32,7 +32,8 @@ + #include <cstdio> + #include <cassert> + #include <cmath> +-#include <stdint.h> ++//#include <stdint.h> ++#include <inttypes.h> + #include <stdexcept> + #include <memory> + diff --git a/graphics/gephex/files/patch-modules_src_frboutmodule_glxutil.c b/graphics/gephex/files/patch-modules_src_frboutmodule_glxutil.c new file mode 100644 index 000000000000..9e67fd175e5c --- /dev/null +++ b/graphics/gephex/files/patch-modules_src_frboutmodule_glxutil.c @@ -0,0 +1,16 @@ +--- modules/src/frboutmodule/glxutil.c.orig ++++ modules/src/frboutmodule/glxutil.c +@@ -53,12 +53,12 @@ + Colormap cmap; + int AttributeList[] = {GLX_RGBA, GLX_DOUBLEBUFFER, None}; + XSetWindowAttributes swa; ++ const char* display_name_ptr; + + s_xsize = xres; + s_ysize = yres; + + // open a new connection to the X server +- const char* display_name_ptr; + if (strcmp(display_name,"default")==0) + display_name_ptr=0; // use the DISPLAY environment variable + else diff --git a/graphics/gephex/files/patch-modules_src_frboutmodule_x11output.c b/graphics/gephex/files/patch-modules_src_frboutmodule_x11output.c new file mode 100644 index 000000000000..4ff111a85bfd --- /dev/null +++ b/graphics/gephex/files/patch-modules_src_frboutmodule_x11output.c @@ -0,0 +1,12 @@ +--- modules/src/frboutmodule/x11output.c.orig ++++ modules/src/frboutmodule/x11output.c +@@ -27,7 +27,8 @@ + #include <math.h> // for fabs + #include <string.h> + +-#include <sys/ipc.h> ++//#include <sys/ipc.h> ++#include <sys/types.h> + #include <sys/shm.h> + + #include "outputdriver.h" diff --git a/graphics/gephex/files/patch-modules_src_gradnormmodule_gradnormmodule.cpp b/graphics/gephex/files/patch-modules_src_gradnormmodule_gradnormmodule.cpp new file mode 100644 index 000000000000..21b5436c1691 --- /dev/null +++ b/graphics/gephex/files/patch-modules_src_gradnormmodule_gradnormmodule.cpp @@ -0,0 +1,11 @@ +--- modules/src/gradnormmodule/gradnormmodule.cpp.orig ++++ modules/src/gradnormmodule/gradnormmodule.cpp +@@ -29,7 +29,7 @@ + + #if !defined(_MSC_VER) || (_MSC_VER > 1200) + using std::min; +-#include <stdint.h> ++#include <inttypes.h> + #else + #define min(a, b) ((a) < (b) ? (a) : (b)) + #include "basic_types.h" diff --git a/graphics/gephex/files/patch-modules_src_imagewritermodule_Makefile.am b/graphics/gephex/files/patch-modules_src_imagewritermodule_Makefile.am new file mode 100644 index 000000000000..90cfa79a327b --- /dev/null +++ b/graphics/gephex/files/patch-modules_src_imagewritermodule_Makefile.am @@ -0,0 +1,11 @@ +--- modules/src/imagewritermodule/Makefile.am.orig ++++ modules/src/imagewritermodule/Makefile.am +@@ -17,7 +17,7 @@ + imagewritermodule.xpm + + imagewritermodule_la_LDFLAGS = -module -avoid-version -no-undefined +-imagewritermodule_la_LIBADD = -lpng -lstdc++ ++imagewritermodule_la_LIBADD = @PNG_LDFLAGS@ -lpng -lstdc++ + + INCLUDES = -I@srcdir@/../../../engine/src/engine \ + -I@srcdir@/../../../util/include \ diff --git a/graphics/gephex/files/patch-modules_src_oscinmodule_oscinmodule.cpp b/graphics/gephex/files/patch-modules_src_oscinmodule_oscinmodule.cpp new file mode 100644 index 000000000000..fd5661ebc9a7 --- /dev/null +++ b/graphics/gephex/files/patch-modules_src_oscinmodule_oscinmodule.cpp @@ -0,0 +1,17 @@ +--- modules/src/oscinmodule/oscinmodule.cpp.orig ++++ modules/src/oscinmodule/oscinmodule.cpp +@@ -4,12 +4,13 @@ + #include <vector> + #include <stdexcept> + +-#include <sys/socket.h> + #include <sys/types.h> ++#include <sys/socket.h> + #include <netinet/in.h> + #include <errno.h> + #include <netdb.h> + #include <fcntl.h> ++#include <unistd.h> + + static logT s_log; + diff --git a/graphics/gephex/files/patch-modules_src_oscnummodule_oscnummodule.cpp b/graphics/gephex/files/patch-modules_src_oscnummodule_oscnummodule.cpp new file mode 100644 index 000000000000..76965b8af086 --- /dev/null +++ b/graphics/gephex/files/patch-modules_src_oscnummodule_oscnummodule.cpp @@ -0,0 +1,11 @@ +--- modules/src/oscnummodule/oscnummodule.cpp.orig ++++ modules/src/oscnummodule/oscnummodule.cpp +@@ -1,6 +1,8 @@ + #include "oscnummodule.h" + + #include <string> ++#include <map> ++#include <vector> + + static logT s_log; + diff --git a/graphics/gephex/files/patch-types_src_osctype_osctype.h b/graphics/gephex/files/patch-types_src_osctype_osctype.h new file mode 100644 index 000000000000..712ea1ad3b4f --- /dev/null +++ b/graphics/gephex/files/patch-types_src_osctype_osctype.h @@ -0,0 +1,11 @@ +--- types/src/osctype/osctype.h.orig ++++ types/src/osctype/osctype.h +@@ -60,7 +60,7 @@ + + static __inline void osc_resize(OscType* dst, int newSize) + { +- assert( osc_invariant(dst) ); ++// assert( osc_invariant(dst) ); + unsigned char* newData; + + if (newSize < dst->len) diff --git a/graphics/gephex/files/patch-util_include_basic__types.h b/graphics/gephex/files/patch-util_include_basic__types.h new file mode 100644 index 000000000000..060b0e6ac5b0 --- /dev/null +++ b/graphics/gephex/files/patch-util_include_basic__types.h @@ -0,0 +1,11 @@ +--- util/include/basic_types.h.orig ++++ util/include/basic_types.h +@@ -35,6 +35,8 @@ + typedef signed short int16_t; + typedef unsigned char uint8_t; + typedef signed char int8_t; ++#elif __FreeBSD__ ++#include <inttypes.h> + #else + #include <stdint.h> + #endif diff --git a/graphics/gephex/pkg-descr b/graphics/gephex/pkg-descr new file mode 100644 index 000000000000..a1f462df404e --- /dev/null +++ b/graphics/gephex/pkg-descr @@ -0,0 +1,9 @@ +GePhex is an interactive effect system for video jockeys. The effects +can be controlled with external devices like joysticks, web-cams, or +midi-devices. New effects can be designed in a GUI (Graphical User +Interface) by composing basic effects into more complex ones. + +WWW: http://www.gephex.org/ + +- Igor Pokrovsky +ip@doom.homeunix.org diff --git a/graphics/gephex/pkg-plist b/graphics/gephex/pkg-plist new file mode 100644 index 000000000000..e7ecaa976f0d --- /dev/null +++ b/graphics/gephex/pkg-plist @@ -0,0 +1,168 @@ +bin/gephex +bin/gephex-engine +bin/gephex-engine-real +bin/gephex-gui +bin/gephex-gui-real +bin/gephex-wrapper +%%WITH_SDL%%bin/joystick_midi_net +include/gephex/basic_types.h +include/gephex/dllmodule.h +include/gephex/dlltype.h +include/gephex/dllutils.h +include/gephex/minmax.h +include/gephex/misc/crandgen.h +include/gephex/sstream_compat +include/gephex/types/audiotype.h +include/gephex/types/envtype.h +include/gephex/types/framebuffertype.h +include/gephex/types/ifstype.h +include/gephex/types/lfotype.h +include/gephex/types/miditype.h +include/gephex/types/numbertype.h +include/gephex/types/osctype.h +include/gephex/types/positiontype.h +include/gephex/types/rgbtype.h +include/gephex/types/stringtype.h +include/gephex/unistd.h +lib/gephex-0.4/modules/audioaddmodule.so +lib/gephex-0.4/modules/audiobdmodule.so +lib/gephex-0.4/modules/audioenergymodule.so +lib/gephex-0.4/modules/audioinmodule.so +lib/gephex-0.4/modules/audiooutmodule.so +lib/gephex-0.4/modules/audiospecmodule.so +lib/gephex-0.4/modules/audiosynthmodule.so +lib/gephex-0.4/modules/audiovismodule.so +lib/gephex-0.4/modules/audiowavegenmodule.so +lib/gephex-0.4/modules/blurmodule.so +lib/gephex-0.4/modules/bwmodule.so +lib/gephex-0.4/modules/centermodule.so +lib/gephex-0.4/modules/chromakeymodule.so +lib/gephex-0.4/modules/color2numbermodule.so +lib/gephex-0.4/modules/diffmodule.so +lib/gephex-0.4/modules/doepfermodule.so +lib/gephex-0.4/modules/dplmodule.so +lib/gephex-0.4/modules/effectv1dmodule.so +lib/gephex-0.4/modules/effectvagingmodule.so +lib/gephex-0.4/modules/effectvbaltanmodule.so +lib/gephex-0.4/modules/effectvblurzoommodule.so +lib/gephex-0.4/modules/effectvburnmodule.so +lib/gephex-0.4/modules/effectvchameleonmodule.so +lib/gephex-0.4/modules/effectvcyclemodule.so +lib/gephex-0.4/modules/effectvdicemodule.so +lib/gephex-0.4/modules/effectvdiffmodule.so +lib/gephex-0.4/modules/effectvdizzymodule.so +lib/gephex-0.4/modules/effectvdotmodule.so +lib/gephex-0.4/modules/effectvedgemodule.so +lib/gephex-0.4/modules/effectvfiremodule.so +lib/gephex-0.4/modules/effectvlensmodule.so +lib/gephex-0.4/modules/effectvlifemodule.so +lib/gephex-0.4/modules/effectvmatrixmodule.so +lib/gephex-0.4/modules/effectvmosaicmodule.so +lib/gephex-0.4/modules/effectvnervousmodule.so +lib/gephex-0.4/modules/effectvnoisemodule.so +lib/gephex-0.4/modules/effectvpredatormodule.so +lib/gephex-0.4/modules/effectvpupmodule.so +lib/gephex-0.4/modules/effectvpuzzlemodule.so +lib/gephex-0.4/modules/effectvquarkmodule.so +lib/gephex-0.4/modules/effectvrdsmodule.so +lib/gephex-0.4/modules/effectvrevmodule.so +lib/gephex-0.4/modules/effectvripplemodule.so +lib/gephex-0.4/modules/effectvrndmmodule.so +lib/gephex-0.4/modules/effectvscrollmodule.so +lib/gephex-0.4/modules/effectvshagadelicmodule.so +lib/gephex-0.4/modules/effectvsimuramodule.so +lib/gephex-0.4/modules/effectvsparkmodule.so +lib/gephex-0.4/modules/effectvspiralmodule.so +lib/gephex-0.4/modules/effectvstreakmodule.so +lib/gephex-0.4/modules/effectvtransformmodule.so +lib/gephex-0.4/modules/effectvwarholmodule.so +lib/gephex-0.4/modules/effectvwarpmodule.so +%%WITH_FFMPEG%%lib/gephex-0.4/modules/ffmpegoutmodule.so +lib/gephex-0.4/modules/flashmodule.so +lib/gephex-0.4/modules/flipflopmodule.so +lib/gephex-0.4/modules/fpsmodule.so +lib/gephex-0.4/modules/frbinmodule.so +lib/gephex-0.4/modules/frboutmodule.so +lib/gephex-0.4/modules/funparsemodule.so +lib/gephex-0.4/modules/gradnormmodule.so +lib/gephex-0.4/modules/ifsgenmodule.so +lib/gephex-0.4/modules/ifsmodule.so +lib/gephex-0.4/modules/ifsxfadermodule.so +lib/gephex-0.4/modules/imagebuffermodule.so +%%WITH_PNG%%lib/gephex-0.4/modules/imagewritermodule.so +lib/gephex-0.4/modules/imgarithmodule.so +lib/gephex-0.4/modules/isingnoizemodule.so +%%WITH_SDL%%lib/gephex-0.4/modules/joystickmodule.so +lib/gephex-0.4/modules/jumpmodule.so +lib/gephex-0.4/modules/midiccdecmodule.so +lib/gephex-0.4/modules/midiinmodule.so +lib/gephex-0.4/modules/netcontrolmodule.so +lib/gephex-0.4/modules/noisemodule.so +lib/gephex-0.4/modules/numarithmodule.so +lib/gephex-0.4/modules/number2colormodule.so +lib/gephex-0.4/modules/numbermodule.so +lib/gephex-0.4/modules/numenvmodule.so +lib/gephex-0.4/modules/numlfomodule.so +lib/gephex-0.4/modules/numoscmodule.so +lib/gephex-0.4/modules/numposmodule.so +lib/gephex-0.4/modules/numxfadermodule.so +lib/gephex-0.4/modules/oscinmodule.so +lib/gephex-0.4/modules/oscmergemodule.so +lib/gephex-0.4/modules/oscnummodule.so +lib/gephex-0.4/modules/oscoutmodule.so +lib/gephex-0.4/modules/overlaymodule.so +lib/gephex-0.4/modules/pixelizemodule.so +lib/gephex-0.4/modules/planemodule.so +lib/gephex-0.4/modules/plasmamodule.so +lib/gephex-0.4/modules/pongmodule.so +lib/gephex-0.4/modules/posnummodule.so +lib/gephex-0.4/modules/rangeconvertmodule.so +lib/gephex-0.4/modules/resultmodule.so +lib/gephex-0.4/modules/rotozoommodule.so +%%WITH_SDL%%lib/gephex-0.4/modules/sdlfontmodule.so +lib/gephex-0.4/modules/signalgenmodule.so +lib/gephex-0.4/modules/signalplotmodule.so +lib/gephex-0.4/modules/staticcolormodule.so +lib/gephex-0.4/modules/stringtokenizermodule.so +lib/gephex-0.4/modules/timesourcemodule.so +lib/gephex-0.4/modules/tunnelmodule.so +lib/gephex-0.4/modules/twolayermodule.so +lib/gephex-0.4/modules/xfademodule.so +lib/gephex-0.4/modules/y4minmodule.so +lib/gephex-0.4/modules/y4moutputmodule.so +lib/gephex-0.4/types/audiotype.so +lib/gephex-0.4/types/envtype.so +lib/gephex-0.4/types/framebuffertype.so +lib/gephex-0.4/types/ifstype.so +lib/gephex-0.4/types/lfotype.so +lib/gephex-0.4/types/miditype.so +lib/gephex-0.4/types/numbertype.so +lib/gephex-0.4/types/osctype.so +lib/gephex-0.4/types/positiontype.so +lib/gephex-0.4/types/rgbtype.so +lib/gephex-0.4/types/stringtype.so +%%PORTDOCS%%%%DOCSDIR%%/html/documentation.html +%%DATADIR%%/gephex.conf.default +%%DATADIR%%/graphs/example1 +%%DATADIR%%/graphs/example2 +%%DATADIR%%/graphs/example3 +%%DATADIR%%/graphs/fzcam4 +%%DATADIR%%/graphs/gephexwin32 +%%DATADIR%%/graphs/noise +%%DATADIR%%/icon/gephex-engine.xpm +%%DATADIR%%/icon/gephex-gui.xpm +%%DATADIR%%/img/033.jpg +%%DATADIR%%/img/huebsch.jpg +%%DATADIR%%/run_in_terminal.sh +@dirrm %%DATADIR%%/img +@dirrm %%DATADIR%%/icon +@dirrm %%DATADIR%%/graphs +@dirrm %%DATADIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%%/html +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm lib/gephex-0.4/types +@dirrm lib/gephex-0.4/modules +@dirrm lib/gephex-0.4 +@dirrm include/gephex/types +@dirrm include/gephex/misc +@dirrm include/gephex |