diff -Nru periscope-gnome-0.2.5/debian/changelog periscope-gnome-0.2.6/debian/changelog --- periscope-gnome-0.2.5/debian/changelog 2011-10-31 18:44:53.000000000 +0000 +++ periscope-gnome-0.2.6/debian/changelog 2011-11-12 00:06:56.000000000 +0000 @@ -1,5 +1,5 @@ -periscope-gnome (0.2.5-1) oneiric; urgency=low +periscope-gnome (0.2.6-1) unstable; urgency=low - * First release for Ubuntu 11.10 + * Initial release (Closes: #nnnn) - -- Patrick Dessalle Mon, 31 Oct 2011 19:44:25 +0100 + -- Patrick Dessalle Sat, 12 Nov 2011 01:06:54 +0100 diff -Nru periscope-gnome-0.2.5/debian/control periscope-gnome-0.2.6/debian/control --- periscope-gnome-0.2.5/debian/control 2011-10-31 18:44:26.000000000 +0000 +++ periscope-gnome-0.2.6/debian/control 2011-11-12 00:06:56.000000000 +0000 @@ -10,7 +10,7 @@ Package: periscope-gnome Architecture: all XB-Python-Version: ${python:Versions} -Depends: ${misc:Depends}, ${python:Depends}, python-periscope (>=0.2.4), python-nautilus, python-notify, python-xdg +Depends: ${misc:Depends}, ${python:Depends}, python-periscope (>=0.2.4), python-nautilus (>=1.0), python-notify, python-xdg Suggests: nautilus, totem Description: Gnome integration for periscope video subtitles search module. This packages adds support in Nautilus (right-click on a video or folder). diff -Nru periscope-gnome-0.2.5/debian/emacsen-install.ex periscope-gnome-0.2.6/debian/emacsen-install.ex --- periscope-gnome-0.2.5/debian/emacsen-install.ex 2011-10-31 18:44:26.000000000 +0000 +++ periscope-gnome-0.2.6/debian/emacsen-install.ex 1970-01-01 00:00:00.000000000 +0000 @@ -1,45 +0,0 @@ -#! /bin/sh -e -# /usr/lib/emacsen-common/packages/install/periscope-gnome - -# Written by Jim Van Zandt , borrowing heavily -# from the install scripts for gettext by Santiago Vila -# and octave by Dirk Eddelbuettel . - -FLAVOR=$1 -PACKAGE=periscope-gnome - -if [ ${FLAVOR} = emacs ]; then exit 0; fi - -echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} - -#FLAVORTEST=`echo $FLAVOR | cut -c-6` -#if [ ${FLAVORTEST} = xemacs ] ; then -# SITEFLAG="-no-site-file" -#else -# SITEFLAG="--no-site-file" -#fi -FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" - -ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} -ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} - -# Install-info-altdir does not actually exist. -# Maybe somebody will write it. -if test -x /usr/sbin/install-info-altdir; then - echo install/${PACKAGE}: install Info links for ${FLAVOR} - install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/share/info/${PACKAGE}.info.gz -fi - -install -m 755 -d ${ELCDIR} -cd ${ELDIR} -FILES=`echo *.el` -cp ${FILES} ${ELCDIR} -cd ${ELCDIR} - -cat << EOF > path.el -(setq load-path (cons "." load-path) byte-compile-warnings nil) -EOF -${FLAVOR} ${FLAGS} ${FILES} -rm -f *.el path.el - -exit 0 diff -Nru periscope-gnome-0.2.5/debian/emacsen-remove.ex periscope-gnome-0.2.6/debian/emacsen-remove.ex --- periscope-gnome-0.2.5/debian/emacsen-remove.ex 2011-10-31 18:44:26.000000000 +0000 +++ periscope-gnome-0.2.6/debian/emacsen-remove.ex 1970-01-01 00:00:00.000000000 +0000 @@ -1,15 +0,0 @@ -#!/bin/sh -e -# /usr/lib/emacsen-common/packages/remove/periscope-gnome - -FLAVOR=$1 -PACKAGE=periscope-gnome - -if [ ${FLAVOR} != emacs ]; then - if test -x /usr/sbin/install-info-altdir; then - echo remove/${PACKAGE}: removing Info links for ${FLAVOR} - install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/share/info/periscope-gnome.info.gz - fi - - echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} - rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} -fi diff -Nru periscope-gnome-0.2.5/debian/emacsen-startup.ex periscope-gnome-0.2.6/debian/emacsen-startup.ex --- periscope-gnome-0.2.5/debian/emacsen-startup.ex 2011-10-31 18:44:26.000000000 +0000 +++ periscope-gnome-0.2.6/debian/emacsen-startup.ex 1970-01-01 00:00:00.000000000 +0000 @@ -1,25 +0,0 @@ -;; -*-emacs-lisp-*- -;; -;; Emacs startup file, e.g. /etc/emacs/site-start.d/50periscope-gnome.el -;; for the Debian periscope-gnome package -;; -;; Originally contributed by Nils Naumann -;; Modified by Dirk Eddelbuettel -;; Adapted for dh-make by Jim Van Zandt - -;; The periscope-gnome package follows the Debian/GNU Linux 'emacsen' policy and -;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, -;; xemacs19, emacs20, xemacs20...). The compiled code is then -;; installed in a subdirectory of the respective site-lisp directory. -;; We have to add this to the load-path: -(let ((package-dir (concat "/usr/share/" - (symbol-name flavor) - "/site-lisp/periscope-gnome"))) -;; If package-dir does not exist, the periscope-gnome package must have -;; removed but not purged, and we should skip the setup. - (when (file-directory-p package-dir) - (setq load-path (cons package-dir load-path)) - (autoload 'periscope-gnome-mode "periscope-gnome-mode" - "Major mode for editing periscope-gnome files." t) - (add-to-list 'auto-mode-alist '("\\.periscope-gnome$" . periscope-gnome-mode)))) - diff -Nru periscope-gnome-0.2.5/debian/init.d.ex periscope-gnome-0.2.6/debian/init.d.ex --- periscope-gnome-0.2.5/debian/init.d.ex 2011-10-31 18:44:26.000000000 +0000 +++ periscope-gnome-0.2.6/debian/init.d.ex 1970-01-01 00:00:00.000000000 +0000 @@ -1,154 +0,0 @@ -#!/bin/sh -### BEGIN INIT INFO -# Provides: periscope-gnome -# Required-Start: $network $local_fs -# Required-Stop: -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: -# Description: -# <...> -# <...> -### END INIT INFO - -# Author: Patrick Dessalle - -# PATH should only include /usr/* if it runs after the mountnfs.sh script -PATH=/sbin:/usr/sbin:/bin:/usr/bin -DESC=periscope-gnome # Introduce a short description here -NAME=periscope-gnome # Introduce the short server's name here -DAEMON=/usr/sbin/periscope-gnome # Introduce the server's location here -DAEMON_ARGS="" # Arguments to run the daemon with -PIDFILE=/var/run/$NAME.pid -SCRIPTNAME=/etc/init.d/$NAME - -# Exit if the package is not installed -[ -x $DAEMON ] || exit 0 - -# Read configuration variable file if it is present -[ -r /etc/default/$NAME ] && . /etc/default/$NAME - -# Load the VERBOSE setting and other rcS variables -. /lib/init/vars.sh - -# Define LSB log_* functions. -# Depend on lsb-base (>= 3.0-6) to ensure that this file is present. -. /lib/lsb/init-functions - -# -# Function that starts the daemon/service -# -do_start() -{ - # Return - # 0 if daemon has been started - # 1 if daemon was already running - # 2 if daemon could not be started - start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \ - || return 1 - start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \ - $DAEMON_ARGS \ - || return 2 - # Add code here, if necessary, that waits for the process to be ready - # to handle requests from services started subsequently which depend - # on this one. As a last resort, sleep for some time. -} - -# -# Function that stops the daemon/service -# -do_stop() -{ - # Return - # 0 if daemon has been stopped - # 1 if daemon was already stopped - # 2 if daemon could not be stopped - # other if a failure occurred - start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME - RETVAL="$?" - [ "$RETVAL" = 2 ] && return 2 - # Wait for children to finish too if this is a daemon that forks - # and if the daemon is only ever run from this initscript. - # If the above conditions are not satisfied then add some other code - # that waits for the process to drop all resources that could be - # needed by services started subsequently. A last resort is to - # sleep for some time. - start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON - [ "$?" = 2 ] && return 2 - # Many daemons don't delete their pidfiles when they exit. - rm -f $PIDFILE - return "$RETVAL" -} - -# -# Function that sends a SIGHUP to the daemon/service -# -do_reload() { - # - # If the daemon can reload its configuration without - # restarting (for example, when it is sent a SIGHUP), - # then implement that here. - # - start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME - return 0 -} - -case "$1" in - start) - [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC " "$NAME" - do_start - case "$?" in - 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; - 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; - esac - ;; - stop) - [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" - do_stop - case "$?" in - 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; - 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; - esac - ;; - status) - status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? - ;; - #reload|force-reload) - # - # If do_reload() is not implemented then leave this commented out - # and leave 'force-reload' as an alias for 'restart'. - # - #log_daemon_msg "Reloading $DESC" "$NAME" - #do_reload - #log_end_msg $? - #;; - restart|force-reload) - # - # If the "reload" option is implemented then remove the - # 'force-reload' alias - # - log_daemon_msg "Restarting $DESC" "$NAME" - do_stop - case "$?" in - 0|1) - do_start - case "$?" in - 0) log_end_msg 0 ;; - 1) log_end_msg 1 ;; # Old process is still running - *) log_end_msg 1 ;; # Failed to start - esac - ;; - *) - # Failed to stop - log_end_msg 1 - ;; - esac - ;; - *) - #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2 - echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 - exit 3 - ;; -esac - -: diff -Nru periscope-gnome-0.2.5/debian/manpage.1.ex periscope-gnome-0.2.6/debian/manpage.1.ex --- periscope-gnome-0.2.5/debian/manpage.1.ex 2011-10-31 18:44:26.000000000 +0000 +++ periscope-gnome-0.2.6/debian/manpage.1.ex 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ -.\" Hey, EMACS: -*- nroff -*- -.\" First parameter, NAME, should be all caps -.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection -.\" other parameters are allowed: see man(7), man(1) -.TH PERISCOPE-GNOME SECTION "October 31, 2011" -.\" 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 -periscope-gnome \- program to do something -.SH SYNOPSIS -.B periscope-gnome -.RI [ options ] " files" ... -.br -.B bar -.RI [ options ] " files" ... -.SH DESCRIPTION -This manual page documents briefly the -.B periscope-gnome -and -.B bar -commands. -.PP -.\" TeX users may be more comfortable with the \fB\fP and -.\" \fI\fP escape sequences to invode bold face and italics, -.\" respectively. -\fBperiscope-gnome\fP is a program that... -.SH OPTIONS -These programs follow the usual GNU command line syntax, with long -options starting with two dashes (`-'). -A summary of options is included below. -For a complete description, see the Info files. -.TP -.B \-h, \-\-help -Show summary of options. -.TP -.B \-v, \-\-version -Show version of program. -.SH SEE ALSO -.BR bar (1), -.BR baz (1). -.br -The programs are documented fully by -.IR "The Rise and Fall of a Fooish Bar" , -available via the Info system. -.SH AUTHOR -periscope-gnome was written by . -.PP -This manual page was written by Patrick Dessalle , -for the Debian project (and may be used by others). diff -Nru periscope-gnome-0.2.5/debian/manpage.sgml.ex periscope-gnome-0.2.6/debian/manpage.sgml.ex --- periscope-gnome-0.2.5/debian/manpage.sgml.ex 2011-10-31 18:44:26.000000000 +0000 +++ periscope-gnome-0.2.6/debian/manpage.sgml.ex 1970-01-01 00:00:00.000000000 +0000 @@ -1,154 +0,0 @@ - manpage.1'. You may view - the manual page with: `docbook-to-man manpage.sgml | nroff -man | - less'. A typical entry in a Makefile or Makefile.am is: - -manpage.1: manpage.sgml - docbook-to-man $< > $@ - - - The docbook-to-man binary is found in the docbook-to-man package. - 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 - docbook-to-man in your Build-Depends control field. - - --> - - - FIRSTNAME"> - SURNAME"> - - October 31, 2011"> - - SECTION"> - patrick.dessalle@gmail.com"> - - PERISCOPE-GNOME"> - - - Debian"> - GNU"> - GPL"> -]> - - - -
- &dhemail; -
- - &dhfirstname; - &dhsurname; - - - 2003 - &dhusername; - - &dhdate; -
- - &dhucpackage; - - &dhsection; - - - &dhpackage; - - program to do something - - - - &dhpackage; - - - - - - - - DESCRIPTION - - This manual page documents briefly the - &dhpackage; and bar - commands. - - This manual page was written for the &debian; distribution - because the original program does not have a manual page. - Instead, it has documentation in the &gnu; - Info format; see below. - - &dhpackage; is a program that... - - - - OPTIONS - - These programs follow the usual &gnu; command line syntax, - with long options starting with two dashes (`-'). A summary of - options is included below. For a complete description, see the - Info files. - - - - - - - - Show summary of options. - - - - - - - - Show version of program. - - - - - - SEE ALSO - - bar (1), baz (1). - - The programs are documented fully by The Rise and - Fall of a Fooish Bar available via the - Info system. - - - AUTHOR - - This manual page was written by &dhusername; &dhemail; for - the &debian; system (and may be used by others). Permission is - granted to copy, distribute and/or modify this document under - the terms of the &gnu; General Public License, Version 2 any - later version published by the Free Software Foundation. - - - On Debian systems, the complete text of the GNU General Public - License can be found in /usr/share/common-licenses/GPL. - - - -
- - diff -Nru periscope-gnome-0.2.5/debian/manpage.xml.ex periscope-gnome-0.2.6/debian/manpage.xml.ex --- periscope-gnome-0.2.5/debian/manpage.xml.ex 2011-10-31 18:44:26.000000000 +0000 +++ periscope-gnome-0.2.6/debian/manpage.xml.ex 1970-01-01 00:00:00.000000000 +0000 @@ -1,291 +0,0 @@ - -.
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/docbook-xsl/manpages/docbook.xsl -XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" - -manpage.1: manpage.xml - $(XP) $(DB2MAN) $< - -The xsltproc binary is found in the xsltproc package. The XSL files are in -docbook-xsl. A description of the parameters you can use can be found in the -docbook-xsl-doc-* packages. 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. -Alternatively use the xmlto command/package. That will also automatically -pull in xsltproc and docbook-xsl. - -Notes for using docbook2x: docbook2x-man does not automatically create the -AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as - ... . - -To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections -read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be -found in the docbook-xsl-doc-html package. - -Validation can be done using: `xmllint -''-noout -''-valid manpage.xml` - -General documentation about man-pages and man-page-formatting: -man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ - ---> - - - - - - - - - - - - - -]> - - - - &dhtitle; - &dhpackage; - - - &dhfirstname; - &dhsurname; - Wrote this manpage for the Debian system. -
- &dhemail; -
-
-
- - 2007 - &dhusername; - - - This manual page was written for the Debian system - (and may be used by others). - Permission is granted to copy, distribute and/or modify this - document under the terms of the GNU General Public License, - Version 2 or (at your option) any later version published by - the Free Software Foundation. - On Debian systems, the complete text of the GNU General Public - License can be found in - /usr/share/common-licenses/GPL. - -
- - &dhucpackage; - &dhsection; - - - &dhpackage; - program to do something - - - - &dhpackage; - - - - - - - - - this - - - - - - - - this - that - - - - - &dhpackage; - - - - - - - - - - - - - - - - - - - DESCRIPTION - This manual page documents briefly the - &dhpackage; and bar - commands. - This manual page was written for the Debian distribution - because the original program does not have a manual page. - Instead, it has documentation in the GNU - info - 1 - format; see below. - &dhpackage; is a program that... - - - OPTIONS - The program follows the usual GNU command line syntax, - with long options starting with two dashes (`-'). A summary of - options is included below. For a complete description, see the - - info - 1 - files. - - - - - - - Does this and that. - - - - - - - Show summary of options. - - - - - - - Show version of program. - - - - - - FILES - - - /etc/foo.conf - - The system-wide configuration file to control the - behaviour of &dhpackage;. See - - foo.conf - 5 - for further details. - - - - ${HOME}/.foo.conf - - The per-user configuration file to control the - behaviour of &dhpackage;. See - - foo.conf - 5 - for further details. - - - - - - ENVIONMENT - - - FOO_CONF - - If used, the defined file is used as configuration - file (see also ). - - - - - - DIAGNOSTICS - The following diagnostics may be issued - on stderr: - - - Bad configuration file. Exiting. - - The configuration file seems to contain a broken configuration - line. Use the option, to get more info. - - - - - &dhpackage; provides some return codes, that can - be used in scripts: - - Code - Diagnostic - - 0 - Program exited successfully. - - - 1 - The configuration file seems to be broken. - - - - - - BUGS - The program is currently limited to only work - with the foobar library. - The upstreams BTS can be found - at . - - - SEE ALSO - - - bar - 1 - , - baz - 1 - , - foo.conf - 5 - - The programs are documented fully by The Rise and - Fall of a Fooish Bar available via the - info - 1 - system. - -
- diff -Nru periscope-gnome-0.2.5/debian/menu.ex periscope-gnome-0.2.6/debian/menu.ex --- periscope-gnome-0.2.5/debian/menu.ex 2011-10-31 18:44:26.000000000 +0000 +++ periscope-gnome-0.2.6/debian/menu.ex 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -?package(periscope-gnome):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ - title="periscope-gnome" command="/usr/bin/periscope-gnome" diff -Nru periscope-gnome-0.2.5/debian/patches/debian-changes-0.2.5-1 periscope-gnome-0.2.6/debian/patches/debian-changes-0.2.5-1 --- periscope-gnome-0.2.5/debian/patches/debian-changes-0.2.5-1 2011-10-31 18:45:10.000000000 +0000 +++ periscope-gnome-0.2.6/debian/patches/debian-changes-0.2.5-1 1970-01-01 00:00:00.000000000 +0000 @@ -1,223 +0,0 @@ -Description: Upstream changes introduced in version 0.2.5-1 - 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: - . - periscope-gnome (0.2.5-1) oneiric; urgency=low - . - * First release for Ubuntu 11.10 - . - The person named in the Author field signed this changelog entry. -Author: Patrick Dessalle - ---- -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: - ---- /dev/null -+++ periscope-gnome-0.2.5/version.py -@@ -0,0 +1 @@ -+VERSION="0.2.5" ---- /dev/null -+++ periscope-gnome-0.2.5/setup.py -@@ -0,0 +1,32 @@ -+# -*- coding: utf-8 -*- -+ -+# This file is part of periscope. -+# Copyright (c) 2008-2011 Patrick Dessalle -+# -+# periscope is free software; you can redistribute it and/or modify -+# it under the terms of the GNU Lesser General Public License as published by -+# the Free Software Foundation; either version 2 of the License, or -+# (at your option) any later version. -+# -+# periscope 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 Lesser General Public License for more details. -+# -+# You should have received a copy of the GNU Lesser General Public License -+# along with periscope; if not, write to the Free Software -+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -+ -+from setuptools import setup -+import shutil -+import os -+import version -+ -+PACKAGE = 'periscope-gnome' -+VERSION = version.VERSION -+ -+try: -+ os.makedirs("./debian/periscope-gnome/usr/lib/nautilus/extensions-2.0/python") -+except: -+ pass -+shutil.copy('periscope-nautilus/periscope-nautilus.py', 'debian/periscope-gnome/usr/lib/nautilus/extensions-2.0/python') ---- /dev/null -+++ periscope-gnome-0.2.5/periscope-nautilus/periscope-nautilus.py -@@ -0,0 +1,118 @@ -+# -*- coding: utf-8 -*- -+ -+# This file is part of periscope. -+# Copyright (c) 2008-2011 Patrick Dessalle -+# -+# periscope 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. -+# -+# periscope 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 periscope; if not, write to the Free Software -+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -+ -+import gtk -+import urllib2 -+import nautilus -+import os -+import threading -+import gettext -+import gio -+import logging -+import xdg.BaseDirectory as bd # required -+try: -+ import pynotify -+except ImportError: -+ pass -+ -+import periscope -+ -+# i18n stuff -+gettext.install('periscope-nautilus') -+ -+class DownloadSubtitles(nautilus.MenuProvider): -+ ''' This class is to be used in Nautilus with the python-nautilus extension. -+ It provides a context menu on video file to download subtitles.''' -+ def __init__(self): -+ if pynotify: -+ pynotify.init("periscope subtitles downloader") -+ self.cache_folder = os.path.join(bd.xdg_config_home, "periscope") -+ -+ def menu_activate_cb(self, menu, files): -+ #List the valid files -+ videos = [f for f in files if not f.is_gone() and self.is_valid(f)] -+ # Get the file paths from gvfs so we support non local file systems, yay! -+ g = gio.vfs_get_default() -+ videos = map(lambda f: g.get_file_for_uri(f.get_uri()).get_path(), videos) -+ -+ # Call the thread -+ invoker = PeriscopeInvoker(videos, self.notify, self.cache_folder) -+ invoker.start() -+ # Run the GTK mainloop -+ gtk.main() -+ -+ -+ def get_file_items(self, window, files): -+ # Keep only the files we want (right type and file) -+ files = [ f for f in files if self.is_valid(f)] -+ if len(files) == 0: -+ return -+ -+ item = nautilus.MenuItem('Nautilus::download_subtitles', -+ _('Find subtitles for this video'), -+ _('Download subtitles for this video'), -+ gtk.STOCK_FIND_AND_REPLACE) -+ item.connect('activate', self.menu_activate_cb, files) -+ return item, -+ -+ def is_valid(self, f): -+ return f.get_mime_type() in periscope.SUPPORTED_FORMATS and (f.get_uri_scheme() == 'file' or f.get_uri_scheme() == 'smb') -+ -+ def notify(self, found, notfound): -+ ''' Use pynotify to warn the user that subtitles have been downloaded''' -+ if pynotify: -+ title = "periscope found %s out of %s subtitles" %(len(found), len(found) + len(notfound)) -+ if len(notfound) > 0: -+ msg = _("Could not find: \n") -+ filenames = [os.path.basename(f["filename"]) for f in notfound] -+ msg += "\n".join(filenames) -+ msg += "\n" -+ -+ if len(found) > 0: -+ msg = _("Found: \n") -+ filenames = [os.path.basename(f["filename"]) + " ("+f['lang']+")" for f in found] -+ msg += "\n".join(filenames) -+ -+ n = pynotify.Notification(title, msg, gtk.STOCK_FIND_AND_REPLACE) -+ n.set_timeout(pynotify.EXPIRES_DEFAULT) -+ n.show() -+ else: -+ pass -+ -+ -+class PeriscopeInvoker(threading.Thread): -+ ''' Thread that will call persicope in the background''' -+ def __init__(self, filenames, callback, cache_folder): -+ self.filenames = filenames -+ self.callback = callback -+ self.found = [] -+ self.notfound = [] -+ self.cache_folder = cache_folder -+ threading.Thread.__init__(self) -+ -+ def run(self): -+ subdl = periscope.Periscope(self.cache_folder) -+ print "prefered languages: %s" %subdl.preferedLanguages -+ for filename in self.filenames: -+ subtitle = subdl.downloadSubtitle(filename, subdl.preferedLanguages) -+ if subtitle: -+ self.found.append(subtitle) -+ else: -+ self.notfound.append({"filename": filename }) -+ self.callback(self.found, self.notfound) ---- /dev/null -+++ periscope-gnome-0.2.5/periscope-nautilus/periscope-nautilus-testcase.py -@@ -0,0 +1,35 @@ -+# -*- coding: utf-8 -*- -+ -+# This file is part of periscope. -+# Copyright (c) 2008-2011 Patrick Dessalle -+# -+# periscope 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. -+# -+# periscope 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 periscope; if not, write to the Free Software -+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -+ -+import unittest -+import MenuProvider -+ -+class MenuProviderTestCase(unittest.TestCase): -+ -+ def runTest(self): -+ try: -+ dir(MenuProvider) -+ mp = MenuProvider.DownloadSubtitles() -+ mp.notify([{"filename": "a"}], []) -+ except Exception, e: -+ print e -+ self.fail("Could not notify") -+ -+if __name__ == "__main__": -+ unittest.main() diff -Nru periscope-gnome-0.2.5/debian/patches/debian-changes-0.2.6-1 periscope-gnome-0.2.6/debian/patches/debian-changes-0.2.6-1 --- periscope-gnome-0.2.5/debian/patches/debian-changes-0.2.6-1 1970-01-01 00:00:00.000000000 +0000 +++ periscope-gnome-0.2.6/debian/patches/debian-changes-0.2.6-1 2011-11-12 00:10:30.000000000 +0000 @@ -0,0 +1,235 @@ +Description: Upstream changes introduced in version 0.2.6-1 + 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: + . + periscope-gnome (0.2.6-1) unstable; urgency=low + . + * Initial release (Closes: #nnnn) + . + The person named in the Author field signed this changelog entry. +Author: Patrick Dessalle + +--- +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: + +--- /dev/null ++++ periscope-gnome-0.2.6/version.py +@@ -0,0 +1 @@ ++VERSION="0.2.6" +--- /dev/null ++++ periscope-gnome-0.2.6/setup.py +@@ -0,0 +1,32 @@ ++# -*- coding: utf-8 -*- ++ ++# This file is part of periscope. ++# Copyright (c) 2008-2011 Patrick Dessalle ++# ++# periscope is free software; you can redistribute it and/or modify ++# it under the terms of the GNU Lesser General Public License as published by ++# the Free Software Foundation; either version 2 of the License, or ++# (at your option) any later version. ++# ++# periscope 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 Lesser General Public License for more details. ++# ++# You should have received a copy of the GNU Lesser General Public License ++# along with periscope; if not, write to the Free Software ++# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ++ ++from setuptools import setup ++import shutil ++import os ++import version ++ ++PACKAGE = 'periscope-gnome' ++VERSION = version.VERSION ++ ++try: ++ os.makedirs("./debian/periscope-gnome/usr/share/nautilus-python/extensions") ++except: ++ pass ++shutil.copy('periscope-nautilus/periscope-nautilus.py', 'debian/periscope-gnome/usr/share/nautilus-python/extensions') +--- /dev/null ++++ periscope-gnome-0.2.6/periscope-nautilus/periscope-nautilus.py +@@ -0,0 +1,130 @@ ++# -*- coding: utf-8 -*- ++ ++# This file is part of periscope. ++# Copyright (c) 2008-2011 Patrick Dessalle ++# Ported to GTK3/PyGI with multiprocessing by Shock ++# ++# periscope 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. ++# ++# periscope 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 periscope; if not, write to the Free Software ++# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ++ ++from gi.repository import Gtk, Gio, GObject, Nautilus ++from multiprocessing import Process, Queue ++from Queue import Empty ++from time import sleep ++# import urllib2 ++import os ++import gettext ++# import logging ++import xdg.BaseDirectory as bd # required ++try: ++ from gi.repository import Notify ++except ImportError: ++ pass ++ ++import periscope ++ ++# i18n stuff ++gettext.install('periscope-nautilus') ++ ++class DownloadSubtitles(GObject.GObject, Nautilus.MenuProvider): ++ ''' This class is to be used in Nautilus with the python-nautilus extension. ++ It provides a context menu on video file to download subtitles.''' ++ def __init__(self): ++ if Notify: ++ Notify.init("periscope subtitles downloader") ++ self.cache_folder = os.path.join(bd.xdg_config_home, "periscope") ++ ++ def get_file_items(self, window, files): ++ # Keep only the files we want (right type and file) ++ files = [ f for f in files if self.is_valid(f)] ++ if len(files) == 0: ++ return ++ ++ item = Nautilus.MenuItem(name='Nautilus::download_subtitles', ++ label=_('Find subtitles for this video'), ++ tip=_('Download subtitles for this video'), ++ icon=Gtk.STOCK_FIND_AND_REPLACE) ++ item.connect('activate', self.menu_activate_cb, files) ++ return item, ++ ++ def menu_activate_cb(self, menu, files): ++ #List the valid files ++ videos = [f for f in files if not f.is_gone() and self.is_valid(f)] ++ # Get the file paths from gvfs so we support non local file systems, yay! ++ g = Gio.Vfs.get_default() ++ videos = map(lambda f: g.get_file_for_uri(f.get_uri()).get_path(), videos) ++ ++ # Download the subtitles in a new process and get the results in this process via a Queue ++ queue = Queue() ++ invoker = PeriscopeInvoker(videos, self.cache_folder, queue) ++ invoker.start() ++ result = [] ++ while not result: ++ try: ++ result = queue.get_nowait() ++ except Empty: ++ pass ++ finally: ++ Gtk.main_iteration_do(False) # a blocking version with timeout would have been nice ++ sleep(0.01) ++ [found, notfound] = result ++ self.notify(found, notfound) ++ invoker.join() ++ ++ def is_valid(self, f): ++ return f.get_mime_type() in periscope.SUPPORTED_FORMATS and (f.get_uri_scheme() == 'file' or f.get_uri_scheme() == 'smb') ++ ++ def notify(self, found, notfound): ++ ''' Use Notify to warn the user that subtitles have been downloaded''' ++ if Notify: ++ title = "periscope found %s out of %s subtitles" %(len(found), len(found) + len(notfound)) ++ if len(notfound) > 0: ++ msg = _("Could not find: \n") ++ filenames = [os.path.basename(f["filename"]) for f in notfound] ++ msg += "\n".join(filenames) ++ msg += "\n" ++ ++ if len(found) > 0: ++ msg = _("Found: \n") ++ filenames = [os.path.basename(f["filename"]) + " ("+f['lang']+")" for f in found] ++ msg += "\n".join(filenames) ++ ++ n = Notify.Notification.new(title, msg, Gtk.STOCK_FIND_AND_REPLACE) ++ n.set_timeout(Notify.EXPIRES_DEFAULT) ++ n.show() ++ else: ++ pass ++ ++class PeriscopeInvoker(Process): ++ ''' Thread that will call persicope in the background''' ++ def __init__(self, filenames, cache_folder, queue): ++ self.filenames = filenames ++ self.found = [] ++ self.notfound = [] ++ self.cache_folder = cache_folder ++ self.queue = queue ++ Process.__init__(self) ++ ++ def run(self): ++ subdl = periscope.Periscope(self.cache_folder) ++ print "prefered languages: %s" %subdl.preferedLanguages ++ for filename in self.filenames: ++ subtitle = subdl.downloadSubtitle(filename, subdl.preferedLanguages) ++ if subtitle: ++ del subtitle["plugin"] # multiprocessing Queue won't be able to pickle this and will bark ++ self.found.append(subtitle) ++ else: ++ self.notfound.append({"filename": filename }) ++ self.queue.put([self.found, self.notfound]) ++ self.queue.close() # we won't have anything more to transmit to the parent process +--- /dev/null ++++ periscope-gnome-0.2.6/periscope-nautilus/periscope-nautilus-testcase.py +@@ -0,0 +1,35 @@ ++# -*- coding: utf-8 -*- ++ ++# This file is part of periscope. ++# Copyright (c) 2008-2011 Patrick Dessalle ++# ++# periscope 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. ++# ++# periscope 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 periscope; if not, write to the Free Software ++# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ++ ++import unittest ++import MenuProvider ++ ++class MenuProviderTestCase(unittest.TestCase): ++ ++ def runTest(self): ++ try: ++ dir(MenuProvider) ++ mp = MenuProvider.DownloadSubtitles() ++ mp.notify([{"filename": "a"}], []) ++ except Exception, e: ++ print e ++ self.fail("Could not notify") ++ ++if __name__ == "__main__": ++ unittest.main() diff -Nru periscope-gnome-0.2.5/debian/patches/series periscope-gnome-0.2.6/debian/patches/series --- periscope-gnome-0.2.5/debian/patches/series 2011-10-31 18:45:10.000000000 +0000 +++ periscope-gnome-0.2.6/debian/patches/series 2011-11-12 00:07:22.000000000 +0000 @@ -1 +1 @@ -debian-changes-0.2.5-1 +debian-changes-0.2.6-1 diff -Nru periscope-gnome-0.2.5/debian/periscope-gnome/usr/lib/nautilus/extensions-2.0/python/periscope-nautilus.py periscope-gnome-0.2.6/debian/periscope-gnome/usr/lib/nautilus/extensions-2.0/python/periscope-nautilus.py --- periscope-gnome-0.2.5/debian/periscope-gnome/usr/lib/nautilus/extensions-2.0/python/periscope-nautilus.py 2011-10-31 18:45:09.000000000 +0000 +++ periscope-gnome-0.2.6/debian/periscope-gnome/usr/lib/nautilus/extensions-2.0/python/periscope-nautilus.py 1970-01-01 00:00:00.000000000 +0000 @@ -1,118 +0,0 @@ -# -*- coding: utf-8 -*- - -# This file is part of periscope. -# Copyright (c) 2008-2011 Patrick Dessalle -# -# periscope 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. -# -# periscope 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 periscope; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -import gtk -import urllib2 -import nautilus -import os -import threading -import gettext -import gio -import logging -import xdg.BaseDirectory as bd # required -try: - import pynotify -except ImportError: - pass - -import periscope - -# i18n stuff -gettext.install('periscope-nautilus') - -class DownloadSubtitles(nautilus.MenuProvider): - ''' This class is to be used in Nautilus with the python-nautilus extension. - It provides a context menu on video file to download subtitles.''' - def __init__(self): - if pynotify: - pynotify.init("periscope subtitles downloader") - self.cache_folder = os.path.join(bd.xdg_config_home, "periscope") - - def menu_activate_cb(self, menu, files): - #List the valid files - videos = [f for f in files if not f.is_gone() and self.is_valid(f)] - # Get the file paths from gvfs so we support non local file systems, yay! - g = gio.vfs_get_default() - videos = map(lambda f: g.get_file_for_uri(f.get_uri()).get_path(), videos) - - # Call the thread - invoker = PeriscopeInvoker(videos, self.notify, self.cache_folder) - invoker.start() - # Run the GTK mainloop - gtk.main() - - - def get_file_items(self, window, files): - # Keep only the files we want (right type and file) - files = [ f for f in files if self.is_valid(f)] - if len(files) == 0: - return - - item = nautilus.MenuItem('Nautilus::download_subtitles', - _('Find subtitles for this video'), - _('Download subtitles for this video'), - gtk.STOCK_FIND_AND_REPLACE) - item.connect('activate', self.menu_activate_cb, files) - return item, - - def is_valid(self, f): - return f.get_mime_type() in periscope.SUPPORTED_FORMATS and (f.get_uri_scheme() == 'file' or f.get_uri_scheme() == 'smb') - - def notify(self, found, notfound): - ''' Use pynotify to warn the user that subtitles have been downloaded''' - if pynotify: - title = "periscope found %s out of %s subtitles" %(len(found), len(found) + len(notfound)) - if len(notfound) > 0: - msg = _("Could not find: \n") - filenames = [os.path.basename(f["filename"]) for f in notfound] - msg += "\n".join(filenames) - msg += "\n" - - if len(found) > 0: - msg = _("Found: \n") - filenames = [os.path.basename(f["filename"]) + " ("+f['lang']+")" for f in found] - msg += "\n".join(filenames) - - n = pynotify.Notification(title, msg, gtk.STOCK_FIND_AND_REPLACE) - n.set_timeout(pynotify.EXPIRES_DEFAULT) - n.show() - else: - pass - - -class PeriscopeInvoker(threading.Thread): - ''' Thread that will call persicope in the background''' - def __init__(self, filenames, callback, cache_folder): - self.filenames = filenames - self.callback = callback - self.found = [] - self.notfound = [] - self.cache_folder = cache_folder - threading.Thread.__init__(self) - - def run(self): - subdl = periscope.Periscope(self.cache_folder) - print "prefered languages: %s" %subdl.preferedLanguages - for filename in self.filenames: - subtitle = subdl.downloadSubtitle(filename, subdl.preferedLanguages) - if subtitle: - self.found.append(subtitle) - else: - self.notfound.append({"filename": filename }) - self.callback(self.found, self.notfound) diff -Nru periscope-gnome-0.2.5/debian/periscope-gnome/usr/share/nautilus-python/extensions/periscope-nautilus.py periscope-gnome-0.2.6/debian/periscope-gnome/usr/share/nautilus-python/extensions/periscope-nautilus.py --- periscope-gnome-0.2.5/debian/periscope-gnome/usr/share/nautilus-python/extensions/periscope-nautilus.py 1970-01-01 00:00:00.000000000 +0000 +++ periscope-gnome-0.2.6/debian/periscope-gnome/usr/share/nautilus-python/extensions/periscope-nautilus.py 2011-11-12 00:10:27.000000000 +0000 @@ -0,0 +1,130 @@ +# -*- coding: utf-8 -*- + +# This file is part of periscope. +# Copyright (c) 2008-2011 Patrick Dessalle +# Ported to GTK3/PyGI with multiprocessing by Shock +# +# periscope 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. +# +# periscope 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 periscope; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +from gi.repository import Gtk, Gio, GObject, Nautilus +from multiprocessing import Process, Queue +from Queue import Empty +from time import sleep +# import urllib2 +import os +import gettext +# import logging +import xdg.BaseDirectory as bd # required +try: + from gi.repository import Notify +except ImportError: + pass + +import periscope + +# i18n stuff +gettext.install('periscope-nautilus') + +class DownloadSubtitles(GObject.GObject, Nautilus.MenuProvider): + ''' This class is to be used in Nautilus with the python-nautilus extension. + It provides a context menu on video file to download subtitles.''' + def __init__(self): + if Notify: + Notify.init("periscope subtitles downloader") + self.cache_folder = os.path.join(bd.xdg_config_home, "periscope") + + def get_file_items(self, window, files): + # Keep only the files we want (right type and file) + files = [ f for f in files if self.is_valid(f)] + if len(files) == 0: + return + + item = Nautilus.MenuItem(name='Nautilus::download_subtitles', + label=_('Find subtitles for this video'), + tip=_('Download subtitles for this video'), + icon=Gtk.STOCK_FIND_AND_REPLACE) + item.connect('activate', self.menu_activate_cb, files) + return item, + + def menu_activate_cb(self, menu, files): + #List the valid files + videos = [f for f in files if not f.is_gone() and self.is_valid(f)] + # Get the file paths from gvfs so we support non local file systems, yay! + g = Gio.Vfs.get_default() + videos = map(lambda f: g.get_file_for_uri(f.get_uri()).get_path(), videos) + + # Download the subtitles in a new process and get the results in this process via a Queue + queue = Queue() + invoker = PeriscopeInvoker(videos, self.cache_folder, queue) + invoker.start() + result = [] + while not result: + try: + result = queue.get_nowait() + except Empty: + pass + finally: + Gtk.main_iteration_do(False) # a blocking version with timeout would have been nice + sleep(0.01) + [found, notfound] = result + self.notify(found, notfound) + invoker.join() + + def is_valid(self, f): + return f.get_mime_type() in periscope.SUPPORTED_FORMATS and (f.get_uri_scheme() == 'file' or f.get_uri_scheme() == 'smb') + + def notify(self, found, notfound): + ''' Use Notify to warn the user that subtitles have been downloaded''' + if Notify: + title = "periscope found %s out of %s subtitles" %(len(found), len(found) + len(notfound)) + if len(notfound) > 0: + msg = _("Could not find: \n") + filenames = [os.path.basename(f["filename"]) for f in notfound] + msg += "\n".join(filenames) + msg += "\n" + + if len(found) > 0: + msg = _("Found: \n") + filenames = [os.path.basename(f["filename"]) + " ("+f['lang']+")" for f in found] + msg += "\n".join(filenames) + + n = Notify.Notification.new(title, msg, Gtk.STOCK_FIND_AND_REPLACE) + n.set_timeout(Notify.EXPIRES_DEFAULT) + n.show() + else: + pass + +class PeriscopeInvoker(Process): + ''' Thread that will call persicope in the background''' + def __init__(self, filenames, cache_folder, queue): + self.filenames = filenames + self.found = [] + self.notfound = [] + self.cache_folder = cache_folder + self.queue = queue + Process.__init__(self) + + def run(self): + subdl = periscope.Periscope(self.cache_folder) + print "prefered languages: %s" %subdl.preferedLanguages + for filename in self.filenames: + subtitle = subdl.downloadSubtitle(filename, subdl.preferedLanguages) + if subtitle: + del subtitle["plugin"] # multiprocessing Queue won't be able to pickle this and will bark + self.found.append(subtitle) + else: + self.notfound.append({"filename": filename }) + self.queue.put([self.found, self.notfound]) + self.queue.close() # we won't have anything more to transmit to the parent process diff -Nru periscope-gnome-0.2.5/debian/periscope-gnome.cron.d.ex periscope-gnome-0.2.6/debian/periscope-gnome.cron.d.ex --- periscope-gnome-0.2.5/debian/periscope-gnome.cron.d.ex 2011-10-31 18:44:26.000000000 +0000 +++ periscope-gnome-0.2.6/debian/periscope-gnome.cron.d.ex 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -# -# Regular cron jobs for the periscope-gnome package -# -0 4 * * * root [ -x /usr/bin/periscope-gnome_maintenance ] && /usr/bin/periscope-gnome_maintenance diff -Nru periscope-gnome-0.2.5/debian/periscope-gnome.default.ex periscope-gnome-0.2.6/debian/periscope-gnome.default.ex --- periscope-gnome-0.2.5/debian/periscope-gnome.default.ex 2011-10-31 18:44:26.000000000 +0000 +++ periscope-gnome-0.2.6/debian/periscope-gnome.default.ex 1970-01-01 00:00:00.000000000 +0000 @@ -1,10 +0,0 @@ -# Defaults for periscope-gnome initscript -# sourced by /etc/init.d/periscope-gnome -# installed at /etc/default/periscope-gnome by the maintainer scripts - -# -# This is a POSIX shell fragment -# - -# Additional options that are passed to the Daemon. -DAEMON_OPTS="" diff -Nru periscope-gnome-0.2.5/debian/periscope-gnome.doc-base.EX periscope-gnome-0.2.6/debian/periscope-gnome.doc-base.EX --- periscope-gnome-0.2.5/debian/periscope-gnome.doc-base.EX 2011-10-31 18:44:26.000000000 +0000 +++ periscope-gnome-0.2.6/debian/periscope-gnome.doc-base.EX 1970-01-01 00:00:00.000000000 +0000 @@ -1,20 +0,0 @@ -Document: periscope-gnome -Title: Debian periscope-gnome Manual -Author: -Abstract: This manual describes what periscope-gnome is - and how it can be used to - manage online manuals on Debian systems. -Section: unknown - -Format: debiandoc-sgml -Files: /usr/share/doc/periscope-gnome/periscope-gnome.sgml.gz - -Format: postscript -Files: /usr/share/doc/periscope-gnome/periscope-gnome.ps.gz - -Format: text -Files: /usr/share/doc/periscope-gnome/periscope-gnome.text.gz - -Format: HTML -Index: /usr/share/doc/periscope-gnome/html/index.html -Files: /usr/share/doc/periscope-gnome/html/*.html diff -Nru periscope-gnome-0.2.5/debian/postinst.ex periscope-gnome-0.2.6/debian/postinst.ex --- periscope-gnome-0.2.5/debian/postinst.ex 2011-10-31 18:44:26.000000000 +0000 +++ periscope-gnome-0.2.6/debian/postinst.ex 1970-01-01 00:00:00.000000000 +0000 @@ -1,39 +0,0 @@ -#!/bin/sh -# postinst script for periscope-gnome -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-remove' -# * `abort-deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - configure) - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff -Nru periscope-gnome-0.2.5/debian/postrm.ex periscope-gnome-0.2.6/debian/postrm.ex --- periscope-gnome-0.2.5/debian/postrm.ex 2011-10-31 18:44:26.000000000 +0000 +++ periscope-gnome-0.2.6/debian/postrm.ex 1970-01-01 00:00:00.000000000 +0000 @@ -1,37 +0,0 @@ -#!/bin/sh -# postrm script for periscope-gnome -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `remove' -# * `purge' -# * `upgrade' -# * `failed-upgrade' -# * `abort-install' -# * `abort-install' -# * `abort-upgrade' -# * `disappear' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - ;; - - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff -Nru periscope-gnome-0.2.5/debian/preinst.ex periscope-gnome-0.2.6/debian/preinst.ex --- periscope-gnome-0.2.5/debian/preinst.ex 2011-10-31 18:44:26.000000000 +0000 +++ periscope-gnome-0.2.6/debian/preinst.ex 1970-01-01 00:00:00.000000000 +0000 @@ -1,35 +0,0 @@ -#!/bin/sh -# preinst script for periscope-gnome -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `install' -# * `install' -# * `upgrade' -# * `abort-upgrade' -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - install|upgrade) - ;; - - abort-upgrade) - ;; - - *) - echo "preinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff -Nru periscope-gnome-0.2.5/debian/prerm.ex periscope-gnome-0.2.6/debian/prerm.ex --- periscope-gnome-0.2.5/debian/prerm.ex 2011-10-31 18:44:26.000000000 +0000 +++ periscope-gnome-0.2.6/debian/prerm.ex 1970-01-01 00:00:00.000000000 +0000 @@ -1,38 +0,0 @@ -#!/bin/sh -# prerm script for periscope-gnome -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `remove' -# * `upgrade' -# * `failed-upgrade' -# * `remove' `in-favour' -# * `deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - remove|upgrade|deconfigure) - ;; - - failed-upgrade) - ;; - - *) - echo "prerm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff -Nru periscope-gnome-0.2.5/debian/README.Debian periscope-gnome-0.2.6/debian/README.Debian --- periscope-gnome-0.2.5/debian/README.Debian 2011-10-31 18:44:26.000000000 +0000 +++ periscope-gnome-0.2.6/debian/README.Debian 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -periscope-gnome for Debian --------------------------- - - - - -- Patrick Dessalle Mon, 31 Oct 2011 19:44:25 +0100 diff -Nru periscope-gnome-0.2.5/debian/README.source periscope-gnome-0.2.6/debian/README.source --- periscope-gnome-0.2.5/debian/README.source 1970-01-01 00:00:00.000000000 +0000 +++ periscope-gnome-0.2.6/debian/README.source 2011-11-12 00:06:56.000000000 +0000 @@ -0,0 +1,9 @@ +periscope-gnome for Debian +-------------------------- + + + + + + diff -Nru periscope-gnome-0.2.5/debian/watch.ex periscope-gnome-0.2.6/debian/watch.ex --- periscope-gnome-0.2.5/debian/watch.ex 2011-10-31 18:44:26.000000000 +0000 +++ periscope-gnome-0.2.6/debian/watch.ex 1970-01-01 00:00:00.000000000 +0000 @@ -1,23 +0,0 @@ -# Example watch control file for uscan -# Rename this file to "watch" and then you can run the "uscan" command -# to check for upstream updates and more. -# See uscan(1) for format - -# Compulsory line, this is a version 3 file -version=3 - -# Uncomment to examine a Webpage -# -#http://www.example.com/downloads.php periscope-gnome-(.*)\.tar\.gz - -# Uncomment to examine a Webserver directory -#http://www.example.com/pub/periscope-gnome-(.*)\.tar\.gz - -# Uncommment to examine a FTP server -#ftp://ftp.example.com/pub/periscope-gnome-(.*)\.tar\.gz debian uupdate - -# Uncomment to find new files on sourceforge, for devscripts >= 2.9 -# http://sf.net/periscope-gnome/periscope-gnome-(.*)\.tar\.gz - -# Uncomment to find new files on GooglePages -# http://example.googlepages.com/foo.html periscope-gnome-(.*)\.tar\.gz