diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2003-06-22 22:48:25 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2003-06-22 22:48:25 +0000 |
commit | 1a635ba9484bcb07b5d11812f723a8b2c39b9f22 (patch) | |
tree | 29e78226824d3724bb919e59f69553c0942a4294 /audio | |
parent | Update to 0.5 (diff) |
Update to 2.2.3
Fix Build.
PR: 50858
Submitted by: "The Anarcat" <anarcat@anarcat.ath.cx>
Notes
Notes:
svn path=/head/; revision=83457
Diffstat (limited to 'audio')
-rw-r--r-- | audio/ecasound/Makefile | 5 | ||||
-rw-r--r-- | audio/ecasound/distinfo | 2 | ||||
-rw-r--r-- | audio/ecasound/files/patch-configure.in | 237 | ||||
-rw-r--r-- | audio/ecasound/files/patch-ecasound::eca-curses.cpp | 26 | ||||
-rw-r--r-- | audio/ecasound/files/patch-pyecasound::Makefile.am | 65 |
5 files changed, 304 insertions, 31 deletions
diff --git a/audio/ecasound/Makefile b/audio/ecasound/Makefile index 85c1d2864f6f..8e79075399a4 100644 --- a/audio/ecasound/Makefile +++ b/audio/ecasound/Makefile @@ -6,21 +6,18 @@ # PORTNAME= ecasound -PORTVERSION= 2.2.2 +PORTVERSION= 2.2.3 CATEGORIES= audio MASTER_SITES= http://ecasound.seul.org/download/ MAINTAINER= anarcat@anarcat.ath.cx COMMENT= Multitrack audio processing software -BROKEN= "Does not compile" - USE_GMAKE= yes USE_AUTOMAKE_VER=14 USE_LIBTOOL= yes INSTALLS_SHLIB= yes -CONFIGURE_ARGS+= --enable-sys-readline MAKE_ENV+= ${CONFIGURE_ENV} .if defined(WITH_MPG123) diff --git a/audio/ecasound/distinfo b/audio/ecasound/distinfo index eee925020000..e6aae2038a3b 100644 --- a/audio/ecasound/distinfo +++ b/audio/ecasound/distinfo @@ -1 +1 @@ -MD5 (ecasound-2.2.2.tar.gz) = f40a2ea2cabf8b0cbd3663d522f74918 +MD5 (ecasound-2.2.3.tar.gz) = 40a3f0213c30b18e1b4e7879faa6b454 diff --git a/audio/ecasound/files/patch-configure.in b/audio/ecasound/files/patch-configure.in new file mode 100644 index 000000000000..d3434033cd4f --- /dev/null +++ b/audio/ecasound/files/patch-configure.in @@ -0,0 +1,237 @@ +=================================================================== +RCS file: /home/cvspsrv/cvsroot/sound/ecasound/configure.in,v +retrieving revision 1.152 +retrieving revision 1.158 +diff -u -r1.152 -r1.158 +--- configure.in 2003/04/02 20:14:10 1.152 ++++ configure.in 2003/05/30 19:28:47 1.158 +@@ -1,6 +1,6 @@ + dnl --- + dnl configure.in for ecasound +-dnl last modified: 20030402-14 ++dnl last modified: 20030530-20 + dnl + dnl Many of the tests and macros in this file have been borrowed from + dnl other GPL-lisenced packages (Alsaplayer, ALSA, SIP, PyQt, +@@ -23,7 +23,7 @@ + dnl --- + dnl Init automake + dnl --- +-AM_INIT_AUTOMAKE(ecasound, 2.2.3) ++AM_INIT_AUTOMAKE(ecasound, 2.2.4) + AM_CONFIG_HEADER(config.h) + + dnl --- +@@ -32,15 +32,17 @@ + dnl defines: LIBECASOUND_VERSION, LIBECASOUNDC_VERSION, LIBKVUTILS_VERSION + dnl --- + +-LIBECASOUND_VERSION=10 +-LIBECASOUND_VERSION_AGE=1 ++LIBECASOUND_VERSION=11 ++LIBECASOUND_VERSION_AGE=2 + LIBECASOUNDC_VERSION=1 +-LIBKVUTILS_VERSION=5 +-LIBKVUTILS_VERSION_AGE=1 ++LIBECASOUNDC_VERSION_AGE=0 ++LIBKVUTILS_VERSION=6 ++LIBKVUTILS_VERSION_AGE=2 + + AC_SUBST(LIBECASOUND_VERSION) + AC_SUBST(LIBECASOUND_VERSION_AGE) + AC_SUBST(LIBECASOUNDC_VERSION) ++AC_SUBST(LIBECASOUNDC_VERSION_AGE) + AC_SUBST(LIBKVUTILS_VERSION) + AC_SUBST(LIBKVUTILS_VERSION_AGE) + +@@ -432,39 +434,46 @@ + dnl Checks for pyecasound + dnl + dnl defines: ECA_S_PYTHON_INCLUDES, ECA_S_PYTHON_DLMODULES, +-dnl ECA_AM_COMPILE_PYECASOUND, ECA_AM_HAVE_PYTHON ++dnl ECA_AM_PYECASOUND_CEXT, ECA_AM_PYECASOUND_INSTALL + dnl -- + +-compile_pyecasound=no ++pyecasound_support=python + + AC_ARG_ENABLE(pyecasound, +- [ --enable-pyecasound Enable compilation of pyecasound (default = no)], ++ [ --enable-pyecasound Enable compilation of pyecasound (default = python)], + [ + case "$enableval" in + y | yes) +- AC_MSG_RESULT(yes) +- compile_pyecasound=yes ++ pyecasound_support=c + ;; + +- n | no) +- AC_MSG_RESULT(no) +- compile_pyecasound=no ++ n | no | none) ++ pyecasound_support=none ++ ;; ++ ++ python) ++ pyecasound_support=python ++ ;; ++ ++ c) ++ pyecasound_support=c + ;; + + *) +- AC_MSG_ERROR([Invalid parameter value for --enable-pyecasound: $enableval]) ++ pyecasound_support=python + ;; + esac + ]) + + dnl -- +-dnl Python interpreter ++dnl Python interpreter and installation prefix + + AC_PATH_PROG(PYTHONPATH,python,none) + if test x$PYTHONPATH = xnone; then +- python_support=no ++ pyecasound_support=none ++ python_install_prefix="" + else +- python_support=yes ++ python_install_prefix=`python -c "import sys; print (sys.prefix)"` + fi + + dnl -- +@@ -497,7 +506,10 @@ + if test "X$ECA_S_PYTHON_INCLUDES" = "X" + then + AC_MSG_WARN([Python.h not found]) +- compile_pyecasound=no ++ if test x${pyecasound_support} = xc; then ++ dnl -- No python headers found, cannot compile C extension ++ pyecasound_support=python ++ fi + else + AC_MSG_RESULT($ECA_S_PYTHON_INCLUDES) + fi +@@ -511,14 +523,35 @@ + + if test "X$with_python_modules" = "X" + then +- pymoddirs="/usr/local/lib /usr/lib" +- dnl -- Double-brackets to espace the real brackets +- pymoddirsmore=`python -c "import sys; print (sys.prefix + '/lib/python' + sys.version[[:3]])"` +- pymoddirs="$pymoddirs $pymoddirsmore" ++ if test x${python_install_prefix} != x${ecaprefix} -a \ ++ x${ecaprefix} != x/usr -a \ ++ x${ecaprefix} != x/usr/local ; then ++ pyecasound_support=none ++ AC_MSG_RESULT([none]) ++ if test x$PYTHONPATH != xnone; then ++ python_prefix_tmp=`python -c "import sys; print (sys.prefix + '/lib/python' + sys.version[[:3]])"` ++ else ++ python_prefix_tmp="DIR" ++ fi ++ AC_MSG_WARN([ ++ *** ++ *** Python modules won't be installed as the module install prefix does ++ *** not match ecasound's build prefix! To override, set python ++ *** module directory explicitly (for example ++ *** "--with-python-modules=${python_prefix_tmp}"). ++ *** ++ ]) ++ else ++ pymoddirs="/usr/local/lib /usr/lib" ++ dnl -- Double-brackets to espace the real brackets ++ pymoddirsmore=`python -c "import sys; print (sys.prefix + '/lib/python' + sys.version[[:3]])"` ++ pymoddirs="$pymoddirs $pymoddirsmore" ++ AC_MSG_RESULT($pymoddirs) ++ fi + else + pymoddirs=$with_python_modules ++ AC_MSG_RESULT($pymoddirs) + fi +-AC_MSG_RESULT($pymoddirs) + + dnl --- + dnl a hack to support broken debian python installs +@@ -555,9 +588,9 @@ + AC_SUBST(ECA_S_PYTHON_MODULES) + AC_SUBST(ECA_S_PYTHON_DLMODULES) + +-dnl if test x$disable_pyecasound = xyes ; then compile_pyecasound=no ; fi +-AM_CONDITIONAL(ECA_AM_COMPILE_PYECASOUND, test x$compile_pyecasound = xyes) +-AM_CONDITIONAL(ECA_AM_HAVE_PYTHON, test x$python_support = xyes) ++dnl if test x$disable_pyecasound = xyes ; then pyecasound_support=no ; fi ++AM_CONDITIONAL(ECA_AM_PYECASOUND_CEXT, test x$pyecasound_support = xc) ++AM_CONDITIONAL(ECA_AM_PYECASOUND_INSTALL, test x$pyecasound_support != xnone) + + dnl ------------------------------------------------------------------ + +@@ -621,12 +654,12 @@ + case "$enableval" in + y | yes) + AC_MSG_RESULT(yes) +- termcap_library=yes ++ termcap_library=ncurses + ;; + + n | no) + AC_MSG_RESULT(no) +- termcap_library=no ++ termcap_library=none + ;; + + *) +@@ -788,8 +821,14 @@ + [AC_CHECK_HEADER(readline/history.h,, + AC_MSG_ERROR([*** readline history headers not installed ***]))]) + +- AC_CHECK_LIB(readline, main,, AC_MSG_ERROR([*** readline support not installed ***])) +- AC_CHECK_LIB(history, main,, AC_MSG_ERROR([*** readline history support not installed ***])) ++ if test x${termcap_library} = xnone; then ++ readline_extra_libs=""; ++ else ++ readline_extra_libs="-l${termcap_library}" ++ fi ++ ++ AC_CHECK_LIB(readline, main, readline_library="-lreadline", AC_MSG_ERROR([*** readline support not installed ***]), ${readline_extra_libs}) ++ AC_CHECK_LIB(history, main, readline_library="${readline_library} -lhistory", AC_MSG_ERROR([*** readline history support not installed ***]), ${readline_extra_libs}) + AC_SUBST(ECA_S_READLINE_INCLUDES) + else + AC_CONFIG_SUBDIRS(readline-4.0) +@@ -865,6 +904,9 @@ + AC_CHECK_FUNCS(sched_getparam) + AC_CHECK_FUNCS(sched_getscheduler) + AC_CHECK_FUNCS(sched_setscheduler) ++AC_CHECK_FUNCS(pthread_self) ++AC_CHECK_FUNCS(pthread_getschedparam) ++AC_CHECK_FUNCS(pthread_setschedparam) + AC_CHECK_FUNCS(sigprocmask) + AC_CHECK_FUNCS(sigwait) + +@@ -943,8 +985,12 @@ + echo "Following packages are now configured:" + echo "ecasound: yes (ecasound,libecasound,libecasoundc)" + echo "ecatools: yes" +-if test x$compile_pyecasound = xyes ; then +- echo "pyecasound: yes" ++if test x$pyecasound_support != xnone ; then ++ if test x$pyecasound_support = xc ; then ++ echo "pyecasound: yes (as Python C extension module)" ++ else ++ echo "pyecasound: yes (as native Python module)" ++ fi + else + echo "pyecasound: no" + fi +@@ -1011,7 +1057,7 @@ + echo "-----------------------------------------------------------------" + echo "Following directories are used:" + echo "Directory prefix: "$ECA_S_PREFIX +-if test x$compile_pyecasound = xyes ; then ++if test x$pyecasound_support != xnone ; then + echo "Python include dir: "$ECA_S_PYTHON_INCLUDES + echo "Python module dir: "$ECA_S_PYTHON_MODULES + fi diff --git a/audio/ecasound/files/patch-ecasound::eca-curses.cpp b/audio/ecasound/files/patch-ecasound::eca-curses.cpp deleted file mode 100644 index 6df405bec8ad..000000000000 --- a/audio/ecasound/files/patch-ecasound::eca-curses.cpp +++ /dev/null @@ -1,26 +0,0 @@ ---- ecasound/eca-curses.cpp.orig Thu Apr 3 19:52:32 2003 -+++ ecasound/eca-curses.cpp Thu Apr 3 19:54:32 2003 -@@ -114,11 +114,7 @@ - rl_readline_name = "ecasound"; - - /* we want to attempt completion first */ --#if RL_READLINE_VERSION >= 0x0402 - rl_attempted_completion_function = (rl_completion_func_t*)ecasound_completion; --#else -- rl_attempted_completion_function = (CPPFunction *)ecasound_completion; --#endif - } - - /* **************************************************************** */ -@@ -149,11 +145,7 @@ - /* complete only the first command, otherwise complete files in - * the current directory */ - if (start == 0) { --#if RL_READLINE_VERSION >= 0x0402 - matches = rl_completion_matches (text, (rl_compentry_func_t *)ecasound_command_generator); --#else -- matches = completion_matches (text, (CPFunction *)ecasound_command_generator); --#endif - } - return (matches); - } diff --git a/audio/ecasound/files/patch-pyecasound::Makefile.am b/audio/ecasound/files/patch-pyecasound::Makefile.am new file mode 100644 index 000000000000..1eea024577d4 --- /dev/null +++ b/audio/ecasound/files/patch-pyecasound::Makefile.am @@ -0,0 +1,65 @@ +=================================================================== +RCS file: /home/cvspsrv/cvsroot/sound/ecasound/pyecasound/Makefile.am,v +retrieving revision 1.28 +retrieving revision 1.29 +diff -u -r1.28 -r1.29 +--- pyecasound/Makefile.am 2003/04/02 20:13:52 1.28 ++++ pyecasound/Makefile.am 2003/05/30 01:50:40 1.29 +@@ -11,7 +11,7 @@ + ecasoundc_libs = -L$(top_builddir)/libecasoundc/.libs -lecasoundc + endif + +-if ECA_AM_HAVE_PYTHON ++if ECA_AM_PYECASOUND_INSTALL + pyecasound_install_list1 = $(srcdir)/eci.py \ + $(srcdir)/pyeca.py \ + $(srcdir)/ecacontrol.py +@@ -19,7 +19,7 @@ + $(DESTDIR)$(ECA_S_PYTHON_DLMODULES)/pyeca.py \ + $(DESTDIR)$(ECA_S_PYTHON_DLMODULES)/ecacontrol.py + endif +-if ECA_AM_COMPILE_PYECASOUND ++if ECA_AM_PYECASOUND_CEXT + pyecasound_install_list2 = pyecasound.so + pyecasound_uninstall_list2 = $(DESTDIR)$(ECA_S_PYTHON_DLMODULES)/pyecasound.so + endif +@@ -39,14 +39,14 @@ + # source files + # ---------------------------------------------------------------------- + +-if ECA_AM_COMPILE_PYECASOUND ++if ECA_AM_PYECASOUND_CEXT + noinst_LTLIBRARIES = libpyecasound.la + endif + + libpyecasound_la_SOURCES = pyecasound.c + libpyecasound_la_LDFLAGS = -avoid-version -export-dynamic + +-if ECA_AM_COMPILE_PYECASOUND ++if ECA_AM_PYECASOUND_CEXT + all: pyecasound.so + + pyecasound.so: pyecasound.lo +@@ -57,11 +57,11 @@ + # hooks + # ---------------------------------------------------------------------- + +-if ECA_AM_COMPILE_PYECASOUND ++if ECA_AM_PYECASOUND_CEXT + CLEANFILES=pyecasound.so + endif + +-if ECA_AM_HAVE_PYTHON ++if ECA_AM_PYECASOUND_INSTALL + install-exec-hook: $(pyecasound_install_list1) $(pyecasound_install_list2) + $(INSTALL) -d $(DESTDIR)$(ECA_S_PYTHON_DLMODULES) + $(INSTALL) $(pyecasound_install_list1) $(pyecasound_install_list2) $(DESTDIR)$(ECA_S_PYTHON_DLMODULES) +@@ -69,7 +69,7 @@ + install-exec-hook: + endif + +-if ECA_AM_HAVE_PYTHON ++if ECA_AM_PYECASOUND_INSTALL + uninstall-local: + rm -f $(pyecasound_uninstall_list1) $(pyecasound_uninstall_list2) + rmdir --ignore-fail-on-non-empty $(DESTDIR)$(ECA_S_PYTHON_DLMODULES) |