summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-03 01:32:43 +0000
committerDavid Robillard <d@drobilla.net>2008-10-03 01:32:43 +0000
commitf6486f7a6fbbf80c0c68e3cb0a3ae0b4f62a24cc (patch)
treed9b457aa27a811888d3fe9637b412094e303befa
parent0cb30e720eee2577f1602d53ac9d9e99b70841ee (diff)
downloadpatchage-f6486f7a6fbbf80c0c68e3cb0a3ae0b4f62a24cc.tar.gz
patchage-f6486f7a6fbbf80c0c68e3cb0a3ae0b4f62a24cc.tar.bz2
patchage-f6486f7a6fbbf80c0c68e3cb0a3ae0b4f62a24cc.zip
Good riddance.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1602 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--Makefile.am16
-rwxr-xr-xautogen.sh11
-rw-r--r--configure.ac214
-rw-r--r--debian-sid/Makefile.am8
-rw-r--r--icons/16x16/Makefile.am3
-rw-r--r--icons/22x22/Makefile.am3
-rw-r--r--icons/24x24/Makefile.am3
-rw-r--r--icons/32x32/Makefile.am3
-rw-r--r--icons/48x48/Makefile.am3
-rw-r--r--icons/Makefile.am14
-rw-r--r--icons/scalable/Makefile.am3
-rw-r--r--src/Makefile.am63
12 files changed, 0 insertions, 344 deletions
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index 82b1756..0000000
--- a/Makefile.am
+++ /dev/null
@@ -1,16 +0,0 @@
-SUBDIRS = src icons debian-sid
-
-desktopfilesdir = $(datadir)/applications
-dist_desktopfiles_DATA = patchage.desktop
-
-docs: Doxyfile src/*.h src/*.cpp
- doxygen
-
-deb:
- if [ -e debian ]; then \
- echo "ERROR: ./debian exists, you must move it out of the way."; \
- else \
- ln -s debian-sid debian; \
- dpkg-buildpackage -sn; \
- rm debian; \
- fi
diff --git a/autogen.sh b/autogen.sh
deleted file mode 100755
index 25cfb35..0000000
--- a/autogen.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-echo 'Generating necessary files...'
-rm -rf config
-mkdir -p config
-libtoolize --force
-aclocal
-autoheader -Wall
-automake --foreign --add-missing -Wall
-autoconf
-
diff --git a/configure.ac b/configure.ac
deleted file mode 100644
index 4f36464..0000000
--- a/configure.ac
+++ /dev/null
@@ -1,214 +0,0 @@
-AC_PREREQ(2.59)
-AC_INIT([patchage],[0.4.2],[dave@drobilla.net])
-
-AC_CONFIG_AUX_DIR([config])
-
-
-################### SOURCES
-
-# Patchage
-AC_CONFIG_SRCDIR([src/main.cpp])
-
-AC_CONFIG_HEADER([config/config.h])
-
-AM_INIT_AUTOMAKE
-
-#################### ENVIRONMENT
-
-AC_LANG([C++])
-
-AC_PROG_CXX
-AC_PROG_CC_C_O
-
-AC_DISABLE_STATIC
-AC_PROG_LIBTOOL
-
-PKG_CHECK_MODULES(GLIBMM, glibmm-2.4)
-
-# Check for boost smart pointers
-AC_CHECK_HEADERS([boost/shared_ptr.hpp], [],
- AC_MSG_ERROR([You need the boost headers package (e.g. libboost-dev)]))
-AC_CHECK_HEADERS([boost/weak_ptr.hpp], [],
- AC_MSG_ERROR([You need the boost headers package (e.g. libboost-dev)]))
-
-# This is cute... autohell FTW
-builddir=`pwd`
-cd $srcdir
-abs_srcdir=`pwd`
-cd $builddir
-
-PKG_CHECK_MODULES([RAUL], [raul >= 0.5.0])
-
-CONFIG_H_PATH="$builddir/config/config.h"
-
-#################### COMMAND LINE PARAMETERS
-
-AC_ARG_ENABLE(debug,
- [AS_HELP_STRING(--enable-debug, [Enable debugging symbols and assertions (no)])],
- [debug="$enableval"])
-if test "$debug" = "yes"; then
- debug_symbols="yes"
- debug_assertions="yes"
-fi
-
-AC_ARG_ENABLE(debug_symbols,
- [AS_HELP_STRING(--enable-debug-symbols, [Enable debugging symbols - overrides CXXFLAGS (no)])],
- [debug_symbols="$enableval"])
-
-AC_ARG_ENABLE(debug_assertions,
- [AS_HELP_STRING(--enable-debug-assertions, [Enable debugging assertions (no)])],
- [debug_assertions="$enableval"])
-
-if test "$debug_symbols" = "yes"; then
- CFLAGS="-O0 -g"
- CXXFLAGS="-O0 -g"
-fi
-
-if test "$debug_assertions" = "yes"; then
- CFLAGS="$CFLAGS -DDEBUG"
- CXXFLAGS="$CXXFLAGS -DDEBUG"
-else
- CFLAGS="$CFLAGS -DNDEBUG"
- CXXFLAGS="$CXXFLAGS -DNDEBUG"
-fi
-
-# Boost shared_ptr debugging
-pointer_debug="no"
-AC_ARG_ENABLE(pointer_debug,
- [AS_HELP_STRING(--enable-pointer-debug, [Enable smart pointer debugging (no)])],
- [pointer_debug="$enableval"])
-if test "$pointer_debug" = "yes"; then
- CFLAGS="$CFLAGS -DBOOST_SP_ENABLE_DEBUG_HOOKS"
- CXXFLAGS="$CXXFLAGS -DBOOST_SP_ENABLE_DEBUG_HOOKS"
-fi
-
-# Use strict flags?
-strict="no"
-AC_ARG_ENABLE(strict,
- [AS_HELP_STRING(--enable-strict, [Enable strict compiler warnings and errors (no)])],
- [strict="$enableval"])
-if test "$strict" = "yes"; then
- # Stupid Gtkmm won't build with -pedantic
- CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter -Winit-self"
- CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wno-unused-parameter -Winit-self -Woverloaded-virtual -Wsign-promo"
-fi
-
-# Bolt on a few specific flags to CFLAGS that should always be used
-CXXFLAGS="$CXXFLAGS -ansi -pipe -fmessage-length=999 -DCONFIG_H_PATH=\\\"$CONFIG_H_PATH\\\""
-CFLAGS="$CFLAGS -std=c99 -pipe -fmessage-length=999 -DCONFIG_H_PATH=\\\"$CONFIG_H_PATH\\\""
-
-
-#################### GENERIC OPTIONS
-
-# Jack D-Bus support
-build_jack_dbus="no"
-AC_ARG_ENABLE(jack-dbus,
- [AS_HELP_STRING(--enable-jack-dbus, [Use Jack D-Bus instead of libjack])],
- [ if test x$enable_jack_dbus = xyes ; then build_jack_dbus=yes ; fi ])
-if test "x$build_jack_dbus" = "xyes"; then
- PKG_CHECK_MODULES(DBUS, dbus-glib-1, [build_jack_dbus="yes"], [build_jack_dbus="no"])
- if test "x$build_jack_dbus" = "xyes"; then
- AC_DEFINE([HAVE_JACK_DBUS], 1, [Defined if Jack D-Bus driver needs to be built])
- fi
-fi
-
-# Jack support
-build_jack="yes"
-AC_ARG_ENABLE(jack,
- [AS_HELP_STRING(--enable-jack, [Enable Jack support (yes)])],
- [ if test x$enable_jack = xno ; then build_jack=no ; fi ])
-if test "x$build_jack" = "xyes"; then
- PKG_CHECK_MODULES(JACK, jack >= 0.107.0, [build_jack="yes"], [build_jack="no"])
- if test "x$build_jack" = "xyes"; then
- AC_DEFINE(HAVE_JACK, 1, [Has Jack])
- AC_DEFINE(HAVE_JACK_MIDI, 1, [Has Jack MIDI])
- fi
-fi
-
-# ALSA support
-build_alsa="yes"
-AC_ARG_ENABLE(alsa,
-[AS_HELP_STRING(--enable-alsa, [Enable Alsa MIDI (yes)])],
- [ if test x$enable_alsa = xno ; then build_alsa=no ; fi ])
-
-if test "$build_alsa" = "yes"; then
- AC_CHECK_LIB(asound, snd_seq_open, ALSA_FOUND="yes", ALSA_FOUND="no", -lm -ldl -lpthread)
-
- if test "$ALSA_FOUND" = "yes"; then
- AC_DEFINE(HAVE_ALSA, 1, [whether or not we have alsa])
- ALSA_CFLAGS=""
- ALSA_LIBS="-lasound -lm -ldl -lpthread"
- AC_SUBST(ALSA_CFLAGS)
- AC_SUBST(ALSA_LIBS)
- else
- build_alsa="no"
- fi
-else
- ALSA_FOUND="no"
-fi
-
-# DBUS (for new LASH)
-build_dbus="yes"
-AC_ARG_ENABLE(dbus,
- [AS_HELP_STRING(--enable-dbus, [Enable D-Bus (for new LASH) (yes if available)])],
- [ if test x$enable_dbus = xno ; then build_dbus=no ; fi ])
-have_dbus="no"
-if test "$build_dbus" = "yes"; then
- PKG_CHECK_MODULES(DBUS, dbus-glib-1, [have_dbus="yes"], [have_dbus="no"])
-fi
-if test "$have_dbus" = "yes"; then
- AC_DEFINE(HAVE_DBUS, 1, [Has DBUS])
-fi
-
-AM_CONDITIONAL(WITH_ALSA, [test "x$ALSA_FOUND" = "xyes"])
-AM_CONDITIONAL(WITH_DBUS, [test "x$have_dbus" = "xyes"])
-AM_CONDITIONAL(WITH_JACK, [test "x$build_jack" = "xyes"])
-AM_CONDITIONAL(WITH_JACK_DBUS, [test "x$build_jack_dbus" = "xyes"])
-
-############# PATCHAGE
-PKG_CHECK_MODULES(GTHREAD, gthread-2.0)
-PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 >= 2.11.12)
-PKG_CHECK_MODULES(GNOMECANVASMM, libgnomecanvasmm-2.6)
-PKG_CHECK_MODULES(LIBGLADEMM, libglademm-2.4)
-PKG_CHECK_MODULES(FLOWCANVAS, flowcanvas >= 0.5.0)
-
-
-#################### OUTPUT
-
-# Patchage
-AC_CONFIG_FILES([Makefile])
-AC_CONFIG_FILES([debian-sid/Makefile])
-AC_CONFIG_FILES([icons/16x16/Makefile])
-AC_CONFIG_FILES([icons/22x22/Makefile])
-AC_CONFIG_FILES([icons/24x24/Makefile])
-AC_CONFIG_FILES([icons/32x32/Makefile])
-AC_CONFIG_FILES([icons/48x48/Makefile])
-AC_CONFIG_FILES([icons/Makefile])
-AC_CONFIG_FILES([icons/scalable/Makefile])
-AC_CONFIG_FILES([patchage.desktop])
-AC_CONFIG_FILES([src/Makefile])
-
-AC_OUTPUT
-
-AC_MSG_RESULT([])
-AC_MSG_RESULT([])
-AC_MSG_RESULT([**********************************************************************])
-AC_MSG_RESULT([Configuration:])
-AC_MSG_RESULT([])
-# we are not building libjack driver if jackdbus driver is being built (src/Makefile.am)
-if test "$build_jack_dbus" = "yes"; then
-AC_MSG_RESULT([Jack support: yes (D-Bus)])
-elif test "$build_jack" = "yes"; then
-AC_MSG_RESULT([Jack support: yes (libjack)])
-else
-AC_MSG_RESULT([Jack support: no])
-fi
-AC_MSG_RESULT([DBUS/LASH support: $build_dbus])
-AC_MSG_RESULT([ALSA support: $ALSA_FOUND])
-AC_MSG_RESULT([])
-AC_MSG_RESULT([C FLAGS: $CFLAGS])
-AC_MSG_RESULT([C++ FLAGS: $CXXFLAGS])
-AC_MSG_RESULT([Please note the above and see README for performance information.])
-AC_MSG_RESULT([**********************************************************************])
-AC_MSG_RESULT([])
-
diff --git a/debian-sid/Makefile.am b/debian-sid/Makefile.am
deleted file mode 100644
index 757249d..0000000
--- a/debian-sid/Makefile.am
+++ /dev/null
@@ -1,8 +0,0 @@
-EXTRA_DIST = \
- README \
- changelog \
- compat \
- control \
- copyright \
- docs \
- rules
diff --git a/icons/16x16/Makefile.am b/icons/16x16/Makefile.am
deleted file mode 100644
index f73fff3..0000000
--- a/icons/16x16/Makefile.am
+++ /dev/null
@@ -1,3 +0,0 @@
-icondir = $(datadir)/icons/hicolor/16x16/apps
-icon_DATA = patchage.png
-EXTRA_DIST = $(icon_DATA) patchage.svg
diff --git a/icons/22x22/Makefile.am b/icons/22x22/Makefile.am
deleted file mode 100644
index b0f138f..0000000
--- a/icons/22x22/Makefile.am
+++ /dev/null
@@ -1,3 +0,0 @@
-icondir = $(datadir)/icons/hicolor/22x22/apps
-icon_DATA = patchage.png
-EXTRA_DIST = $(icon_DATA) patchage.svg
diff --git a/icons/24x24/Makefile.am b/icons/24x24/Makefile.am
deleted file mode 100644
index 400ca22..0000000
--- a/icons/24x24/Makefile.am
+++ /dev/null
@@ -1,3 +0,0 @@
-icondir = $(datadir)/icons/hicolor/24x24/apps
-icon_DATA = patchage.png
-EXTRA_DIST = $(icon_DATA)
diff --git a/icons/32x32/Makefile.am b/icons/32x32/Makefile.am
deleted file mode 100644
index edce6f2..0000000
--- a/icons/32x32/Makefile.am
+++ /dev/null
@@ -1,3 +0,0 @@
-icondir = $(datadir)/icons/hicolor/32x32/apps
-icon_DATA = patchage.png
-EXTRA_DIST = $(icon_DATA) patchage.svg
diff --git a/icons/48x48/Makefile.am b/icons/48x48/Makefile.am
deleted file mode 100644
index c724369..0000000
--- a/icons/48x48/Makefile.am
+++ /dev/null
@@ -1,3 +0,0 @@
-icondir = $(datadir)/icons/hicolor/48x48/apps
-icon_DATA = patchage.png
-EXTRA_DIST = $(icon_DATA) patchage.svg
diff --git a/icons/Makefile.am b/icons/Makefile.am
deleted file mode 100644
index 0287384..0000000
--- a/icons/Makefile.am
+++ /dev/null
@@ -1,14 +0,0 @@
-SUBDIRS = 16x16 22x22 24x24 32x32 48x48 scalable
-
-gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
-
-install-data-hook: update-icon-cache
-uninstall-hook: update-icon-cache
-update-icon-cache:
- @-if test -z "$(DESTDIR)"; then \
- echo "Updating Gtk icon cache."; \
- $(gtk_update_icon_cache); \
- else \
- echo "*** Icon cache not updated. After (un)install, run this:"; \
- echo "*** $(gtk_update_icon_cache)"; \
- fi
diff --git a/icons/scalable/Makefile.am b/icons/scalable/Makefile.am
deleted file mode 100644
index 4dd0154..0000000
--- a/icons/scalable/Makefile.am
+++ /dev/null
@@ -1,3 +0,0 @@
-icondir = $(datadir)/icons/hicolor/scalable/apps
-icon_DATA = patchage.svg
-EXTRA_DIST = $(icon_DATA)
diff --git a/src/Makefile.am b/src/Makefile.am
deleted file mode 100644
index bfa417b..0000000
--- a/src/Makefile.am
+++ /dev/null
@@ -1,63 +0,0 @@
-AM_CXXFLAGS = -I.. -I$(top_srcdir)/raul -I$(top_srcdir)/flowcanvas -DDATA_DIR=\"$(pkgdatadir)\" @GTHREAD_CFLAGS@ @LIBGLADEMM_CFLAGS@ @GNOMECANVASMM_CFLAGS@ @ALSA_CFLAGS@ @DBUS_CFLAGS@
-patchage_LDADD = @GTHREAD_LIBS@ @LIBGLADEMM_LIBS@ @GNOMECANVASMM_LIBS@ @ALSA_LIBS@ @RAUL_LIBS@ @FLOWCANVAS_LIBS@ @DBUS_LIBS@
-
-EXTRA_DIST = patchage.gladep
-
-sharefilesdir = $(pkgdatadir)
-dist_sharefiles_DATA = patchage.glade
-
-bin_PROGRAMS = patchage
-patchage_SOURCES = \
- Driver.hpp \
- GladeFile.hpp \
- Patchage.cpp \
- Patchage.hpp \
- PatchageCanvas.cpp \
- PatchageCanvas.hpp \
- PatchageEvent.cpp \
- PatchageEvent.hpp \
- PatchageModule.hpp \
- PatchagePort.hpp \
- PortID.hpp \
- StateManager.cpp \
- StateManager.hpp \
- Widget.hpp \
- main.cpp
-
-if WITH_JACK_DBUS
-AM_CXXFLAGS += @DBUS_CFLAGS@
-patchage_SOURCES += JackDbusDriver.cpp
-patchage_SOURCES += JackDbusDriver.hpp
-patchage_LDADD += @DBUS_LIBS@
-else
-if WITH_JACK
-AM_CXXFLAGS += @JACK_CFLAGS@
-patchage_SOURCES += JackDriver.cpp
-patchage_SOURCES += JackDriver.hpp
-patchage_LDADD += @JACK_LIBS@
-endif
-endif
-
-if WITH_DBUS
-patchage_SOURCES += \
- DBus.cpp \
- DBus.hpp \
- LashClient.cpp \
- LashClient.hpp \
- LashProxy.cpp \
- LashProxy.hpp \
- LoadProjectDialog.cpp \
- LoadProjectDialog.hpp \
- Project.cpp \
- Project.hpp \
- ProjectList.cpp \
- ProjectList.hpp \
- ProjectPropertiesDialog.cpp \
- ProjectPropertiesDialog.hpp \
- Session.cpp \
- Session.hpp
-endif
-
-if WITH_ALSA
-patchage_SOURCES += AlsaDriver.hpp AlsaDriver.cpp
-endif