debian/0000755000000000000000000000000011722137613007171 5ustar debian/manpages0000644000000000000000000000004711722137613010710 0ustar debian/vnc2swf.1 debian/vnc2swf-edit.1 debian/dirs0000644000000000000000000000003411722137613010052 0ustar usr/bin usr/share/pyvnc2swf debian/source/0000755000000000000000000000000011722137613010471 5ustar debian/source/format0000644000000000000000000000001411722137613011677 0ustar 3.0 (quilt) debian/doc-base0000644000000000000000000000040511722137613010570 0ustar Document: pyvnc2swf Title: pyvnc2swf manual Author: Yusuke Shinyama Abstract: This document describes pyvnc2swf, a recording tool with Flash output. Section: Video Format: HTML Index: /usr/share/doc/pyvnc2swf/index.html Files: /usr/share/doc/pyvnc2swf/*.html debian/patches/0000755000000000000000000000000011722137613010620 5ustar debian/patches/recordwin.patch0000644000000000000000000000113311722137613013633 0ustar Make recordwin.sh works with installed vnc2swf executable diff --git a/bin/recordwin.sh b/bin/recordwin.sh index ec08c77..6b75041 100755 --- a/bin/recordwin.sh +++ b/bin/recordwin.sh @@ -11,8 +11,7 @@ ## Requires: x11vnc, xwininfo, awk ## -PYTHON=python -VNC2SWF=pyvnc2swf/vnc2swf.py +VNC2SWF=vnc2swf X11VNC=x11vnc XWININFO=xwininfo AWK=awk @@ -57,4 +56,4 @@ fi # launch x11vnc and vnc2swf $X11VNC -quiet -bg -nopw -display "$display" -viewonly -localhost -cursor -wait 10 -defer 10 && - $PYTHON $VNC2SWF -n $vncopts -o "$outfile" $geometry + $VNC2SWF -n $vncopts -o "$outfile" $geometry debian/patches/series0000644000000000000000000000005711722137613012037 0ustar remove-string-exceptions.patch recordwin.patch debian/patches/remove-string-exceptions.patch0000644000000000000000000000226611722137613016627 0ustar With Python2.6, string exceptions are not allowed anymore. Turn them into ValueError diff --git a/pyvnc2swf/rfb.py b/pyvnc2swf/rfb.py index 1c99151..4fe49bc 100644 --- a/pyvnc2swf/rfb.py +++ b/pyvnc2swf/rfb.py @@ -603,7 +603,7 @@ class RFBFileParser(RFBProxy): try: length = {8:'B', 16:'H', 32:'L'}[bitsperpixel] except KeyError: - raise 'invalid bitsperpixel: %d' % bitsperpixel + raise ValueError('invalid bitsperpixel: %d' % bitsperpixel) unpackstr = endian + length nbytes = bitsperpixel / 8 bits = {1:1, 3:2, 7:3, 15:4, 31:5, 63:6, 127:7, 255:8} @@ -613,7 +613,7 @@ class RFBFileParser(RFBProxy): green_shift, green_max, 8-bits[green_max], blue_shift, blue_max, 8-bits[blue_max]) except KeyError: - raise 'invalid {red,green,blue}_max: %d, %d or %d' % (red_max, green_max, blue_max) + raise ValueError('invalid {red,green,blue}_max: %d, %d or %d' % (red_max, green_max, blue_max)) getrgb = eval(e) unpack_pixels = eval('lambda data: unpack("%s%%d%s" %% (len(data)/%d), data)' % (endian, length, nbytes)) unpack_color1 = eval('lambda data: unpack("%s", data)' % unpackstr) debian/copyright0000644000000000000000000000312311722137613011123 0ustar This package was downloaded from http://www.unixuser.org/~euske/vnc2swf/ Files: * Copyright: © 2005 by Yusuke Shinyama (yusuke at cs . nyu . edu) License: GPL-2+ This 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. Files: debian/* Copyright: © 2007, 2008 Vincent Bernat License: GPL-2+ Files: pyvnc2swf/record_sound.py Copyright: © 2007 David Fraser License: GPL-2+ Files: pyvnc2swf/d3des.py Copyright: © 2007 by Yusuke Shinyama (yusuke at cs . nyu . edu) © 1999 AT&T Laboratories Cambridge © 1988,1989,1990,1991,1992 by Richard Outerbridge License: GPL-2+ This 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. The code is derived from code placed in public domain: D3DES (V5.09) - A portable, public domain, version of the Data Encryption Standard. Written with Symantec's THINK (Lightspeed) C by Richard Outerbridge. Thanks to: Dan Hoey for his excellent Initial and Inverse permutation code; Jim Gillogly & Phil Karn for the DES key schedule code; Dennis Ferguson, Eric Young and Dana How for comparing notes; and Ray Lau, for humouring me on. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. debian/rules0000755000000000000000000000023711722137613010253 0ustar #!/usr/bin/make -f # -*- makefile -*- %: dh --with=python2 $@ override_dh_installchangelogs: dh_installchangelogs docs/changes.html override_dh_auto_test: debian/README.Debian0000644000000000000000000000042511722137613011233 0ustar play.py can be used to play recorded movie without having Macromedia Flash player installed. However, it needs pymedia which is not in Debian yet (see RFP #319860). Therefore, it is not linked in /usr/bin. -- Vincent Bernat , Fri, 24 Aug 2007 11:25:33 +0200 debian/vnc2swf.10000644000000000000000000000255011722137613010645 0ustar .\" Hey, EMACS: -*- nroff -*- .TH VNC2SWF 1 "August 24, 2007" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME vnc2swf \- cross-platform screen recording tool .SH DESCRIPTION This manual page documents briefly the .B vnc2swf command. This manual page was written for the Debian distribution because the original program does not have a manual page. .PP \fBvnc2swf\fP is a cross-platform screen recording tool. It captures screen motion through VNC protocol and generates a Shockwave Flash (SWF) movie. This is a VNC client and communicates directly with a VNC server. A user need to start a VNC server in advance. .PP \fBvnc2swf\fP can be launched without any argument and provides a graphical interface. It also accepts arguments. You may find more complete documentation about it in .IR /usr/share/doc/pyvnc2swf/pyvnc2swf.html . .SH AUTHOR This manual page was written by Vincent Bernat , for the Debian project (but may be used by others). debian/compat0000644000000000000000000000000211722137613010367 0ustar 7 debian/install0000644000000000000000000000002511722137613010557 0ustar pyvnc2swf /usr/share debian/menu0000644000000000000000000000026011722137613010056 0ustar ?package(pyvnc2swf): needs="X11" \ section="Applications/Graphics" \ title="pyvnc2swf" \ command="/usr/bin/vnc2swf" debian/watch0000644000000000000000000000011211722137613010214 0ustar version=3 http://www.unixuser.org/~euske/vnc2swf/ pyvnc2swf-(.*)\.tar\.gz debian/pyvnc2swf.links0000644000000000000000000000014011722137613012167 0ustar usr/share/pyvnc2swf/vnc2swf.py usr/bin/vnc2swf usr/share/pyvnc2swf/edit.py usr/bin/vnc2swf-edit debian/changelog0000644000000000000000000000365311722137613011052 0ustar pyvnc2swf (0.9.5-5) unstable; urgency=low * Add recordwin.sh script as documentation. Closes: #653783. * Bump Standards-Version to 3.9.3. * Replace python-support by dh_python2. -- Vincent Bernat Sat, 25 Feb 2012 11:48:29 +0100 pyvnc2swf (0.9.5-4) unstable; urgency=low * Add a patch to turn string exceptions into regular exceptions. Closes: #585344. * Convert package to 3.0 (quilt) format. * Bump Standards-Version to 3.8.4. * Switch to debhelper 7 and use a tiny debian/rules file. * Register documentation with doc-base. -- Vincent Bernat Wed, 16 Jun 2010 20:35:35 +0200 pyvnc2swf (0.9.5-3) unstable; urgency=low * Recompile without depending on python-support from experimental. * Bump Standard-Version to 3.8.1. No changes required. -- Vincent Bernat Wed, 18 Mar 2009 20:28:19 +0100 pyvnc2swf (0.9.5-2) unstable; urgency=low * Upload to unstable. -- Vincent Bernat Sat, 14 Mar 2009 16:02:08 +0100 pyvnc2swf (0.9.5-1) experimental; urgency=low * New upstream version * Update Standard-Version to 3.8.0. No changes required. -- Vincent Bernat Tue, 25 Nov 2008 19:09:16 +0100 pyvnc2swf (0.9.3-3) unstable; urgency=low * Add Vcs-* fields to debian/control * Convert debian/copyright to machine readable format -- Vincent Bernat Wed, 07 May 2008 21:19:44 +0200 pyvnc2swf (0.9.3-2) unstable; urgency=low * Bump Standard-Version to 3.7.3. * Move Homepage field from description in debian/control * Fix description, thanks to debian-l10n-english@d.o * Clean a bit debian/rules * Move python-support from Build-Depends to Build-Depends-Indep. -- Vincent Bernat Wed, 30 Apr 2008 21:34:49 +0200 pyvnc2swf (0.9.3-1) unstable; urgency=low * Initial packaging (closes: #358979). -- Vincent Bernat Fri, 24 Aug 2007 10:24:42 +0200 debian/control0000644000000000000000000000155211722137613010577 0ustar Source: pyvnc2swf Section: video Priority: optional Maintainer: Vincent Bernat Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.6.6-3~) Standards-Version: 3.9.3 Homepage: http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf.html Vcs-Browser: http://git.debian.org/?p=collab-maint/pyvnc2swf.git Vcs-Git: git://git.debian.org/git/collab-maint/pyvnc2swf.git Package: pyvnc2swf Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-tk, python-pygame Description: screen recording tool with Flash (SWF) output Pyvnc2swf captures screen motion using the VNC protocol and generates a Shockwave Flash (SWF) movie which can be played back in any browser supporting the SWF format. . In contrast to vnc2swf, pyvnc2swf is being actively developed and has more functions: recording and adding an audio track, editing and adding a seekbar. debian/docs0000644000000000000000000000005011722137613010037 0ustar README.txt docs/*.html bin/recordwin.sh debian/vnc2swf-edit.10000644000000000000000000000266011722137613011572 0ustar .\" Hey, EMACS: -*- nroff -*- .TH VNC2SWF-EDIT 1 "August 24, 2007" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME vnc2swf-edit \- edit movies generated by vnc2swf .SH DESCRIPTION This manual page documents briefly the .B vnc2swf-edit command. This manual page was writtent for the Debian distribution because the original program dows not have a manual page. .PP \fBvnc2swf-edit\fP is a companion for .BR vnc2swf (1) . It edits or reorganizes one or multiple movies generated by .BR vnc2swf (1) . This program also supports converting a .vnc file into .swf movie, changing the encoding method (shape->video), attaching MP3 audio file to a movie, extracting images from a movie and resampling/scaling/clipping a movie image. .PP You can find a more complete documentation about it, including accepted command line arguments in .IR /usr/share/doc/pyvnc2swf/pyvnc2swf.html . .SH SEE ALSO .BR vnc2swf (1) .SH AUTHOR This manual page was written by Vincent Bernat , for the Debian project (but may be used by others).