--- specto-0.3.1.orig/debian/changelog +++ specto-0.3.1/debian/changelog @@ -0,0 +1,78 @@ +specto (0.3.1-0ubuntu3) trusty; urgency=medium + + * Port to dh_python2. + + -- Dimitri John Ledkov Sun, 26 Jan 2014 23:07:32 +0000 + +specto (0.3.1-0ubuntu2) karmic; urgency=low + + [ Simon Olofsson ] + * debian/copyright: + * debian/patches/01_use_common_licenses.patch: + + Link to GPL-2 not GPL (LP: #390240) + + [ Julien Lavergne ] + * debian/control: + - Remove useless depends on python-gnome2-extras. + - Build specto only for python >= 2.5 (LP: #410693) + + -- Julien Lavergne Sun, 30 Aug 2009 13:09:15 +0200 + +specto (0.3.1-0ubuntu1) karmic; urgency=low + + * New upstream version (LP: #398536), updated patches + + -- Simon Olofsson Tue, 14 Jul 2009 11:55:31 +0200 + +specto (0.2.2-3ubuntu1) jaunty; urgency=low + + * Add missing Depends on python-numpy (LP: #354909). + * Add 10_fix_python26_warnings.patch patch to fix deprecation warnings. + + -- Alessio Treglia Mon, 20 Apr 2009 07:56:11 +0200 + +specto (0.2.2-3) unstable; urgency=low + + * debian/control: + + Added librsvg2-common and gnome-icon-theme to Depends. (Closes: #458179) + + Bumped Standards-Version to 3.7.3 + + Bump required debhelper version to 5.0.51 for dh_icons call + + Move docbook2x to B-D-I; it's not needed for the clean target + * debian/specto.menu: + * debian/specto.xpm: + * debian/specto.install: + + Add menu file, icon, and supporting install file + * debian/copyright: + + Make the copyright notices well-formatted: Add '(c)' to the start of + the line. + + -- Christopher James Halse Rogers Sun, 04 May 2008 14:16:04 +1000 + +specto (0.2.2-2) unstable; urgency=low + + * debian/control: + + Add python-dbus to Depends (Closes: #443623) + + Update my maintainer address. + + -- Christopher James Halse Rogers Sun, 23 Sep 2007 20:41:21 +1000 + +specto (0.2.2-1) unstable; urgency=low + + * New upstream release: + + Many bugfixes + + More & updated translations + * debian/patches/02_fix_version + + Dropped, upstream remembered to bump version before release this time. + + -- Christopher James Halse Rogers (RAOF) Thu, 26 Jul 2007 17:46:44 +1000 + +specto (0.2.1-1) unstable; urgency=low + + * Initial release (Closes: #420718) + * debian/patches/01_use_common_licenses + + Use the already shipped GPL license in the About dialog. + * debian/patches/02_fix_version + + Fix the version displayed - upstream forgot to bump when releasing + + -- Christopher James Halse Rogers (RAOF) Sun, 13 May 2007 14:46:54 +1000 + --- specto-0.3.1.orig/debian/compat +++ specto-0.3.1/debian/compat @@ -0,0 +1 @@ +5 --- specto-0.3.1.orig/debian/control +++ specto-0.3.1/debian/control @@ -0,0 +1,19 @@ +Source: specto +Section: gnome +Priority: optional +Maintainer: Christopher James Halse Rogers +Build-Depends: cdbs, debhelper (>= 5.0.51), dh-python, python-dev +Build-Depends-Indep: docbook2x +Standards-Version: 3.7.3 +XS-Python-Version: >= 2.5 + +Package: specto +Architecture: all +Depends: ${python:Depends}, python-gtk2, python-glade2, python-gnome2, zenity, gconf2, python-notify, python-dbus, librsvg2-common, gnome-icon-theme, python-numpy +Description: Unobtrusive update notification program + Specto is a desktop application that will watch any user-specified events + (web, folder, ...). This will allow users, for instance, to specify a website + to watch, and Specto will automatically check for updates on the web page. It + will then notify the user when there is activity. This will allow the user to + be informed of new updates/events instead of having to look out for them. + --- specto-0.3.1.orig/debian/copyright +++ specto-0.3.1/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Christopher James Halse Rogers (RAOF) on +Sat, 28 Apr 2007 17:09:28 +1000. + +It was downloaded from http://code.google.com/p/specto/ + +Copyright Holders: + © 2005-2007: Jean-Francois 'Kiddo' Fortin Tam + © Pascal Potvin + © Wout Clymans + © Giulio Lotti + © Thomas McColgan + © 2007 Christopher Halse Rogers + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is (C) 2007, Christopher James Halse Rogers (RAOF) and +is licensed under the GPL, see above. --- specto-0.3.1.orig/debian/man/specto.docbook +++ specto-0.3.1/debian/man/specto.docbook @@ -0,0 +1,59 @@ + + + + + + Christopher + Halse Rogers + chalserogers@gmail.com + + + 2007 + Christopher Halse Rogers + + 2007-02-08 + + + specto + 1 + + + specto + an unobtrusive event notification system + + + + specto + + + + DESCRIPTION + + Specto provides a notification service for important events. It + includes watches for new email (POP3, IMAP, and gmail), website + changes (both RSS and simple html pages), changes to local files, and + more. + + + + COPYRIGHT + + + This manual page was written by Christopher Halse Rogers + chalserogers@gmail.com for the + Debian system (but 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 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. + + + + --- specto-0.3.1.orig/debian/patches/01_use_common_licenses.patch +++ specto-0.3.1/debian/patches/01_use_common_licenses.patch @@ -0,0 +1,12 @@ +diff -urNad specto-0.3.1-orig/spectlib/about.py specto-0.3.1/spectlib/about.py +--- specto-0.3.1-orig/spectlib/about.py 2009-07-14 12:14:00.613973051 +0200 ++++ specto-0.3.1/spectlib/about.py 2009-07-14 12:15:41.986513298 +0200 +@@ -42,7 +42,7 @@ + version = str(version_file.readline()[:-1]) + version_file.close + +- license_file_path = (os.path.join(spectlib.util.get_path(category="doc"), "COPYING")) ++ license_file_path = '/usr/share/common-licenses/GPL-2' + license_file = open(license_file_path, "r") + license = license_file.read() + license_file.close() --- specto-0.3.1.orig/debian/patches/10_fix_python26_warnings.patch +++ specto-0.3.1/debian/patches/10_fix_python26_warnings.patch @@ -0,0 +1,59 @@ +diff -urNad specto-0.3.1-orig/spectlib/plugins/watch_web_static.py specto-0.3.1/spectlib/plugins/watch_web_static.py +--- specto-0.3.1-orig/spectlib/plugins/watch_web_static.py 2009-07-14 12:46:42.629003988 +0200 ++++ specto-0.3.1/spectlib/plugins/watch_web_static.py 2009-07-14 12:53:13.378206401 +0200 +@@ -29,7 +29,7 @@ + import StringIO + import gzip + import os +-import md5 ++from hashlib import md5 + import difflib + from httplib import HTTPMessage, BadStatusLine + from math import fabs +@@ -88,7 +88,7 @@ + if self.uri[:7] != "http://" and self.uri[:8] != "https://" and self.uri[:6] != "ftp://": + self.uri = "http://" + self.uri + self.url_ = self.uri +- digest = md5.new(self.url_).digest() ++ digest = md5(self.url_).digest() + cacheFileName = "".join(["%02x" % (ord(c), ) for c in digest]) + self.cacheFullPath_ = os.path.join(self.cacheSubDir__, cacheFileName) + self.cacheFullPath2_ = os.path.join(self.cacheSubDir__, cacheFileName + "size") +@@ -118,7 +118,7 @@ + self.url2_ = response.geturl() + self.content_ = self._writeContent(response) + self.info_['Url'] = self.uri +- self.digest_ = md5.new(self.content_).digest() ++ self.digest_ = md5(self.content_).digest() + self.digest_ = "".join(["%02x" % (ord(c), ) for c in self.digest_]) + self.info_['md5sum'] = self.digest_ + +diff -urNad specto-0.3.1-orig/spectlib/tools/iniparser.py specto-0.3.1/spectlib/tools/iniparser.py +--- specto-0.3.1-orig/spectlib/tools/iniparser.py 2009-07-14 12:46:42.629003988 +0200 ++++ specto-0.3.1/spectlib/tools/iniparser.py 2009-07-14 12:51:29.107000627 +0200 +@@ -304,7 +304,6 @@ + # Backward-compatiable with ConfigParser + + import re +-from sets import Set + from ConfigParser import DEFAULTSECT, ParsingError, MissingSectionHeaderError + + +@@ -588,7 +587,7 @@ + del self._options[key] + + def __iter__(self): +- d = Set() ++ d = set() + for l in self._lines: + for x in l.contents: + if isinstance(x, line_container): +@@ -653,7 +652,7 @@ + del self._sections[key] + + def __iter__(self): +- d = Set() ++ d = set() + for x in self._data.contents: + if isinstance(x, line_container): + if x.name not in d: --- specto-0.3.1.orig/debian/rules +++ specto-0.3.1/debian/rules @@ -0,0 +1,28 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses cdbs. Originaly written by Robert Millan. +# This file is public domain. + +# Add here any variable or target overrides you need + + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +# select the python system you want to use : pysupport or pycentral +# (this MUST be done before including the class) +DEB_PYTHON2_MODULE_PACKAGES = specto +include /usr/share/cdbs/1/class/python-distutils.mk + +DEB_INSTALL_MANPAGES_specto = specto.1 + +build/specto:: + docbook2x-man debian/man/specto.docbook + +install/specto:: + mv debian/specto/usr/share/doc/specto/ChangeLog debian/specto/usr/share/doc/specto/changelog + rm debian/specto/usr/share/doc/specto/INSTALL + rm debian/specto/usr/share/doc/specto/COPYING + dh_icons + +clean:: + rm -f specto.1 --- specto-0.3.1.orig/debian/specto.install +++ specto-0.3.1/debian/specto.install @@ -0,0 +1 @@ +debian/specto.xpm usr/share/pixmaps --- specto-0.3.1.orig/debian/specto.menu +++ specto-0.3.1/debian/specto.menu @@ -0,0 +1,5 @@ +?package(specto):needs="X11" \ + section="Applications/System/Monitoring" \ + title="Specto" \ + command="/usr/bin/specto" \ + icon="/usr/share/pixmaps/specto.xpm" --- specto-0.3.1.orig/debian/specto.xpm +++ specto-0.3.1/debian/specto.xpm @@ -0,0 +1,208 @@ +/* XPM */ +static char * specto_xpm[] = { +"32 32 173 2", +" c None", +". c #191976", +"+ c #191977", +"@ c #1A1D7A", +"# c #1B1D7A", +"$ c #1C227D", +"% c #1D227C", +"& c #1D227D", +"* c #1F267F", +"= c #1F2680", +"- c #212B82", +"; c #232F85", +"> c #161E54", +", c #0E1335", +"' c #253388", +") c #151D4D", +"! c #000001", +"~ c #000000", +"{ c #161F52", +"] c #27378B", +"^ c #131B44", +"/ c #010103", +"( c #1F2C6E", +"_ c #28388B", +": c #3B4995", +"< c #293C8E", +"[ c #2B3E8F", +"} c #2A3D8E", +"| c #3C4E98", +"1 c #293C8D", +"2 c #11193C", +"3 c #060813", +"4 c #283B8B", +"5 c #3B4D98", +"6 c #2B4091", +"7 c #2B4090", +"8 c #384C97", +"9 c #4C5EA1", +"0 c #4D5FA1", +"a c #293872", +"b c #162149", +"c c #131D40", +"d c #192553", +"e c #25377D", +"f c #0F1733", +"g c #080D1C", +"h c #233476", +"i c #2F4492", +"j c #2B3F8F", +"k c #2C4493", +"l c #314896", +"m c #42538B", +"n c #101421", +"o c #010102", +"p c #04060C", +"q c #010204", +"r c #17234C", +"s c #2B4391", +"t c #2E4896", +"u c #2F4589", +"v c #05070E", +"w c #0A0F20", +"x c #263C7D", +"y c #304C98", +"z c #304D99", +"A c #121C38", +"B c #131E3B", +"C c #2F4C97", +"D c #304D98", +"E c #32519D", +"F c #32519C", +"G c #35549E", +"H c #314F99", +"I c #121E3A", +"J c #3C59A1", +"K c #34529D", +"L c #32509B", +"M c #34559E", +"N c #3B5BA1", +"O c #4C69A9", +"P c #3C5CA2", +"Q c #3758A0", +"R c #304F93", +"S c #101A31", +"T c #0A101E", +"U c #09101D", +"V c #080D19", +"W c #1A2B4F", +"X c #3959A0", +"Y c #4D6AAA", +"Z c #4563A6", +"` c #34559F", +" . c #293959", +".. c #5472AD", +"+. c #5674B0", +"@. c #5270AE", +"#. c #385AA2", +"$. c #3659A1", +"%. c #20345F", +"&. c #375AA1", +"*. c #4767A9", +"=. c #4162A6", +"-. c #335599", +";. c #192748", +">. c #0D1627", +",. c #2C384D", +"'. c #5676B1", +"). c #4F71AF", +"!. c #385EA4", +"~. c #30518D", +"{. c #0D1626", +"]. c #20365F", +"^. c #5475B1", +"/. c #4D6FAE", +"(. c #4569AA", +"_. c #325493", +":. c #0B1220", +"<. c #0C1524", +"[. c #111E33", +"}. c #0E0E0E", +"|. c #192840", +"1. c #4066A9", +"2. c #3A62A7", +"3. c #2C4B80", +"4. c #111D31", +"5. c #3F66A9", +"6. c #27416F", +"7. c #04070C", +"8. c #111D32", +"9. c #172944", +"0. c #172741", +"a. c #3B64A7", +"b. c #3C66AA", +"c. c #3A63A5", +"d. c #1E3457", +"e. c #365C9A", +"f. c #2E4F83", +"g. c #111D30", +"h. c #182842", +"i. c #020305", +"j. c #0F1A29", +"k. c #305386", +"l. c #3E6AAC", +"m. c #243F66", +"n. c #3A64A1", +"o. c #365D97", +"p. c #32568B", +"q. c #294672", +"r. c #1C314F", +"s. c #0A121C", +"t. c #010203", +"u. c #0E1929", +"v. c #020407", +"w. c #0E1826", +"x. c #111D2B", +"y. c #0F1B2A", +"z. c #04070A", +"A. c #1D3148", +"B. c #010202", +"C. c #1C3246", +"D. c #05090C", +"E. c #04080B", +"F. c #13212E", +"G. c #12212D", +"H. c #111F2B", +"I. c #020304", +"J. c #213B50", +"K. c #182C3B", +"L. c #13212D", +"M. c #0F1A22", +"N. c #0E1922", +"O. c #12212C", +"P. c #182B3B", +" ", +" . . + + + + ", +" @ # # # # # # # # # # # ", +" $ % % % % % % % % % % % % % % & ", +" * * * * * * * * * * * * * * * * * = ", +" - - - - - - - - - - - - - - - - - - - - ", +" ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; > , ; ; ; ; ; ", +" ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ) ! ~ { ' ' ' ' ' ", +" ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ^ ~ ~ ~ / ( ] ] ] _ : ", +" < < < < < [ } | < < < < < 1 2 ~ ~ ~ ~ ~ 3 4 < < < 5 ", +" 6 7 7 7 7 7 8 9 0 a b c d e f ~ ~ ~ ~ ~ g h 7 7 7 7 i j ", +" k k k k k k l m n ~ ~ ~ ~ o p ~ ~ ~ q r s k k k k k k k ", +" t t t t t t u v ~ ~ ~ ~ ~ ~ ~ q ~ w x t t t t t t t t t ", +" y z z z z z z A ~ ~ ~ ~ ~ ~ ~ ~ ~ B C z z z z z z z z z z D ", +" E F G F F F H q ~ ~ ~ ~ ~ ~ ~ ~ ~ I F J K F F F F F F F F L ", +" M N O P Q M R S T T T T T T U V V W X Y Y Z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