sintonia/debian/patches/remove_upstream_deb.diff

1117 lines
37 KiB
Diff

Subject: Remove upstream's debian packaging attempt
Forwarded: no
Author: Robin Gareus <robin@gareus.org>
Last-Update: 2010-08-26
Index: campcaster/etc/debian/README.Debian
===================================================================
--- campcaster.orig/etc/debian/README.Debian 2010-08-26 14:43:22.000000000 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,16 +0,0 @@
-campcaster for Ubuntu
----------------------
-
-LiveSupport has been renamed to Campcaster, and the target distribution
-is now Ubuntu.
-
- -- Ferenc Gerlits <fgerlits@campware.org>, Thu, 16 Nov 2006 12:00:27 +0100
-
-
-livesupport for Debian
-----------------------
-
-First debian package of LiveSupport.
-
- -- Akos Maroy <maroy@campware.org>, Wed, 03 Aug 2005 08:17:25 -0400
-
Index: campcaster/etc/debian/campcaster-station.conffiles
===================================================================
--- campcaster.orig/etc/debian/campcaster-station.conffiles 2010-08-26 14:43:23.000000000 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-/opt/campcaster/var/Campcaster/storageServer/var/conf.php
-/opt/campcaster/var/Campcaster/archiveServer/var/conf.php
-/opt/campcaster/etc/campcaster-scheduler.xml
Index: campcaster/etc/debian/campcaster-station.postinst
===================================================================
--- campcaster.orig/etc/debian/campcaster-station.postinst 2010-08-26 14:43:22.000000000 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,76 +0,0 @@
-#! /bin/sh
-# postinst script for livesupport
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-#
-
-installdir=/opt/campcaster
-apache_docroot=/var/www
-apache_group=www-data
-
-if [ -d /etc/postgresql/8.1 ]; then
- postgresql_dir=/etc/postgresql/8.1/main
- postgresql_init_script=/etc/init.d/postgresql-8.1
-elif [ -d /etc/postgresql/8.2 ]; then
- postgresql_dir=/etc/postgresql/8.2/main
- postgresql_init_script=/etc/init.d/postgresql-8.2
-elif [ -d /etc/postgresql/8.3 ]; then
- postgresql_dir=/etc/postgresql/8.3/main
- postgresql_init_script=/etc/init.d/postgresql-8.3
-else
- echo "no postgresql 8.1, 8.2 or 8.3 found" >&2
- exit 1
-fi
-
-case "$1" in
- configure)
- # do post-installation configuration
- $installdir/bin/postInstallStation.sh --directory=$installdir \
- --apache-group=$apache_group \
- --postgresql-dir=$postgresql_dir \
- --postgresql-init-script=$postgresql_init_script
-
- # remount the NFS share if we have a 2-computer setup
- if [ -f $installdir/storageServer.wasMounted ]; then
- echo "Remounting the remote storage..."
- mount $installdir/var/Campcaster/storageServer
- rm $installdir/storageServer.wasMounted
- fi
-
- # register and start the Campcaster scheduler daemon
- cp -f $installdir/etc/campcaster-scheduler /etc/init.d
- update-rc.d campcaster-scheduler defaults 92 || true
- /etc/init.d/campcaster-scheduler start || true
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
-
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
Index: campcaster/etc/debian/campcaster-station.postrm
===================================================================
--- campcaster.orig/etc/debian/campcaster-station.postrm 2010-08-26 14:43:22.000000000 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,95 +0,0 @@
-#! /bin/sh
-# postrm script for campcaster
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postrm> `remove'
-# * <postrm> `purge'
-# * <old-postrm> `upgrade' <new-version>
-# * <new-postrm> `failed-upgrade' <old-version>
-# * <new-postrm> `abort-install'
-# * <new-postrm> `abort-install' <old-version>
-# * <new-postrm> `abort-upgrade' <old-version>
-# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-installdir=/opt/campcaster
-
-if [ -d /etc/postgresql/8.1 ]; then
- postgresql_dir=/etc/postgresql/8.1/main
- postgresql_init_script=/etc/init.d/postgresql-8.1
-elif [ -d /etc/postgresql/8.2 ]; then
- postgresql_dir=/etc/postgresql/8.2/main
- postgresql_init_script=/etc/init.d/postgresql-8.2
-elif [ -d /etc/postgresql/8.3 ]; then
- postgresql_dir=/etc/postgresql/8.3/main
- postgresql_init_script=/etc/init.d/postgresql-8.3
-else
- echo "no postgresql 8.1, 8.2 or 8.3 found" >&2
- exit 1
-fi
-postgres_user=postgres
-
-ls_database=Campcaster
-ls_dbuser=campcaster
-
-
-#-------------------------------------------------------------------------------
-# Function to check for the existence of an executable on the PATH
-#
-# @param $1 the name of the exectuable
-# @return 0 if the executable exists on the PATH, non-0 otherwise
-#-------------------------------------------------------------------------------
-check_exe() {
- if [ -x "`which $1 2> /dev/null`" ]; then
- return 0;
- else
- return 1;
- fi
-}
-
-
-case "$1" in
- remove|upgrade|failed-upgrade|abort-install|abort-upgrade)
- ;;
-
- purge|disappear)
- # check for the required tools
- check_exe "psql" || psql_found=no
-
- if [ "x$psql_found" != "xno" ] ; then
- # kill open connections to the Campcaster database
- $postgresql_init_script stop
- $postgresql_init_script start
-
- # remove the PostgreSQL database and user
- su - $postgres_user -c \
- "echo \"DROP DATABASE \\\"$ls_database\\\" \" | psql template1" \
- || echo "Couldn't drop database $ls_database.";
- su - $postgres_user -c \
- "echo \"DROP USER $ls_dbuser \" | psql template1" \
- || echo "Couldn't drop database user $ls_dbuser.";
- fi
-
- # remove generated files
- rm -rf $installdir/var/Campcaster/archiveServer/var/stor/*
- rm -rf $installdir/var/Campcaster/storageServer/var/stor/*
- rm -f $installdir/storageServer.wasMounted
- ;;
-
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
Index: campcaster/etc/debian/campcaster-station.preinst
===================================================================
--- campcaster.orig/etc/debian/campcaster-station.preinst 2010-08-26 14:43:23.000000000 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,43 +0,0 @@
-#! /bin/sh
-# preinst script for livesupport
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <new-preinst> `install'
-# * <new-preinst> `install' <old-version>
-# * <new-preinst> `upgrade' <old-version>
-# * <old-preinst> `abort-upgrade' <new-version>
-#
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-case "$1" in
- install)
- ;;
-
- upgrade)
- # stop the Campcaster scheduler daemon
- /etc/init.d/campcaster-scheduler stop || true
- /etc/init.d/campcaster-scheduler kill || true
- ;;
-
- abort-upgrade)
- ;;
-
- *)
- echo "preinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
Index: campcaster/etc/debian/campcaster-station.prerm
===================================================================
--- campcaster.orig/etc/debian/campcaster-station.prerm 2010-08-26 14:43:22.000000000 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,118 +0,0 @@
-#! /bin/sh
-# prerm script for livesupport
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <prerm> `remove'
-# * <old-prerm> `upgrade' <new-version>
-# * <new-prerm> `failed-upgrade' <old-version>
-# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-# * <deconfigured's-prerm> `deconfigure' `in-favour'
-# <package-being-installed> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-installdir=/opt/campcaster
-apache_docroot=/var/www
-apache_group=www-data
-
-if [ -d /etc/postgresql/8.1 ]; then
- postgresql_dir=/etc/postgresql/8.1/main
- postgresql_init_script=/etc/init.d/postgresql-8.1
-elif [ -d /etc/postgresql/8.2 ]; then
- postgresql_dir=/etc/postgresql/8.2/main
- postgresql_init_script=/etc/init.d/postgresql-8.2
-elif [ -d /etc/postgresql/8.3 ]; then
- postgresql_dir=/etc/postgresql/8.3/main
- postgresql_init_script=/etc/init.d/postgresql-8.3
-else
- echo "no postgresql 8.1, 8.2 or 8.3 found" >&2
- exit 1
-fi
-
-ls_database=Campcaster
-ls_dbuser=campcaster
-
-
-#-------------------------------------------------------------------------------
-# Function to check for the existence of an executable on the PATH
-#
-# @param $1 the name of the exectuable
-# @return 0 if the executable exists on the PATH, non-0 otherwise
-#-------------------------------------------------------------------------------
-check_exe() {
- if [ -x "`which $1 2> /dev/null`" ]; then
- return 0;
- else
- return 1;
- fi
-}
-
-
-case "$1" in
- remove|upgrade|deconfigure)
- # unmount the NFS share, if we have a 2-computer setup
- storagedir=$installdir/var/Campcaster/storageServer
- if [ "`mount | grep -o \"on $storagedir \"`" = "on $storagedir " ]; then
- echo "Unmounting the remote storage..."
- umount $storagedir
- touch $installdir/storageServer.wasMounted
- fi
-
- # stop the livesupport scheduler daemon
- /etc/init.d/campcaster-scheduler stop || true
- /etc/init.d/campcaster-scheduler kill || true
-
- # remove the init script
- rm -f /etc/init.d/campcaster-scheduler
- update-rc.d campcaster-scheduler remove || true
-
- # remove the ODBC data source and driver
- check_exe "odbcinst" || odbcinst_found=no
-
- if [ "x$odbcinst_found" != "xno" ] ; then
- odbcinst -u -s -l -n $ls_database
- odbcinst -u -d -n PostgreSQL_Campcaster
- fi
-
- # remove the symlink to the campcaster web pages
- rm -f $apache_docroot/campcaster
-
- # restore the old pg_hba.conf file
- if [ -f $postgresql_dir/pg_hba.conf ] \
- && [ -f $postgresql_dir/pg_hba.conf.before-campcaster ] ; then
- mv -f $postgresql_dir/pg_hba.conf.before-campcaster \
- $postgresql_dir/pg_hba.conf ;
- fi
-
- # remove generated files
- rm -rf $installdir/etc/pear.conf
- rm -rf $installdir/var/Campcaster/htmlUI/var/html/img/*
- rm -rf $installdir/var/Campcaster/htmlUI/var/templates_c/*
- rm -rf $installdir/var/Campcaster/archiveServer/var/access/*
- rm -rf $installdir/var/Campcaster/archiveServer/var/trans/*
- rm -rf $installdir/var/Campcaster/storageServer/var/access/*
- rm -rf $installdir/var/Campcaster/storageServer/var/trans/*
- ;;
-
- failed-upgrade)
- ;;
-
- *)
- echo "prerm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
Index: campcaster/etc/debian/campcaster-studio.conffiles
===================================================================
--- campcaster.orig/etc/debian/campcaster-studio.conffiles 2010-08-26 14:43:22.000000000 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-/opt/campcaster/etc/campcaster-studio.xml
Index: campcaster/etc/debian/campcaster-studio.desktop
===================================================================
--- campcaster.orig/etc/debian/campcaster-studio.desktop 2010-08-26 14:43:23.000000000 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,14 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-
-Name=Campcaster-Studio
-GenericName=Campcaster Studio GUI Client
-Comment=Control your radio station
-Icon=/opt/campcaster/var/Campcaster/icon48.png
-
-Type=Application
-Categories=Application;AudioVideo;Audio;
-
-Exec=/opt/campcaster/bin/campcaster-studio.sh
-Terminal=false
-
Index: campcaster/etc/debian/campcaster-studio.menu
===================================================================
--- campcaster.orig/etc/debian/campcaster-studio.menu 2010-08-26 14:43:23.000000000 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,4 +0,0 @@
-?package(campcaster-studio):needs="X11" section="Apps/Sound" \
- title="Campcaster-Studio" command="/opt/campcaster/bin/campcaster-studio.sh" \
- comment="Control your radio station" \
- icon="/opt/campcaster/var/Campcaster/icon48.png"
Index: campcaster/etc/debian/campcaster-studio.postinst
===================================================================
--- campcaster.orig/etc/debian/campcaster-studio.postinst 2010-08-26 14:43:23.000000000 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,42 +0,0 @@
-#! /bin/sh
-# postinst script for livesupport
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-#
-
-case "$1" in
- configure)
-
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
-
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
Index: campcaster/etc/debian/campcaster-studio.postrm
===================================================================
--- campcaster.orig/etc/debian/campcaster-studio.postrm 2010-08-26 14:43:23.000000000 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,38 +0,0 @@
-#! /bin/sh
-# postrm script for campcaster
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postrm> `remove'
-# * <postrm> `purge'
-# * <old-postrm> `upgrade' <new-version>
-# * <new-postrm> `failed-upgrade' <old-version>
-# * <new-postrm> `abort-install'
-# * <new-postrm> `abort-install' <old-version>
-# * <new-postrm> `abort-upgrade' <old-version>
-# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-case "$1" in
- remove|upgrade|failed-upgrade|abort-install|abort-upgrade)
- ;;
-
- purge|disappear)
- ;;
-
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
Index: campcaster/etc/debian/campcaster-studio.preinst
===================================================================
--- campcaster.orig/etc/debian/campcaster-studio.preinst 2010-08-26 14:43:23.000000000 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,40 +0,0 @@
-#! /bin/sh
-# preinst script for livesupport
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <new-preinst> `install'
-# * <new-preinst> `install' <old-version>
-# * <new-preinst> `upgrade' <old-version>
-# * <old-preinst> `abort-upgrade' <new-version>
-#
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-case "$1" in
- install)
- ;;
-
- upgrade)
- ;;
-
- abort-upgrade)
- ;;
-
- *)
- echo "preinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
Index: campcaster/etc/debian/campcaster-studio.prerm
===================================================================
--- campcaster.orig/etc/debian/campcaster-studio.prerm 2010-08-26 14:43:23.000000000 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,39 +0,0 @@
-#! /bin/sh
-# prerm script for livesupport
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <prerm> `remove'
-# * <old-prerm> `upgrade' <new-version>
-# * <new-prerm> `failed-upgrade' <old-version>
-# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-# * <deconfigured's-prerm> `deconfigure' `in-favour'
-# <package-being-installed> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-case "$1" in
- remove|upgrade|deconfigure)
- ;;
-
- failed-upgrade)
- ;;
-
- *)
- echo "prerm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
Index: campcaster/etc/debian/changelog
===================================================================
--- campcaster.orig/etc/debian/changelog 2010-08-26 14:43:23.000000000 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,97 +0,0 @@
-campcaster (1.4.0-1) lucid; urgency=low
-
- * 1.4.0 release
-
- -- Robin Gareus <robin@64studio.com> Fri 05 Feb 2010 02:56:27 +0100
-
-
-campcaster (1.3.0-1) dapper; urgency=low
-
- * 1.3.0 release
-
- -- Ferenc Gerlits <fgerlits@campware.org> Wed, 31 Oct 2007 11:45:50 +0100
-
-
-campcaster (1.2.0-1) dapper; urgency=low
-
- * 1.2.0 release
-
- -- Ferenc Gerlits <fgerlits@campware.org> Mon, 19 Feb 2007 16:01:25 +0100
-
-
-campcaster (1.1.1-2) dapper; urgency=low
-
- * 1.1.1 final release, corrected packages
-
- -- Ferenc Gerlits <fgerlits@campware.org> Mon, 11 Dec 2006 21:25:39 +0000
-
-
-campcaster (1.1.1-1) dapper; urgency=low
-
- * 1.1.1 final release
-
- -- Ferenc Gerlits <fgerlits@campware.org> Wed, 06 Dec 2006 22:19:07 +0100
-
-
-campcaster (1.1.0-1) dapper; urgency=low
-
- * 1.1.0 final release
-
- -- Ferenc Gerlits <fgerlits@campware.org> Fri, 01 Dec 2006 12:57:51 +0100
-
-
-campcaster (1.1.0rc1-1) unstable; urgency=low
-
- * 1.1.0 first release candidate
-
- -- Ferenc Gerlits <fgerlits@campware.org> Thu, 16 Nov 2006 12:00:27 +0100
-
-
-livesupport (1.1b1-1) unstable; urgency=low
-
- * 1.1 beta release
-
- -- Ferenc Gerlits <fgerlits@campware.org> Mon, 04 Sep 2006 13:50:24 +0200
-
-
-livesupport (1.0.2-1) unstable; urgency=low
-
- * 1.0.2 bugfix release
-
- -- Akos Maroy <maroy@campware.org> Sun, 13 Nov 2005 15:10:09 +0200
-
-
-livesupport (1.0.1-1) unstable; urgency=low
-
- * 1.0.1 bugfix release
-
- -- Akos Maroy <maroy@campware.org> Sat, 01 Oct 2005 17:19:29 +0200
-
-
-livesupport (1.0-1) unstable; urgency=low
-
- * 1.0 final release
-
- -- Akos Maroy <maroy@campware.org> Fri, 09 Sep 2005 15:04:13 +0200
-
-
-livesupport (1.0rc2-1) unstable; urgency=low
-
- * second release candidate
-
- -- Akos Maroy <maroy@campware.org> Wed, 03 Aug 2005 08:17:25 -0400
-
-
-livesupport (1.0rc1-1) unstable; urgency=low
-
- * first release candidate
-
- -- Akos Maroy <maroy@campware.org> Mon, 04 Jul 2005 14:39:11 +0200
-
-
-livesupport (0.9.1-1) unstable; urgency=low
-
- * Initial Release.
-
- -- Akos Maroy <maroy@campware.org> Tue, 19 Apr 2005 07:40:13 -0400
-
Index: campcaster/etc/debian/compat
===================================================================
--- campcaster.orig/etc/debian/compat 2010-08-26 14:43:23.000000000 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-4
Index: campcaster/etc/debian/control
===================================================================
--- campcaster.orig/etc/debian/control 2010-08-26 14:43:23.000000000 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,181 +0,0 @@
-Source: campcaster
-Section: sound
-Priority: optional
-Maintainer: ls_maintainer
-Build-Depends: debhelper (>= 4.0.0),
- binutils (>= 2.13),
- gcc (>= 3.3),
- g++ (>= 3.3),
- libc6-dev,
- make (>= 3.80),
- automake1.8 | automake (>= 1.8),
- autoconf (>= 2.59),
- libtool,
- pkg-config (>= 0.15),
- patch (>= 2.5.9),
- doxygen,
- tar,
- gzip,
- unzip,
- bzip2,
- curl,
- graphviz,
- xsltproc,
- unixodbc-dev (>= 2.2),
- odbc-postgresql,
- fontconfig,
- libfontconfig1-dev,
- libpng12-dev,
- libjpeg62-dev,
- openssl,
- libssl-dev,
- libxml2-dev,
- libpopt-dev,
- alsa-base,
- libasound2-dev,
- libid3tag0-dev,
- libmad0-dev,
- libogg-dev,
- libvorbis-dev,
- libbz2-dev,
- libtar-dev (>= 1.2.11),
- libcurl3-dev (>= 7.12.3) | libcurl4-openssl-dev (>= 7.16.4),
- libboost-date-time-dev (>= 1.33.1),
- libgtk2.0-dev (>= 2.6.10),
- libgtkmm-2.4-dev (>= 1:2.6.5),
- libglademm-2.4-dev (>= 2.6.2),
- libxml++2.6-dev (>= 2.8.1),
- libicu34-dev | libicu36-dev | libicu-dev,
- apache2,
- php5-pgsql,
- libapache2-mod-php5,
- php-pear,
- php5-gd,
- postgresql-8.1 | postgresql-8.2 | postgresql-8.3 | postgresql (>= 8.1),
- postgresql-client-8.1 | postgresql-client-8.2 | postgresql-client-8.3 | postgresql-client (>= 8.1),
- libgstreamer0.10-dev (>= 0.10.17),
- libserial-dev (>= 0.5.2)
-Standards-Version: 3.6.1
-
-Package: campcaster-libs
-Architecture: any
-Depends: ${shlibs:Depends},
- libc6 (>= 2.3.4-1),
- libgcc1 (>= 1:4.0.2),
- libstdc++6 (>= 4.0.2-4),
- libglib2.0-0 (>= 2.9.3),
- libpopt0 (>= 1.7),
- libxml2 (>= 2.6.23),
- zlib1g (>= 1:1.2.1),
- libasound2 (>> 1.0.10),
- libid3tag0 (>= 0.15.1b)
-Description: A radio program automation and support tool.
- Campcaster is the first free and open radio management software that
- provides live studio broadcast capabilities as well as remote automation
- in one integrated system.
- .
- Major features of Campcaster: live, in-studio playout; web-based remote
- station management; automation; playlists; centralized archives of station
- program material; solid, fast playback using the Gstreamer multimedia
- framework; search-based backup; localization into several languages;
- innovative design by the Parsons School of Design; open, extensible
- architecture based on XML-RPC.
- .
- This package contains the libraries used by Campcaster.
- .
- Web site: http://campcaster.campware.org
-
-Package: campcaster-station
-Architecture: any
-Depends: ${shlibs:Depends},
- campcaster-libs (= ${binary:Version}),
- sed,
- pwgen,
- unixodbc (>= 2.2),
- odbc-postgresql,
- libfontconfig1,
- libpng12-0,
- libjpeg62,
- libssl0.9.8,
- libxml2,
- libpopt0,
- libasound2,
- libid3tag0,
- libbz2-1.0,
- libtar (>= 1.2.11),
- curl,
- libcurl3,
- libboost-date-time1.33.1 | libboost-date-time1.34.1,
- libxml++2.6c2a (>= 2.8.1),
- libicu34 | libicu36 | libicu38,
- apache2,
- php5-pgsql,
- libapache2-mod-php5,
- php-pear,
- php5-gd,
- postgresql-8.1 | postgresql-8.2 | postgresql-8.3 | postgresql (>= 8.1),
- postgresql-client-8.1 | postgresql-client-8.2 | postgresql-client-8.3 | postgresql-client (>= 8.1),
- libgstreamer0.10-0 (>= 0.10.17),
- gstreamer0.10-plugins-good (>= 0.10.7),
- gstreamer0.10-plugins-ugly (>= 0.10.7)
-Description: A radio program automation and support tool.
- Campcaster is the first free and open radio management software that
- provides live studio broadcast capabilities as well as remote automation
- in one integrated system.
- .
- Major features of Campcaster: live, in-studio playout; web-based remote
- station management; automation; playlists; centralized archives of station
- program material; solid, fast playback using the Gstreamer multimedia
- framework; search-based backup; localization into several languages;
- innovative design by the Parsons School of Design; open, extensible
- architecture based on XML-RPC.
- .
- This package contains the server components of Campcaster:
- a storage server, a scheduler daemon, and a web interface.
- .
- Web site: http://campcaster.campware.org
-
-Package: campcaster-studio
-Architecture: any
-Depends: ${shlibs:Depends},
- campcaster-libs (= ${binary:Version}),
- campcaster-station (= ${binary:Version}),
- sed,
- unixodbc (>= 2.2),
- odbc-postgresql,
- libfontconfig1,
- libpng12-0,
- libjpeg62,
- libssl0.9.8,
- libxml2,
- libpopt0,
- libasound2,
- libid3tag0,
- libmad0,
- libogg0,
- libvorbis0a,
- libbz2-1.0,
- libtar (>= 1.2.11),
- libcurl3 (>= 7.12.3),
- libboost-date-time1.33.1 | libboost-date-time1.34.1,
- libxml++2.6c2a (>= 2.8.1),
- libicu34 | libicu36 | libicu38,
- libgtk2.0-0 (>= 2.6.10),
- libgtkmm-2.4-1c2a (>= 1:2.6.5),
- libglademm-2.4-1c2a (>= 2.6.2),
- libserial0 (>= 0.5.2)
-Description: A radio program automation and support tool.
- Campcaster is the first free and open radio management software that
- provides live studio broadcast capabilities as well as remote automation
- in one integrated system.
- .
- Major features of Campcaster: live, in-studio playout; web-based remote
- station management; automation; playlists; centralized archives of station
- program material; solid, fast playback using the Gstreamer multimedia
- framework; search-based backup; localization into several languages;
- innovative design by the Parsons School of Design; open, extensible
- architecture based on XML-RPC.
- .
- This package contains the GUI client component of Campcaster.
- .
- Web site: http://campcaster.campware.org
Index: campcaster/etc/debian/copyright
===================================================================
--- campcaster.orig/etc/debian/copyright 2010-08-26 14:43:22.000000000 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,25 +0,0 @@
-This package was debianized by Akos Maroy <maroy@campware.org> on
-Wed, 03 Aug 2005 08:17:25 -0400
-
-It was downloaded from http://campcaster.sourcefabric.org/
-
-Copyright:
-
-Upstream Author(s): Sourcefabric O.P.S., http://sourcefabric.org/
-
-License:
-
- Campcaster is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- Campcaster is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with Campcaster; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
Index: campcaster/etc/debian/dirs
===================================================================
--- campcaster.orig/etc/debian/dirs 2010-08-26 14:43:23.000000000 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-opt/campcaster
Index: campcaster/etc/debian/rules
===================================================================
--- campcaster.orig/etc/debian/rules 2010-08-26 14:43:23.000000000 +0200
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,183 +0,0 @@
-#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-#
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
-config.status: configure
- dh_testdir
- CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \
- --build=$(DEB_BUILD_GNU_TYPE) \
- --prefix=/opt/campcaster \
- --with-www-docroot=/var/www \
- --with-apache-group=www-data \
- --with-station-audio-out=hw:0,0 \
- --with-studio-audio-out=hw:1,0 \
- --with-studio-audio-cue=hw:2,0 \
- --with-hostname=localhost
-
-build: build-arch
-
-build-arch: build-arch-stamp
-build-arch-stamp: config.status
-
- $(MAKE) setup compile
- touch build-arch-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-arch-stamp #CONFIGURE-STAMP#
-
- -$(MAKE) distclean clean
-
- dh_clean
-
-install: install-arch
-
-install-arch:
- dh_testdir
- dh_testroot
- dh_clean -k -s
- dh_installdirs -s
-
- # this will install everything into /opt/campcaster/usr
- $(MAKE) install
-
- # move the installation to debian/campcaster
- mkdir -p $(CURDIR)/debian/campcaster/opt
- mv /opt/campcaster $(CURDIR)/debian/campcaster/opt
-
- # now separate the libraries into debian/campcaster-libs
- mkdir -p $(CURDIR)/debian/campcaster-libs
- mkdir -p $(CURDIR)/debian/campcaster-libs/opt/campcaster
- mkdir -p $(CURDIR)/debian/campcaster-libs/opt/campcaster/bin
- mkdir -p $(CURDIR)/debian/campcaster-libs/opt/campcaster/tmp
- mkdir -p $(CURDIR)/debian/campcaster-libs/opt/campcaster/usr/lib
- mv -f $(CURDIR)/debian/campcaster/opt/campcaster/lib \
- $(CURDIR)/debian/campcaster-libs/opt/campcaster
-
- # now separate the station (server) files into debian/campcaster-station
- mkdir -p $(CURDIR)/debian/campcaster-station
- mkdir -p $(CURDIR)/debian/campcaster-station/opt/campcaster
- mkdir -p $(CURDIR)/debian/campcaster-station/opt/campcaster/bin
- mkdir -p $(CURDIR)/debian/campcaster-station/opt/campcaster/etc
- mkdir -p $(CURDIR)/debian/campcaster-station/opt/campcaster/tmp
- mkdir -p $(CURDIR)/debian/campcaster-station/opt/campcaster/var/Campcaster
- mkdir -p $(CURDIR)/debian/campcaster-station/opt/campcaster/usr/lib
- mv -f $(CURDIR)/debian/campcaster/opt/campcaster/bin/campcaster-scheduler \
- $(CURDIR)/debian/campcaster/opt/campcaster/bin/campcaster-scheduler.sh \
- $(CURDIR)/debian/campcaster/opt/campcaster/bin/postInstallStation.sh \
- $(CURDIR)/debian/campcaster/opt/campcaster/bin/createDatabase.sh \
- $(CURDIR)/debian/campcaster/opt/campcaster/bin/createOdbcDataSource.sh \
- $(CURDIR)/debian/campcaster-station/opt/campcaster/bin
- mv -f $(CURDIR)/debian/campcaster/opt/campcaster/etc/campcaster-scheduler.xml* \
- $(CURDIR)/debian/campcaster/opt/campcaster/etc/odbc* \
- $(CURDIR)/debian/campcaster-station/opt/campcaster/etc
- mv -f $(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/alib \
- $(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/archiveServer \
- $(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/getid3 \
- $(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/htmlUI \
- $(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/index.php \
- $(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/scheduler \
- $(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/storageServer \
- $(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/storageAdmin \
- $(CURDIR)/debian/campcaster-station/opt/campcaster/var/Campcaster
- mv -f $(CURDIR)/debian/campcaster/opt/campcaster/bin/campcaster-backup \
- $(CURDIR)/debian/campcaster/opt/campcaster/bin/campcaster-import \
- $(CURDIR)/debian/campcaster/opt/campcaster/bin/dumpDbSchema.sh \
- $(CURDIR)/debian/campcaster/opt/campcaster/bin/campcaster-restore \
- $(CURDIR)/debian/campcaster-station/opt/campcaster/bin
- mv -f $(CURDIR)/debian/campcaster/opt/campcaster/etc/apache \
- $(CURDIR)/debian/campcaster/opt/campcaster/etc/pg_hba.conf \
- $(CURDIR)/debian/campcaster/opt/campcaster/etc/campcaster-scheduler \
- $(CURDIR)/debian/campcaster-station/opt/campcaster/etc
-
- # now separate the studio (client) files into debian/campcaster-studio
- mkdir -p $(CURDIR)/debian/campcaster-studio
- mkdir -p $(CURDIR)/debian/campcaster-studio/opt/campcaster
- mkdir -p $(CURDIR)/debian/campcaster-studio/opt/campcaster/bin
- mkdir -p $(CURDIR)/debian/campcaster-studio/opt/campcaster/etc
- mkdir -p $(CURDIR)/debian/campcaster-studio/opt/campcaster/tmp
- mkdir -p $(CURDIR)/debian/campcaster-studio/opt/campcaster/var/Campcaster
- mv -f $(CURDIR)/debian/campcaster/opt/campcaster/bin/campcaster-studio \
- $(CURDIR)/debian/campcaster/opt/campcaster/bin/campcaster-studio.sh \
- $(CURDIR)/debian/campcaster-studio/opt/campcaster/bin
- mv -f $(CURDIR)/debian/campcaster/opt/campcaster/etc/campcaster-studio.xml* \
- $(CURDIR)/debian/campcaster-studio/opt/campcaster/etc
- mv -f $(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/Widgets \
- $(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/studio-localization \
- $(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/glade \
- $(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/campcaster.png \
- $(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/icon*.png \
- $(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/stationLogo.png \
- $(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/testAudio.ogg \
- $(CURDIR)/debian/campcaster/opt/campcaster/var/Campcaster/testAudio.ogg.license \
- $(CURDIR)/debian/campcaster-studio/opt/campcaster/var/Campcaster
- mkdir -p $(CURDIR)/debian/campcaster-studio/usr/share/applications
- cp -a $(CURDIR)/debian/campcaster-studio.desktop \
- $(CURDIR)/debian/campcaster-studio/usr/share/applications/
- dh_desktop -pcampcaster-studio
- dh_installmenu
-
- dh_install -s
-
-binary-common:
- dh_testdir
- dh_testroot
- dh_installchangelogs
-# dh_installdocs
-# dh_installexamples
- dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# Replaced dh_installinit with manual init script installation
-# because invoke.rc-d is linked to /bin/true in the knoppix hdd install.
-# Should be changed back when/if knoppix is fixed.
-# dh_installinit --update-rcd-params="defaults 92"
-# dh_installcron
-# dh_installinfo
-# dh_installman
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_makeshlibs
- dh_installdeb
- dh_shlibdeps -l${CURDIR}/debian/campcaster-libs/opt/campcaster/lib
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-# Build architecture dependant packages using the common target.
-binary-arch: build-arch install-arch
- $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
-
-binary: binary-arch
-.PHONY: build clean binary-arch binary install install-arch