From 1fe3dda3c8d12b6126260ddfabe922fdb87e73fb Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 13 May 2010 00:57:25 +0200 Subject: audio/clam_networkeditor: Added to 13.0 repository --- audio/clam_networkeditor/README | 11 + .../clam_networkeditor.SlackBuild | 95 +++++++++ audio/clam_networkeditor/clam_networkeditor.info | 10 + audio/clam_networkeditor/compile_fix.diff | 226 +++++++++++++++++++++ audio/clam_networkeditor/doinst.sh | 4 + audio/clam_networkeditor/slack-desc | 19 ++ 6 files changed, 365 insertions(+) create mode 100644 audio/clam_networkeditor/README create mode 100644 audio/clam_networkeditor/clam_networkeditor.SlackBuild create mode 100644 audio/clam_networkeditor/clam_networkeditor.info create mode 100644 audio/clam_networkeditor/compile_fix.diff create mode 100644 audio/clam_networkeditor/doinst.sh create mode 100644 audio/clam_networkeditor/slack-desc (limited to 'audio') diff --git a/audio/clam_networkeditor/README b/audio/clam_networkeditor/README new file mode 100644 index 0000000000..184f207f5c --- /dev/null +++ b/audio/clam_networkeditor/README @@ -0,0 +1,11 @@ +clam_networkeditor (tool for editing CLAM processing networks) + +The CLAM Network Editor is a tool for editing CLAM processing networks. +Those processing networks can become the processing core of an application +by using the CLAM::NetworkPlayer class in your program or by using +the CLAM Prototyper to link the network to a Qt Designer interface. + +A CLAM processing network is a network of virtual audio components which +modify an audio signal (much like an effects processor). + +This requires clam. diff --git a/audio/clam_networkeditor/clam_networkeditor.SlackBuild b/audio/clam_networkeditor/clam_networkeditor.SlackBuild new file mode 100644 index 0000000000..6c8fa50c5d --- /dev/null +++ b/audio/clam_networkeditor/clam_networkeditor.SlackBuild @@ -0,0 +1,95 @@ +#!/bin/sh + +# Slackware build script for clam_networkeditor + +# Written by B. Watson (yalhcru@gmail.com) + +PRGNAM=clam_networkeditor +VERSION=${VERSION:-1.3.0} +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +fi + +SRCNAM=NetworkEditor + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG/usr $OUTPUT # NB: $PKG/usr must exist, not just $PKG +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +# If extra/kde3-compat/qt3 is installed, QTDIR will be set to +# /opt/kde/lib(64)?/qt3, which confuses the build process, so set it +# to the correct dir for Qt4. This does no harm on a system where qt3 +# is not installed. +# If you have qt3 installed and still have compilation issues, make sure +# /opt/kde3/lib(64)?/qt3/bin and/or /opt/kde3/bin are *NOT* in your PATH. +# If all else fails, removepkg qt3 and reinstall it afterwards. +export QTDIR=$QT4DIR + +patch -p1 < $CWD/compile_fix.diff + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ + scons \ + prefix=/usr \ + clam_prefix=/usr \ + qt_plugins_install_path=/lib$LIBDIRSUFFIX/qt/plugins/designer + +scons install prefix=$PKG/usr +strip $PKG/usr/bin/* +strip $PKG/usr/lib$LIBDIRSUFFIX/qt/plugins/designer/*.so + +mv $PKG/usr/share/man $PKG/usr/man +gzip $PKG/usr/man/man?/*.? + +# shipped .desktop files reference nonexistent icons +mkdir -p $PKG/usr/share/pixmaps + +cp src/images/NetworkEditor-icon.svg $PKG/usr/share/pixmaps +sed -i \ + 's,pixmaps/.*,pixmaps/NetworkEditor-icon.svg,' \ + $PKG/usr/share/applications/NetworkEditor.desktop + +cp src/images/Prototyper-icon.svg $PKG/usr/share/pixmaps +sed -i \ + 's,pixmaps/.*,pixmaps/Prototyper-icon.svg,' \ + $PKG/usr/share/applications/Prototyper.desktop + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGES README COPYING INSTALL \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/audio/clam_networkeditor/clam_networkeditor.info b/audio/clam_networkeditor/clam_networkeditor.info new file mode 100644 index 0000000000..16ef694ef9 --- /dev/null +++ b/audio/clam_networkeditor/clam_networkeditor.info @@ -0,0 +1,10 @@ +PRGNAM="clam_networkeditor" +VERSION="1.3.0" +HOMEPAGE="http://clam-project.org" +DOWNLOAD="http://clam-project.org/download/src/NetworkEditor-1.3.0.tar.gz" +MD5SUM="34aa522d4d2e9ac20e94039f03347108" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" +APPROVED="rworkman" diff --git a/audio/clam_networkeditor/compile_fix.diff b/audio/clam_networkeditor/compile_fix.diff new file mode 100644 index 0000000000..904d5e57df --- /dev/null +++ b/audio/clam_networkeditor/compile_fix.diff @@ -0,0 +1,226 @@ +diff -Naur NetworkEditor-1.3.0/src/clamWidgetsPlugin/CLAMWidgets.hxx NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/CLAMWidgets.hxx +--- NetworkEditor-1.3.0/src/clamWidgetsPlugin/CLAMWidgets.hxx 2006-10-03 14:32:09.000000000 -0400 ++++ NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/CLAMWidgets.hxx 2009-12-29 03:04:24.000000000 -0500 +@@ -1,5 +1,5 @@ + #include +-#include ++#include + #include + #include + +diff -Naur NetworkEditor-1.3.0/src/clamWidgetsPlugin/ChordRankingPlugin.hxx NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/ChordRankingPlugin.hxx +--- NetworkEditor-1.3.0/src/clamWidgetsPlugin/ChordRankingPlugin.hxx 2007-04-16 12:10:57.000000000 -0400 ++++ NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/ChordRankingPlugin.hxx 2009-12-29 03:04:24.000000000 -0500 +@@ -24,7 +24,7 @@ + #ifndef ChordRankingPlugin_hxx + #define ChordRankingPlugin_hxx + +-#include ++#include + + class ChordRankingPlugin : public QObject, + public QDesignerCustomWidgetInterface +diff -Naur NetworkEditor-1.3.0/src/clamWidgetsPlugin/ControlSurfaceWidgetPlugin.hxx NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/ControlSurfaceWidgetPlugin.hxx +--- NetworkEditor-1.3.0/src/clamWidgetsPlugin/ControlSurfaceWidgetPlugin.hxx 2007-04-20 04:46:36.000000000 -0400 ++++ NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/ControlSurfaceWidgetPlugin.hxx 2009-12-29 03:04:24.000000000 -0500 +@@ -24,7 +24,7 @@ + #ifndef ControlSurfaceWidgetPlugin_hxx + #define ControlSurfaceWidgetPlugin_hxx + +-#include ++#include + + class ControlSurfaceWidgetPlugin : public QObject, + public QDesignerCustomWidgetInterface +diff -Naur NetworkEditor-1.3.0/src/clamWidgetsPlugin/KeySpacePlugin.hxx NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/KeySpacePlugin.hxx +--- NetworkEditor-1.3.0/src/clamWidgetsPlugin/KeySpacePlugin.hxx 2007-04-16 12:10:57.000000000 -0400 ++++ NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/KeySpacePlugin.hxx 2009-12-29 03:04:24.000000000 -0500 +@@ -24,7 +24,7 @@ + #ifndef KeySpacePlugin_hxx + #define KeySpacePlugin_hxx + +-#include ++#include + + class KeySpacePlugin : public QObject, + public QDesignerCustomWidgetInterface +diff -Naur NetworkEditor-1.3.0/src/clamWidgetsPlugin/LPModelViewPlugin.hxx NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/LPModelViewPlugin.hxx +--- NetworkEditor-1.3.0/src/clamWidgetsPlugin/LPModelViewPlugin.hxx 2007-04-16 12:10:57.000000000 -0400 ++++ NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/LPModelViewPlugin.hxx 2009-12-29 03:04:24.000000000 -0500 +@@ -24,7 +24,7 @@ + #ifndef LPModelViewPlugin_hxx + #define LPModelViewPlugin_hxx + +-#include ++#include + + class LPModelViewPlugin : public QObject, + public QDesignerCustomWidgetInterface +diff -Naur NetworkEditor-1.3.0/src/clamWidgetsPlugin/MelCepstrumViewPlugin.hxx NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/MelCepstrumViewPlugin.hxx +--- NetworkEditor-1.3.0/src/clamWidgetsPlugin/MelCepstrumViewPlugin.hxx 2007-04-16 12:10:57.000000000 -0400 ++++ NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/MelCepstrumViewPlugin.hxx 2009-12-29 03:04:24.000000000 -0500 +@@ -24,7 +24,7 @@ + #ifndef MelCepstrumViewPlugin_hxx + #define MelCepstrumViewPlugin_hxx + +-#include ++#include + + class MelCepstrumViewPlugin : public QObject, + public QDesignerCustomWidgetInterface +diff -Naur NetworkEditor-1.3.0/src/clamWidgetsPlugin/MelSpectrumViewPlugin.hxx NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/MelSpectrumViewPlugin.hxx +--- NetworkEditor-1.3.0/src/clamWidgetsPlugin/MelSpectrumViewPlugin.hxx 2007-04-16 12:10:57.000000000 -0400 ++++ NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/MelSpectrumViewPlugin.hxx 2009-12-29 03:04:24.000000000 -0500 +@@ -24,7 +24,7 @@ + #ifndef MelSpectrumViewPlugin_hxx + #define MelSpectrumViewPlugin_hxx + +-#include ++#include + + class MelSpectrumViewPlugin : public QObject, + public QDesignerCustomWidgetInterface +diff -Naur NetworkEditor-1.3.0/src/clamWidgetsPlugin/OscilloscopePlugin.hxx NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/OscilloscopePlugin.hxx +--- NetworkEditor-1.3.0/src/clamWidgetsPlugin/OscilloscopePlugin.hxx 2007-04-16 12:10:57.000000000 -0400 ++++ NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/OscilloscopePlugin.hxx 2009-12-29 03:04:24.000000000 -0500 +@@ -24,7 +24,7 @@ + #ifndef OscilloscopePlugin_hxx + #define OscilloscopePlugin_hxx + +-#include ++#include + + class OscilloscopePlugin : public QObject, + public QDesignerCustomWidgetInterface +diff -Naur NetworkEditor-1.3.0/src/clamWidgetsPlugin/PeakViewPlugin.hxx NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/PeakViewPlugin.hxx +--- NetworkEditor-1.3.0/src/clamWidgetsPlugin/PeakViewPlugin.hxx 2007-04-16 12:10:57.000000000 -0400 ++++ NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/PeakViewPlugin.hxx 2009-12-29 03:04:24.000000000 -0500 +@@ -24,7 +24,7 @@ + #ifndef PeakViewPlugin_hxx + #define PeakViewPlugin_hxx + +-#include ++#include + + class PeakViewPlugin : public QObject, + public QDesignerCustomWidgetInterface +diff -Naur NetworkEditor-1.3.0/src/clamWidgetsPlugin/PixmapWidgetsPlugin.hxx NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/PixmapWidgetsPlugin.hxx +--- NetworkEditor-1.3.0/src/clamWidgetsPlugin/PixmapWidgetsPlugin.hxx 2007-04-16 12:10:57.000000000 -0400 ++++ NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/PixmapWidgetsPlugin.hxx 2009-12-29 03:04:24.000000000 -0500 +@@ -24,7 +24,7 @@ + #ifndef PixmapSliderPlugin_hxx + #define PixmapSliderPlugin_hxx + +-#include ++#include + + class PixmapSliderPlugin : public QObject, + public QDesignerCustomWidgetInterface +diff -Naur NetworkEditor-1.3.0/src/clamWidgetsPlugin/PolarChromaPeaksPlugin.hxx NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/PolarChromaPeaksPlugin.hxx +--- NetworkEditor-1.3.0/src/clamWidgetsPlugin/PolarChromaPeaksPlugin.hxx 2007-04-16 12:10:57.000000000 -0400 ++++ NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/PolarChromaPeaksPlugin.hxx 2009-12-29 03:04:24.000000000 -0500 +@@ -24,7 +24,7 @@ + #ifndef PolarChromaPeaksPlugin_hxx + #define PolarChromaPeaksPlugin_hxx + +-#include ++#include + + class PolarChromaPeaksPlugin : public QObject, + public QDesignerCustomWidgetInterface +diff -Naur NetworkEditor-1.3.0/src/clamWidgetsPlugin/ProgressControlWidgetPlugin.hxx NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/ProgressControlWidgetPlugin.hxx +--- NetworkEditor-1.3.0/src/clamWidgetsPlugin/ProgressControlWidgetPlugin.hxx 2008-07-08 11:36:21.000000000 -0400 ++++ NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/ProgressControlWidgetPlugin.hxx 2009-12-29 03:04:24.000000000 -0500 +@@ -24,7 +24,7 @@ + #ifndef ProgressControlWidgetPlugin_hxx + #define ProgressControlWidgetPlugin_hxx + +-#include ++#include + + class ProgressControlWidgetPlugin : public QObject, + public QDesignerCustomWidgetInterface +diff -Naur NetworkEditor-1.3.0/src/clamWidgetsPlugin/QFirstPersonPlugin.hxx NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/QFirstPersonPlugin.hxx +--- NetworkEditor-1.3.0/src/clamWidgetsPlugin/QFirstPersonPlugin.hxx 2008-03-11 21:24:12.000000000 -0400 ++++ NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/QFirstPersonPlugin.hxx 2009-12-29 03:04:24.000000000 -0500 +@@ -24,7 +24,7 @@ + #ifndef QFirstPersonPlugin_hxx + #define QFirstPersonPlugin_hxx + +-#include ++#include + + class QFirstPersonPlugin : public QObject, + public QDesignerCustomWidgetInterface +diff -Naur NetworkEditor-1.3.0/src/clamWidgetsPlugin/QSynthKnobPlugin.hxx NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/QSynthKnobPlugin.hxx +--- NetworkEditor-1.3.0/src/clamWidgetsPlugin/QSynthKnobPlugin.hxx 2007-04-16 12:10:57.000000000 -0400 ++++ NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/QSynthKnobPlugin.hxx 2009-12-29 03:04:24.000000000 -0500 +@@ -24,7 +24,7 @@ + #ifndef QSynthKnobPlugin_hxx + #define QSynthKnobPlugin_hxx + +-#include ++#include + + class QSynthKnobPlugin : public QObject, + public QDesignerCustomWidgetInterface +diff -Naur NetworkEditor-1.3.0/src/clamWidgetsPlugin/SegmentationViewPlugin.hxx NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/SegmentationViewPlugin.hxx +--- NetworkEditor-1.3.0/src/clamWidgetsPlugin/SegmentationViewPlugin.hxx 2008-07-28 05:50:33.000000000 -0400 ++++ NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/SegmentationViewPlugin.hxx 2009-12-29 03:04:24.000000000 -0500 +@@ -24,7 +24,7 @@ + #ifndef SegmentationViewPlugin_hxx + #define SegmentationViewPlugin_hxx + +-#include ++#include + + class SegmentationViewPlugin : public QObject, + public QDesignerCustomWidgetInterface +diff -Naur NetworkEditor-1.3.0/src/clamWidgetsPlugin/SpectrogramPlugin.hxx NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/SpectrogramPlugin.hxx +--- NetworkEditor-1.3.0/src/clamWidgetsPlugin/SpectrogramPlugin.hxx 2007-08-13 23:08:23.000000000 -0400 ++++ NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/SpectrogramPlugin.hxx 2009-12-29 03:04:24.000000000 -0500 +@@ -24,7 +24,7 @@ + #ifndef SpectrogramPlugin_hxx + #define SpectrogramPlugin_hxx + +-#include ++#include + + class SpectrogramPlugin : public QObject, + public QDesignerCustomWidgetInterface +diff -Naur NetworkEditor-1.3.0/src/clamWidgetsPlugin/SpectrumViewPlugin.hxx NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/SpectrumViewPlugin.hxx +--- NetworkEditor-1.3.0/src/clamWidgetsPlugin/SpectrumViewPlugin.hxx 2007-04-16 12:10:57.000000000 -0400 ++++ NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/SpectrumViewPlugin.hxx 2009-12-29 03:04:24.000000000 -0500 +@@ -24,7 +24,7 @@ + #ifndef SpectrumViewPlugin_hxx + #define SpectrumViewPlugin_hxx + +-#include ++#include + + class SpectrumViewPlugin : public QObject, + public QDesignerCustomWidgetInterface +diff -Naur NetworkEditor-1.3.0/src/clamWidgetsPlugin/TonnetzPlugin.hxx NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/TonnetzPlugin.hxx +--- NetworkEditor-1.3.0/src/clamWidgetsPlugin/TonnetzPlugin.hxx 2007-04-16 12:10:57.000000000 -0400 ++++ NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/TonnetzPlugin.hxx 2009-12-29 03:04:24.000000000 -0500 +@@ -24,7 +24,7 @@ + #ifndef TonnetzPlugin_hxx + #define TonnetzPlugin_hxx + +-#include ++#include + + class TonnetzPlugin : public QObject, + public QDesignerCustomWidgetInterface +diff -Naur NetworkEditor-1.3.0/src/clamWidgetsPlugin/VumeterPlugin.hxx NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/VumeterPlugin.hxx +--- NetworkEditor-1.3.0/src/clamWidgetsPlugin/VumeterPlugin.hxx 2007-04-16 12:10:57.000000000 -0400 ++++ NetworkEditor-1.3.0.patched/src/clamWidgetsPlugin/VumeterPlugin.hxx 2009-12-29 03:04:24.000000000 -0500 +@@ -24,7 +24,7 @@ + #ifndef VumeterPlugin_hxx + #define VumeterPlugin_hxx + +-#include ++#include + + class VumeterPlugin : public QObject, + public QDesignerCustomWidgetInterface diff --git a/audio/clam_networkeditor/doinst.sh b/audio/clam_networkeditor/doinst.sh new file mode 100644 index 0000000000..4e8ba7071d --- /dev/null +++ b/audio/clam_networkeditor/doinst.sh @@ -0,0 +1,4 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + diff --git a/audio/clam_networkeditor/slack-desc b/audio/clam_networkeditor/slack-desc new file mode 100644 index 0000000000..900c977176 --- /dev/null +++ b/audio/clam_networkeditor/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +clam_networkeditor: clam_networkeditor (tool for editing CLAM processing networks) +clam_networkeditor: +clam_networkeditor: The CLAM Network Editor is a tool for editing CLAM processing networks. +clam_networkeditor: Those processing networks can become the processing core of an +clam_networkeditor: application by using the CLAM::NetworkPlayer class in your program +clam_networkeditor: or by using the CLAM Prototyper to link the network to a Qt Designer +clam_networkeditor: interface. +clam_networkeditor: +clam_networkeditor: +clam_networkeditor: +clam_networkeditor: -- cgit v1.2.3