diff options
author | skrll <skrll@pkgsrc.org> | 2002-05-31 15:02:58 +0000 |
---|---|---|
committer | skrll <skrll@pkgsrc.org> | 2002-05-31 15:02:58 +0000 |
commit | dfe38b91343ea1c872b946eb8743027902bf1834 (patch) | |
tree | 41a97e75824e50fa0aaaba9d5b13ff8145efce73 /audio/arts | |
parent | d81aa19f203284e08d8a9ff900cf135e4088f5c1 (diff) | |
download | pkgsrc-dfe38b91343ea1c872b946eb8743027902bf1834.tar.gz |
Initial import of an arts-1.0.1 package. (Nearly forgot)
Diffstat (limited to 'audio/arts')
-rw-r--r-- | audio/arts/DESCR | 5 | ||||
-rw-r--r-- | audio/arts/Makefile | 30 | ||||
-rw-r--r-- | audio/arts/PLIST | 160 | ||||
-rw-r--r-- | audio/arts/buildlink.mk | 49 | ||||
-rw-r--r-- | audio/arts/distinfo | 10 | ||||
-rw-r--r-- | audio/arts/patches/patch-aa | 13 | ||||
-rw-r--r-- | audio/arts/patches/patch-ab | 68 | ||||
-rw-r--r-- | audio/arts/patches/patch-ac | 22 | ||||
-rw-r--r-- | audio/arts/patches/patch-ad | 13 | ||||
-rw-r--r-- | audio/arts/patches/patch-ae | 22 | ||||
-rw-r--r-- | audio/arts/patches/patch-af | 14 |
11 files changed, 406 insertions, 0 deletions
diff --git a/audio/arts/DESCR b/audio/arts/DESCR new file mode 100644 index 00000000000..bbe8e1016a9 --- /dev/null +++ b/audio/arts/DESCR @@ -0,0 +1,5 @@ +The Analog Real-Time Synthesizer, or aRts, is a modular system for synthesizing +sound and music on a digital computer. Using small building blocks called +modules, the user can easily build complex audio processing tools. Modules +typically provide functions such as sound waveform generators, filters, audio +effects, mixing, and playback of digital audio in different file formats. diff --git a/audio/arts/Makefile b/audio/arts/Makefile new file mode 100644 index 00000000000..0c38b69ffa2 --- /dev/null +++ b/audio/arts/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/05/31 15:02:58 skrll Exp $ + +DISTNAME= arts-1.0.1 +CATEGORIES= audio +COMMENT= Analog Real-Time Synthesizer + +.include "../../x11/kde3/Makefile.kde3" + +CONFLICTS+= kdelibs-2* + +USE_BUILDLINK_ONLY= yes + +LIBTOOL_OVERRIDE+= ${WRKSRC}/libltdl/libtool + +USE_PTHREAD= native pth-syscall +.include "../../mk/bsd.prefs.mk" + +.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none" +CONFIGURE_ARGS+= --disable-threading +.endif + +.if ${OPSYS} == "NetBSD" +LIBS+= -Wl,--export-dynamic +.endif + +.include "../../audio/libaudiofile/buildlink.mk" +.include "../../mk/pthread.buildlink.mk" +.include "../../x11/kde3/buildlink.mk" +.include "../../mk/x11.buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/arts/PLIST b/audio/arts/PLIST new file mode 100644 index 00000000000..3bbf39b1e5b --- /dev/null +++ b/audio/arts/PLIST @@ -0,0 +1,160 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/31 15:02:58 skrll Exp $ +bin/artsc-config +bin/artscat +bin/artsd +bin/artsdsp +bin/artsplay +bin/artsrec +bin/artsshell +bin/artswrapper +bin/mcopidl +include/arts/anyref.h +include/arts/artsflow.h +include/arts/artsflow.idl +include/arts/artsversion.h +include/arts/asyncstream.h +include/arts/audioio.h +include/arts/audiosubsys.h +include/arts/buffer.h +include/arts/bufferqueue.h +include/arts/cache.h +include/arts/cachedwav.h +include/arts/common.h +include/arts/connect.h +include/arts/connection.h +include/arts/convert.h +include/arts/core.h +include/arts/core.idl +include/arts/cpuinfo.h +include/arts/datapacket.h +include/arts/debug.h +include/arts/delayedreturn.h +include/arts/dispatcher.h +include/arts/dynamicrequest.h +include/arts/dynamicskeleton.h +include/arts/extensionloader.h +include/arts/factory.h +include/arts/fft.h +include/arts/flowsystem.h +include/arts/idlfilereg.h +include/arts/ifacerepo_impl.h +include/arts/iomanager.h +include/arts/kmedia2.h +include/arts/kmedia2.idl +include/arts/mcopconfig.h +include/arts/mcoputils.h +include/arts/notification.h +include/arts/object.h +include/arts/objectmanager.h +include/arts/pipebuffer.h +include/arts/pool.h +include/arts/qiomanager.h +include/arts/reference.h +include/arts/referenceclean.h +include/arts/resample.h +include/arts/socketconnection.h +include/arts/soundserver.h +include/arts/soundserver.idl +include/arts/startupmanager.h +include/arts/stdsynthmodule.h +include/arts/synthschedule.h +include/arts/tcpconnection.h +include/arts/tcpserver.h +include/arts/thread.h +include/arts/type.h +include/arts/unixconnection.h +include/arts/unixserver.h +include/arts/weakreference.h +include/artsc/artsc.h +lib/libartsc.a +lib/libartsc.la +lib/libartsc.so +lib/libartsc.so.0 +lib/libartsc.so.0.0 +lib/libartscbackend.a +lib/libartscbackend.la +lib/libartscbackend.so +lib/libartscbackend.so.0 +lib/libartscbackend.so.0.0 +lib/libartsdsp.a +lib/libartsdsp.la +lib/libartsdsp.so +lib/libartsdsp.so.0 +lib/libartsdsp.so.0.0 +lib/libartsdsp_st.a +lib/libartsdsp_st.la +lib/libartsdsp_st.so +lib/libartsdsp_st.so.0 +lib/libartsdsp_st.so.0.0 +lib/libartsflow.a +lib/libartsflow.la +lib/libartsflow.so +lib/libartsflow.so.1 +lib/libartsflow.so.1.0 +lib/libartsflow_idl.a +lib/libartsflow_idl.la +lib/libartsflow_idl.so +lib/libartsflow_idl.so.1 +lib/libartsflow_idl.so.1.0 +lib/libartswavplayobject.a +lib/libartswavplayobject.la +lib/libartswavplayobject.so +lib/libartswavplayobject.so.0 +lib/libartswavplayobject.so.0.0 +lib/libkmedia2.a +lib/libkmedia2.la +lib/libkmedia2.so +lib/libkmedia2.so.1 +lib/libkmedia2.so.1.0 +lib/libkmedia2_idl.a +lib/libkmedia2_idl.la +lib/libkmedia2_idl.so +lib/libkmedia2_idl.so.1 +lib/libkmedia2_idl.so.1.0 +lib/libmcop.a +lib/libmcop.la +lib/libmcop.so +lib/libmcop.so.1 +lib/libmcop.so.1.0 +lib/libqtmcop.a +lib/libqtmcop.la +lib/libqtmcop.so +lib/libqtmcop.so.1 +lib/libqtmcop.so.1.0 +lib/libsoundserver_idl.a +lib/libsoundserver_idl.la +lib/libsoundserver_idl.so +lib/libsoundserver_idl.so.1 +lib/libsoundserver_idl.so.1.0 +lib/libx11globalcomm.a +lib/libx11globalcomm.la +lib/libx11globalcomm.so +lib/libx11globalcomm.so.1 +lib/libx11globalcomm.so.1.0 +lib/mcop/Arts/FileInputStream.mcopclass +lib/mcop/Arts/Synth_ADD.mcopclass +lib/mcop/Arts/Synth_AMAN_PLAY.mcopclass +lib/mcop/Arts/Synth_AMAN_RECORD.mcopclass +lib/mcop/Arts/Synth_BUS_DOWNLINK.mcopclass +lib/mcop/Arts/Synth_BUS_UPLINK.mcopclass +lib/mcop/Arts/Synth_FREQUENCY.mcopclass +lib/mcop/Arts/Synth_MUL.mcopclass +lib/mcop/Arts/Synth_MULTI_ADD.mcopclass +lib/mcop/Arts/Synth_PLAY.mcopclass +lib/mcop/Arts/Synth_PLAY_WAV.mcopclass +lib/mcop/Arts/Synth_RECORD.mcopclass +lib/mcop/Arts/Synth_WAVE_SIN.mcopclass +lib/mcop/Arts/WavPlayObject.mcopclass +lib/mcop/Arts/X11GlobalComm.mcopclass +lib/mcop/artsflow.mcopclass +lib/mcop/artsflow.mcoptype +lib/mcop/kmedia2.mcopclass +lib/mcop/kmedia2.mcoptype +lib/mcop/soundserver.mcopclass +lib/mcop/soundserver.mcoptype +lib/mcop/x11globalcomm.mcopclass +lib/mcop/x11globalcomm.mcoptype +@dirrm lib/mcop/Arts +@dirrm lib/mcop +@dirrm include/artsc +@dirrm include/arts diff --git a/audio/arts/buildlink.mk b/audio/arts/buildlink.mk new file mode 100644 index 00000000000..6d56935f6fa --- /dev/null +++ b/audio/arts/buildlink.mk @@ -0,0 +1,49 @@ +# $NetBSD: buildlink.mk,v 1.1.1.1 2002/05/31 15:02:58 skrll Exp $ +# +# This Makefile fragment is included by packages that use arts. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.arts to the dependency pattern +# for the version of arts desired. +# (2) Include this Makefile fragment in the package Makefile, +# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header +# search path, and +# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search +# path. + +.if !defined(ARTS_BUILDLINK_MK) +ARTS_BUILDLINK_MK= # defined + +.include "../../mk/bsd.buildlink.mk" + +BUILDLINK_DEPENDS.arts?= arts>=1.0.0 +DEPENDS+= ${BUILDLINK_DEPENDS.arts}:../../audio/arts + +EVAL_PREFIX+= BUILDLINK_PREFIX.arts=arts +BUILDLINK_PREFIX.arts_DEFAULT= ${X11BASE} + +BUILDLINK_FILES.arts!= ${GREP} "^\(include\|lib\)" ${.CURDIR}/../../audio/arts/PLIST + +BUILDLINK_TARGETS.arts= arts-buildlink +BUILDLINK_TARGETS.arts+= artsc-buildlink-config-wrapper +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.arts} + +BUILDLINK_CONFIG.artsc= \ + ${BUILDLINK_PREFIX.arts}/bin/artsc-config +BUILDLINK_CONFIG_WRAPPER.artsc= \ + ${BUILDLINK_DIR}/bin/artsc-config +REPLACE_BUILDLINK_SED+= \ + -e "s|${BUILDLINK_CONFIG_WRAPPER.artsc}|${BUILDLINK_CONFIG.artsc}|g" + +.if defined(USE_CONFIG_WRAPPER) +ARTSC_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.artsc} +CONFIGURE_ENV+= ARTSC_CONFIG="${ARTSC_CONFIG}" +MAKE_ENV+= ARTSC_CONFIG="${ARTSC_CONFIG}" +.endif + +pre-configure: ${BUILDLINK_TARGETS.arts} +arts-buildlink: _BUILDLINK_USE +artsc-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE + +.endif # ARTS_BUILDLINK_MK diff --git a/audio/arts/distinfo b/audio/arts/distinfo new file mode 100644 index 00000000000..8704799e136 --- /dev/null +++ b/audio/arts/distinfo @@ -0,0 +1,10 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/05/31 15:02:58 skrll Exp $ + +SHA1 (arts-1.0.1.tar.bz2) = 88e845d9fa588a254e0e98bcc5391d92722bcdc2 +Size (arts-1.0.1.tar.bz2) = 1018246 bytes +SHA1 (patch-aa) = 23dd79c83f7e0905cef66e002387f44c18438fed +SHA1 (patch-ab) = c18aa3dbb98d916cba99da03e51d53ee72649e9e +SHA1 (patch-ac) = cd5cd30ff4d35de2a11a05e475dfaf5e1fb36f24 +SHA1 (patch-ad) = f030e7f34e4c32d0df6e1c0bcdb9e1bd82e687c5 +SHA1 (patch-ae) = 4913eab125a37e2cb95d1574cad5c7eb84e80956 +SHA1 (patch-af) = 9a130ccd7f56656bb55e2c5edf223c38c69be591 diff --git a/audio/arts/patches/patch-aa b/audio/arts/patches/patch-aa new file mode 100644 index 00000000000..7ab9936e95c --- /dev/null +++ b/audio/arts/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/05/31 15:02:58 skrll Exp $ + +--- Makefile.in.orig Wed May 8 19:59:26 2002 ++++ Makefile.in +@@ -271,7 +271,7 @@ + x_libraries = @x_libraries@ + + AUTOMAKE_OPTIONS = foreign 1.4 +-COMPILE_FIRST = libltdl mcop mcopidl flow mcop_mt soundserver artsc examples tests doc ++COMPILE_FIRST = libltdl mcop mcopidl flow soundserver artsc examples tests doc + SUBDIRS = $(COMPILE_FIRST) $(TOPSUBDIRS) + EXTRA_DIST = admin + subdir = . diff --git a/audio/arts/patches/patch-ab b/audio/arts/patches/patch-ab new file mode 100644 index 00000000000..7a20237a747 --- /dev/null +++ b/audio/arts/patches/patch-ab @@ -0,0 +1,68 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/05/31 15:02:58 skrll Exp $ + +--- artsc/artsdsp.c.orig Fri Jul 27 11:49:53 2001 ++++ artsc/artsdsp.c +@@ -127,6 +127,9 @@ + + static void artsdsp_doinit() + { ++#if defined(__NetBSD__) ++ void *handle; ++#endif + const char *env; + artsdsp_init = 1; + +@@ -139,6 +142,18 @@ + mmapemu = env && !strcmp(env,"1"); + + /* resolve original symbols */ ++#if defined(__NetBSD__) ++ handle = dlopen(NULL, DL_LAZY); ++ orig_open = (orig_open_ptr)dlsym(handle,"open"); ++ orig_close = (orig_close_ptr)dlsym(handle,"close"); ++ orig_write = (orig_write_ptr)dlsym(handle,"write"); ++ orig_ioctl = (orig_ioctl_ptr)dlsym(handle,"_oss_ioctl"); ++ orig_mmap = (orig_mmap_ptr)dlsym(handle,"mmap"); ++ orig_munmap = (orig_munmap_ptr)dlsym(handle,"munmap"); ++ orig_fopen = (orig_fopen_ptr)dlsym(handle,"fopen"); ++ orig_access = (orig_access_ptr)dlsym(handle,"access"); ++ (void) dlclose(handle); ++#else + orig_open = (orig_open_ptr)dlsym(RTLD_NEXT,"open"); + orig_close = (orig_close_ptr)dlsym(RTLD_NEXT,"close"); + orig_write = (orig_write_ptr)dlsym(RTLD_NEXT,"write"); +@@ -147,6 +162,7 @@ + orig_munmap = (orig_munmap_ptr)dlsym(RTLD_NEXT,"munmap"); + orig_fopen = (orig_fopen_ptr)dlsym(RTLD_NEXT,"fopen"); + orig_access = (orig_access_ptr)dlsym(RTLD_NEXT,"access"); ++#endif + } + + static void artsdspdebug(const char *fmt,...) +@@ -230,13 +246,18 @@ + return sndfd; + } + ++#if defined(__NetBSD__) ++int _oss_ioctl (int fd, unsigned long request, void *argp) ++#else + int ioctl (int fd, ioctl_request_t request, ...) ++#endif + { + static int channels; + static int bits; + static int speed; + int space, size, latency, odelay; + ++#if !defined(__NetBSD__) + /* + * FreeBSD needs ioctl with varargs. However I have no idea how to "forward" + * the variable args ioctl to the orig_ioctl routine. So I expect the ioctl +@@ -248,6 +269,7 @@ + va_start(args,request); + argp = va_arg(args, void *); + va_end(args); ++#endif + + CHECK_INIT(); + diff --git a/audio/arts/patches/patch-ac b/audio/arts/patches/patch-ac new file mode 100644 index 00000000000..481fc95c8ff --- /dev/null +++ b/audio/arts/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/05/31 15:02:58 skrll Exp $ + +--- flow/cpuinfo.cc.orig Wed May 8 19:57:52 2002 ++++ flow/cpuinfo.cc +@@ -204,6 +204,9 @@ + : /* no input */ + : "memory" + ); ++#if defined(__NetBSD__) ++ CpuInfo::s_flags = 0; ++#else + // SSE must be supported by the OS, if it's not, any SSE insn will + // trigger an invalid opcode exception, to check for this, a SIGILL + // handler is installed and a SSE insn run. If the handler is called, +@@ -226,6 +229,7 @@ + } + signal(SIGILL, oldHandler); + } ++#endif + #endif /* HAVE_X86_SSE */ + } + diff --git a/audio/arts/patches/patch-ad b/audio/arts/patches/patch-ad new file mode 100644 index 00000000000..de6e0336b97 --- /dev/null +++ b/audio/arts/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 2002/05/31 15:02:58 skrll Exp $ + +--- soundserver/Makefile.am.orig Wed May 8 19:57:54 2002 ++++ soundserver/Makefile.am +@@ -45,7 +45,7 @@ + bin_PROGRAMS = artsd artsplay artscat artswrapper artsshell artsrec + + artsd_LDADD = libsoundserver_idl.la $(FLOWLIBS) \ +- $(top_builddir)/mcop_mt/libmcop_mt.la $(USE_THREADS) ++ $(top_builddir)/mcop/libmcop.la $(USE_THREADS) + artsd_SOURCES = soundserverv2_impl.cc soundserver_impl.cc simplesoundserver_impl.cc artsd.cc cpuusage.cc samplestorage_impl.cc + + artscat_LDADD = libsoundserver_idl.la $(FLOWLIBS) diff --git a/audio/arts/patches/patch-ae b/audio/arts/patches/patch-ae new file mode 100644 index 00000000000..72bf0475a22 --- /dev/null +++ b/audio/arts/patches/patch-ae @@ -0,0 +1,22 @@ +$NetBSD: patch-ae,v 1.1.1.1 2002/05/31 15:02:58 skrll Exp $ + +--- soundserver/Makefile.in.orig Wed May 8 19:59:27 2002 ++++ soundserver/Makefile.in +@@ -303,7 +303,7 @@ + bin_PROGRAMS = artsd artsplay artscat artswrapper artsshell artsrec + + artsd_LDADD = libsoundserver_idl.la $(FLOWLIBS) \ +- $(top_builddir)/mcop_mt/libmcop_mt.la $(USE_THREADS) ++ $(top_builddir)/mcop/libmcop.la $(USE_THREADS) + + artsd_SOURCES = soundserverv2_impl.cc soundserver_impl.cc simplesoundserver_impl.cc artsd.cc cpuusage.cc samplestorage_impl.cc + +@@ -395,7 +395,7 @@ + @KDE_USE_FINAL_TRUE@artsd_OBJECTS = $(artsd_final_OBJECTS) + artsd_DEPENDENCIES = libsoundserver_idl.la \ + $(top_builddir)/flow/libartsflow.la \ +- $(top_builddir)/mcop_mt/libmcop_mt.la ++ $(top_builddir)/mcop/libmcop.la + artsd_LDFLAGS = + am_artsplay_OBJECTS = artsplay.$(OBJEXT) + #>- artsplay_OBJECTS = $(am_artsplay_OBJECTS) diff --git a/audio/arts/patches/patch-af b/audio/arts/patches/patch-af new file mode 100644 index 00000000000..1a002600c4e --- /dev/null +++ b/audio/arts/patches/patch-af @@ -0,0 +1,14 @@ +$NetBSD: patch-af,v 1.1.1.1 2002/05/31 15:02:58 skrll Exp $ + +--- flow/gsl/gslcommon.c.orig Thu May 30 13:24:35 2002 ++++ flow/gsl/gslcommon.c +@@ -23,7 +23,9 @@ + #include <fcntl.h> + #include <sys/utsname.h> + #include <string.h> ++#if !defined(__NetBSD__) + #include <sched.h> ++#endif + #include <errno.h> + #include <sys/poll.h> + #include <sys/stat.h> |