Campcaster 4 Debian & Ubunutu

Packaging Campcaster for Debian & Ubuntu..

Due to rapid development and last minute fixes for the Lucid feature freeze the patches above are not up-to date.
see the campcaster-debian git repository for the source. Download automatic builds or advocate for it at revu.ubuntu.

Build Instructions

cd /tmp
wget http://rg42.org/_media/wiki/campcaster/campcaster_1.4.0.orig.tar.gz
wget http://rg42.org/_media/wiki/campcaster/campcaster_1-package.diff
wget http://rg42.org/_media/wiki/campcaster/campcaster_2-fixes.diff
wget http://rg42.org/_media/wiki/campcaster/campcaster_3-debianonly.diff
tar xvzf campcaster_1.4.0.orig.tar.gz
cd campcaster-1.4.0
patch -p1 < ../campcaster_1-package.diff
patch -p1 < ../campcaster_2-fixes.diff
patch -p1 < ../campcaster_3-debianonly.diff
#debuild  # option 1
dpkg-buildpackage -rfakeroot  # option 2 
#pdebuild # option 3 :)
cd ..
dpkg -i campcaster-libs_1.4.0-1_i386.deb \
        campcaster-station_1.4.0-1_i386.deb \
        campcaster-studio_1.4.0-1_i386.deb
apt-get install -f # install missing dependencies 
ls -ld campcaster_*
dput ... campcaster_1.4.0-1_i386.changes

Note, before dputting the package check the target in the changelog. currently it points to Lucid.

Notes

remaining Lintian Warnings/Errors:

E: campcaster-station: possible-gpl-code-linked-with-openssl
W: campcaster-station: embedded-php-library usr/share/campcaster/www/htmlUI/var/Smarty/libs/Smarty.class.php
W: campcaster-station: embedded-php-library usr/share/campcaster/www/htmlUI/var/Smarty/libs/Smarty_Compiler.class.php
E: campcaster-libs: possible-gpl-code-linked-with-openssl
E: campcaster-studio: possible-gpl-code-linked-with-openssl
W: campcaster-studio: extra-license-file usr/share/campcaster/www/testAudio.ogg.license

Changes

Overview of changes in campcaster_2-fixes.diff:

  • bin/postInstallStation.sh
    • removed unused paths and hardcoded some new debian paths
    • disabled installation of pg_hba.conf (not needed w/ pgsql-8.4 on debian and ubuntu)
    • added a function to create links for folders which are writable by the apache-user and moved those folders out of the read-only tree: /usr/share/campcaster vs. /var/lib/campcaster - /var is retained during updates of the package and only deleted when purging the installation.
    • commented out symlink in /var/www/campcaster → implemented with Alias in apache config.
  • etc/Makefile.in
    • replaced some ${prefix} to allow installation in a tmp folder.
  • etc/apache/90_php_campcaster.conf
    • added apache Alias and Directory → FollowSymlinks
  • src/modules/archiveServer/etc/Makefile.in & src/modules/archiveServer/var/conf.php.template , src/modules/htmlUI/etc/Makefile.in & src/modules/htmlUI/var/ui_conf.php.template , src/modules/storageAdmin/etc/Makefile.in , src/modules/storageServer/etc/Makefile.in & src/modules/storageServer/var/conf.php.template , src/products/gLiveSupport/etc/Makefile.in , src/products/scheduler/bin/createOdbcDataSource.sh , src/products/scheduler/etc/Makefile.in & src/products/scheduler/etc/campcaster-scheduler.xml.template ,
    • provide for separate storage (r/w) & shared data (r/o) folders
    • move config to /etc/
  • src/modules/storageAdmin/bin/campcaster-backup
    • changes default tmp path from `dirname $0`/.. (/opt/cc/bin → /opt/cc/tmp ; /usr/bin/ → /usr/tmp) to /tmp/
  • src/modules/storageAdmin/bin/dumpDbSchema.sh
    • changed relative path to PHP dir to absolute path
  • src/modules/storageServer/bin/createDatabase.sh , src/products/scheduler/bin/createDatabase.sh
    • removed unused paths
    • deleted ENCODING 'utf-8'; from database creation options.
  • src/products/gLiveSupport/bin/campcaster-studio.sh , src/products/scheduler/bin/campcaster-scheduler.sh
    • moved PID file to /var/run
    • added LD_LIBRARY_PATH to custom libs
  • src/products/gLiveSupport/var/icon32.xpm
    • added for desktop/menu entry

Test Sounds

W: campcaster-studio: extra-license-file usr/share/campcaster/www/testAudio.ogg.license
Debian doesn't like them: http://evan.prodromou.name/ccsummary/ccsummary.html, http://wiki.creativecommons.org/Version_3#Debian

Here are some public-domain sounds:

Beep:

Tone:

dang dang dang :) :

Campcaster rocks:

 
wiki/campcaster.txt · Last modified: 17.12.2011 13:02 by rgareus