debian/0000755000000000000000000000000012151225602007162 5ustar debian/libjs-jquery-jplayer.docs0000644000000000000000000000002512146764150014127 0ustar debian/README.Debian debian/libjs-jquery-jplayer.install0000644000000000000000000000000612146764150014644 0ustar usr/* debian/source/0000755000000000000000000000000012146764150010474 5ustar debian/source/format0000644000000000000000000000001412146764150011702 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012147227503010620 5ustar debian/patches/01_no_uncaughterrorevent_in_as3compile.diff0000644000000000000000000000330412147227471021211 0ustar SWFTools do not support UncaughtErrorEvent from Adobe Flex 4.5.1 As a workaround, remove that code. Con: in case something unexpected happens in the Flash runtime and/or browser, the error will not be caught and undefined behavior may kick in. ==================== --- a/actionscript/happyworm/jPlayer/JplayerRtmp.as +++ b/actionscript/happyworm/jPlayer/JplayerRtmp.as @@ -30,7 +30,6 @@ import flash.events.SecurityErrorEvent; import flash.events.TimerEvent; import flash.events.ErrorEvent; - import flash.events.UncaughtErrorEvent; import flash.utils.clearInterval; import flash.utils.setInterval; import happyworm.jPlayer.ConnectManager; @@ -82,39 +81,8 @@ seekingTimer.addEventListener(TimerEvent.TIMER,seekingHandler); myStatus.volume = volume; - - addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, uncaughtErrorHandler); - - } - - - private function uncaughtErrorHandler(event:UncaughtErrorEvent):void - { - trace("UNCAUGHT ERROR - try loading again"); - - if (event.error is Error) - { - var error:Error = event.error as Error; - trace(error); - // do something with the error - } - else if (event.error is ErrorEvent) - { - var errorEvent:ErrorEvent = event.error as ErrorEvent; - // do something with the error - trace(errorEvent); - } - else - { - // a non-Error, non-ErrorEvent type was thrown and uncaught - } - load(); - } - - - private function progressUpdates(active:Boolean):void { if (active) debian/patches/series0000644000000000000000000000005412147222172012031 0ustar 01_no_uncaughterrorevent_in_as3compile.diff debian/copyright0000644000000000000000000000423412146764150011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: jquery-jplayer Upstream-Contact: jplayer@googlegroups.com Source: http://www.jplayer.org Files: * Copyright: 2009-2012 Happyworm (http://www.happyworm.com/) License: GPL-3.0 or MIT Files: debian/* Copyright: 2012 Pau Garcia i Quiles License: GPL-3.0 License: GPL-3.0 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 3 of the License, or (at your option) any later version. . This package 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 this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/rules0000755000000000000000000000442712147223475010264 0ustar #!/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 configure: configure-stamp configure-stamp: dh_testdir # Add here commands to configure the package. touch configure-stamp build-arch: build build-indep: build build: build-stamp build-stamp: configure-stamp dh_testdir # Add here commands to compile the package. cd actionscript && as3compile -M Jplayer -T 10 -L -N Jplayer.as -o $(CURDIR)/jquery.jplayer/Jplayer.swf cd jquery.jplayer && yui-compressor --nomunge jquery.jplayer.js -o jquery.jplayer.min.js cd add-on && yui-compressor --nomunge jplayer.playlist.js -o jplayer.playlist.min.js touch $@ clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. rm -f jquery.jplayer/*.min.js add-on/*.min.js jquery.jplayer/*.swf dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs # Add here commands to install the package into debian/jquery-jplayer. mkdir -p $(CURDIR)/debian/tmp/usr/share/javascript/jquery-jplayer/add-on cp $(CURDIR)/jquery.jplayer/Jplayer.swf $(CURDIR)/debian/tmp/usr/share/javascript/jquery-jplayer/ cp $(CURDIR)/jquery.jplayer/jquery.jplayer.min.js $(CURDIR)/debian/tmp/usr/share/javascript/jquery-jplayer/ cp $(CURDIR)/add-on/jplayer.playlist.min.js $(CURDIR)/debian/tmp/usr/share/javascript/jquery-jplayer/add-on/ cp $(CURDIR)/add-on/jquery.jplayer.inspector.js $(CURDIR)/debian/tmp/usr/share/javascript/jquery-jplayer/add-on/ # Build architecture-independent files here. binary-indep: install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installexamples dh_install --sourcedir=debian/tmp/ dh_lintian dh_installman dh_link dh_compress dh_fixperms dh_installdeb dh_gencontrol dh_md5sums dh_builddeb # Build architecture-dependent files here. binary-arch: install binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure debian/README.Debian0000644000000000000000000000071112146764150011234 0ustar jPlayer for Debian ------------------ In order to make use of jPlayer in your HTML, include the following lines in your html header: -- Pau Garcia i Quiles Sun, 13 May 2012 12:59:11 +0200 debian/compat0000644000000000000000000000000212146764150010372 0ustar 6 debian/README.source0000644000000000000000000000334512146764150011360 0ustar Repackaged source ================= The jPlayer source code was downloaded as a ZIP file from jplayer.org and repackaged as a gzipped tarball using uscan: $ uscan --force-download --repack --verbose --watchfile debian/watch Source Files ============ * jquery.jplayer.js jPlayer's JavaScript source file. This file may be switched with the jquery.jplayer.min.js file. The operation is identical, but the file size is larger. The JavaScript source is verified using JSHint and the options can be found in the source. This file is readable by humans, assuming they understand JavaScript and jQuery. * Jplayer.fla jPlayer's Adobe Flash CS4 Professional editor file. This file can be compiled using Adobe Flash CS4 Professional into the Jplayer.swf file used in the jPlayer plugin. The Jplayer.fla file is not required for jPlayer, and does nothing unless compiled. Strictly speaking, this file is not needed, as the ActionScript 3 compiler from SwfTools is being used to compile the ActionScript. It is left in the source as you can use it to compile the ActionScript if you choose to use Adobe Flash CS or Adobe Flex (via Wine, for instance). This file is empty, except for setting its class to Jplayer.as. * Jplayer.as jPlayer's ActionScript 3 source file. The Jplayer.as file is not required for jPlayer, and does nothing unless compiled. This file is readable by humans, assuming they understand ActionScript 3. * happyworm.jPlayer AS3 package Contains jPlayer's ActionScript 3 source files for classes used in Jplayer.as. These files are not required for jPlayer, and do nothing unless compiled. These files are readable by humans, assuming they understand Flash's ActionScript 3. debian/get-orig-source.sh0000644000000000000000000000170612147225651012546 0ustar #!/bin/sh set -ex UPSTREAM_VERSION=$2 ORIG_TARBALL=$3 REAL_TARBALL=`readlink -f ${ORIG_TARBALL}` WORKING_DIR=`dirname ${ORIG_TARBALL}` ORIG_TARBALL_DFSG=`echo ${ORIG_TARBALL} | sed -e "s/\(${UPSTREAM_VERSION}\)\(\.orig\)/\1+dfsg\2/g"` ORIG_TARBALL_DIR=`echo ${ORIG_TARBALL_DFSG} | sed -e "s/_\(${UPSTREAM_VERSION}\)/-\1/g" -e "s/\.tar\.gz//g"` ORIG_TARBALL_DIR_STRIP=`basename ${ORIG_TARBALL_DIR}` mkdir -p ${ORIG_TARBALL_DIR} tar --directory=${ORIG_TARBALL_DIR} --strip 1 -xzf ${REAL_TARBALL} || exit 1 rm -f ${ORIG_TARBALL} ${REAL_TARBALL} # delete pre-compiled Flash find ${ORIG_TARBALL_DIR} -name "*.swf" -type f | xargs rm #delete Flex project find ${ORIG_TARBALL_DIR} -name "*.fla" -type f | xargs rm # delete skins, they are in the jquery-jplayer-pinkflag and jquery-jplayer-bluemonday packages rm -rf ${ORIG_TARBALL_DIR}/skin/ GZIP=-9 tar --remove-files --directory ${WORKING_DIR} -czf ${ORIG_TARBALL_DFSG} ${ORIG_TARBALL_DIR_STRIP} || exit 1 exit 0 debian/watch0000644000000000000000000000033012147226630010216 0ustar version=3 opts=filenamemangle=s/.+\/v?(.*)\.tar\.gz/jPlayer-$1.tar.gz/,dversionmangle=s/\+dfsg$// \ https://github.com/happyworm/jPlayer/tags .*/v?(\d[\d\.]+)\.tar\.gz \ debian /bin/sh debian/get-orig-source.sh debian/changelog0000644000000000000000000000324412151225602011037 0ustar jquery-jplayer (2.3.4+dfsg-1) unstable; urgency=low * New upstream patch version -- Pau Garcia i Quiles Wed, 29 May 2013 00:11:14 +0200 jquery-jplayer (2.3.3+dfsg-1) unstable; urgency=low * New upstream patch version * Change packaging: use git tags instead of file releases -- Pau Garcia i Quiles Tue, 21 May 2013 23:35:34 +0200 jquery-jplayer (2.3.0-1) unstable; urgency=low * New upsteam release, with all the security fixes for issues since 2.1.0-1 -- Pau Garcia i Quiles Sun, 21 Apr 2013 21:12:46 +0200 jquery-jplayer (2.2.22-1~experimental1) UNRELEASED; urgency=low * New upstream release, includes security fix for CVE-2013-1942 * This version uses the UncaughtErrorEvent type, which is not supported by as3compile (not even in git) as of this release. For this reason, the relevant code has been removed and some errors may go unhandled (it's like using Flash Player < 10.1, it's not that bad) * Convert to source format 3.0 (quilt) due to the above patch * Update standards to 3.9.4.0 (no changes needed) -- Pau Garcia i Quiles Fri, 12 Apr 2013 00:43:39 +0200 jquery-jplayer (2.1.0-2) unstable; urgency=high * Backport fixes for three security issues addressed in jPlayer 2.1.2, 2.2.20 and 2.2.23 (CVE-2013-1942). Patches are applied directly to the source due to the release freeze. -- Pau Garcia i Quiles Fri, 26 Apr 2013 23:04:57 +0200 jquery-jplayer (2.1.0-1) unstable; urgency=low * Initial release (Closes: #671603) -- Pau Garcia i Quiles Mon, 07 May 2012 01:10:30 +0200 debian/control0000644000000000000000000000165012147231103010565 0ustar Source: jquery-jplayer Section: web Priority: extra Maintainer: Pau Garcia i Quiles Build-Depends: debhelper (>= 6.0.7~), swftools, yui-compressor Standards-Version: 3.9.4.0 Homepage: http://www.jplayer.org/ Package: libjs-jquery-jplayer Architecture: all Depends: ${misc:Depends}, libjs-jquery, jquery-jplayer-pinkflag (>= 2.3~) | jquery-jplayer-bluemonday (>= 2.3~) Description: HTML5 Audio & Video for jQuery with a Flash fallback jPlayer is the completely free and open source (GPL/MIT) media library written in JavaScript. A jQuery plugin, jPlayer allows you to rapidly weave cross platform audio and video into your web pages. . jPlayer supports all the major browsers (Firefox, Chrome, Opera, Safari, Internet Explorer, Android Browser), platforms (Windows, Linux, Mac, Android, iOS, BlackBerry) and audio and video codecs (mp3, flv, mp4 (AAC/H.264), ogg (Vorbis/Theora), webm (Vorbis/VP8), wav).