Author: twerner Date: 2009-06-28 18:17:50 +0000 (Sun, 28 Jun 2009) New Revision: 8623
Added: trunk/cortado/ trunk/cortado/debian/ trunk/cortado/debian/README.Debian trunk/cortado/debian/apache2 trunk/cortado/debian/changelog trunk/cortado/debian/compat trunk/cortado/debian/control trunk/cortado/debian/copyright trunk/cortado/debian/docs trunk/cortado/debian/examples trunk/cortado/debian/javascript.html trunk/cortado/debian/links trunk/cortado/debian/patches/ trunk/cortado/debian/patches/destdir.diff trunk/cortado/debian/patches/series trunk/cortado/debian/postinst trunk/cortado/debian/postrm trunk/cortado/debian/rules trunk/cortado/debian/simple.html Log: move cortado to team maintainance Added: trunk/cortado/debian/README.Debian =================================================================== --- trunk/cortado/debian/README.Debian (rev 0) +++ trunk/cortado/debian/README.Debian 2009-06-28 18:17:50 UTC (rev 8623) @@ -0,0 +1,22 @@ +cortado applet for Debian +------------------------- + +If you are using apache2 you will find all applets in the directory cortado in +the DocumentRoot of your webserver. The actual configuration file is +/etc/apache2/conf.d/cortado. If you are using another httpd you must configure +it for yourself but you will find the apache2 example configuration at +/usr/share/doc/cortado/examples/apache2. In the same directory you will find +some sample HTML files. + +The package install 3 jar files: + +1. cortado-ovt.jar supporting Ogg/Vorbis+Theora +2. cortado-ov.jar supporting Ogg/Vorbis +3. cortado-mmjs.jar supporting Multipart/Mulaw+Smoke+Jpeg + +For your convenience there is a symlink cortado.jar that links to the 1. +version. + + +Torsten Werner <[email protected]> Wed Jan 3 17:41:26 CET 2007 + Added: trunk/cortado/debian/apache2 =================================================================== --- trunk/cortado/debian/apache2 (rev 0) +++ trunk/cortado/debian/apache2 2009-06-28 18:17:50 UTC (rev 8623) @@ -0,0 +1,8 @@ +# configuration file for cortado and apache2 + +Alias /cortado /usr/share/cortado + +<Directory /usr/share/cortado> + Options FollowSymlinks +</Directory> + Added: trunk/cortado/debian/changelog =================================================================== --- trunk/cortado/debian/changelog (rev 0) +++ trunk/cortado/debian/changelog 2009-06-28 18:17:50 UTC (rev 8623) @@ -0,0 +1,29 @@ +cortado (0.2.2-3) unstable; urgency=low + + * Drop jikes from Build-Depends (Closes: #528050) + * Switch to default-jdk for building the package + * Bump Standards-Version to 3.8.1 + * Add Homepage header field + + -- Varun Hiremath <[email protected]> Tue, 12 May 2009 19:46:22 -0400 + +cortado (0.2.2-2) unstable; urgency=low + + * Add a symlink /usr/share/java/cortado.jar to conform to the java policy. + * minor fixes in postinst and postrm + + -- Torsten Werner <[email protected]> Sun, 22 Apr 2007 20:36:12 +0200 + +cortado (0.2.2-1) unstable; urgency=low + + [ Varun Hiremath ] + * Initial release (Closes: #405429) + + [ Torsten Werner ] + * Add apache2 configuration. + * Add some sample HTML files. + * Add README.Debian. + * Add myself to Uploaders. + + -- Torsten Werner <[email protected]> Wed, 3 Jan 2007 17:48:46 +0100 + Added: trunk/cortado/debian/compat =================================================================== --- trunk/cortado/debian/compat (rev 0) +++ trunk/cortado/debian/compat 2009-06-28 18:17:50 UTC (rev 8623) @@ -0,0 +1 @@ +5 Added: trunk/cortado/debian/control =================================================================== --- trunk/cortado/debian/control (rev 0) +++ trunk/cortado/debian/control 2009-06-28 18:17:50 UTC (rev 8623) @@ -0,0 +1,24 @@ +Source: cortado +Section: utils +Priority: optional +Maintainer: Varun Hiremath <[email protected]> +Uploaders: Torsten Werner <[email protected]> +Build-Depends: debhelper (>= 5), cdbs, default-jdk, ant, junit, quilt +Standards-Version: 3.8.1 +Homepage: http://www.flumotion.net/cortado/ + +Package: cortado +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, apache2-mpm-worker | apache2 | httpd, + ucf +Description: streaming applet for Ogg formats + By embedding the cortado applet in your website, you can give viewers access + to streams from either the Flumotion streaming server or any HTTP server + providing multimedia files without the need for a locally installed media + player supporting the correct formats on the visitor's computer. Cortado + currently include Java decoders for Ogg Theora, Ogg Vorbis (the JOrbis + library), Mulaw audio, MJPEG and Flumotion's Smoke codec. + . + The package will automatically be configured for apache2 but can be used with + any other HTTP server. Some HTML files are included as examples of how to use + the applet. Added: trunk/cortado/debian/copyright =================================================================== --- trunk/cortado/debian/copyright (rev 0) +++ trunk/cortado/debian/copyright 2009-06-28 18:17:50 UTC (rev 8623) @@ -0,0 +1,52 @@ +This package was debianized by Varun Hiremath <[email protected]> on +Mon, 1 Jan 2007 23:38:17 +0530. + +It was downloaded from http://www.flumotion.net/src/cortado/ + +Upstream Authors: +Wim Taymans <[email protected]>, +Thomas Vander Stichele <[email protected]> + +Copyright: +© 2004 Fluendo S.L. +© 2004 Wim Taymans <[email protected]> +© 2000 ymnk, JCraft,Inc. + +License: + +Cortado License: + + This program 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. + + This program 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. + + On Debian systems, you can find the GPL license in: + /usr/share/common-licenses/GPL + +------- + +Smoke Codec and Jheora License: + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library 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 + Library General Public License for more details. + + On Debian systems, you can find the Library GPL license in: + /usr/share/common-licenses/LGPL-2 + +------ + +The Debian packaging is © 2007, Varun Hiremath <[email protected]> and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. Added: trunk/cortado/debian/docs =================================================================== --- trunk/cortado/debian/docs (rev 0) +++ trunk/cortado/debian/docs 2009-06-28 18:17:50 UTC (rev 8623) @@ -0,0 +1,3 @@ +NEWS +README +TODO Added: trunk/cortado/debian/examples =================================================================== --- trunk/cortado/debian/examples (rev 0) +++ trunk/cortado/debian/examples 2009-06-28 18:17:50 UTC (rev 8623) @@ -0,0 +1,2 @@ +debian/apache2 +debian/*.html Added: trunk/cortado/debian/javascript.html =================================================================== --- trunk/cortado/debian/javascript.html (rev 0) +++ trunk/cortado/debian/javascript.html 2009-06-28 18:17:50 UTC (rev 8623) @@ -0,0 +1,58 @@ +<!-- That is a simple example how to use the cortado applet. Please replace the + URL below by one that matches your setup. + + The applet parameters can be changed from javascript by calling the + setParam(key, value) on the applet. After setting the new parameters in + the applet it needs to be restarted with the restart() method for the + changes to take effect. + + The following piece of HTML demonstrates switching URLs with an without + sound using javascript. The applet can be controlled with the following + javascript methods: + + doPlay(): Start playback + doPause(): Pause playback + doStop(): Stop playback + doSeek(double pos); seek to a new position, must be between 0.0 and 1.0. +--> + + +<html> + <head> + </head> + <body> + <script language="javascript"> + function restart() { + document.applets[0].restart(); + } + function loadUrl(uri, audio) { + document.applets[0].setParam("audio", audio); + document.applets[0].setParam("url", uri); + restart(); + } + </script> + <applet archive="http://localhost/cortado/cortado.jar" code="com.fluendo.player.Cortado.class" width="320" height="240"> + <param name="url" value="http://localhost/~twerner/09_20h_ReadWriteSociety.ogg"/> + <param name="local" value="false"/> + <param name="framerate" value="5.0"/> + <param name="keepaspect" value="true"/> + <param name="video" value="true"/> + <param name="audio" value="true"/> + </applet> + + <br/> + <br/> + + <button onClick="restart()"> + Restart + </button> + <button onClick="loadUrl('http://localhost/~twerner/09_20h_ReadWriteSociety.ogg', 'true')"> + With Audio + </button> + <button onClick="loadUrl('http://localhost/~twerner/09_20h_ReadWriteSociety.ogg', 'false')"> + Without Audio + </button> + + </body> +</html> + Added: trunk/cortado/debian/links =================================================================== --- trunk/cortado/debian/links (rev 0) +++ trunk/cortado/debian/links 2009-06-28 18:17:50 UTC (rev 8623) @@ -0,0 +1,2 @@ +/usr/share/cortado/cortado.jar /usr/share/java/cortado.jar + Added: trunk/cortado/debian/patches/destdir.diff =================================================================== --- trunk/cortado/debian/patches/destdir.diff (rev 0) +++ trunk/cortado/debian/patches/destdir.diff 2009-06-28 18:17:50 UTC (rev 8623) @@ -0,0 +1,24 @@ +Description: Add support for destdir. +Index: cortado-0.2.2/build.xml +=================================================================== +--- cortado-0.2.2.orig/build.xml 2007-01-03 13:57:06.000000000 +0100 ++++ cortado-0.2.2/build.xml 2007-01-03 13:58:18.000000000 +0100 +@@ -27,6 +27,7 @@ + <property name="exec_prefix" location="${prefix}" /> + <property name="libdir" location="${exec_prefix}/lib" /> + <property name="datadir" location="${prefix}/share" /> ++ <property name="destdir" location="" /> + + <!-- read a file containing properties for plugins to build --> + <!-- +@@ -580,8 +581,8 @@ + <target name="install_applet" depends="applet" + description="install cortado applets"> + <!-- Create the installation locations --> +- <mkdir dir="${datadir}/cortado"/> +- <copy todir="${datadir}/cortado"> ++ <mkdir dir="${destdir}${datadir}/cortado"/> ++ <copy todir="${destdir}${datadir}/cortado"> + <fileset dir="${out.dist}/applet"> + <include name="cortado-*${product.version}*.jar"/> + </fileset> Added: trunk/cortado/debian/patches/series =================================================================== --- trunk/cortado/debian/patches/series (rev 0) +++ trunk/cortado/debian/patches/series 2009-06-28 18:17:50 UTC (rev 8623) @@ -0,0 +1 @@ +destdir.diff Added: trunk/cortado/debian/postinst =================================================================== --- trunk/cortado/debian/postinst (rev 0) +++ trunk/cortado/debian/postinst 2009-06-28 18:17:50 UTC (rev 8623) @@ -0,0 +1,29 @@ +#!/bin/sh + +set -e + +TEMPLATE=/usr/share/doc/cortado/examples/apache2 +TARGETDIR=/etc/apache2/conf.d + +# install the apache2 config file only when apache2 is actually installed +install_config() { + if [ -x /etc/init.d/apache2 ]; then + ucf --three-way --debconf-ok $TEMPLATE $TARGETDIR/cortado + invoke-rc.d apache2 reload + fi +} + +. /usr/share/debconf/confmodule + +case "$1" in + configure|reconfigure) + install_config + ;; + *) + echo "postinst called with unknown argument \`$1'" 1>&2 + exit 1 + ;; +esac + +#DEBHELPER# + Added: trunk/cortado/debian/postrm =================================================================== --- trunk/cortado/debian/postrm (rev 0) +++ trunk/cortado/debian/postrm 2009-06-28 18:17:50 UTC (rev 8623) @@ -0,0 +1,25 @@ +#!/bin/sh + +set -e + +CONFIGFILE=/etc/apache2/conf.d/cortado + +purge_config() +{ + rm -f $CONFIGFILE + if [ -x /usr/bin/ucf ]; then + ucf --purge $CONFIGFILE + fi + if [ -x /etc/init.d/apache2 ]; then + invoke-rc.d apache2 reload + fi +} + +. /usr/share/debconf/confmodule + +if [ "$1" = purge ]; then + purge_config +fi + +#DEBHELPER# + Added: trunk/cortado/debian/rules =================================================================== --- trunk/cortado/debian/rules (rev 0) +++ trunk/cortado/debian/rules 2009-06-28 18:17:50 UTC (rev 8623) @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/class/ant.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +JAVA_HOME = /usr/lib/jvm/default-java + +DEB_ANT_INSTALL_TARGET = install_applet +DEB_ANT_CLEAN_TARGET = distclean +DEB_ANT_ARGS += -Dprefix=/usr -Dbuild.type=stripped -Ddestdir=$(DEB_DESTDIR) + +SHAREDIR := /usr/share/cortado +install/cortado:: + for type in ov ovt mmjs; do \ + dh_link $(SHAREDIR)/cortado-$${type}-stripped-$(DEB_UPSTREAM_VERSION).jar \ + $(SHAREDIR)/cortado-$${type}.jar; \ + done + dh_link $(SHAREDIR)/cortado-ovt-stripped-$(DEB_UPSTREAM_VERSION).jar \ + $(SHAREDIR)/cortado.jar Property changes on: trunk/cortado/debian/rules ___________________________________________________________________ Added: svn:executable + Added: trunk/cortado/debian/simple.html =================================================================== --- trunk/cortado/debian/simple.html (rev 0) +++ trunk/cortado/debian/simple.html 2009-06-28 18:17:50 UTC (rev 8623) @@ -0,0 +1,21 @@ +<!-- That is a simple example how to use the cortado applet. Please replace the + URL below by one that matches your setup. --> + +<html> + <head> + </head> + <body> + <applet code="com.fluendo.player.Cortado.class" + archive="http://localhost/cortado/cortado.jar" + width="352" height="288"> + <param name="url" value="http://localhost/~twerner/09_20h_ReadWriteSociety.ogg"/> + <param name="local" value="false"/> + <param name="duration" value="232"/> + <param name="keepAspect" value="true"/> + <param name="video" value="true"/> + <param name="audio" value="true"/> + <param name="bufferSize" value="200"/> + </applet> + </body> +</html> + _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

