debian/0000755000000000000000000000000011756350500007170 5ustar debian/compat0000644000000000000000000000000211371314357010371 0ustar 7 debian/watch0000644000000000000000000000014311371314357010222 0ustar version=3 https://launchpad.net/pyroom/+download http://launchpad.net/pyroom/.*/pyroom-(.+).tar.gz debian/docs0000644000000000000000000000001711371314357010044 0ustar AUTHORS README debian/rules0000755000000000000000000000162111756347535010266 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 build-arch: build build-indep: build build: build-stamp build-stamp: dh_testdir python setup.py build touch $@ clean: 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 --install-layout=deb \ --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_python2 -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i binary: binary-indep binary-arch .PHONY: build build-arch build-indep clean binary-indep binary-arch binary install debian/install0000644000000000000000000000015111756350436010566 0ustar pyroom.desktop usr/share/applications pyroom.png usr/share/pyroom themes/*.theme usr/share/pyroom/themes debian/copyright0000644000000000000000000000250611756350436011136 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: pyroom Source: http://pyroom.org/download.html Upstream-Contact: The PyRoom Team see AUTHORS file for more information. Files: * Copyright: 2007, Nicolas P. Rougier & NoWhereMan 2008, The PyRoom Team License: GPL-3+ Files: debian/* Copyright: 2008-2012, Kartik Mistry License: GPL-3+ License: GPL-3+ 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'. debian/control0000644000000000000000000000135611756350436010610 0ustar Source: pyroom Section: editors Priority: optional Maintainer: Kartik Mistry Build-Depends: debhelper (>= 7), python (>= 2.6.6-3~) Build-Depends-Indep: gettext Standards-Version: 3.9.3 Homepage: http://pyroom.org/ Package: pyroom Architecture: all Depends: python-glade2, python-gtk2, python-xdg, ${misc:Depends}, ${python:Depends} 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. debian/source/0000755000000000000000000000000011371315554010473 5ustar debian/source/format0000644000000000000000000000001411371315554011701 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000727311756350320011053 0ustar pyroom (0.4.1-6) unstable; urgency=low * debian/rules: + Moved to dh_python2. + Added recommended targets. * debian/control: + Updated to Standards-Version 3.9.3 + Fixed dependencies for dh_python2. * debian/copyright: + Updated for copyright-format 1.0 -- Kartik Mistry Mon, 21 May 2012 10:33:46 +0530 pyroom (0.4.1-5) unstable; urgency=low * debian/rules, debian/control: + Moved to dh_pysupport (Closes: #616981) * debian/control: + Updated to Standards-Version 3.9.1 (no changes needed) * debian/copyright: + Updated as per latest DEP-5 specification -- Kartik Mistry Sun, 03 Apr 2011 19:31:21 +0530 pyroom (0.4.1-4) unstable; urgency=low * debian/patches: + Added patch to fix crash when LANGUAGE is set. Thanks to Jakub Wilk for patch (Closes: #584478) -- Kartik Mistry Fri, 04 Jun 2010 09:16:07 +0530 pyroom (0.4.1-3) unstable; urgency=low * Use source format 3.0 (quilt) + debian/control: removed dependency on dpatch + debian/rules: removed dpatch usage + Removed README.source file * debian/control: + Wrapped up Build-Depends, Depends + Updated to Standards-Version 3.8.4 (no changes needed) * debian/copyright: + Updated as per DEP-5 specification -- Kartik Mistry Sat, 08 May 2010 23:19:32 +0530 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 debian/menu0000644000000000000000000000015011371314357010056 0ustar ?package(pyroom):needs="X11" section="Applications/Editors"\ title="pyroom" command="/usr/bin/pyroom" debian/dirs0000644000000000000000000000004011371314357010051 0ustar usr/bin usr/share/pyroom/themes debian/patches/0000755000000000000000000000000011402073276010617 5ustar debian/patches/04_LANGUAGE_set_fix_584478.diff0000644000000000000000000000076411402073276015532 0ustar Description: Fix crash when LANGUAGE is set. Author: Jakub Wilk Debian-bug: http://bugs.debian.org/584478 --- pyroom-0.4.1.orig/PyRoom/__init__.py +++ pyroom-0.4.1/PyRoom/__init__.py @@ -23,7 +23,7 @@ if lc: 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) debian/patches/03_locales_installation.diff0000644000000000000000000000111311371315033016145 0ustar Description: Patch to fix install locales to correct path in Debian packaging Author: Florian Heinle 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:] debian/patches/series0000644000000000000000000000012411402073337012027 0ustar 02_setup_file_fix.diff 03_locales_installation.diff 04_LANGUAGE_set_fix_584478.diff debian/patches/02_setup_file_fix.diff0000644000000000000000000000106311371314735014762 0ustar Description: Patch to fix installation of data files in setup.py Author: Kartik Mistry --- a/setup.py +++ b/setup.py @@ -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}, )