- added french install file. Revert sources du to Msex broken
This commit is contained in:
parent
e6e8c46c1d
commit
7fcb9ae204
36 changed files with 3590 additions and 3886 deletions
|
@ -4175,12 +4175,13 @@ ac_config_files="$ac_config_files plugins/videoVLC/Makefile"
|
|||
# some of them have their own build system
|
||||
#AC_CONFIG_FILES([extra/Makefile])
|
||||
# some do not
|
||||
#AC_CONFIG_FILES([extra/pix_drum/Makefile extra/pix_mano/Makefile])
|
||||
#AC_CONFIG_FILES([extra/pix_fiducialtrack/Makefile])
|
||||
#AC_CONFIG_FILES([extra/pix_hit/Makefile])
|
||||
ac_config_files="$ac_config_files extra/pix2jpg/Makefile"
|
||||
ac_config_files="$ac_config_files extra/pix_drum/Makefile extra/pix_mano/Makefile"
|
||||
|
||||
ac_config_files="$ac_config_files extra/ola2pd/Makefile"
|
||||
ac_config_files="$ac_config_files extra/pix_fiducialtrack/Makefile"
|
||||
|
||||
ac_config_files="$ac_config_files extra/pix_hit/Makefile"
|
||||
|
||||
ac_config_files="$ac_config_files extra/pix2jpg/Makefile"
|
||||
|
||||
# other stuff
|
||||
ac_config_files="$ac_config_files build/Makefile Gem.pc Gem-meta.pd"
|
||||
|
@ -31596,8 +31597,11 @@ do
|
|||
"plugins/videoV4L2/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/videoV4L2/Makefile" ;;
|
||||
"plugins/videoVFW/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/videoVFW/Makefile" ;;
|
||||
"plugins/videoVLC/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/videoVLC/Makefile" ;;
|
||||
"extra/pix_drum/Makefile") CONFIG_FILES="$CONFIG_FILES extra/pix_drum/Makefile" ;;
|
||||
"extra/pix_mano/Makefile") CONFIG_FILES="$CONFIG_FILES extra/pix_mano/Makefile" ;;
|
||||
"extra/pix_fiducialtrack/Makefile") CONFIG_FILES="$CONFIG_FILES extra/pix_fiducialtrack/Makefile" ;;
|
||||
"extra/pix_hit/Makefile") CONFIG_FILES="$CONFIG_FILES extra/pix_hit/Makefile" ;;
|
||||
"extra/pix2jpg/Makefile") CONFIG_FILES="$CONFIG_FILES extra/pix2jpg/Makefile" ;;
|
||||
"extra/ola2pd/Makefile") CONFIG_FILES="$CONFIG_FILES extra/ola2pd/Makefile" ;;
|
||||
"build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
|
||||
"Gem.pc") CONFIG_FILES="$CONFIG_FILES Gem.pc" ;;
|
||||
"Gem-meta.pd") CONFIG_FILES="$CONFIG_FILES Gem-meta.pd" ;;
|
||||
|
|
|
@ -4175,12 +4175,13 @@ ac_config_files="$ac_config_files plugins/videoVLC/Makefile"
|
|||
# some of them have their own build system
|
||||
#AC_CONFIG_FILES([extra/Makefile])
|
||||
# some do not
|
||||
#AC_CONFIG_FILES([extra/pix_drum/Makefile extra/pix_mano/Makefile])
|
||||
#AC_CONFIG_FILES([extra/pix_fiducialtrack/Makefile])
|
||||
#AC_CONFIG_FILES([extra/pix_hit/Makefile])
|
||||
ac_config_files="$ac_config_files extra/pix2jpg/Makefile"
|
||||
ac_config_files="$ac_config_files extra/pix_drum/Makefile extra/pix_mano/Makefile"
|
||||
|
||||
ac_config_files="$ac_config_files extra/ola2pd/Makefile"
|
||||
ac_config_files="$ac_config_files extra/pix_fiducialtrack/Makefile"
|
||||
|
||||
ac_config_files="$ac_config_files extra/pix_hit/Makefile"
|
||||
|
||||
ac_config_files="$ac_config_files extra/pix2jpg/Makefile"
|
||||
|
||||
# other stuff
|
||||
ac_config_files="$ac_config_files build/Makefile Gem.pc Gem-meta.pd"
|
||||
|
@ -31596,8 +31597,11 @@ do
|
|||
"plugins/videoV4L2/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/videoV4L2/Makefile" ;;
|
||||
"plugins/videoVFW/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/videoVFW/Makefile" ;;
|
||||
"plugins/videoVLC/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/videoVLC/Makefile" ;;
|
||||
"extra/pix_drum/Makefile") CONFIG_FILES="$CONFIG_FILES extra/pix_drum/Makefile" ;;
|
||||
"extra/pix_mano/Makefile") CONFIG_FILES="$CONFIG_FILES extra/pix_mano/Makefile" ;;
|
||||
"extra/pix_fiducialtrack/Makefile") CONFIG_FILES="$CONFIG_FILES extra/pix_fiducialtrack/Makefile" ;;
|
||||
"extra/pix_hit/Makefile") CONFIG_FILES="$CONFIG_FILES extra/pix_hit/Makefile" ;;
|
||||
"extra/pix2jpg/Makefile") CONFIG_FILES="$CONFIG_FILES extra/pix2jpg/Makefile" ;;
|
||||
"extra/ola2pd/Makefile") CONFIG_FILES="$CONFIG_FILES extra/ola2pd/Makefile" ;;
|
||||
"build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
|
||||
"Gem.pc") CONFIG_FILES="$CONFIG_FILES Gem.pc" ;;
|
||||
"Gem-meta.pd") CONFIG_FILES="$CONFIG_FILES Gem-meta.pd" ;;
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
16
src/Gem/configure
vendored
16
src/Gem/configure
vendored
|
@ -4175,12 +4175,13 @@ ac_config_files="$ac_config_files plugins/videoVLC/Makefile"
|
|||
# some of them have their own build system
|
||||
#AC_CONFIG_FILES([extra/Makefile])
|
||||
# some do not
|
||||
#AC_CONFIG_FILES([extra/pix_drum/Makefile extra/pix_mano/Makefile])
|
||||
#AC_CONFIG_FILES([extra/pix_fiducialtrack/Makefile])
|
||||
#AC_CONFIG_FILES([extra/pix_hit/Makefile])
|
||||
ac_config_files="$ac_config_files extra/pix2jpg/Makefile"
|
||||
ac_config_files="$ac_config_files extra/pix_drum/Makefile extra/pix_mano/Makefile"
|
||||
|
||||
ac_config_files="$ac_config_files extra/ola2pd/Makefile"
|
||||
ac_config_files="$ac_config_files extra/pix_fiducialtrack/Makefile"
|
||||
|
||||
ac_config_files="$ac_config_files extra/pix_hit/Makefile"
|
||||
|
||||
ac_config_files="$ac_config_files extra/pix2jpg/Makefile"
|
||||
|
||||
# other stuff
|
||||
ac_config_files="$ac_config_files build/Makefile Gem.pc Gem-meta.pd"
|
||||
|
@ -31596,8 +31597,11 @@ do
|
|||
"plugins/videoV4L2/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/videoV4L2/Makefile" ;;
|
||||
"plugins/videoVFW/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/videoVFW/Makefile" ;;
|
||||
"plugins/videoVLC/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/videoVLC/Makefile" ;;
|
||||
"extra/pix_drum/Makefile") CONFIG_FILES="$CONFIG_FILES extra/pix_drum/Makefile" ;;
|
||||
"extra/pix_mano/Makefile") CONFIG_FILES="$CONFIG_FILES extra/pix_mano/Makefile" ;;
|
||||
"extra/pix_fiducialtrack/Makefile") CONFIG_FILES="$CONFIG_FILES extra/pix_fiducialtrack/Makefile" ;;
|
||||
"extra/pix_hit/Makefile") CONFIG_FILES="$CONFIG_FILES extra/pix_hit/Makefile" ;;
|
||||
"extra/pix2jpg/Makefile") CONFIG_FILES="$CONFIG_FILES extra/pix2jpg/Makefile" ;;
|
||||
"extra/ola2pd/Makefile") CONFIG_FILES="$CONFIG_FILES extra/ola2pd/Makefile" ;;
|
||||
"build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
|
||||
"Gem.pc") CONFIG_FILES="$CONFIG_FILES Gem.pc" ;;
|
||||
"Gem-meta.pd") CONFIG_FILES="$CONFIG_FILES Gem-meta.pd" ;;
|
||||
|
|
|
@ -60,11 +60,10 @@ AC_CONFIG_FILES([plugins/videoVLC/Makefile])
|
|||
# some of them have their own build system
|
||||
#AC_CONFIG_FILES([extra/Makefile])
|
||||
# some do not
|
||||
#AC_CONFIG_FILES([extra/pix_drum/Makefile extra/pix_mano/Makefile])
|
||||
#AC_CONFIG_FILES([extra/pix_fiducialtrack/Makefile])
|
||||
#AC_CONFIG_FILES([extra/pix_hit/Makefile])
|
||||
AC_CONFIG_FILES([extra/pix_drum/Makefile extra/pix_mano/Makefile])
|
||||
AC_CONFIG_FILES([extra/pix_fiducialtrack/Makefile])
|
||||
AC_CONFIG_FILES([extra/pix_hit/Makefile])
|
||||
AC_CONFIG_FILES([extra/pix2jpg/Makefile])
|
||||
AC_CONFIG_FILES([extra/ola2pd/Makefile])
|
||||
# other stuff
|
||||
AC_CONFIG_FILES([build/Makefile Gem.pc Gem-meta.pd])
|
||||
|
||||
|
|
|
@ -4,12 +4,11 @@ ACLOCAL_AMFLAGS = -I ../m4
|
|||
|
||||
|
||||
SUBDIRS =
|
||||
#SUBDIRS += pix_mano pix_drum
|
||||
SUBDIRS += pix_mano pix_drum
|
||||
#SUBDIRS += pix_artoolkit
|
||||
#SUBDIRS += pix_fiducialtrack
|
||||
#SUBDIRS += pix_hit
|
||||
SUBDIRS += pix_fiducialtrack
|
||||
SUBDIRS += pix_hit
|
||||
SUBDIRS += pix2jpg
|
||||
SUBDIRS += ola2pd
|
||||
|
||||
EXTRA_DIST = \
|
||||
README-EXTRA.txt
|
||||
|
|
|
@ -210,11 +210,8 @@ top_srcdir = @top_srcdir@
|
|||
AUTOMAKE_OPTIONS = foreign
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src
|
||||
ACLOCAL_AMFLAGS = -I ../m4
|
||||
#SUBDIRS += pix_mano pix_drum
|
||||
#SUBDIRS += pix_artoolkit
|
||||
#SUBDIRS += pix_fiducialtrack
|
||||
#SUBDIRS += pix_hit
|
||||
SUBDIRS = pix2jpg ola2pd
|
||||
SUBDIRS = pix_mano pix_drum pix_fiducialtrack pix_hit pix2jpg
|
||||
EXTRA_DIST = \
|
||||
README-EXTRA.txt
|
||||
|
||||
|
|
|
@ -683,8 +683,7 @@ LDFLAGS
|
|||
LIBS
|
||||
CPPFLAGS
|
||||
CCC'
|
||||
ac_subdirs_all='pix2jpg
|
||||
ola2pd'
|
||||
ac_subdirs_all='pix_artoolkit'
|
||||
|
||||
# Initialize some variables set by options.
|
||||
ac_init_help=
|
||||
|
@ -2994,9 +2993,12 @@ fi
|
|||
|
||||
|
||||
## pix_artoolkit
|
||||
#if test -d "$srcdir/pix_artoolkit"; then
|
||||
# AC_CONFIG_SUBDIRS([pix_artoolkit])
|
||||
#fi
|
||||
if test -d "$srcdir/pix_artoolkit"; then
|
||||
|
||||
|
||||
subdirs="$subdirs pix_artoolkit"
|
||||
|
||||
fi
|
||||
|
||||
## pix_drum (Jaime Oliver)
|
||||
#if test -d "$srcdir/pix_drum"; then
|
||||
|
@ -3018,13 +3020,6 @@ fi
|
|||
# AC_CONFIG_SUBDIRS([pix_opencv])
|
||||
#fi
|
||||
|
||||
|
||||
|
||||
subdirs="$subdirs pix2jpg"
|
||||
|
||||
subdirs="$subdirs ola2pd"
|
||||
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
# This file is a shell script that caches the results of configure
|
||||
# tests run on this system so they can be shared between configure
|
||||
|
|
|
@ -683,8 +683,7 @@ LDFLAGS
|
|||
LIBS
|
||||
CPPFLAGS
|
||||
CCC'
|
||||
ac_subdirs_all='pix2jpg
|
||||
ola2pd'
|
||||
ac_subdirs_all='pix_artoolkit'
|
||||
|
||||
# Initialize some variables set by options.
|
||||
ac_init_help=
|
||||
|
@ -2994,9 +2993,12 @@ fi
|
|||
|
||||
|
||||
## pix_artoolkit
|
||||
#if test -d "$srcdir/pix_artoolkit"; then
|
||||
# AC_CONFIG_SUBDIRS([pix_artoolkit])
|
||||
#fi
|
||||
if test -d "$srcdir/pix_artoolkit"; then
|
||||
|
||||
|
||||
subdirs="$subdirs pix_artoolkit"
|
||||
|
||||
fi
|
||||
|
||||
## pix_drum (Jaime Oliver)
|
||||
#if test -d "$srcdir/pix_drum"; then
|
||||
|
@ -3018,13 +3020,6 @@ fi
|
|||
# AC_CONFIG_SUBDIRS([pix_opencv])
|
||||
#fi
|
||||
|
||||
|
||||
|
||||
subdirs="$subdirs pix2jpg"
|
||||
|
||||
subdirs="$subdirs ola2pd"
|
||||
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
# This file is a shell script that caches the results of configure
|
||||
# tests run on this system so they can be shared between configure
|
||||
|
|
|
@ -768,13 +768,12 @@ m4trace:configure.ac:14: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
|
|||
m4trace:configure.ac:14: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
|
||||
m4trace:configure.ac:14: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CXX$])
|
||||
m4trace:configure.ac:42: -1- m4_pattern_allow([^subdirs$])
|
||||
m4trace:configure.ac:43: -1- m4_pattern_allow([^subdirs$])
|
||||
m4trace:configure.ac:45: -1- m4_pattern_allow([^LIB@&t@OBJS$])
|
||||
m4trace:configure.ac:45: -1- m4_pattern_allow([^LTLIBOBJS$])
|
||||
m4trace:configure.ac:45: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
|
||||
m4trace:configure.ac:45: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
|
||||
m4trace:configure.ac:45: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
|
||||
m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
|
||||
m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
|
||||
m4trace:configure.ac:45: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
m4trace:configure.ac:19: -1- m4_pattern_allow([^subdirs$])
|
||||
m4trace:configure.ac:42: -1- m4_pattern_allow([^LIB@&t@OBJS$])
|
||||
m4trace:configure.ac:42: -1- m4_pattern_allow([^LTLIBOBJS$])
|
||||
m4trace:configure.ac:42: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
|
||||
m4trace:configure.ac:42: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
|
||||
m4trace:configure.ac:42: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
|
||||
m4trace:configure.ac:42: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
|
||||
m4trace:configure.ac:42: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
|
||||
m4trace:configure.ac:42: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
|
|
|
@ -301,37 +301,33 @@ m4trace:configure.ac:14: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
|
|||
m4trace:configure.ac:15: -1- AC_SUBST([CXX])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CXX])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CXX$])
|
||||
m4trace:configure.ac:42: -1- AC_CONFIG_SUBDIRS([pix2jpg])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST([subdirs], ["$subdirs m4_normalize([pix2jpg])"])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST_TRACE([subdirs])
|
||||
m4trace:configure.ac:42: -1- m4_pattern_allow([^subdirs$])
|
||||
m4trace:configure.ac:43: -1- AC_CONFIG_SUBDIRS([ola2pd])
|
||||
m4trace:configure.ac:43: -1- AC_SUBST([subdirs], ["$subdirs m4_normalize([ola2pd])"])
|
||||
m4trace:configure.ac:43: -1- AC_SUBST_TRACE([subdirs])
|
||||
m4trace:configure.ac:43: -1- m4_pattern_allow([^subdirs$])
|
||||
m4trace:configure.ac:45: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
|
||||
m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
|
||||
m4trace:configure.ac:45: -1- m4_pattern_allow([^LIB@&t@OBJS$])
|
||||
m4trace:configure.ac:45: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
|
||||
m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LTLIBOBJS])
|
||||
m4trace:configure.ac:45: -1- m4_pattern_allow([^LTLIBOBJS$])
|
||||
m4trace:configure.ac:45: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
|
||||
m4trace:configure.ac:45: -1- AC_SUBST([am__EXEEXT_TRUE])
|
||||
m4trace:configure.ac:45: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
|
||||
m4trace:configure.ac:45: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
|
||||
m4trace:configure.ac:45: -1- AC_SUBST([am__EXEEXT_FALSE])
|
||||
m4trace:configure.ac:45: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
|
||||
m4trace:configure.ac:45: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
|
||||
m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
|
||||
m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
|
||||
m4trace:configure.ac:45: -1- AC_SUBST_TRACE([top_builddir])
|
||||
m4trace:configure.ac:45: -1- AC_SUBST_TRACE([top_build_prefix])
|
||||
m4trace:configure.ac:45: -1- AC_SUBST_TRACE([srcdir])
|
||||
m4trace:configure.ac:45: -1- AC_SUBST_TRACE([abs_srcdir])
|
||||
m4trace:configure.ac:45: -1- AC_SUBST_TRACE([top_srcdir])
|
||||
m4trace:configure.ac:45: -1- AC_SUBST_TRACE([abs_top_srcdir])
|
||||
m4trace:configure.ac:45: -1- AC_SUBST_TRACE([builddir])
|
||||
m4trace:configure.ac:45: -1- AC_SUBST_TRACE([abs_builddir])
|
||||
m4trace:configure.ac:45: -1- AC_SUBST_TRACE([abs_top_builddir])
|
||||
m4trace:configure.ac:45: -1- AC_SUBST_TRACE([INSTALL])
|
||||
m4trace:configure.ac:45: -1- AC_SUBST_TRACE([MKDIR_P])
|
||||
m4trace:configure.ac:19: -1- AC_CONFIG_SUBDIRS([pix_artoolkit])
|
||||
m4trace:configure.ac:19: -1- AC_SUBST([subdirs], ["$subdirs m4_normalize([pix_artoolkit])"])
|
||||
m4trace:configure.ac:19: -1- AC_SUBST_TRACE([subdirs])
|
||||
m4trace:configure.ac:19: -1- m4_pattern_allow([^subdirs$])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
|
||||
m4trace:configure.ac:42: -1- m4_pattern_allow([^LIB@&t@OBJS$])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST_TRACE([LTLIBOBJS])
|
||||
m4trace:configure.ac:42: -1- m4_pattern_allow([^LTLIBOBJS$])
|
||||
m4trace:configure.ac:42: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST([am__EXEEXT_TRUE])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
|
||||
m4trace:configure.ac:42: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST([am__EXEEXT_FALSE])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
|
||||
m4trace:configure.ac:42: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
|
||||
m4trace:configure.ac:42: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
|
||||
m4trace:configure.ac:42: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST_TRACE([top_builddir])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST_TRACE([top_build_prefix])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST_TRACE([srcdir])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST_TRACE([abs_srcdir])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST_TRACE([top_srcdir])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST_TRACE([abs_top_srcdir])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST_TRACE([builddir])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST_TRACE([abs_builddir])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST_TRACE([abs_top_builddir])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST_TRACE([INSTALL])
|
||||
m4trace:configure.ac:42: -1- AC_SUBST_TRACE([MKDIR_P])
|
||||
|
|
19
src/Gem/extra/configure
vendored
19
src/Gem/extra/configure
vendored
|
@ -683,8 +683,7 @@ LDFLAGS
|
|||
LIBS
|
||||
CPPFLAGS
|
||||
CCC'
|
||||
ac_subdirs_all='pix2jpg
|
||||
ola2pd'
|
||||
ac_subdirs_all='pix_artoolkit'
|
||||
|
||||
# Initialize some variables set by options.
|
||||
ac_init_help=
|
||||
|
@ -2994,9 +2993,12 @@ fi
|
|||
|
||||
|
||||
## pix_artoolkit
|
||||
#if test -d "$srcdir/pix_artoolkit"; then
|
||||
# AC_CONFIG_SUBDIRS([pix_artoolkit])
|
||||
#fi
|
||||
if test -d "$srcdir/pix_artoolkit"; then
|
||||
|
||||
|
||||
subdirs="$subdirs pix_artoolkit"
|
||||
|
||||
fi
|
||||
|
||||
## pix_drum (Jaime Oliver)
|
||||
#if test -d "$srcdir/pix_drum"; then
|
||||
|
@ -3018,13 +3020,6 @@ fi
|
|||
# AC_CONFIG_SUBDIRS([pix_opencv])
|
||||
#fi
|
||||
|
||||
|
||||
|
||||
subdirs="$subdirs pix2jpg"
|
||||
|
||||
subdirs="$subdirs ola2pd"
|
||||
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
# This file is a shell script that caches the results of configure
|
||||
# tests run on this system so they can be shared between configure
|
||||
|
|
|
@ -15,9 +15,9 @@ AC_PROG_CXX
|
|||
AC_SUBST(CXX)
|
||||
|
||||
## pix_artoolkit
|
||||
#if test -d "$srcdir/pix_artoolkit"; then
|
||||
# AC_CONFIG_SUBDIRS([pix_artoolkit])
|
||||
#fi
|
||||
if test -d "$srcdir/pix_artoolkit"; then
|
||||
AC_CONFIG_SUBDIRS([pix_artoolkit])
|
||||
fi
|
||||
|
||||
## pix_drum (Jaime Oliver)
|
||||
#if test -d "$srcdir/pix_drum"; then
|
||||
|
@ -39,8 +39,5 @@ AC_SUBST(CXX)
|
|||
# AC_CONFIG_SUBDIRS([pix_opencv])
|
||||
#fi
|
||||
|
||||
AC_CONFIG_SUBDIRS([pix2jpg])
|
||||
AC_CONFIG_SUBDIRS([ola2pd])
|
||||
|
||||
AC_OUTPUT
|
||||
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
pix2jpg : Convert pix to jpg
|
||||
http://code.google.com/p/puremediaserver
|
||||
Copyright (c) 2012 Santi Noreña
|
||||
|
||||
based on:
|
||||
GEM - Graphics Environment for Multimedia
|
||||
Copyright (C) 1997-2000 Mark Danks, Günter Geiger,
|
||||
Copyright (c) 2001-2010 IOhannes m zmölnig
|
||||
Copyright (c) 2003-2007 James Tittle II,
|
||||
Copyright (c) 2003-2008 Chris Clepper et al.
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
In the official GEM distribution, the GNU General Public License is
|
||||
in the file GnuGPL.LICENSE
|
||||
|
|
@ -1,48 +0,0 @@
|
|||
AUTOMAKE_OPTIONS = foreign
|
||||
ACLOCAL_AMFLAGS = -I $(top_srcdir)/src/m4
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src -fopenmp
|
||||
EXTRA_DIST =
|
||||
|
||||
extradir=$(libdir)/ola2pd
|
||||
|
||||
extra_LTLIBRARIES = ola2pd.la
|
||||
|
||||
dist_extra_DATA = LICENSE.txt
|
||||
dist_extra_DATA += ola2pd-help.pd
|
||||
|
||||
## some default flags
|
||||
ola2pd_la_CXXFLAGS = -fopenmp
|
||||
ola2pd_la_LDFLAGS = -lola -module -avoid-version -shared -shrext .@GEM_RTE_EXTENSION@
|
||||
ola2pd_la_LIBADD = -lola
|
||||
|
||||
# RTE flags
|
||||
ola2pd_la_CXXFLAGS += @GEM_RTE_CFLAGS@ @GEM_ARCH_CXXFLAGS@
|
||||
ola2pd_la_LIBADD += @GEM_RTE_LIBS@
|
||||
|
||||
ola2pd_la_LDFLAGS += @GEM_ARCH_LDFLAGS@
|
||||
|
||||
# special flags for building externals
|
||||
ola2pd_la_CXXFLAGS += @GEM_EXTERNAL_CFLAGS@
|
||||
ola2pd_la_LIBADD += -L$(top_builddir) @GEM_EXTERNAL_LIBS@
|
||||
ola2pd_la_LIBADD += ola2pd.la
|
||||
# convenience symlinks
|
||||
## uha, this is ugly
|
||||
ola2pd.@GEM_RTE_EXTENSION@: ola2pd.la
|
||||
rm -f $@
|
||||
test -f .libs/$@ && $(LN_S) .libs/$@ $@ || true
|
||||
|
||||
.PHONY: clean-conviencesymlink
|
||||
|
||||
clean-conviencesymlink:
|
||||
rm -f ola2pd.@GEM_RTE_EXTENSION@
|
||||
|
||||
all-local:: ola2pd.@GEM_RTE_EXTENSION@
|
||||
|
||||
clean-local:: clean-conviencesymlink
|
||||
|
||||
|
||||
### SOURCES
|
||||
ola2pd_la_SOURCES = \
|
||||
ola2pd.cpp \
|
||||
ola2pd.h
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
#N canvas 690 208 450 300 10;
|
||||
#X obj 270 167 pix_image;
|
||||
#X msg 299 137 open img.jpg;
|
||||
#X obj 270 103 gemhead;
|
||||
#X obj 94 213 gemwin;
|
||||
#X msg 53 147 create;
|
||||
#X msg 270 64 1;
|
||||
#X msg 121 145 destroy;
|
||||
#X msg 308 63 0;
|
||||
#X obj 270 196 pix_texture;
|
||||
#X obj 270 222 rectangle 4 4;
|
||||
#N canvas 25 162 450 300 gemwin 0;
|
||||
#X restore 85 239 pd gemwin;
|
||||
#X msg 41 181 1;
|
||||
#X obj 191 203 pix2jpg;
|
||||
#X connect 0 0 8 0;
|
||||
#X connect 1 0 0 0;
|
||||
#X connect 2 0 0 0;
|
||||
#X connect 4 0 3 0;
|
||||
#X connect 5 0 2 0;
|
||||
#X connect 6 0 3 0;
|
||||
#X connect 7 0 2 0;
|
||||
#X connect 8 0 9 0;
|
||||
#X connect 11 0 3 0;
|
|
@ -1,146 +0,0 @@
|
|||
/*
|
||||
* ola2pd - interface from Open Lighting Arquitecture to Pure Data
|
||||
* v 0.03
|
||||
*
|
||||
* Copyright (c) 2012-2013 Santiago Noreña <belfegor@gmail.com>
|
||||
*
|
||||
* ola2pd is an external for Pure Data and Max that reads one DMX512
|
||||
* universe from the Open Lighting Arquitecture and output it like a list
|
||||
* of 512 channels.
|
||||
*
|
||||
* Based on dmxmonitor Copyright (C) 2001 Dirk Jagdmann <doj@cubic.org>
|
||||
* and ola_dmxmonitor by Simon Newton (nomis52<AT>gmail.com)
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "ola2pd.h"
|
||||
CPPEXTERN_NEW(ola2pd)
|
||||
|
||||
ola2pd::ola2pd():
|
||||
m_universe(0),
|
||||
m_clientpointer(NULL),
|
||||
m_client(NULL)
|
||||
{
|
||||
outlet1 = outlet_new(this->x_obj, gensym("list")); // Saca todos los canales mediante una lista
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
// Destructor
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
ola2pd :: ~ola2pd()
|
||||
{
|
||||
// close();
|
||||
outlet_free(outlet1);
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
* IMPLEMENTATION
|
||||
*/
|
||||
|
||||
/*
|
||||
* Called when there is new DMX data
|
||||
*/
|
||||
|
||||
void ola2pd::NewDmx(unsigned int universe,const DmxBuffer &buffer,const string &error) {
|
||||
gettimeofday(&m_last_data, NULL);
|
||||
t_atom dmxlist[512];
|
||||
int z;
|
||||
for(z=0; z < 512; z++)
|
||||
{SETFLOAT(&dmxlist[z],(buffer.Get(z)));}
|
||||
outlet_list(outlet1, 0, 512, dmxlist);
|
||||
}
|
||||
|
||||
/*
|
||||
* Check for data loss.
|
||||
*/
|
||||
|
||||
bool ola2pd::CheckDataLoss() {
|
||||
struct timeval now, diff;
|
||||
if (timerisset(&m_last_data)) {
|
||||
gettimeofday(&now, NULL);
|
||||
timersub(&now, &m_last_data, &diff);
|
||||
if (diff.tv_sec > 4 || (diff.tv_sec == 4 && diff.tv_usec > 4000000)) {
|
||||
// loss of data
|
||||
post("ola2pd: Can not read DMX!");
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/*
|
||||
* Control de errores en el registro de Universos en OLA
|
||||
*/
|
||||
void ola2pd::RegisterComplete(const string &error) {
|
||||
if (!error.empty()) {
|
||||
post("ola2pd:Register command failed");
|
||||
m_client.GetSelectServer()->Terminate();
|
||||
}
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
// static member functions
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
void ola2pd :: obj_setupCallback(t_class *classPtr)
|
||||
{
|
||||
// class_addbang(classPtr, reinterpret_cast<t_method>(&ola2pd::bangMessCallback));
|
||||
class_addmethod(classPtr, (t_method)&ola2pd::openMessCallback,gensym("open"), A_NULL);
|
||||
class_addmethod(classPtr, (t_method)&ola2pd::closeMessCallback,gensym("close"), A_NULL);
|
||||
class_addmethod(classPtr, (t_method)&ola2pd::universeMessCallback,gensym("universe"), A_FLOAT,A_NULL);
|
||||
}
|
||||
///////////////////////////////
|
||||
|
||||
void ola2pd :: openMessCallback(void *data)
|
||||
{
|
||||
if (m_clientpointer == NULL)
|
||||
{
|
||||
// set up ola connection
|
||||
if (!GetMyClass(data)->m_client.Setup()) {error("ola2pd: Can not setup ola client");}
|
||||
GetMyClass(data)->m_clientpointer = GetMyClass(data)->m_client.GetClient();
|
||||
GetMyClass(data)->m_clientpointer->SetDmxCallback(ola::NewCallback(this, &ola2pd::NewDmx));
|
||||
GetMyClass(data)->m_clientpointer->RegisterUniverse(GetMyClass(data)->m_universe,ola::REGISTER,ola::NewSingleCallback(this, &ola2pd::RegisterComplete));
|
||||
GetMyClass(data)->m_client.GetSelectServer()->RegisterRepeatingTimeout(5000,ola::NewCallback(this, &ola2pd::CheckDataLoss));
|
||||
post("ola2pd: Init complete. Start listening...");
|
||||
GetMyClass(data)->m_client.GetSelectServer()->Run();
|
||||
}
|
||||
}
|
||||
void ola2pd :: closeMessCallback(void *data)
|
||||
{
|
||||
if (GetMyClass(data)->m_clientpointer != NULL)
|
||||
{
|
||||
GetMyClass(data)->m_clientpointer->RegisterUniverse(GetMyClass(data)->m_universe,ola::UNREGISTER,ola::NewSingleCallback(this, &ola2pd::RegisterComplete));
|
||||
GetMyClass(data)->m_client.GetSelectServer()->Terminate();
|
||||
GetMyClass(data)->m_clientpointer = NULL;
|
||||
post("ola2pd: Close complete");
|
||||
}
|
||||
|
||||
}
|
||||
/*
|
||||
void ola2pd :: bangMessCallback(void *data)
|
||||
{
|
||||
if (GetMyClass(data)->m_clientpointer != NULL) {post("Listening on universe %d", GetMyClass(data)->m_universe);}
|
||||
else {post("Configured on universe %d. Send open to start listening", GetMyClass(data)->m_universe);}
|
||||
|
||||
}*/
|
||||
void ola2pd :: universeMessCallback (void *data, t_float f)
|
||||
{
|
||||
GetMyClass(data)->m_universe = f;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -1,79 +0,0 @@
|
|||
/*-----------------------------------------------------------------
|
||||
ola2pd v0.03
|
||||
|
||||
(c) 2012-2013 Santi Noreña libremediaserver@gmail.com
|
||||
|
||||
GPL License.
|
||||
-----------------------------------------------------------------*/
|
||||
|
||||
#ifndef _INCLUDE__GEM_PIXES_ola2pd_H_
|
||||
#define _INCLUDE__GEM_PIXES_ola2pd_H_
|
||||
|
||||
#include <ola/OlaCallbackClient.h>
|
||||
#include <ola/OlaClientWrapper.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <m_pd.h>
|
||||
|
||||
using namespace ola;
|
||||
|
||||
/*-----------------------------------------------------------------
|
||||
-------------------------------------------------------------------
|
||||
CLASS
|
||||
ola2pd
|
||||
|
||||
|
||||
|
||||
KEYWORDS
|
||||
ola
|
||||
|
||||
DESCRIPTION
|
||||
|
||||
|
||||
|
||||
outlet : DMX list
|
||||
-----------------------------------------------------------------*/
|
||||
class GEM_EXPORT ola2pd : public GemPixObj
|
||||
{
|
||||
CPPEXTERN_HEADER(ola2pd, GemPixObj);
|
||||
|
||||
public:
|
||||
|
||||
//////////
|
||||
// Constructor
|
||||
ola2pd();
|
||||
|
||||
protected:
|
||||
|
||||
//////////
|
||||
// Destructor
|
||||
virtual ~ola2pd();
|
||||
|
||||
t_outlet *outlet1; // outlet pointer
|
||||
|
||||
unsigned int m_universe;
|
||||
|
||||
OlaCallbackClient *m_clientpointer;
|
||||
|
||||
struct timeval m_last_data;
|
||||
|
||||
OlaCallbackClientWrapper m_client;
|
||||
|
||||
private:
|
||||
|
||||
//////////
|
||||
// static member functions
|
||||
void openMessCallback(void *data);
|
||||
void closeMessCallback(void *data);
|
||||
// void bangMessCallback(void *data);
|
||||
void universeMessCallback(void *data, t_float f);
|
||||
|
||||
void NewDmx(unsigned int universe,const DmxBuffer &buffer,const string &error);
|
||||
bool CheckDataLoss();
|
||||
void RegisterComplete(const string &error);
|
||||
|
||||
};
|
||||
#endif // for header file
|
|
@ -22,8 +22,8 @@ pix2jpg_la_LIBADD += @GEM_RTE_LIBS@
|
|||
pix2jpg_la_LDFLAGS += @GEM_ARCH_LDFLAGS@
|
||||
|
||||
# special flags for building externals
|
||||
#pix2jpg_la_CXXFLAGS += -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -pthread .@GEM_EXTERNAL_CFLAGS@
|
||||
#pix2jpg_la_LIBADD += -L$(top_builddir) @GEM_EXTERNAL_LIBS@
|
||||
pix2jpg_la_CXXFLAGS += -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -pthread .@GEM_EXTERNAL_CFLAGS@
|
||||
pix2jpg_la_LIBADD += -L$(top_builddir) @GEM_EXTERNAL_LIBS@
|
||||
|
||||
# convenience symlinks
|
||||
## uha, this is ugly
|
||||
|
|
|
@ -419,11 +419,16 @@ extra_LTLIBRARIES = pix2jpg.la
|
|||
dist_extra_DATA = LICENSE.txt pix2jpg-help.pd
|
||||
|
||||
# RTE flags
|
||||
|
||||
# special flags for building externals
|
||||
pix2jpg_la_CXXFLAGS = -fopenmp -I/usr/include/ImageMagick \
|
||||
@GEM_RTE_CFLAGS@ @GEM_ARCH_CXXFLAGS@ $(am__empty)
|
||||
@GEM_RTE_CFLAGS@ @GEM_ARCH_CXXFLAGS@ -g -O2 -fstack-protector \
|
||||
--param=ssp-buffer-size=4 -Wformat -Wformat-security -pthread \
|
||||
.@GEM_EXTERNAL_CFLAGS@
|
||||
pix2jpg_la_LDFLAGS = -lMagick++ -lMagickCore -module -avoid-version \
|
||||
-shared -shrext .@GEM_RTE_EXTENSION@ @GEM_ARCH_LDFLAGS@
|
||||
pix2jpg_la_LIBADD = -lMagickCore @GEM_RTE_LIBS@
|
||||
pix2jpg_la_LIBADD = -lMagickCore @GEM_RTE_LIBS@ -L$(top_builddir) \
|
||||
@GEM_EXTERNAL_LIBS@ $(am__empty)
|
||||
|
||||
### SOURCES
|
||||
pix2jpg_la_SOURCES = \
|
||||
|
@ -771,10 +776,6 @@ uninstall-am: uninstall-dist_extraDATA uninstall-extraLTLIBRARIES
|
|||
uninstall-extraLTLIBRARIES
|
||||
|
||||
|
||||
# special flags for building externals
|
||||
#pix2jpg_la_CXXFLAGS += -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -pthread .@GEM_EXTERNAL_CFLAGS@
|
||||
#pix2jpg_la_LIBADD += -L$(top_builddir) @GEM_EXTERNAL_LIBS@
|
||||
|
||||
# convenience symlinks
|
||||
pix2jpg.@GEM_RTE_EXTENSION@: pix2jpg.la
|
||||
rm -f $@
|
||||
|
|
|
@ -106,9 +106,9 @@
|
|||
'_AM_SET_OPTION' => 1,
|
||||
'AC_LTDL_PREOPEN' => 1,
|
||||
'_LT_LINKER_BOILERPLATE' => 1,
|
||||
'AC_LIBTOOL_PROG_CC_C_O' => 1,
|
||||
'_LT_PREPARE_SED_QUOTE_VARS' => 1,
|
||||
'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
|
||||
'AC_LIBTOOL_PROG_CC_C_O' => 1,
|
||||
'gl_PREREQ_ARGZ' => 1,
|
||||
'AC_LIB_PREFIX' => 1,
|
||||
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||
|
@ -425,9 +425,9 @@
|
|||
'_AM_SET_OPTION' => 1,
|
||||
'AC_LTDL_PREOPEN' => 1,
|
||||
'_LT_LINKER_BOILERPLATE' => 1,
|
||||
'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
|
||||
'AC_LIBTOOL_PROG_CC_C_O' => 1,
|
||||
'_LT_PREPARE_SED_QUOTE_VARS' => 1,
|
||||
'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
|
||||
'gl_PREREQ_ARGZ' => 1,
|
||||
'AC_LIB_PREFIX' => 1,
|
||||
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||
|
|
|
@ -107,9 +107,9 @@
|
|||
'_AM_SET_OPTION' => 1,
|
||||
'AC_LTDL_PREOPEN' => 1,
|
||||
'_LT_LINKER_BOILERPLATE' => 1,
|
||||
'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
|
||||
'AC_LIBTOOL_PROG_CC_C_O' => 1,
|
||||
'_LT_PREPARE_SED_QUOTE_VARS' => 1,
|
||||
'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
|
||||
'gl_PREREQ_ARGZ' => 1,
|
||||
'AC_LIB_PREFIX' => 1,
|
||||
'LT_SUPPORTED_TAG' => 1,
|
||||
|
|
|
@ -98,6 +98,7 @@ libreMediaServer::libreMediaServer(QStringList args, QWidget *parent)
|
|||
m_startaudio(0),
|
||||
m_pd_video(NULL),
|
||||
m_pd_audio(NULL),
|
||||
m_pd_write_video(NULL),
|
||||
m_pd_write_audio(NULL),
|
||||
m_pd_read_audio(NULL),
|
||||
m_tcpsocket_audio(NULL),
|
||||
|
@ -142,10 +143,6 @@ libreMediaServer::libreMediaServer(QStringList args, QWidget *parent)
|
|||
qErrnoWarning("libremediaserver::constructor L132: Can not listen on unix local server");
|
||||
}
|
||||
connect(m_server_vid, SIGNAL(newConnection()),this, SLOT(newPeer()));
|
||||
// Creamos los sockets para mandar paquetes a PD
|
||||
m_pd_write_video = new QTcpSocket(this);
|
||||
Q_CHECK_PTR(m_pd_write_video);
|
||||
connect(m_pd_write_video, SIGNAL(connected()),this, SLOT(newconexion()));
|
||||
// Start preview Timer
|
||||
m_preview = new QTimer(this);
|
||||
Q_CHECK_PTR(m_preview);
|
||||
|
@ -885,11 +882,16 @@ void libreMediaServer::pdstart()
|
|||
{
|
||||
return;
|
||||
}
|
||||
// Creamos los sockets para la conexión a Pure Data
|
||||
m_pd_write_video = new QTcpSocket(this);
|
||||
Q_CHECK_PTR(m_pd_write_video);
|
||||
connect(m_pd_write_video, SIGNAL(connected()),this, SLOT(newconexion()));
|
||||
// Arrancamos el proceso Pure Data
|
||||
QString arguments;
|
||||
arguments.append("./puredata/pd -noaudio -lib Gem -stderr -nostdpath -path ./puredata/externals/ -open ./puredata/lms-video.pd ");
|
||||
if (!m_gui)
|
||||
arguments.append("-nogui");
|
||||
qDebug() << "PD Video starts with argument: " << arguments;
|
||||
m_pd_video->start(arguments);
|
||||
if (m_pd_video->waitForStarted(3000)){
|
||||
ui.textEdit->appendPlainText("Video Engine started.");
|
||||
|
@ -900,7 +902,7 @@ void libreMediaServer::pdstart()
|
|||
ui.textEdit->appendPlainText("Video Engine can not start!");
|
||||
return;
|
||||
}
|
||||
// Connect the output from PD Video to stdout slot to process it
|
||||
// Connect the output fropm PD Video to stdout slot to process it
|
||||
connect(m_pd_video, SIGNAL(readyReadStandardError()), this, SLOT(stdout()));
|
||||
// Restart PD Video if crash
|
||||
connect(m_pd_video, SIGNAL(finished(int)), this, SLOT(pdrestart()));
|
||||
|
@ -917,8 +919,6 @@ void libreMediaServer::pdrestart()
|
|||
qDebug()<<"********************************************************************************";
|
||||
qDebug()<<"PD Video Restarts:" << ++m_startvideo;
|
||||
ui.textEdit->appendPlainText("PD Video Restarting.");
|
||||
m_pd_write_video->close();
|
||||
|
||||
disconnect(m_pd_video, SIGNAL(finished(int)), this, SLOT(pdrestart()));
|
||||
pdstart();
|
||||
|
||||
|
@ -1014,7 +1014,7 @@ void libreMediaServer::newmessage()
|
|||
ui.layer8Preview->setPixmap(frame);
|
||||
break;
|
||||
default:
|
||||
qDebug()<<"newmessage: Message received but can not identify the cookie";
|
||||
qDebug()<<"newmessage: Message received but can not identify the cooki";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1022,6 +1022,13 @@ void libreMediaServer::newmessage()
|
|||
// Send the configuration to PD
|
||||
void libreMediaServer::newconexion()
|
||||
{
|
||||
// Iniciamos el socket
|
||||
m_pd_write_video->connectToHost(QHostAddress::LocalHost, PDPORTW);
|
||||
m_pd_write_video->waitForConnected(3000);
|
||||
if (!(m_pd_write_video->isOpen())){
|
||||
qErrnoWarning("newconexion:pd write socket not open!:");
|
||||
return;
|
||||
}
|
||||
//Mandamos el path
|
||||
QString desc = tr("0000 0000 %1;").arg(m_pathmedia);
|
||||
if (!sendPacket(desc.toAscii().constData(),desc.size()))
|
||||
|
@ -1406,6 +1413,7 @@ void libreMediaServer::pdstart_audio()
|
|||
arguments.append("./puredata/pd -alsa -channels 2 -audiodev 1 -stderr -nostdpath -path ./puredata/externals/ -open ./puredata/lms-audio.pd ");
|
||||
if (!m_gui)
|
||||
arguments.append("-nogui");
|
||||
qDebug() << "PD Audio starts with argument: " << arguments;
|
||||
m_pd_audio->start(arguments);
|
||||
if (m_pd_audio->waitForStarted(3000)){
|
||||
ui.textEdit->appendPlainText("PD Audio started.");
|
||||
|
@ -1442,7 +1450,6 @@ void libreMediaServer::pdrestart_audio()
|
|||
delete m_pd_read_audio;
|
||||
}
|
||||
disconnect(m_pd_audio, SIGNAL(finished(int)), this, SLOT(pdrestart_audio()));
|
||||
m_pd_write_video->close();
|
||||
pdstart_audio();
|
||||
}
|
||||
|
||||
|
@ -1699,12 +1706,7 @@ void libreMediaServer::stdout() {
|
|||
case '0':
|
||||
qDebug()<<"Loadbang Video";
|
||||
ui.textEdit->appendPlainText("LoadBang Video received.");
|
||||
m_pd_write_video->connectToHost(QHostAddress::LocalHost, PDPORTW);
|
||||
if (!(m_pd_write_video->waitForConnected(3000))){
|
||||
qDebug()<<"Newconexion failed connect to Host "<< m_pd_write_video->error();
|
||||
} else {
|
||||
newconexion();
|
||||
}
|
||||
newconexion();
|
||||
break;
|
||||
case '1':
|
||||
out.remove(0, i);
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
#include "MSEXDefines.h"
|
||||
#include "ui_libremediaserver.h"
|
||||
|
||||
#define VERSION "LibreMediaServer Version 0.04-4-DebianWheezy"
|
||||
#define COPYRIGHT "(C) 2012-2013 Santi Nore libremediaserver@gmail.com"
|
||||
#define VERSION "LibreMediaServer Version 0.04-2"
|
||||
#define COPYRIGHT "(C) 2012-2013 Santi Norena libremediaserver@gmail.com"
|
||||
#define LICENSE "GPL 3 License. See LICENSE.txt and credits.txt for details"
|
||||
|
||||
class msex;
|
||||
|
@ -61,7 +61,7 @@ public:
|
|||
protected:
|
||||
|
||||
QString m_pathmedia; // Path to Medias
|
||||
msex *m_msex; // CITP/MSEx
|
||||
msex *m_msex; // MSEx
|
||||
QProcess *m_ola; // OLA daemon process
|
||||
QProcess *m_pd_video; // Pure Data process for video
|
||||
QProcess *m_pd_audio; // Pure Data process for audio
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>777</width>
|
||||
<height>677</height>
|
||||
<width>745</width>
|
||||
<height>636</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
|
@ -21,9 +21,9 @@
|
|||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>150</y>
|
||||
<width>711</width>
|
||||
<x>0</x>
|
||||
<y>120</y>
|
||||
<width>831</width>
|
||||
<height>441</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -395,9 +395,9 @@
|
|||
<widget class="QLabel" name="CITPaddress_label">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>470</x>
|
||||
<x>480</x>
|
||||
<y>200</y>
|
||||
<width>231</width>
|
||||
<width>241</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -1192,10 +1192,10 @@
|
|||
<widget class="QPlainTextEdit" name="textEdit">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>20</y>
|
||||
<width>711</width>
|
||||
<height>111</height>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>721</width>
|
||||
<height>121</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="plainText">
|
||||
|
@ -1213,16 +1213,10 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>777</width>
|
||||
<height>25</height>
|
||||
<width>745</width>
|
||||
<height>29</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Maximum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuFile">
|
||||
<property name="title">
|
||||
<string>File</string>
|
||||
|
|
0
src/ola2pd/LICENSE.txt
Normal file → Executable file
0
src/ola2pd/LICENSE.txt
Normal file → Executable file
|
@ -1,5 +1,5 @@
|
|||
*******************************************************************************
|
||||
ola2pd 0.03
|
||||
ola2pd 0.02 6/01/2013
|
||||
|
||||
(C) 2012-2013 Santi Noreña belfegor<AT>gmail.com
|
||||
|
||||
|
|
|
@ -81,8 +81,8 @@ public:
|
|||
// --- define inlets and outlets ---
|
||||
AddInAnything(); // default inlet
|
||||
AddOutList(); // outlet for DMX list
|
||||
post("ola2pd v0.03 - an interface to Open Lighting Arquitecture");
|
||||
post("(C) 2012-2013 Santi Nore libremediaserver@gmail.com");
|
||||
post("ola2pd v0.02 - an interface to Open Lighting Arquitecture");
|
||||
post("(C) 2012-2013 Santi Noreña libremediaserver@gmail.com");
|
||||
}
|
||||
void NewDmx(unsigned int universe,
|
||||
const DmxBuffer &buffer,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
*******************************************************************************
|
||||
ola2pd 0.03
|
||||
ola2pd 0.02 6/1/2013
|
||||
|
||||
(C) 2012-2013 Santi Noreña belfegor<AT>gmail.com
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue