--- python-plwm-2.6a+20080530.orig/debian/changelog +++ python-plwm-2.6a+20080530/debian/changelog @@ -0,0 +1,52 @@ +python-plwm (2.6a+20080530-2) unstable; urgency=medium + + * QA upload. + - Set Maintainer to Debian QA Group. + * Convert to dh_python2 (Closes: #786273). + + -- Luca Falavigna Sat, 06 Jun 2015 14:21:08 +0200 + +python-plwm (2.6a+20080530-1.1) unstable; urgency=low + + * Non-maintainer upload. + * ‘as’ is a keyword in Python 2.6. Stop using it as an identifier + (closes: #566869). + * Replace build-dependency on python-all-dev with python-all. + + -- Jakub Wilk Fri, 12 Feb 2010 20:11:38 +0100 + +python-plwm (2.6a+20080530-1) unstable; urgency=low + + * New upstream release + * moved from section devel to section python + * bump standards version to 3.7.3 (no changes) + + -- Mike O'Connor Sat, 31 May 2008 09:43:36 -0400 + +python-plwm (2.6a+20070801-1) unstable; urgency=low + + * New upstream release + * fixes lintian errors/warnings + + -- Mike O'Connor Tue, 31 Jul 2007 03:48:11 -0400 + +python-plwm (2.6a+20070731-1) unstable; urgency=low + + * New upstream release (fixes bugs related to gtk windows not being cleaned + up after)) + * fixes debian/copyright to include the doc license + + -- Mike O'Connor Tue, 31 Jul 2007 03:44:09 -0400 + +python-plwm (2.6a-2) unstable; urgency=low + + * moving away from cdbs + * initial upload to debian (Closes: #431952) + + -- Mike O'Connor Fri, 06 Jul 2007 09:29:36 -0400 + +python-plwm (2.6a-1) UNRELEASED; urgency=low + + * Initial release. + + -- Mike O'Connor Mon, 04 Jun 2007 16:21:11 -0400 --- python-plwm-2.6a+20080530.orig/debian/compat +++ python-plwm-2.6a+20080530/debian/compat @@ -0,0 +1 @@ +5 --- python-plwm-2.6a+20080530.orig/debian/control +++ python-plwm-2.6a+20080530/debian/control @@ -0,0 +1,16 @@ +Source: python-plwm +Section: python +Priority: optional +Maintainer: Debian QA Group +Build-Depends: quilt, debhelper (>= 5.0.37.2), python-all (>= 2.6.6-3~), dh-python +Standards-Version: 3.7.3 + +Package: python-plwm +Architecture: all +Depends: ${python:Depends}, python-xlib +Description: Pointless Window Manager - Python libraries for creating Window Managers + PLWM is a Python package, containing classes suitable for + implementing a window manager. PLWM is also a window manager, using + the PLWM package. + + --- python-plwm-2.6a+20080530.orig/debian/copyright +++ python-plwm-2.6a+20080530/debian/copyright @@ -0,0 +1,48 @@ +This package was debianized by Mike O'Connor on +Sun, Wed May 23 08:24:35 -0500. + +It was downloaded from http://sourceforge.net/projects/plwm/ + +Copyright: + +Copyright (C) 1999-2002 Peter Liljenberg +Copyright (C) 2001 Mike Meyer +Copyright (C) 2001 Meik Hellmund +Copyright (C) 1999-2001 Henrik Rindlöw + +License: + +The sourcecode of plwm excluding the documentation is licensed under +the GNU General Public License version 2. On Debian systems, the +complete text of the GNU General Public License can be found in the +file `/usr/share/common-licenses/GPL-2'. + +-- + +The documentation for plwm contains the following license: + +Permission is granted to make and distribute verbatim +copies of this manual provided the copyright notice and +this permission notice are preserved on all copies. + +Permission is granted to process this file through TeX +and print the results, provided the printed document +carries a copying permission notice identical to this +one except for the removal of this paragraph (this +paragraph not being relevant to the printed manual). + +Permission is granted to copy and distribute modified +versions of this manual under the conditions for +verbatim copying, provided also that the sections +entitled ``Copying'' and ``GNU General Public License'' +are included exactly as in the original, and provided +that the entire resulting derived work is distributed +under the terms of a permission notice identical to this +one. + +Permission is granted to copy and distribute +translations of this manual into another language, +under the above conditions for modified versions, +except that this permission notice may be stated in a +translation approved by the Free Software Foundation. + --- python-plwm-2.6a+20080530.orig/debian/patches/python2.6-as.diff +++ python-plwm-2.6a+20080530/debian/patches/python2.6-as.diff @@ -0,0 +1,49 @@ +Description: ‘as’ is a keyword in Python 2.6. Stop using it as an identifier +Author: Jakub Wilk +Bug-Debian: http://bugs.debian.org/566869 + +Index: python-plwm-2.6a+20080530/plwm/outline.py +=================================================================== +--- python-plwm-2.6a+20080530.orig/plwm/outline.py 2010-02-12 19:46:43.000000000 +0100 ++++ python-plwm-2.6a+20080530/plwm/outline.py 2010-02-12 19:47:07.000000000 +0100 +@@ -62,7 +62,7 @@ + + if name: + self.outline_gc.set_clip_rectangles(0, 0, [coords], X.YXSorted) +- sx, sy, sw, sh, as = namepos ++ sx, sy, sw, sh, as_ = namepos + self.screen.root.draw_text(self.outline_gc, sx, sy, name) + self.outline_name = (sx, sy, name) + else: +@@ -137,8 +137,8 @@ + height = s[3] - s[1] + 1) + + if name: +- sx, sy, sw, sh, as = namepos +- self.outline_name_window.configure(x = sx, y = sy - as, ++ sx, sy, sw, sh, as_ = namepos ++ self.outline_name_window.configure(x = sx, y = sy - as_, + width = sw, height = sh) + + if not self.outline_mapped: +@@ -154,7 +154,7 @@ + # disappear otherwise... + if name: + self.outline_name_window.image_text(self.outline_name_gc, +- 0, as, name) ++ 0, as_, name) + + def outline_hide(self): + if self.outline_mapped: +@@ -245,8 +245,8 @@ + + sw = min(r.overall_width, w) + sh = min(r.overall_ascent + r.overall_descent, h) +- as = r.overall_ascent ++ as_ = r.overall_ascent + else: +- sx = sy = sw = sh = as = 0 ++ sx = sy = sw = sh = as_ = 0 + +- return (x, y, w, h), s, (sx, sy, sw, sh, as) ++ return (x, y, w, h), s, (sx, sy, sw, sh, as_) --- python-plwm-2.6a+20080530.orig/debian/patches/series +++ python-plwm-2.6a+20080530/debian/patches/series @@ -0,0 +1 @@ +python2.6-as.diff --- python-plwm-2.6a+20080530.orig/debian/python-plwm.docs +++ python-plwm-2.6a+20080530/debian/python-plwm.docs @@ -0,0 +1,3 @@ +NEWS +ONEWS +doc/plwm.pdf --- python-plwm-2.6a+20080530.orig/debian/python-plwm.examples +++ python-plwm-2.6a+20080530/debian/python-plwm.examples @@ -0,0 +1 @@ +examples/* --- python-plwm-2.6a+20080530.orig/debian/rules +++ python-plwm-2.6a+20080530/debian/rules @@ -0,0 +1,61 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make +PYVERS:=$(shell pyversions -r) + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh_testdir + set -e; \ + for py in $(PYVERS); do \ + $$py setup.py build; \ + done + touch $@ + +_clean: $(QUILT_STAMPFN) + dh_testdir + dh_testroot + -for py in $(PYVERS); do \ + $$py setup.py clean; \ + done + find plwm -name \*.pyc | xargs rm -f + find utils -name \*.pyc | xargs rm -f + rm -rf build + rm -f install-stamp build-stamp + +clean: _clean unpatch + dh_clean + +install: install-stamp +install-stamp: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + set -e; \ + for py in $(PYVERS); do \ + $$py setup.py install --root=debian/python-plwm; \ + done + dh_installdocs -A -Xcvsignore + + dh_installexamples + + touch install-stamp + +binary-arch: build install +# We have nothing to do by default. + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_compress -X.py + dh_fixperms + dh_python2 + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install