Commit aeff5c56 authored by Torsten Werner's avatar Torsten Werner

move cortado to team maintainance

parents
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 <twerner@debian.org> Wed Jan 3 17:41:26 CET 2007
# configuration file for cortado and apache2
Alias /cortado /usr/share/cortado
<Directory /usr/share/cortado>
Options FollowSymlinks
</Directory>
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 <varun@debian.org> 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 <twerner@debian.org> 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 <twerner@debian.org> Wed, 3 Jan 2007 17:48:46 +0100
Source: cortado
Section: utils
Priority: optional
Maintainer: Varun Hiremath <varun@debian.org>
Uploaders: Torsten Werner <twerner@debian.org>
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.
This package was debianized by Varun Hiremath <varunhiremath@gmail.com> on
Mon, 1 Jan 2007 23:38:17 +0530.
It was downloaded from http://www.flumotion.net/src/cortado/
Upstream Authors:
Wim Taymans <wim@fluendo.com>,
Thomas Vander Stichele <thomas@apestaart.org>
Copyright:
© 2004 Fluendo S.L.
© 2004 Wim Taymans <wim@fluendo.com>
© 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 <varunhiremath@gmail.com> and
is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
NEWS
README
TODO
debian/apache2
debian/*.html
<!-- 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>
/usr/share/cortado/cortado.jar /usr/share/java/cortado.jar
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>
#!/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#
#!/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#
#!/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
<!-- 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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment