--- gecko-mediaplayer-0.6.1.orig/debian/copyright +++ gecko-mediaplayer-0.6.1/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Cesare Tirabassi on +Tue, 02 Oct 2007 19:14:27 +0200. + +It was downloaded from http://code.google.com/p/gecko-mediaplayer/ + +Upstream Author: Kevin DeKorte + +Copyright (C) 1998 Netscape Communications Corporation +Copyright (C) 2007 Kevin DeKorte + +License: + + This package 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 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2007, Cesare Tirabassi and +is licensed under the GPL, see above. + --- gecko-mediaplayer-0.6.1.orig/debian/watch +++ gecko-mediaplayer-0.6.1/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://code.google.com/p/gecko-mediaplayer/downloads/list \ +http://gecko-mediaplayer.googlecode.com/files/gecko-mediaplayer-(.*)\.tar\.gz --- gecko-mediaplayer-0.6.1.orig/debian/control +++ gecko-mediaplayer-0.6.1/debian/control @@ -0,0 +1,20 @@ +Source: gecko-mediaplayer +Section: graphics +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Cesare Tirabassi +Build-Depends: debhelper (>= 5), autotools-dev, pkg-config (>= 0.9.0), libglib2.0-dev (>= 2.14), libxul-dev | firefox-dev | iceape-dev, libdbus-1-dev (>= 0.95), libdbus-glib-1-dev (>= 0.70), libx11-dev, libidl0, chrpath (>=0.13), libgconf2-dev (>= 2.20), quilt +Standards-Version: 3.7.3 +Homepage: http://code.google.com/p/gecko-mediaplayer/ + +Package: gecko-mediaplayer +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-mplayer (>= ${source:Version}), firefox-3.0 | firefox-2 | iceape-browser | epiphany-browser | galeon | midbrowser | xulrunner | xulrunner-1.9 +Xb-Npp-Applications: ec8030f7-c20a-464f-9b0e-13a3a9e97384, 92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a, aa5ca914-c309-495d-91cf-3141bbb04115 +Xb-Npp-Name: Media plug-in for Gecko browsers +Xb-Npp-MimeType: video/mpeg, audio/mpeg, video/x-mpeg, video/x-mpeg2, audio/x-mpeg, audio/mpeg2, audio/x-mpeg2, audio/mpeg3, audio/x-mpeg3, audio/mp3, audio/x-mpegurl, video/mp4, application/x-ogg, audio/ogg, application/ogg, video/fli, video/x-fli, video/vnd.vivo, application/x-nsv-vp3-mp3, audio/basic, audio/x-basic, audio/x-scpls, video/divx, video/vnd.divx, audio/midi, video/quicktime, video/x-quicktime, image/x-quicktime, video/quicktime, video/quicktime, application/x-quicktimeplayer, application/asx, video/x-ms-asf-plugin, video/x-msvideo, video/msvideo, application/x-mplayer2, application/x-ms-wmv, video/x-ms-asf, video/x-ms-wm, video/x-ms-wmv, audio/x-ms-wmv, video/x-ms-wmp, video/x-ms-wvx, audio/x-ms-wax, audio/x-ms-wma, application/x-drm-v2, audio/wav, audio/x-wav, audio/x-pn-realaudio, application/vnd.rn-realmedia, application/vnd.rn-realaudio, video/vnd.rn-realvideo, audio/x-realaudio, audio/x-pn-realaudio-plugin, application/smil, audio/x-mod +Description: Media plug-in for Gecko browsers + Gecko Media Player is a browser plug-in that uses Gnome MPlayer + and Mplayer to play media in a browser. + It uses the NS4 API and is therefore compatible with all NS4 derived browsers: + Firefox, Iceape, Epiphany, Galeon, Midbrowser, etc. --- gecko-mediaplayer-0.6.1.orig/debian/compat +++ gecko-mediaplayer-0.6.1/debian/compat @@ -0,0 +1 @@ +5 --- gecko-mediaplayer-0.6.1.orig/debian/rules +++ gecko-mediaplayer-0.6.1/debian/rules @@ -0,0 +1,88 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CXXFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CXXFLAGS += -O0 +else + CXXFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: $(QUILT_STAMPFN) + dh_testdir + +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr --sysconfdir=\$${prefix}/share CXXFLAGS="$(CXXFLAGS)" \ + LDFLAGS="-Wl,-z,defs" + + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + $(MAKE) + + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + [ ! -f Makefile ] || $(MAKE) distclean + + rm -f config.sub config.guess + rm -f $(CURDIR)/src/gecko-mediaplayer*.xpt + rm -f $(CURDIR)/src/nsIScriptableGeckoMediaPlayer.h + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) DESTDIR=$(CURDIR)/debian/gecko-mediaplayer install + + # remove extra doc-files created by upstream script + rm -rf $(CURDIR)/debian/gecko-mediaplayer/usr/share/doc/gecko-mediaplayer + # removes hardcoded rpath in executable (http://wiki.debian.org/RpathIssue) + chrpath -d $(CURDIR)/debian/gecko-mediaplayer/usr/lib/mozilla/plugins/*.so + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_gconf + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- gecko-mediaplayer-0.6.1.orig/debian/links +++ gecko-mediaplayer-0.6.1/debian/links @@ -0,0 +1,50 @@ +/usr/lib/mozilla/plugins/gecko-mediaplayer-dvx.so /usr/lib/firefox/plugins/gecko-mediaplayer-dvx.so +/usr/lib/mozilla/plugins/gecko-mediaplayer-dvx.xpt /usr/lib/firefox/plugins/gecko-mediaplayer-dvx.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer-qt.so /usr/lib/firefox/plugins/gecko-mediaplayer-qt.so +/usr/lib/mozilla/plugins/gecko-mediaplayer-qt.xpt /usr/lib/firefox/plugins/gecko-mediaplayer-qt.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer-rm.so /usr/lib/firefox/plugins/gecko-mediaplayer-rm.so +/usr/lib/mozilla/plugins/gecko-mediaplayer-rm.xpt /usr/lib/firefox/plugins/gecko-mediaplayer-rm.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer-wmp.so /usr/lib/firefox/plugins/gecko-mediaplayer-wmp.so +/usr/lib/mozilla/plugins/gecko-mediaplayer-wmp.xpt /usr/lib/firefox/plugins/gecko-mediaplayer-wmp.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer.so /usr/lib/firefox/plugins/gecko-mediaplayer.so +/usr/lib/mozilla/plugins/gecko-mediaplayer.xpt /usr/lib/firefox/plugins/gecko-mediaplayer.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer-dvx.so /usr/lib/iceape/plugins/gecko-mediaplayer-dvx.so +/usr/lib/mozilla/plugins/gecko-mediaplayer-dvx.xpt /usr/lib/iceape/plugins/gecko-mediaplayer-dvx.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer-qt.so /usr/lib/iceape/plugins/gecko-mediaplayer-qt.so +/usr/lib/mozilla/plugins/gecko-mediaplayer-qt.xpt /usr/lib/iceape/plugins/gecko-mediaplayer-qt.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer-rm.so /usr/lib/iceape/plugins/gecko-mediaplayer-rm.so +/usr/lib/mozilla/plugins/gecko-mediaplayer-rm.xpt /usr/lib/iceape/plugins/gecko-mediaplayer-rm.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer-wmp.so /usr/lib/iceape/plugins/gecko-mediaplayer-wmp.so +/usr/lib/mozilla/plugins/gecko-mediaplayer-wmp.xpt /usr/lib/iceape/plugins/gecko-mediaplayer-wmp.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer.so /usr/lib/iceape/plugins/gecko-mediaplayer.so +/usr/lib/mozilla/plugins/gecko-mediaplayer.xpt /usr/lib/iceape/plugins/gecko-mediaplayer.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer-dvx.so /usr/lib/midbrowser/plugins/gecko-mediaplayer-dvx.so +/usr/lib/mozilla/plugins/gecko-mediaplayer-dvx.xpt /usr/lib/midbrowser/plugins/gecko-mediaplayer-dvx.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer-qt.so /usr/lib/midbrowser/plugins/gecko-mediaplayer-qt.so +/usr/lib/mozilla/plugins/gecko-mediaplayer-qt.xpt /usr/lib/midbrowser/plugins/gecko-mediaplayer-qt.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer-rm.so /usr/lib/midbrowser/plugins/gecko-mediaplayer-rm.so +/usr/lib/mozilla/plugins/gecko-mediaplayer-rm.xpt /usr/lib/midbrowser/plugins/gecko-mediaplayer-rm.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer-wmp.so /usr/lib/midbrowser/plugins/gecko-mediaplayer-wmp.so +/usr/lib/mozilla/plugins/gecko-mediaplayer-wmp.xpt /usr/lib/midbrowser/plugins/gecko-mediaplayer-wmp.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer.so /usr/lib/midbrowser/plugins/gecko-mediaplayer.so +/usr/lib/mozilla/plugins/gecko-mediaplayer.xpt /usr/lib/midbrowser/plugins/gecko-mediaplayer.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer-dvx.so /usr/lib/xulrunner-addons/plugins/gecko-mediaplayer-dvx.so +/usr/lib/mozilla/plugins/gecko-mediaplayer-dvx.xpt /usr/lib/xulrunner-addons/plugins/gecko-mediaplayer-dvx.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer-qt.so /usr/lib/xulrunner-addons/plugins/gecko-mediaplayer-qt.so +/usr/lib/mozilla/plugins/gecko-mediaplayer-qt.xpt /usr/lib/xulrunner-addons/plugins/gecko-mediaplayer-qt.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer-rm.so /usr/lib/xulrunner-addons/plugins/gecko-mediaplayer-rm.so +/usr/lib/mozilla/plugins/gecko-mediaplayer-rm.xpt /usr/lib/xulrunner-addons/plugins/gecko-mediaplayer-rm.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer-wmp.so /usr/lib/xulrunner-addons/plugins/gecko-mediaplayer-wmp.so +/usr/lib/mozilla/plugins/gecko-mediaplayer-wmp.xpt /usr/lib/xulrunner-addons/plugins/gecko-mediaplayer-wmp.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer.so /usr/lib/xulrunner-addons/plugins/gecko-mediaplayer.so +/usr/lib/mozilla/plugins/gecko-mediaplayer.xpt /usr/lib/xulrunner-addons/plugins/gecko-mediaplayer.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer-dvx.so /usr/lib/xulrunner/plugins/gecko-mediaplayer-dvx.so +/usr/lib/mozilla/plugins/gecko-mediaplayer-dvx.xpt /usr/lib/xulrunner/plugins/gecko-mediaplayer-dvx.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer-qt.so /usr/lib/xulrunner/plugins/gecko-mediaplayer-qt.so +/usr/lib/mozilla/plugins/gecko-mediaplayer-qt.xpt /usr/lib/xulrunner/plugins/gecko-mediaplayer-qt.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer-rm.so /usr/lib/xulrunner/plugins/gecko-mediaplayer-rm.so +/usr/lib/mozilla/plugins/gecko-mediaplayer-rm.xpt /usr/lib/xulrunner/plugins/gecko-mediaplayer-rm.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer-wmp.so /usr/lib/xulrunner/plugins/gecko-mediaplayer-wmp.so +/usr/lib/mozilla/plugins/gecko-mediaplayer-wmp.xpt /usr/lib/xulrunner/plugins/gecko-mediaplayer-wmp.xpt +/usr/lib/mozilla/plugins/gecko-mediaplayer.so /usr/lib/xulrunner/plugins/gecko-mediaplayer.so +/usr/lib/mozilla/plugins/gecko-mediaplayer.xpt /usr/lib/xulrunner/plugins/gecko-mediaplayer.xpt --- gecko-mediaplayer-0.6.1.orig/debian/changelog +++ gecko-mediaplayer-0.6.1/debian/changelog @@ -0,0 +1,56 @@ +gecko-mediaplayer (0.6.1-0ubuntu1) intrepid; urgency=low + + * New upstream version (LP: #229335) + * Update Homepage field in debian/control, download location in + debian/copyright, and debian/watch in accordance with upstream change of + download page + * Update dependency from firefox metapackage to firefox-3.0 | firefox-2 + * Add debian/patches/add_docs_tech_javascript: + Provide missing file DOCS/tech/javascript.txt from upstream r195 + * Add debian/docs: + - Install DOCS/tech/javascript.txt + * Remove src/nsIScriptableGeckoMediaPlayer.h in clean target + + -- Sasa Bodiroza Mon, 12 May 2008 23:44:58 +0000 + +gecko-mediaplayer (0.6.0-0ubuntu1) hardy; urgency=low + + * New upstream release + * Swapped Build-Depends on libxul-dev and firefox-dev to avoid FTBFS due to + firefox-dev being not yet ready for hardy. + + -- Cesare Tirabassi Sat, 16 Feb 2008 16:23:14 +0100 + +gecko-mediaplayer (0.5.4-0ubuntu1) hardy; urgency=low + + * New upstream release + + -- Cesare Tirabassi Fri, 18 Jan 2008 12:46:39 +0100 + +gecko-mediaplayer (0.5.3-0ubuntu1) hardy; urgency=low + + * New upstream release + * Update watch file in accordance with upstream change of download page + * Remove patch fix-width+height-initialisation.patch applied upstream + * Add xulrunner-1.9 and xulrunner support + * debian/control: + - bump Standards-Version to 3.7.3 + - move Homepage: to proper field in accordance with new Debian policy + + -- Cesare Tirabassi Fri, 14 Dec 2007 17:26:45 +0100 + +gecko-mediaplayer (0.5.2-0ubuntu1) hardy; urgency=low + + * New upstream release + * Change CFLAGS to CXXFLAGS in debian/rules + * Add quilt support in debian/control and debian/rules + * Add patch fix-width+height-initialisation.patch: + - Fix crash due to width and height not being initialised. + + -- Cesare Tirabassi Sun, 04 Nov 2007 10:51:22 +0100 + +gecko-mediaplayer (0.5.1-0ubuntu1) hardy; urgency=low + + * First release (LP: #121302, LP: #120781) + + -- Cesare Tirabassi Sun, 07 Oct 2007 22:06:43 +0200 --- gecko-mediaplayer-0.6.1.orig/debian/docs +++ gecko-mediaplayer-0.6.1/debian/docs @@ -0,0 +1 @@ +DOCS/tech/javascript.txt --- gecko-mediaplayer-0.6.1.orig/debian/patches/series +++ gecko-mediaplayer-0.6.1/debian/patches/series @@ -0,0 +1 @@ +add_docs_tech_javascript --- gecko-mediaplayer-0.6.1.orig/debian/patches/add_docs_tech_javascript +++ gecko-mediaplayer-0.6.1/debian/patches/add_docs_tech_javascript @@ -0,0 +1,208 @@ +Index: gecko-mediaplayer-0.6.1/DOCS/tech/javascript.txt +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ gecko-mediaplayer-0.6.1/DOCS/tech/javascript.txt 2008-05-12 23:55:55.000000000 +0000 +@@ -0,0 +1,203 @@ ++gecko-mediaplayer supports the following javascript methods, properties and events ++ ++ ++methods: ++ ++ void Play(); ++ void PlayAt(in double value); ++ void Pause(); ++ void Stop(); ++ void quit(); ++ void DoPlay(); ++ void DoPause(); ++ void FastForward(); ++ void FastReverse(); ++ void ff(); ++ void rew(); ++ void rewind(); ++ void Seek(in double value); ++ void Open(in string filename); ++ void SetFileName(in string filename); ++ double getTime(); ++ double getDuration(); ++ double getPercent(); ++ void SetVolume(in double value); ++ double GetVolume(); ++ ++ void controls.play(); ++ void controls.pause(); ++ void controls.stop(); ++ ++properties: ++ ++ attribute string filename; ++ readonly attribute long playState; ++ attribute boolean ShowControls; ++ attribute boolean fullscreen; ++ attribute boolean showlogo; ++ boolean isplaying(); ++ ++events: ++ ++ onMediaComplete ++ onMediaCompleteWithError(error) ++ onEndOfStream ++ onVisible ++ onHidden ++ onDestroy ++ onClick ++ onMouseDown(button) ++ onMouseUp(button) ++ ++Detail: ++ ++ Play(), DoPlay(), controls.play() ++ ++ plays the current media ++ ++ PlayAt(value) ++ plays the current media, starting at value seconds into the media ++ ++ Pause(), DoPause(), controls.pause() ++ ++ pauses the playing media ++ ++ Stop(), controls.stop() ++ ++ stops the playing media ++ quit() ++ ++ cancels the media player triggers onMediaComplete and onEndOfStream events ++ ++ FastForward(),ff() ++ ++ Seeks forward 10 seconds in the media ++ ++ FastReverse(),rew(),rewind() ++ ++ Seeks backwards 10 seconds in the media ++ ++ Seek(value) ++ ++ Seeks "value" seconds into the media ++ ++ Open(filename),SetFileName() ++ ++ Opens "filename", but does not start it ++ ++ getTime() ++ ++ Returns the number of seconds into the media ++ ++ getDuration() ++ ++ Returns the number of seconds the media is long ++ ++ getPercent() ++ ++ Gets percentage of media played 0 = 0% 100= 100% ++ Will return 0 for some media types since duration is not always ++ available from mplayer ++ ++ SetVolume(value) ++ Sets the volume to % value. So setting this to 50 sets the volume to 50% of max ++ ++ GetVolume() ++ Returns the percentage of max volume. ++ ++ filename ++ ++ Able to get and set this property ++ x = filename, puts the URL of the current media in x ++ filename = "x", opens URL x, like Open("x") ++ ++ isplaying() ++ ++ Returns true if playState > 1 and < 7 ++ ++ playState ++ ++ read only property ++ Possible return values and meanings ++ ++ UNDEFINED 0 ++ STOPPED 1 ++ PAUSED 2 ++ PLAYING 3 ++ SCANFORWARD 4 ++ SCANREVERSE 5 ++ BUFFERING 6 ++ WAITING 7 ++ MEDIAENDED 8 ++ TRANSITIONING 9 ++ READY 10 ++ RECONNECTING 11 ++ INITIALIZING 12 ++ ++ ShowControls ++ ++ Boolean property to make the player controls visible or not ++ ++ fullscreen ++ Boolean property to make the player go fullscreen or not ++ ++ showlogo ++ Boolean property to make the logo visible or not ++ ++ onMediaComplete, onEndOfStream ++ ++ Events that are triggered when the playlist is empty ++ ++ example: ++ ++ ++ ++ onMediaCompleteWithError(error) ++ ++ Events that are triggered when the playlist is empty ++ error is an integer ++ ERROR_NO_ERROR 0 ++ ERROR_NO_STREAM 1 ++ ERROR_CODEC_FAILURE ERROR_NO_STREAM << 1 ++ ERROR_EXPLICIT_KILL ERROR_NO_STREAM << 2 ++ ERROR_PLAYER_INTERRUPTED ERROR_NO_STREAM << 3 ++ ERROR_EXECV ERROR_NO_STREAM << 4 ++ ERROR_NOT_PLAYLIST ERROR_NO_STREAM << 5 ++ ERROR_FILE_NOT_FOUND ERROR_NO_STREAM << 6 ++ ++ example: ++ ++ ++ ++ onVisible ++ ++ Event that is triggered when video media is uncovered by a window, might want to use ++ with the nopauseonhide embed attribute ++ ++ ++ ++ onHidden ++ ++ Event that is triggered when video media is covered by a window, might want to use ++ with the nopauseonhide embed attribute ++ ++ ++ ++ onDestroy ++ ++ Event that is triggered when the embedded mplayerplug-in is destroyed, best used when mplayerplug-in ++ is in a frame and the frame is destroyed/hidden. ++ ++ onClick ++ ++ Event that is triggered when mouse button one is clicked over the plugin. ++ ++ onMouseDown(button) ++ ++ Event that is triggered when the mouse button is down over the plugin. ++ button is an integer that is the button that is down ++ ++ onMouseUp(button) ++ ++ Event that is triggered when the mouse button is released over the plugin. ++ button is an integer that is the button that is down