audio/clam_networkeditor: Added to 13.0 repository

This commit is contained in:
B. Watson 2010-05-13 00:57:25 +02:00 committed by Robby Workman
parent 758504090a
commit 1fe3dda3c8
6 changed files with 365 additions and 0 deletions

View file

@ -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.

View file

@ -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}

View file

@ -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"

View file

@ -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 <QtDesigner/QDesignerContainerExtension>
-#include <QtDesigner/QDesignerCustomWidgetInterface>
+#include <QDesignerCustomWidgetInterface>
#include <QtDesigner/QDesignerCustomWidgetCollectionInterface>
#include <QtCore/QtPlugin>
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 <QtDesigner/QDesignerCustomWidgetInterface>
+#include <QDesignerCustomWidgetInterface>
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 <QtDesigner/QDesignerCustomWidgetInterface>
+#include <QDesignerCustomWidgetInterface>
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 <QtDesigner/QDesignerCustomWidgetInterface>
+#include <QDesignerCustomWidgetInterface>
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 <QtDesigner/QDesignerCustomWidgetInterface>
+#include <QDesignerCustomWidgetInterface>
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 <QtDesigner/QDesignerCustomWidgetInterface>
+#include <QDesignerCustomWidgetInterface>
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 <QtDesigner/QDesignerCustomWidgetInterface>
+#include <QDesignerCustomWidgetInterface>
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 <QtDesigner/QDesignerCustomWidgetInterface>
+#include <QDesignerCustomWidgetInterface>
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 <QtDesigner/QDesignerCustomWidgetInterface>
+#include <QDesignerCustomWidgetInterface>
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 <QtDesigner/QDesignerCustomWidgetInterface>
+#include <QDesignerCustomWidgetInterface>
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 <QtDesigner/QDesignerCustomWidgetInterface>
+#include <QDesignerCustomWidgetInterface>
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 <QtDesigner/QDesignerCustomWidgetInterface>
+#include <QDesignerCustomWidgetInterface>
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 <QtDesigner/QDesignerCustomWidgetInterface>
+#include <QDesignerCustomWidgetInterface>
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 <QtDesigner/QDesignerCustomWidgetInterface>
+#include <QDesignerCustomWidgetInterface>
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 <QtDesigner/QDesignerCustomWidgetInterface>
+#include <QDesignerCustomWidgetInterface>
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 <QtDesigner/QDesignerCustomWidgetInterface>
+#include <QDesignerCustomWidgetInterface>
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 <QtDesigner/QDesignerCustomWidgetInterface>
+#include <QDesignerCustomWidgetInterface>
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 <QtDesigner/QDesignerCustomWidgetInterface>
+#include <QDesignerCustomWidgetInterface>
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 <QtDesigner/QDesignerCustomWidgetInterface>
+#include <QDesignerCustomWidgetInterface>
class VumeterPlugin : public QObject,
public QDesignerCustomWidgetInterface

View file

@ -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

View file

@ -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: