debian/0000755000000000000000000000000012104720250007157 5ustar debian/README.source0000644000000000000000000000373111467463413011362 0ustar pymecavideo for Debian ---------------------- This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. To configure quilt to use debian/patches instead of patches, you want either to export QUILT_PATCHES=debian/patches in your environment or use this snippet in your ~/.quiltrc: for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then export QUILT_PATCHES=debian/patches break fi done To get the fully patched source after unpacking the source package, cd to the root level of the source package and run: quilt push -a The last patch listed in debian/patches/series will become the current patch. To add a new set of changes, first run quilt push -a, and then run: quilt new where is a descriptive name for the patch, used as the filename in debian/patches. Then, for every file that will be modified by this patch, run: quilt add before editing those files. You must tell quilt with quilt add what files will be part of the patch before making changes or quilt will not work properly. After editing the files, run: quilt refresh to save the results as a patch. Alternately, if you already have an external patch and you just want to add it to the build system, run quilt push -a and then: quilt import -P /path/to/patch quilt push -a (add -p 0 to quilt import if needed). as above is the filename to use in debian/patches. The last quilt push -a will apply the patch to make sure it works properly. To remove an existing patch from the list of patches that will be applied, run: quilt delete You may need to run quilt pop -a to unapply patches first before running this command. -- Georges Khaznadar , Sat, 13 Nov 2010 11:23:07 +0100 debian/dirs0000644000000000000000000000013411467543137010063 0ustar usr/bin usr/share/applications usr/share/pixmaps usr/share/icons usr/share/python-mecavideo debian/python-mecavideo.sharedmimeinfo0000644000000000000000000000114211467542275015370 0ustar Pymecavideo Project Projet pymecavideo debian/changelog0000644000000000000000000004305312104715740011046 0ustar pymecavideo (6.1-1) unstable; urgency=low * changed my DEBEMAIL * upgraded to the newest upstream release * simplified the patches managed by quilt -- Georges Khaznadar Thu, 07 Feb 2013 13:18:24 +0100 pymecavideo (6.0-6) unstable; urgency=low * fixed a bad invocation of Zoom_Croix(), thanks to thomas.lavarenne@free.fr's bug report -- Georges Khaznadar Fri, 12 Oct 2012 10:57:13 +0200 pymecavideo (6.0-5) unstable; urgency=low * updated to the latest version in branches/6.0 from the SVN -- Georges Khaznadar Fri, 29 Jun 2012 22:12:07 +0200 pymecavideo (6.0-4) unstable; urgency=low * used a better approach to communicate with libreoffice * added the possibility to give a video filename as an argument on the command line * updated the manpages * -- Georges Khaznadar Sun, 24 Jun 2012 14:27:08 +0200 pymecavideo (6.0-3) unstable; urgency=low * upgraded to the latest SVN revision (in branch/6.0) * fixed an issue with {open|libre}office calc export. -- Georges Khaznadar Sat, 23 Jun 2012 08:07:21 +0200 pymecavideo (6.0-2) unstable; urgency=low * taken in account the new command rsvg-convert. Closes: #666481 -- Georges Khaznadar Sun, 13 May 2012 21:41:07 +0000 pymecavideo (6.0-1) unstable; urgency=low * upgraded to the newest upstream version * upgraded Standards-Version to 3.9.3 -- Georges Khaznadar Sat, 12 May 2012 10:41:55 +0000 pymecavideo (5.5-5) unstable; urgency=low * added --with-python2 in debian/rules. Closes: #640580 -- Georges Khaznadar Tue, 06 Sep 2011 18:43:34 +0200 pymecavideo (5.5-4) unstable; urgency=low * upgraded Standards-Version to 3.9.2 * removed an article in the synopsis * enforced the creation of the directory for personal data. Closes: #630140 -- Georges Khaznadar Sat, 11 Jun 2011 16:24:13 +0200 pymecavideo (5.5-3) unstable; urgency=low * changed the build-dependency rsvg -> librsvg2-bin. Closes: #629732 -- Georges Khaznadar Wed, 08 Jun 2011 19:08:22 +0200 pymecavideo (5.5-2) unstable; urgency=low * switched to dh_python2. Closes: #616972 -- Georges Khaznadar Mon, 07 Mar 2011 18:54:15 +0100 pymecavideo (5.5-1) unstable; urgency=low * modified the user interface (added a window icon, changed the place of two subwidgets). * changed the icon for the desktop file. -- Georges Khaznadar Sun, 06 Mar 2011 04:04:20 +0100 pymecavideo (5.4-3) unstable; urgency=low * modifed the example video of the solar system -- Georges Khaznadar Thu, 17 Feb 2011 19:18:05 +0100 pymecavideo (5.4-2) unstable; urgency=low * reinforced the test to know whether openCV has guessed the movie's features. * fixed a bug in cadreur.py which caused cropping errors * modified the lineEdit to display the scale : it allows now very small scales (useful for the following example) * added an example video: a simulation of the solar system over one year, and a pymecavideo file to open it directly. -- Georges Khaznadar Wed, 16 Feb 2011 16:02:13 +0100 pymecavideo (5.4-1) unstable; urgency=low * fixed the messages displaied during clics on the video images * fixed the recovery from a previously saved file * fixed the undo/redo feature near the first record * improved the user interface * added a feature to recode badly managed video files -- Georges Khaznadar Sat, 05 Feb 2011 17:43:08 +0100 pymecavideo (5.3-9) unstable; urgency=low * removed the dependency on the package ffmpeg coming from debian-multimedia.org, Closes: #610708 * removed any invokation of ffmpeg, by using openCV commands -- Georges Khaznadar Wed, 02 Feb 2011 21:43:50 +0100 pymecavideo (5.3-8) unstable; urgency=low * added TAB chars for the copies into the clipboard * added a dependency on a non-buggy version of ffmpeg * modified detect.py to avoid the creation od spurious image files -- Georges Khaznadar Fri, 14 Jan 2011 17:52:49 +0100 pymecavideo (5.3-7) unstable; urgency=low * modified the way pymecavideo creates directories under $(HOME)/.local now it creates them with the shell command "mkdir -p". -- Georges Khaznadar Sun, 19 Dec 2010 17:45:08 +0100 pymecavideo (5.3-6) unstable; urgency=low * added a dependency on python-matplotlib. Closes: #606874 -- Georges Khaznadar Sun, 12 Dec 2010 20:17:57 +0100 pymecavideo (5.3-5) unstable; urgency=low * modified the importation of the module Error to disable its use with GNU/Linux. Closes: #606380 -- Georges Khaznadar Sun, 12 Dec 2010 12:59:44 +0100 pymecavideo (5.3-4) unstable; urgency=low * changed the start time of the QApplication object to allow early debugging. -- Georges Khaznadar Thu, 18 Nov 2010 21:25:20 +0100 pymecavideo (5.3-3) unstable; urgency=low * taken in acount the possible use of rsvn which is way faster than inkscape to convert svg files. -- Georges Khaznadar Sat, 13 Nov 2010 22:03:41 +0100 pymecavideo (5.3-2) unstable; urgency=low * added a shared-mimeinfo file * modified pymecavideo.desktop to take the new mime type in account -- Georges Khaznadar Sat, 13 Nov 2010 18:33:32 +0100 pymecavideo (5.3-1) unstable; urgency=low * upgraded to the new upstream version -- Georges Khaznadar Sat, 13 Nov 2010 11:56:45 +0100 pymecavideo (5.2-7) unstable; urgency=low * sanitized quilt patches (removing patches added by debuild) * enforced again a dependency on python-opencv >= 2.1 * removed the buggy lines in detect.py (the module opencv in Ubuntu's package python-opencv 2.0 never provided the function cv.loadFile) * fixed some license issues, thanks to Luca Falavigna's reminders: - inserted the full text of CC-BY-SA 3.0, formated it in a 78-colum text and added a few linebreaks; - replaced stale references to GPL V2 in some files to the newer licence GPL V3. Closes: #593130 -- Georges Khaznadar Sun, 26 Sep 2010 19:21:16 +0200 pymecavideo (5.2-6) unstable; urgency=low * added a test to create ~/.local/share/data when it does not exist previously -- Georges Khaznadar Sun, 26 Sep 2010 18:58:51 +0200 pymecavideo (5.2-5) unstable; urgency=low * fixed typos in help-fr.xml * included modifications coming from the uspstream branch 5.2 (release 227) -- Georges Khaznadar Sun, 12 Sep 2010 15:36:53 +0200 pymecavideo (5.2-4) unstable; urgency=low * downgraded the dependency on python-opencv to allow the installtion on current Ubuntu distributions. -- Georges Khaznadar Sun, 12 Sep 2010 12:40:43 +0200 pymecavideo (5.2-3) unstable; urgency=low * Modified table.py to insert tabs in every line exported to the paste buffer. -- Georges Khaznadar Sun, 12 Sep 2010 12:11:02 +0200 pymecavideo (5.2-2) unstable; urgency=low * added a dependency on python-opencv * modified detect.py to adapt to the distribution's pecularity; this should make the package usable with Ubuntu and Debian -- Georges Khaznadar Sat, 11 Sep 2010 22:27:58 +0200 pymecavideo (5.2-1) unstable; urgency=low * upgraded to the newer upstream version * modified the patch for src/pymecavideo.py accordingly * rewritten debian/rules to use dh_stuff * added build-dependencies on python-all, libqt4-dev -- Georges Khaznadar Sat, 11 Sep 2010 14:31:01 +0200 pymecavideo (5.0-5) unstable; urgency=low * First publication in Debian. Closes: #593130 * upgraded Standards-Version to 3.9.1 and compat to 7 -- Georges Khaznadar Sun, 15 Aug 2010 19:09:12 +0200 pymecavideo (5.0-4) unstable; urgency=low * added a Recommends: line, to enforce the installation of a suitable video viewer, so you can enjoy the generated video file. * added some lines to the manpage source, to comply with the specification of docbook's manual pages. Changed the copyright datespan. * written a French manpage and refreshed the default English manpage. -- Georges Khaznadar Thu, 13 May 2010 16:24:22 +0200 pymecavideo (5.0-3) unstable; urgency=low * upgraded to the official version 5.0, from branches/5.0 -- Georges Khaznadar Mon, 03 May 2010 17:34:30 +0200 pymecavideo (5.0-2) unstable; urgency=low * fixed pymecavideo.desktop -- Georges Khaznadar Thu, 15 Apr 2010 10:47:28 +0200 pymecavideo (5.0-1) unstable; urgency=low * upgraded to the last upstream version -- Georges Khaznadar Wed, 14 Apr 2010 23:14:21 +0200 pymecavideo (4.1-1) unstable; urgency=low * upgraded to the last upstream version * installed the quilt patch system -- Georges Khaznadar Thu, 21 Jan 2010 08:03:08 +0100 pymecavideo (4.0-5) unstable; urgency=low * replaced the invokation of evince by xdg-open, and adjusted the dependencies accordingly * modified the calling scheme for the ps-viewer, since xdg-open returns before the ps-viewer quits. * added new rules for the autozoom behavior -- Georges Khaznadar Mon, 18 Jan 2010 16:24:35 +0100 pymecavideo (4.0-4) unstable; urgency=low * made a few improvements for the restoration from a file ... still unsufficient. * implemented plotting for the variations of x, y and velocity -- Georges Khaznadar Sat, 16 Jan 2010 14:24:23 +0100 pymecavideo (4.0-3) unstable; urgency=low * fixed the error in the saved config file when a bad file has been submitted. * added the analysis of non integer framerates. -- Georges Khaznadar Tue, 12 Jan 2010 17:53:21 +0100 pymecavideo (4.0-2) unstable; urgency=low * Fixed the bugs highlighted by Thibault North: now we use the built-in class set, and the framerate is computed with a more secure method, relying on ffmpeg's messages. -- Georges Khaznadar Tue, 12 Jan 2010 09:29:59 +0100 pymecavideo (4.0-1) unstable; urgency=low * Upgraded to the new version -- Georges Khaznadar Mon, 11 Jan 2010 01:10:16 +0100 pymecavideo (3.2-3) unstable; urgency=low * enforced the correct use of pyshared -- Georges Khaznadar Mon, 09 Nov 2009 00:51:10 +0100 pymecavideo (3.2-2) unstable; urgency=low * updated the packaging to comply with the new Debian-Python policy -- Georges Khaznadar Sun, 08 Nov 2009 11:40:06 +0100 pymecavideo (3.2-1) unstable; urgency=low * upgraded to the new upstream revision -- Georges Khaznadar Sat, 11 Apr 2009 17:51:01 +0200 pymecavideo (3.1-2) unstable; urgency=low * added a Catalan translation, thanks to jramire7@xtec.cat * modified the Docbook help file, to use a SYSTEM catalog. -- Georges Khaznadar Wed, 18 Feb 2009 23:52:41 +0100 pymecavideo (3.1-1) unstable; urgency=low * upgraded to the new upstream version -- Georges Khaznadar Wed, 12 Nov 2008 20:18:27 +0100 pymecavideo (3.0-1) unstable; urgency=low * upgraded to the new upstream version -- Georges Khaznadar Tue, 11 Nov 2008 10:19:13 +0100 pymecavideo (2.5-1) unstable; urgency=low * rebuilt some parts on top of python-eduwidgets -- Georges Khaznadar Thu, 24 Jul 2008 09:35:29 +0200 pymecavideo (2.4-2) unstable; urgency=low * fixed an error with the debugger behavior * fixed an error with the movie making feature. Now the first image is the image where the first points were clicked. * added a new feature: earlier clicked points now appear on the video during the acquisition of the trajectories. The speed vectors also appear with a scale 1 px for 1 m/s. -- Georges Khaznadar Thu, 17 Jul 2008 13:47:37 +0200 pymecavideo (2.4-1) unstable; urgency=low * Upgraded to svn revision 190 * Added some new features : management of preferences, debug level * Added the possibility to use other video players * Fixed a bug with sys.path which prevented pickle from finding the class vecteur. -- Georges Khaznadar Sat, 19 Jan 2008 20:02:59 +0100 pymecavideo (2.3-1) unstable; urgency=low * Upgraded to svn revision 181 * added a new feature : making a video grounded on a mobile point. * implemented the save and reopen features (option: -f file) * cleaned some code -- Georges Khaznadar Thu, 17 Jan 2008 00:14:09 +0100 pymecavideo (2.2-1) unstable; urgency=low * Upgraded to svn revision 178 * Activated the arrows happening near the mouse cursor * Re-activated the zoom window (from version 1.6) * Simplified the code for the zoom window * Modified the dependency : transcode --> ffmpeg, for the video decoder -- Georges Khaznadar Mon, 14 Jan 2008 00:45:56 +0100 pymecavideo (2.1-1) unstable; urgency=low * Upgraded to svn revision 161 * cleaned the code, simplified the interface for the trajectories, * activated the speed representation -- Georges Khaznadar Sat, 12 Jan 2008 23:41:40 +0100 pymecavideo (2.0-1) unstable; urgency=low * Upgraded to revision 151 (trunk) -- Georges Khaznadar Thu, 10 Jan 2008 22:29:12 +0100 pymecavideo (1.6-3) unstable; urgency=low * did the previous change effective (ooops). -- Georges Khaznadar Thu, 10 Jan 2008 21:25:57 +0100 pymecavideo (1.6-2) unstable; urgency=low * modified a dependency: x-www-browser -> www-browser. -- Georges Khaznadar Wed, 09 Jan 2008 18:52:46 +0100 pymecavideo (1.6-1) unstable; urgency=low * Upgraded to svn revision 104 -- Georges Khaznadar Sun, 06 Jan 2008 20:56:33 +0100 pymecavideo (1.5-1) unstable; urgency=low * Upgraded to svn revision 96 * modified the code to make a link between label_point and label_vitesse * upgraded to svn revision 98 which brought the mouse-hover events * enabled the show/hide feature for speed vectors in the neighborhood of the mouse pointer. (known bug : the speed vectors are not erased consistently, for example changing the scale leaves the older vectors) -- Georges Khaznadar Sat, 05 Jan 2008 15:45:41 +0100 pymecavideo (1.4-1) unstable; urgency=low * Upgraded to svn revision 82 * Cleaned the code to draw speed vectors * added a new feature to choose a scale for the speed vectors * cleaned the code for writing into the tables * cleaned the index of the dictionary dic_donnees : removed the string 'data-' which was prepended then trimmed and prepended again. -- Georges Khaznadar Thu, 03 Jan 2008 16:04:54 +0100 pymecavideo (1.3-1) unstable; urgency=low * Upgraded to svn revision 73 * Added some contents into the help files. -- Georges Khaznadar Wed, 02 Jan 2008 01:21:57 +0100 pymecavideo (1.2-1) unstable; urgency=low * Upgraded to svn revision 69 * mentioned the video/ dir in setup.py * made the current directory the default to read files * added a menu item Fichier->Exemples... to read example videos * added a desktop file * added a help file, with some screenshots -- Georges Khaznadar Tue, 01 Jan 2008 23:10:31 +0100 pymecavideo (1.1-1) unstable; urgency=low * Upgraded to svn revision 66 * Added a feedback for the scale (pixels by meter) * Allowed the scale to be redefined while the points are not grabbed * shortened the column labels in the table, adjusted their width * The measurements in the first panel are now in pixel unit, the second panel bears the same data in meter. * The saved files are named *.{txt|asc|dat|csv} for data in seconds and meters. A file named .mecavideo is saved too, with data in seconds and pixels. * improved the save verification system, by using a "dirty" flag -- Georges Khaznadar Tue, 01 Jan 2008 01:22:34 +0100 pymecavideo (1.0-1) unstable; urgency=low * Upgraded to svn version 54 * fixed debian/rules * removed unnecessary python files * reorganized the main part to make a module pymecavideo, then invoke it from a script in /usr/bin * modified the export routine to mark the comments * cleaned the code for the decimal separator (taking in account the locale) -- Georges Khaznadar Mon, 31 Dec 2007 00:41:49 +0100 pymecavideo (0.3-1) unstable; urgency=low * Upgraded to snv revision 32 -- Georges Khaznadar Fri, 28 Dec 2007 22:52:29 +0100 pymecavideo (0.2-2) unstable; urgency=low * Added GPL-3 headings according to JB's intention. * Added the dependency on transcode -- Georges Khaznadar Thu, 27 Dec 2007 15:15:36 +0100 pymecavideo (0.2-1) unstable; urgency=low * Upgraded to svn revision 23 -- Georges Khaznadar Thu, 27 Dec 2007 14:33:16 +0100 pymecavideo (0.1-1) unstable; urgency=low * Initial release * Removed the script magic numbers from the modules * Ajouté la prise en compte d'un paramètre : le nom de fichier à ouvrir * Ajouté l'exportation dans un fichier texte. -- Georges Khaznadar Wed, 26 Dec 2007 15:55:42 +0100 debian/compat0000644000000000000000000000000211467462427010401 0ustar 7 debian/menu0000644000000000000000000000021211467463225010062 0ustar ?package(python-mecavideo): \ needs="X11" \ section="Applications/Science/Physics" \ title="pymecavideo" \ command="/usr/bin/pymecavideo" debian/watch0000644000000000000000000000012311467463647010235 0ustar version=3 http://outilsphysiques.tuxfamily.org//upload/pymecavideo-(.*)\.tar\.bz2 debian/patches/0000755000000000000000000000000012104720242010607 5ustar debian/patches/Makefile.patch0000644000000000000000000002073012104717755013366 0ustar --- /dev/null +++ b/Makefile @@ -0,0 +1,57 @@ +DESTDIR = +HELPFILES = $(shell ls data/help/help-*.xhtml data/help/*.png) +MAN_LANG = fr + +all: manpage + for d in help lang src; do DESTDIR=$(DESTDIR) $(MAKE) -C $$d $@ ; done + +manpage: pymecavideo.1 + for l in $(MAN_LANG); do $(MAKE) pymecavideo.$$l.1; done + +%.1 : %.xml + xsltproc --nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $< + +pymecavideo.1: manpage.xml + xsltproc --nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl manpage.xml + +clean: + rm -f make_exe.py src/make_exe.py + rm -rf build + rm -f video_*.jpg *~ src/Ui_* src/*.pyc *.txt *.1 data/lang/*.qm + make -C data/help clean + +install-for-debian: all install-bin install-man install-help install-media fix-install + cp src/testfilm.py $(DESTDIR)/usr/share/python-mecavideo + +install-bin: + install -m 755 pymecavideo $(DESTDIR)/usr/bin + +install-man: + mkdir -p $(DESTDIR)/usr/share/man/man1 + gzip -c9 pymecavideo.1 > $(DESTDIR)/usr/share/man/man1/pymecavideo.1.gz + for l in $(MAN_LANG); do \ + mkdir -p $(DESTDIR)/usr/share/man/$$l/man1; \ + sed "s/pymecavideo.$$l/pymecavideo/" pymecavideo.$$l.1 | gzip -c9 > $(DESTDIR)/usr/share/man/$$l/man1/pymecavideo.1.gz; \ + done + +install-help: + mkdir -p $(DESTDIR)/usr/share/doc/python-mecavideo/html + for f in $(HELPFILES); do \ + cp $$f $(DESTDIR)/usr/share/doc/python-mecavideo/html; \ + done + +install-media: + install -m 0644 data/icones/pymecavideo.xpm data/icones/pymecavideo-48.png \ + $(DESTDIR)/usr/share/pixmaps + install -m 0644 pymecavideo.desktop $(DESTDIR)/usr/share/applications + install -m 0644 data/icones/pymecavideo.svg data/icones/pymecavideo.png \ + $(DESTDIR)/usr/share/icons + for d in data/icones data/video data/lang; do \ + cp -a $$d $(DESTDIR)/usr/share/python-mecavideo ; \ + done + +fix-install: + find $(DESTDIR)/usr/share/python-mecavideo -name COPYING -exec rm {} \; + find $(DESTDIR)/usr/share/python-mecavideo -type f -exec chmod 644 {} \; + +.PHONY: clean all install-for-debian install-bin install-man install-help install-media fix-install helpfiles --- /dev/null +++ b/pymecavideo.fr.xml @@ -0,0 +1,175 @@ + +.
will be generated. You may view the +manual page with: nroff -man .
| less'. A +typical entry in a Makefile or Makefile.am is: + +DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\ +manpages/docbook.xsl +XP=xsltproc -''-nonet + +manpage.1: manpage.dbk + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The +XSL files are in docbook-xsl. Please remember that if you +create the nroff version in one of the debian/rules file +targets (such as build), you will need to include xsltproc +and docbook-xsl in your Build-Depends control field. + +--> + + + FIRSTNAME"> + SURNAME"> + + 24 juin 2012"> + + 1"> + georgesk@ofset.org"> + + PYMECAVIDEO"> + + + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + 2007-2012 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + Pymecavideo + Pymecavideo + + + &dhpackage;.⟨ + + programme pédagogique pour l'enseignement de la mécanique + + + + &dhpackage; + + + + + + + fichier + + + + + + + + + + + + verbosité (niveau de 1 à 3) + + + + + + DESCRIPTION + + &dhpackage; est un programme servant à + suivre la cinématique d'un ensemble de points dans une série d'images + d'une vidéo. La taille de l'image peut être calibrée, ensuite on passe + au suivi des points et exporter dans un fichier les dates et les + coordonnées des points, afin de les analyser avec un autre logiciel. + + + On peut avoir plus d'information sous forme de fichiers HTML dans le + répertoire /usr/share/doc/python-mecavideo/html. + On peut assi accéder à cette information depuis l'interface utilisateur + de &dhpackage; par le menu Aide -> Aide. + + + + + OPTIONS + + + + + + + Déclare un ancien fichier pymecavideo où une sauvegarde de session a été faite. Permet + de recommencer au point où on en était arrivé. + + + + + + Utilise l'interface utilisateur de plus grande taille. + + + + + + + Déclare le niveau de verbosité pour déboguer l'application. Ce niveau vaut zéro + par défaut (pas d'émission de messages), et il peut valoir entre 1 et 3. + + + + + + ARGUMENTS + + + + + + + Définit une vidéo pour la charger au début (optionnellement). + + + + + + AUTEUR + + Cette page de manuel a été écrite par &dhusername; &dhemail; pour le + système &debian; (mais peut être utilisée pour d'autres). Vous avez + la permission de la copier, de la distribuer et/ou de la modifier + sous les termes de la licence &gnu; General Public License, Version 3 + ou toute autre version supérieure publiée par la Free Software Foundation. + + + Dans le cas des systèmes Debian, le texte complet de la licence + GNU General Public License se trouve dans le fichier + /usr/share/common-licenses/GPL-3. + + + +
+ debian/patches/commandline0000644000000000000000000000121312104720242013015 0ustar --- /dev/null +++ b/pymecavideo @@ -0,0 +1,5 @@ +#!/usr/bin/python + +import pymecavideo.pymecavideo + +pymecavideo.pymecavideo.run() --- /dev/null +++ b/pymecavideo.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Exec=/usr/bin/pymecavideo +Icon=/usr/share/pixmaps/pymecavideo-48.png +MimeType=application/x-pymecavideo; +Terminal=false +Name=pyMecaVideo +GenericName=Meca Video +GenericName[fr_FR]=Méca Vidéo +Comment=Interactive tool to track moving points in video framesets +Comment[fr_FR]=Outil interactif pour le suivi de points dans des vidéos +Categories=GNOME;Application;Video;Education;Science; debian/patches/series0000644000000000000000000000007712104720030012023 0ustar globdef-subprocess version6.1.patch Makefile.patch commandline debian/patches/globdef-subprocess0000644000000000000000000000316611574675156014357 0ustar Description: Upstream changes introduced in version 5.5-3 This patch has been created by dpkg-source during the package build. Here's the last changelog entry, hopefully it gives details on why those changes were made: . pymecavideo (5.5-3) unstable; urgency=low . * changed the build-dependency rsvg -> librsvg2-bin. Closes: #629732 . The person named in the Author field signed this changelog entry. Author: Georges Khaznadar Bug-Debian: http://bugs.debian.org/629732 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- pymecavideo-5.5.orig/src/globdef.py +++ pymecavideo-5.5/src/globdef.py @@ -41,7 +41,7 @@ licence['fr']=u""" """ -import sys, os +import sys, os, os.path, subprocess from PyQt4.QtGui import QDesktopServices #from PyQt4.QtGui import * @@ -95,6 +95,8 @@ if sys.platform == 'win32': else: datalocation=os.path.join("%s"%QDesktopServices.storageLocation(QDesktopServices.DataLocation),"pymecavideo") PATH = APP_DATA_PATH = datalocation + if not os.path.exists(datalocation): + subprocess.call("mkdir -p %s" %datalocation, shell=True) # debian/patches/version6.1.patch0000644000000000000000000000274012104717205013552 0ustar Description: adjusted the version number (from svn's branch) --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from distutils.core import setup #import py2exe setup (name='pymecavideo', - version='6.0', + version='6.1', description=u"pymecavideo permet de tracer des trajectoires issues de videos et d'en exporter les resultats", author='Jean-Baptiste BUTET, Georges KHAZNADAR', author_email='ashashiwa@gmail.com, georgesk@ofset.org', --- a/src/setup.py +++ b/src/setup.py @@ -2,12 +2,14 @@ ### setup.py ### from distutils.core import setup +import version + #import py2exe setup (name='pymecavideo', - version='6.0b1', + version=str(version.Version), description=u"pymecavideo permet de tracer des trajectoires issues de videos et d'en exporter les resultats", author='Jean-Baptiste BUTET, Georges KHAZNADAR', - author_email='ashashiwa@gmail.com, georgesk@ofset.org', + author_email='ashashiwa@gmail.com, georgesk@debian.org', url='http://outilsphysiques.tuxfamily.org/pmwiki.php/Oppl/Pymecavideo', license='GPLv3', packages=['pymecavideo'], --- a/src/version.py +++ b/src/version.py @@ -37,7 +37,7 @@ ############################################################### # la version courante, à incrémenter lors de changements ############################################################### -Version=version(6,0,'') +Version=version(6,1,'') ############################################################### debian/rules0000755000000000000000000000212411631447067010256 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 PACKAGE = python-mecavideo %: dh $@ --with python2 override_dh_clean: # code grabbed from Makefile, target clean. rm -rf build rm -f video_*.jpg *~ src/Ui_* src/*.pyc *.txt *.1 data/lang/*.qm make -C data/help clean # dh_clean override_dh_auto_build: python setup.py build override_dh_auto_install: $(MAKE) DESTDIR=$(CURDIR)/debian/$(PACKAGE) install-for-debian python setup.py install --root $(CURDIR)/debian/$(PACKAGE) # remove redundant icons and video files find $(CURDIR)/debian/$(PACKAGE)/usr/lib -name icones -type d | xargs rm -rf find $(CURDIR)/debian/$(PACKAGE)/usr/lib -name video -type d | xargs rm -rf override_dh_compress: dh_compress -X.xhtml debian/copyright0000644000000000000000000005531311467470506011142 0ustar This package was debianized by Georges Khaznadar on Wed, 26 Dec 2007 15:55:42 +0100. It was downloaded from svn://lucette-serveur.hd.free.fr/pymecavideo Upstream Authors: Jean-Baptiste Butet (main) Georges Khaznadar (contributions) Cédrick FAURY (W$ portage) Copyright: Copyright (C) 2007-2010 Jean-Baptiste Butet Copyright (C) 2008-2010 Georges Khaznadar Copyright (C) 2010 Cédrick FAURY License: GPL version 3, see `/usr/share/common-licenses/GPL-3'. The Debian packaging is (C) 2007, Georges Khaznadar and is licensed under the GPL version 3, see `/usr/share/common-licenses/GPL-3'. ================================================ Third-party library: src/oootools.py has been grabbed from another source, here is the copyright Author: Laurent Godard Copyright: Copyright (c) 2006 Nuxeo SARL License: GPL version 2, see `/usr/share/common-licenses/GPL-2'. ================================================ The video files given as examples have another free licence, Author: Benoît Markey Copyright: Copyright (C) 2007 Benoît Markey License: Creative Commons, CC-BY-SA, see `http://creativecommons.org/licenses/by-sa/3.0/' for a short summary for humans. If you are a lawier, here is the full text of the license: License THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. 1. Definitions 1. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License. 2. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined below) for the purposes of this License. 3. "Creative Commons Compatible License" means a license that is listed at http://creativecommons.org/compatiblelicenses that has been approved by Creative Commons as being essentially equivalent to this License, including, at a minimum, because that license: (i) contains terms that have the same purpose, meaning and effect as the License Elements of this License; and, (ii) explicitly permits the relicensing of adaptations of works made available under that license under this License or a Creative Commons jurisdiction license with the same License Elements as this License. 4. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership. 5. "License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, ShareAlike. 6. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License. 7. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast. 8. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work. 9. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. 10. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images. 11. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium. 2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws. 3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: 1. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; 2. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified."; 3. to Distribute and Publicly Perform the Work including as incorporated in Collections; and, 4. to Distribute and Publicly Perform Adaptations. 5. For the avoidance of doubt: 1. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; 2. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and, 3. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License. The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved. 4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: 1. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(c), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(c), as requested. 2. You may Distribute or Publicly Perform an Adaptation only under the terms of: (i) this License; (ii) a later version of this License with the same License Elements as this License; (iii) a Creative Commons jurisdiction license (either this or a later license version) that contains the same License Elements as this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible License. If you license the Adaptation under one of the licenses mentioned in (iv), you must comply with the terms of that license. If you license the Adaptation under the terms of any of the licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), you must comply with the terms of the Applicable License generally and the following provisions: (I) You must include a copy of, or the URI for, the Applicable License with every copy of each Adaptation You Distribute or Publicly Perform; (II) You may not offer or impose any terms on the Adaptation that restrict the terms of the Applicable License or the ability of the recipient of the Adaptation to exercise the rights granted to that recipient under the terms of the Applicable License; (III) You must keep intact all notices that refer to the Applicable License and to the disclaimer of warranties with every copy of the Work as included in the Adaptation You Distribute or Publicly Perform; (IV) when You Distribute or Publicly Perform the Adaptation, You may not impose any effective technological measures on the Adaptation that restrict the ability of a recipient of the Adaptation from You to exercise the rights granted to that recipient under the terms of the Applicable License. This Section 4(b) applies to the Adaptation as incorporated in a Collection, but this does not require the Collection apart from the Adaptation itself to be made subject to the terms of the Applicable License. 3. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Ssection 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties. 4. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise. 5. Representations, Warranties and Disclaimer UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 7. Termination 1. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. 2. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. 8. Miscellaneous 1. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. 2. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. 3. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. 4. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. 5. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. 6. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law. Creative Commons Notice Creative Commons is not a party to this License, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor. Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, Creative Commons does not authorize the use by either party of the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time. For the avoidance of doubt, this trademark restriction does not form part of the License. Creative Commons may be contacted at http://creativecommons.org/. debian/control0000644000000000000000000000144412104715773010603 0ustar Source: pymecavideo Section: python Priority: extra Maintainer: Georges Khaznadar Build-Depends: debhelper (>= 7.0.50~), python-all (>=2.6.6-3 ), python-qt4-dev, libqt4-dev, pyqt4-dev-tools, xsltproc, docbook-xsl, librsvg2-bin|inkscape, wget, quilt X-Python-Version: >= 2.5 Standards-Version: 3.9.3 Package: python-mecavideo Architecture: all Depends: ${python:Depends}, ${misc:Depends}, iceweasel|www-browser, python-qt4, xdg-utils, evince|postscript-viewer, python-opencv(>=2.1), python-matplotlib, shared-mime-info Recommends: mencoder, mplayer|vlc|xine Suggests: transcode Description: pedagogic tool to analyze video records for mechanics You can track the movement of one or many points in video frames and export the position measurements to standard analysis tools. debian/source/0000755000000000000000000000000012104674072010471 5ustar debian/source/format0000644000000000000000000000001411467464004011702 0ustar 3.0 (quilt)