--- pyroom-0.4.1.orig/debian/install +++ pyroom-0.4.1/debian/install @@ -0,0 +1,3 @@ +themes/*.theme usr/share/pyroom/themes +pyroom.png usr/share/pyroom +pyroom.desktop usr/share/applications --- pyroom-0.4.1.orig/debian/changelog +++ pyroom-0.4.1/debian/changelog @@ -0,0 +1,75 @@ +pyroom (0.4.1-2ubuntu0.1) lucid-proposed; urgency=low + + * debian/patches: + + Added patch to fix crash when LANGUAGE is set. Thanks to Jakub Wilk + for patch (LP: #367990) + + -- Philip Muskovac Sun, 05 Sep 2010 22:18:59 +0200 + +pyroom (0.4.1-2) unstable; urgency=low + + * Added debian/README.source file + * debian/control: + + Updated to Standards-Version 3.8.3 + * debian/copyright: + + [Lintian] Don't use symlinked license text for reference + + -- Kartik Mistry Fri, 28 Aug 2009 10:10:44 +0530 + +pyroom (0.4.1-1) unstable; urgency=low + + * New upstream release + * debian/control: + + Added Build-Depends on gettext + + Removed Depends on python-gtksourceview2 + + Updated to Standards-Version 3.8.1 (no changes needed) + * debian/patches/02_setup_file_fix.dpatch: + + Updated for upstream changes in setup.py + * debian/patches/03_locales_installation.dpatch: + + Added patch to fix locales installation problem, Thanks to + Florian Heinle for patch + + -- Kartik Mistry Sat, 18 Apr 2009 11:51:07 +0530 + +pyroom (0.3.2-3) unstable; urgency=low + + * debian/copyright: + + [Lintian] use of correct copyright symbol © instead of (C) + + Updated Debian package copyright year + * debian/rules: + + [Lintian] used dh_prep instead of deprecated dh_clean + + -- Kartik Mistry Mon, 16 Feb 2009 10:01:54 +0530 + +pyroom (0.3.2-2) unstable; urgency=low + + * debian/control: + + Added missing dependency on python-xdg, Thanks to + stefano karapetsas (Closes: #509884) + + -- Kartik Mistry Sat, 27 Dec 2008 21:40:01 +0530 + +pyroom (0.3.2-1) unstable; urgency=low + + * New upstream release: + * debian/control: + + Fixed too broad dependencies, Thanks to Anthony L. Awtrey + (Closes: #507680) + + Dropped build-depends on python-setuptools, Upstream is using + distutils, Thanks to Florian Heinle for pointing this + * debian/patches/01_manpage_typo_fix.dpatch: + + Dropped patch, Merged with upstream + + -- Kartik Mistry Thu, 04 Dec 2008 17:22:47 +0530 + +pyroom (0.3.1.1-1) unstable; urgency=low + + * Initial release (Closes: #498765) + * Packaging based on Ubuntu package by Florian Heinle + , Thanks! + * debian/patches/01_manpage_typo_fix.dpatch: + + Added patch to fix small typo in manpage + * debian/patches/02_setup_file_fix.dpatch: + + Added patch to fix data files in setup.py + + -- Kartik Mistry Mon, 22 Sep 2008 21:29:18 +0530 --- pyroom-0.4.1.orig/debian/control +++ pyroom-0.4.1/debian/control @@ -0,0 +1,20 @@ +Source: pyroom +Section: editors +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Kartik Mistry +Build-Depends: debhelper (>= 7), dpatch, python (>= 2.4) +Build-Depends-Indep: gettext, python-central (>= 0.6) +XS-Python-Version: >= 2.4 +Standards-Version: 3.8.3 +Homepage: http://pyroom.org/ + +Package: pyroom +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, python-glade2, python-gtk2, python-xdg +XB-Python-Version: ${python:Versions} +Description: distractionless fullscreen text editor + PyRoom is a free editor that stays out your way - and keeps other things out + of your way, too. As a fullscreen editor without buttons, widgets, formatting + options, menus and with only the minimum of required dialog windows, it + doesn't have any distractions and lets you focus on writing and only writing. --- pyroom-0.4.1.orig/debian/dirs +++ pyroom-0.4.1/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/pyroom/themes --- pyroom-0.4.1.orig/debian/menu +++ pyroom-0.4.1/debian/menu @@ -0,0 +1,2 @@ +?package(pyroom):needs="X11" section="Applications/Editors"\ + title="pyroom" command="/usr/bin/pyroom" --- pyroom-0.4.1.orig/debian/pycompat +++ pyroom-0.4.1/debian/pycompat @@ -0,0 +1 @@ +2 --- pyroom-0.4.1.orig/debian/copyright +++ pyroom-0.4.1/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Kartik Mistry on +Fri, 12 Sep 2008 12:57:19 +0530. + +It was downloaded from + +Upstream Authors: The PyRoom Team + see AUTHORS file for more information. + +Copyright: + + Copyright © 2007 Nicolas P. Rougier & NoWhereMan + Copyright © 2008 The PyRoom Team + +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 3 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 can be +found in `/usr/share/common-licenses/GPL-3'. + +The Debian packaging is © 2008-2009, Kartik Mistry and +is licensed under the GPL-3, see above. --- pyroom-0.4.1.orig/debian/README.source +++ pyroom-0.4.1/debian/README.source @@ -0,0 +1,17 @@ +The pyroom package uses dpatch to maintain local changes to the pyroom +distribution. The Debian-specific patches are maintained in the debian/patches/ +directory. + +To apply all the patches, preparing the source for building, use: + debian/rules patch + +To revert the patches, preparing to build a source package, use: + debian/rules unpatch + +You do not need to manually execute these targets when building the package; +they are part of the debian/rules target chain. + +For more information on the dpatch integration with Debian packages, as well as +editing, adding or removing patches, please see the dpatch documentation; in +recent versions of the Debian package of dpatch, See: + /usr/share/doc/dpatch/README.source.gz --- pyroom-0.4.1.orig/debian/rules +++ pyroom-0.4.1/debian/rules @@ -0,0 +1,53 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +build: build-stamp + +build-stamp: patch-stamp + dh_testdir + python setup.py build + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + python setup.py clean + rm -rf build PyRoom/*.pyc + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + python setup.py install --no-compile \ + --prefix=$(CURDIR)/debian/pyroom/usr + +binary-arch: build install + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs -i + dh_installdocs -i + dh_install -i + dh_installmenu -i + dh_installman -i pyroom.1 + dh_link -i + dh_compress -i + dh_fixperms -i + dh_pycentral -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- pyroom-0.4.1.orig/debian/watch +++ pyroom-0.4.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://launchpad.net/pyroom/+download http://launchpad.net/pyroom/.*/pyroom-(.+).tar.gz --- pyroom-0.4.1.orig/debian/docs +++ pyroom-0.4.1/debian/docs @@ -0,0 +1,2 @@ +AUTHORS +README --- pyroom-0.4.1.orig/debian/compat +++ pyroom-0.4.1/debian/compat @@ -0,0 +1 @@ +7 --- pyroom-0.4.1.orig/debian/patches/02_setup_file_fix.dpatch +++ pyroom-0.4.1/debian/patches/02_setup_file_fix.dpatch @@ -0,0 +1,21 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 02_setup_file_fix.dpatch by Kartik Mistry +## +## DP: Patch to fix installation of data files in setup.py + +@DPATCH@ + +--- pyroom-0.3.1.1.orig/setup.py 2008-09-23 12:10:13.000000000 +0530 ++++ pyroom-0.3.1.1/setup.py 2008-09-23 12:10:23.000000000 +0530 +@@ -51,11 +51,6 @@ + description = 'PyRoom is a distraction-free, fullscreen text editor', + packages = ['PyRoom',], + package_data = {'PyRoom':['interface.glade']}, +- data_files = [ +- ('/usr/share/pyroom/themes', glob.glob('themes/*.theme')), +- ('/usr/share/pyroom', ['pyroom.png']), +- ('/usr/share/applications', ['pyroom.desktop']) +- ], + scripts=['pyroom',], + cmdclass={'install_data': InstallData}, + ) --- pyroom-0.4.1.orig/debian/patches/04_LANGUAGE_set_fix_584478.dpatch +++ pyroom-0.4.1/debian/patches/04_LANGUAGE_set_fix_584478.dpatch @@ -0,0 +1,18 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 04_LANGUAGE_set_fix_584478.dpatch by Jakub Wilk +## +## DP: Fix crash when LANGUAGE is set. + +@DPATCH@ +diff -urNad pyroom-0.4.1.orig/PyRoom/__init__.py pyroom-0.4.1/PyRoom/__init__.py +--- pyroom-0.4.1.orig/PyRoom/__init__.py 2010-09-02 01:38:25.000000000 +0200 ++++ pyroom-0.4.1/PyRoom/__init__.py 2010-09-02 01:44:25.000000000 +0200 +@@ -23,7 +23,7 @@ + languages_used = [lc] + lang_in_env = os.environ.get('LANGUAGE', None) + if lang_in_env: +- languages_used.append(lang_in_env.split()) ++ languages_used += lang_in_env.split() + + for module in gettext, glade: + module.bindtextdomain(GETTEXT_DOMAIN, LOCALE_PATH) --- pyroom-0.4.1.orig/debian/patches/00list +++ pyroom-0.4.1/debian/patches/00list @@ -0,0 +1,3 @@ +02_setup_file_fix.dpatch +03_locales_installation.dpatch +04_LANGUAGE_set_fix_584478.dpatch --- pyroom-0.4.1.orig/debian/patches/03_locales_installation.dpatch +++ pyroom-0.4.1/debian/patches/03_locales_installation.dpatch @@ -0,0 +1,18 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 03_locales_installation.dpatch by Florian Heinle +## +## DP: install locales to correct path in debian packaging + +@DPATCH@ +diff -urNad pyroom-0.4.1~/setup.py pyroom-0.4.1/setup.py +--- pyroom-0.4.1~/setup.py 2009-04-02 14:38:25.000000000 +0200 ++++ pyroom-0.4.1/setup.py 2009-04-02 14:44:25.000000000 +0200 +@@ -11,7 +11,7 @@ + url = 'http://www.pyroom.org' + + PO_DIR = 'locales' +-MO_DIR = os.path.join('build', 'locales') ++MO_DIR = os.path.join('debian', 'pyroom', 'usr', 'share', 'locale') + + for po in glob.glob(os.path.join(PO_DIR, '*.po')): + lang = os.path.basename(po[:-3])[7:]