--- kodos-2.4.9.orig/debian/kodos.doc-base +++ kodos-2.4.9/debian/kodos.doc-base @@ -0,0 +1,12 @@ +Document: kodos +Title: Kodos - A visual regular expression editor +Author: Phil Schwartz +Abstract: Kodos is an application to aid in the creation and debugging of + regular expressions in python. The GUI for Kodos should eliminate the + need for using the python interpreter for regex design in most + instances. +Section: Development + +Format: HTML +Index: /usr/share/doc/kodos/help/kodos.html +Files: /usr/share/doc/kodos/help/*.html --- kodos-2.4.9.orig/debian/kodos.1 +++ kodos-2.4.9/debian/kodos.1 @@ -0,0 +1,33 @@ +.TH kodos 1 "October 25, 2006" +.SH "NAME" +kodos \- regular expression designer, tester, debugger, and validator +.SH "SYNOPSIS" +.PP +\fBkodos\fR +.SH "DESCRIPTION" +.PP +This manual page was written for the \fBDebian\fP distribution +because the original program does not have a manual page. +.PP +kodos is a regular expression designer, tester, debugger, and validator that +allows a developer to create and modify regular expressions against a test +string. The intuitive GUI interface allows the developer the ability to modify +the regular expression (regex) and to see the effects against their test +string in real-time. +.PP +Detailed help and usage explanations can be found in /usr/share/doc/kodos/help/. +.SH "OPTIONS" +.PP +This program runs via a GUI and does not take any command line options. +.SH "AUTHOR" +kodos was written by Phil Schwartz . +.PP +This manual page was written by Kevin Coyner for the +\fBDebian\fP 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 any later version published by the Free +Software Foundation. +.PP +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common\-licenses/GPL. + --- kodos-2.4.9.orig/debian/kodos.desktop +++ kodos-2.4.9/debian/kodos.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Kodos +Comment=Visual regular expression editor +Exec=kodos +Terminal=false +Icon=kodos_icon +Type=Application +Categories=Development;Qt; +Version=1.0 --- kodos-2.4.9.orig/debian/control +++ kodos-2.4.9/debian/control @@ -0,0 +1,19 @@ +Source: kodos +Section: python +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Kevin Coyner +Build-Depends: debhelper (>= 5.0.38), dpatch, python-all-dev (>= 2.5.4), python-central (>= 0.5.6) +XS-Python-Version: current +Standards-Version: 3.7.2.2 + +Package: kodos +Architecture: all +Depends: ${python:Depends}, python-qt3, python-dev +XB-Python-Version: ${python:Versions} +Description: A visual regular expression editor + Kodos is an application to aid in the creation and debugging of + regular expressions in python. The GUI for Kodos should eliminate the + need for using the python interpreter for regex design in most + instances. + Homepage: http://kodos.sourceforge.net/ --- kodos-2.4.9.orig/debian/rules +++ kodos-2.4.9/debian/rules @@ -0,0 +1,97 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PYDEF := $(shell pyversions -d) + +include /usr/share/python/python.mk + +SITEDIR = $(call py_sitename, $(PYDEF)) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +build: patch build-stamp +build-stamp: + dh_testdir + python setup.py build + touch build-stamp + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp + rm -rf build + -find . -name '*.py[co]' | xargs rm -f + dh_clean + +patch: patch-stamp +patch-stamp: + dpatch apply-all + dpatch cat-all >patch-stamp + +unpatch: + dpatch deapply-all + rm -rf patch-stamp debian/patched + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + python setup.py install --prefix=$(CURDIR)/debian/kodos/usr $(py_setup_install_args) + -find debian/kodos -name '*.py[co]' | xargs rm -f + mkdir -p debian/kodos/usr/share/kodos/modules + mv debian/kodos/usr/lib/$(PYDEF)/$(SITEDIR)/kodos/modules/* \ + debian/kodos/usr/share/kodos/modules/. + rm -rf debian/kodos/usr/lib + mv debian/kodos/usr/bin/kodos.py debian/kodos/usr/bin/kodos + mkdir -p debian/kodos/usr/share/applications/ + install debian/kodos.desktop debian/kodos/usr/share/applications/ + mkdir -p debian/kodos/usr/share/pixmaps + install images/kodos_icon.xpm debian/kodos/usr/share/pixmaps + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + mv debian/kodos/usr/share/kodos/help \ + debian/kodos/usr/share/kodos/images \ + debian/kodos/usr/share/kodos/screenshots \ + debian/kodos/usr/share/doc/kodos/ + dh_link /usr/share/doc/kodos/help /usr/share/kodos/help + dh_link /usr/share/doc/kodos/images /usr/share/kodos/images + dh_link /usr/share/doc/kodos/screenshots /usr/share/kodos/screenshots + ln -s kodos.html debian/kodos/usr/share/doc/kodos/help/index.html + dh_installmenu + dh_installman + dh_link + dh_compress -X.py + dh_fixperms + dh_pycentral + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install patch unpatch clean-patched configure --- kodos-2.4.9.orig/debian/watch +++ kodos-2.4.9/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/kodos/kodos-(.*)\.tar\.gz --- kodos-2.4.9.orig/debian/changelog +++ kodos-2.4.9/debian/changelog @@ -0,0 +1,125 @@ +kodos (2.4.9-6.3ubuntu1) lucid; urgency=low + + * Add .desktop file (LP: #230458): + - debian/kodos.desktop: Add file + - debian/rules: Install desktop file and icon + + -- David Futcher Sat, 27 Mar 2010 12:47:12 +0000 + +kodos (2.4.9-6.3) unstable; urgency=low + + * Non-maintainer upload. + * Fix distribution tag; set to unstable. + + -- Kumar Appaiah Mon, 19 Oct 2009 18:13:19 -0500 + +kodos (2.4.9-6.2) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Build-Depend on python-all-dev >= 2.5.4 for python.mk. + + -- Kumar Appaiah Mon, 19 Oct 2009 18:12:58 -0500 + +kodos (2.4.9-6.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix "manipulates site-packages/ directly, failing with Python 2.6" + Applied and uploaded Kumar's patch, thanks dude! (Closes: #547827) + + -- Bastian Venthur Sat, 17 Oct 2009 15:46:49 +0200 + +kodos (2.4.9-6) unstable; urgency=low + + * New e-mail address for maintainer. Changed in debian/* files. + * Update debian/menu to Applications/Programming to conform to new menu + changes. + + -- Kevin Coyner Sun, 12 Aug 2007 15:16:06 -0400 + +kodos (2.4.9-5) unstable; urgency=low + + * Updated debian/watch file. + * Backed out manual changes to source files (kodos.py, setup.py, + kodos_icon.xpm) in favor of implementing them via dpatch. + * Changes to debian/rules to implement dpatch. + * debian/control: Added dpatch as a build-dependency and updated versions + for debhelper and python-central. + + -- Kevin Coyner Fri, 8 Dec 2006 22:34:55 -0500 + +kodos (2.4.9-4) unstable; urgency=low + + * New maintainer. Closes: #394936. + * Updated Standards-Version to 3.7.2.2. No changes. + * Changed Build-Depends from python-dev to python-all-dev. + * Updated debian/compat to 5. + * Updated debian/watch to version 3. + * Updated debian/copyright with correct FSF address and to proper Debian policy. + * Wrote and added a basic man page. + * Converted menu icon from .png to .xpm format. + * Added homepage to debian/control. + + -- Kevin Coyner Wed, 25 Oct 2006 22:10:47 -0400 + +kodos (2.4.9-3) unstable; urgency=low + + * Orphan the package. + + -- Matthias Klose Tue, 24 Oct 2006 00:22:00 +0200 + +kodos (2.4.9-2) unstable; urgency=low + + * Make the build independent from the python version. + + -- Matthias Klose Fri, 14 Jul 2006 12:56:38 +0000 + +kodos (2.4.9-1) unstable; urgency=low + + * New upstream version. + * Changed menu icon. Closes: #232120. + + -- Matthias Klose Sat, 1 Jul 2006 09:30:59 +0000 + +kodos (2.4.7-1) unstable; urgency=low + + * New upstream version (rpm packaging changes only). + + -- Matthias Klose Fri, 2 Sep 2005 19:58:00 +0000 + +kodos (2.4.5-2.1) unstable; urgency=low + + * NMU upload. + * Rebuilt .ui files with latest pyuic (closes: #306112). + + -- Ricardo Javier Cardenes Medina Sun, 1 May 2005 12:33:37 +0100 + +kodos (2.4.5-2) unstable; urgency=low + + * Fix python dependency (closes: #277053). + + -- Matthias Klose Mon, 18 Oct 2004 23:43:10 +0200 + +kodos (2.4.5-1) unstable; urgency=low + + * New upstream version. + + -- Matthias Klose Sun, 19 Sep 2004 21:00:50 +0200 + +kodos (2.4.2-1) unstable; urgency=low + + * New upstream version. + + -- Matthias Klose Fri, 27 Feb 2004 00:27:59 +0100 + +kodos (2.3.1-1) unstable; urgency=low + + * New upstream version. + + -- Matthias Klose Thu, 29 Jan 2004 00:30:56 +0100 + +kodos (2.3.0-1) unstable; urgency=low + + * Initial Release. + + -- Matthias Klose Fri, 16 Jan 2004 09:29:40 +0100 + --- kodos-2.4.9.orig/debian/copyright +++ kodos-2.4.9/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Matthias Klose on +Fri, 16 Jan 2004 07:29:40 +0100. + +It was downloaded from http://kodos.sf.net/ + +Upstream Author: Phil Schwartz + +Copyright: Phil Schwartz + + This program 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 program 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 program; 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'. --- kodos-2.4.9.orig/debian/manpages +++ kodos-2.4.9/debian/manpages @@ -0,0 +1 @@ +debian/kodos.1 --- kodos-2.4.9.orig/debian/menu +++ kodos-2.4.9/debian/menu @@ -0,0 +1,6 @@ +?package(kodos):\ + needs="X11"\ + section="Applications/Programming"\ + title="Kodos"\ + icon="/usr/share/kodos/images/kodos_icon.xpm"\ + command="/usr/bin/kodos" --- kodos-2.4.9.orig/debian/pycompat +++ kodos-2.4.9/debian/pycompat @@ -0,0 +1 @@ +2 --- kodos-2.4.9.orig/debian/compat +++ kodos-2.4.9/debian/compat @@ -0,0 +1 @@ +5 --- kodos-2.4.9.orig/debian/patches/001_kodos.dpatch +++ kodos-2.4.9/debian/patches/001_kodos.dpatch @@ -0,0 +1,202 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 001_kodos_patch.dpatch by Kevin Coyner +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: 001 kodos patch + +@DPATCH@ + +diff -Naur kodos-2.4.9.orig/images/kodos_icon.xpm kodos-2.4.9/images/kodos_icon.xpm +--- kodos-2.4.9.orig/images/kodos_icon.xpm 1970-01-01 00:00:00.000000000 +0000 ++++ kodos-2.4.9/images/kodos_icon.xpm 2006-12-09 03:17:56.000000000 +0000 +@@ -0,0 +1,158 @@ ++/* XPM */ ++static char * kodos_icon_xpm[] = { ++"24 24 131 2", ++" c None", ++". c #1A2E0C", ++"+ c #1C310D", ++"@ c #15250A", ++"# c #152409", ++"$ c #4A8021", ++"% c #569527", ++"& c #233D10", ++"* c #3B661B", ++"= c #467920", ++"- c #142309", ++"; c #39631A", ++"> c #477C20", ++", c #376019", ++"' c #497E21", ++") c #355D18", ++"! c #4A8122", ++"~ c #1D320D", ++"{ c #325717", ++"] c #4B8322", ++"^ c #292420", ++"/ c #528E25", ++"( c #4D8523", ++"_ c #16260A", ++": c #695C53", ++"< c #D9BFAC", ++"[ c #406F1D", ++"} c #132209", ++"| c #FFDFC9", ++"1 c #3B342F", ++"2 c #386119", ++"3 c #549126", ++"4 c #3E6B1C", ++"5 c #6C5F55", ++"6 c #20370E", ++"7 c #192C0B", ++"8 c #539026", ++"9 c #3C671B", ++"0 c #E5C8B5", ++"a c #534841", ++"b c #1E350E", ++"c c #549226", ++"d c #375F19", ++"e c #C4AF9A", ++"f c #D6BBAA", ++"g c #20370F", ++"h c #559327", ++"i c #345A18", ++"j c #3A5521", ++"k c #BBA493", ++"l c #716359", ++"m c #223A0F", ++"n c #559427", ++"o c #325616", ++"p c #558B2B", ++"q c #3A4428", ++"r c #E5C8B4", ++"s c #FDDDC7", ++"t c #332D28", ++"u c #1B2F0C", ++"v c #1A2D0C", ++"w c #101C07", ++"x c #53882A", ++"y c #4D483B", ++"z c #FADAC5", ++"A c #F3D4BF", ++"B c #5D524A", ++"C c #4B7B26", ++"D c #575242", ++"E c #C4AB9A", ++"F c #5A4F47", ++"G c #61554D", ++"H c #594E46", ++"I c #685B52", ++"J c #726359", ++"K c #948174", ++"L c #D2B8A6", ++"M c #D8BDAA", ++"N c #B8A191", ++"O c #5B4F47", ++"P c #446F22", ++"Q c #3E3F2E", ++"R c #F4D6C1", ++"S c #F9DAC4", ++"T c #F7D8C3", ++"U c #665951", ++"V c #2D4A17", ++"W c #528629", ++"X c #294017", ++"Y c #5F6544", ++"Z c #A2937E", ++"` c #AD9A87", ++" . c #B19D8A", ++".. c #A49280", ++"+. c #6D6653", ++"@. c #55593D", ++"#. c #364722", ++"$. c #31491B", ++"%. c #30401E", ++"&. c #67624E", ++"*. c #FADBC5", ++"=. c #5D5149", ++"-. c #315119", ++";. c #558A2B", ++">. c #518429", ++",. c #487625", ++"'. c #477524", ++"). c #477324", ++"!. c #477424", ++"~. c #3E6620", ++"{. c #457123", ++"]. c #497825", ++"^. c #293918", ++"/. c #938771", ++"(. c #16240B", ++"_. c #304E18", ++":. c #416B21", ++"<. c #14210A", ++"[. c #192A0D", ++"}. c #243C12", ++"|. c #253D13", ++"1. c #313C21", ++"2. c #403932", ++"3. c #16230B", ++"4. c #18280C", ++"5. c #18270C", ++"6. c #17260C", ++"7. c #1A2B0D", ++"8. c #14200A", ++"9. c #111B09", ++"0. c #0A0B07", ++" . + + @ + + + # ", ++" $ % % & * % % = - ", ++" $ % % & ; % % > - ", ++" $ % % & , % % ' # ", ++" $ % % & ) % % ! # ", ++" $ % % ~ { % % ] @ ", ++" ^ $ % % / % % ( _ ", ++" : $ % % % % % - ", ++" < $ % % % % % [ } ", ++" | 1 $ % % 2 3 % % 4 ", ++" | 5 $ % % 6 7 8 % % 9 ", ++" | 0 $ % % & ~ 3 % % ; ", ++" | | a $ % % & b c % % d ", ++" e | f $ % % & g h % % i ", ++" j k | l $ % % & m n % % o ", ++" p q r s t u ~ ~ @ v ~ ~ ~ w ", ++" p x y z A B ", ++" p p C D | | E F G H I J K L M N O ", ++" p p P Q R | | | | | | | | S | T U ", ++" V p p W X Y Z ` ...+.@.#.$.%.&.*.=. ", ++" -.;.p p >.,.'.).!.p p p ~.{.].^./.l ", ++" (._.C p p p p x :.V <. [.}.|.1.2. ", ++" 3.4.5.6.7. 8.9.0. ", ++" "}; +diff -Naur kodos-2.4.9.orig/kodos.py kodos-2.4.9/kodos.py +--- kodos-2.4.9.orig/kodos.py 2005-12-16 22:47:29.000000000 +0000 ++++ kodos-2.4.9/kodos.py 2006-12-09 03:17:56.000000000 +0000 +@@ -23,7 +23,7 @@ + import os.path + from distutils.sysconfig import get_python_lib + +-sys.path.insert(0, os.path.join(get_python_lib(), "kodos")) ++sys.path.insert(0, os.path.join(get_python_lib(), "/usr/share/kodos")) + + ################################################################### + +diff -Naur kodos-2.4.9.orig/setup.py kodos-2.4.9/setup.py +--- kodos-2.4.9.orig/setup.py 2005-12-16 22:47:29.000000000 +0000 ++++ kodos-2.4.9/setup.py 2006-12-09 03:17:56.000000000 +0000 +@@ -14,7 +14,7 @@ + libpath = r"lib\site-packages\kodos" + else: + #libpath = "/usr/local/kodos" # 2.4.0 and prior +- libpath = "/usr/share/kodos" # as of 2.4.1 ++ libpath = "share/kodos" # as of 2.4.1 + + for arg in args: + if arg == "--formats=wininst": +@@ -42,6 +42,7 @@ + data_files=[(HELP_DIR, glob(os.path.join("help", "*.*ml"))), + (HELP_PY_DIR, glob(os.path.join("help", "python", "*.html"))), + (IMAGES_DIR, glob(os.path.join("images", "*.png"))), ++ (IMAGES_DIR, glob(os.path.join("images", "*.xpm"))), + (SCREENSHOTS_DIR, glob(os.path.join("screenshots", "*.png"))), + (libpath, glob('kodos.pro')), + (libpath, glob('kodosqt.pro')), --- kodos-2.4.9.orig/debian/patches/00list +++ kodos-2.4.9/debian/patches/00list @@ -0,0 +1 @@ +001_kodos