--- redet-8.2.orig/debian/patches/00list +++ redet-8.2/debian/patches/00list @@ -0,0 +1 @@ +01_path --- redet-8.2.orig/debian/patches/01_path.dpatch +++ redet-8.2/debian/patches/01_path.dpatch @@ -0,0 +1,33 @@ +#! /bin/sh -e +## redet.dpatch +## Bartosz Fenski + +patch_opts="${patch_opts:--f --no-backup-if-mismatch ${2:+-d $2}}" + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -ru redet-6.13.orig/redet.tcl redet-6.13/redet.tcl +--- redet-6.13.orig/redet.tcl 2005-07-28 10:53:55.000000000 +0200 ++++ redet-6.13/redet.tcl 2005-07-28 11:46:40.000000000 +0200 +@@ -51,7 +51,7 @@ + set HistoryFile ".redethist"; + set JournalFile ".redetlog"; + set ColorFile ".redetcolors"; +-set NonBinPath [file join /usr share Redet]; ++set NonBinPath [file join /usr share doc redet-doc]; + + #Portability + #Figure out what system we are running on --- redet-8.2.orig/debian/changelog +++ redet-8.2/debian/changelog @@ -0,0 +1,102 @@ +redet (8.2-1) unstable; urgency=low + + * New upstream version. + + -- Bartosz Fenski Wed, 4 Jan 2006 16:18:20 +0100 + +redet (8.1-1) unstable; urgency=low + + * New upstream version. + + -- Bartosz Fenski Mon, 26 Dec 2005 19:41:52 +0100 + +redet (8.0-1) unstable; urgency=low + + * New upstream version. + + -- Bartosz Fenski Wed, 21 Dec 2005 09:34:15 +0100 + +redet (7.10-1) unstable; urgency=low + + * New upstream version. + + -- Bartosz Fenski Thu, 15 Dec 2005 11:03:37 +0100 + +redet (7.9-1) unstable; urgency=low + + * New upstream release. + + -- Bartosz Fenski Tue, 6 Dec 2005 13:44:25 +0100 + +redet (7.6-1) unstable; urgency=low + + * New upstream version. + + -- Bartosz Fenski Mon, 28 Nov 2005 14:44:57 +0100 + +redet (7.5-1) unstable; urgency=low + + * New upstream version. + + -- Bartosz Fenski Sun, 30 Oct 2005 12:24:42 +0100 + +redet (7.4-1) unstable; urgency=low + + * New upstream version. + + -- Bartosz Fenski Fri, 14 Oct 2005 14:52:35 +0200 + +redet (7.3-1) unstable; urgency=low + + * New upstream version. + * Added iwidgets4 dependency. + + -- Bartosz Fenski Mon, 26 Sep 2005 12:56:21 +0200 + +redet (7.1-1) unstable; urgency=low + + * New upstream version. + + -- Bartosz Fenski Fri, 2 Sep 2005 18:15:59 +0200 + +redet (7.0-1) unstable; urgency=low + + * New upstream release. + + -- Bartosz Fenski Mon, 15 Aug 2005 13:20:27 +0200 + +redet (6.14-1) unstable; urgency=low + + * New upstream release. + * Make redet-doc Section: doc to stop messages about disparity. + * Changed address of homepage (control/copyright files). + + -- Bartosz Fenski Wed, 10 Aug 2005 10:37:05 +0200 + +redet (6.13-1) unstable; urgency=low + + * New upstream version. + * Patch changing path has been fixed to work with new version. + + -- Bartosz Fenski Thu, 28 Jul 2005 11:41:08 +0200 + +redet (6.12-2) unstable; urgency=low + + * Fixed wrong path in doc-base file. + Thanks to Aaron M. Ucko for spotting it. (Closes: #319223) + + -- Bartosz Fenski Tue, 19 Jul 2005 11:26:22 +0200 + +redet (6.12-1) unstable; urgency=low + + * New upstream version. + * Redet binary has been patched to set proper path to manual. + + -- Bartosz Fenski Tue, 19 Jul 2005 11:26:22 +0200 + +redet (6.9.1-1) unstable; urgency=low + + * Initial release (Closes: #311321) + + -- Bartosz Fenski Tue, 5 Jul 2005 17:46:29 +0200 + --- redet-8.2.orig/debian/compat +++ redet-8.2/debian/compat @@ -0,0 +1 @@ +4 --- redet-8.2.orig/debian/control +++ redet-8.2/debian/control @@ -0,0 +1,41 @@ +Source: redet +Section: x11 +Priority: optional +Maintainer: Bartosz Fenski +Build-Depends-Indep: debhelper (>= 4.0.0), dpatch +Standards-Version: 3.6.2 + +Package: redet +Architecture: all +Depends: tk8.4, iwidgets4 +Suggests: redet-doc, dillo +Description: regular expression development and execution tool + Redet allows the user to construct regular expressions and test them against + input data by executing any of a variety of search programs, editors, + and programming languages that make use of regular expressions. When a + suitable regular expression has been constructed it may be saved to a file. + . + Redet stands for Regular Expression Development and Execution + Tool. For each program, a palette showing the available regular expression + syntax is provided. Selections from the palette may be copied to the + regular expression window with a mouse click. Users may add their own + definitions to the palette via their initialization file. + Redet also keeps a list of the regular expressions executed, from which + entries may be copied back into the regular expression under construction. + The history list is saved to a file and restored on startup, so it + persists across sessions. + . + So long as the underlying program supports Unicode, Redet allows UTF-8 + Unicode in both test data and regular expressions. + . + Homepage: http://www.billposer.org/Software/redet.html + +Package: redet-doc +Architecture: all +Section: doc +Suggests: redet +Description: regular expression development and execution tool (documentation) + Documentation for the Redet (regular expression development and execution + tool. + . + Homepage: http://www.billposer.org/Software/redet.html --- redet-8.2.orig/debian/copyright +++ redet-8.2/debian/copyright @@ -0,0 +1,17 @@ +This package was debianized by Bartosz Fenski on +Tue, 5 Jul 2005 17:46:29 +0200. + +It was downloaded from http://www.billposer.org/Software/redet.html + +Copyright Holder: William J. Poser + See also /usr/share/doc/redet/CREDITS file. + +License: + + 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, or (at your option) any + later version. + + On Debian systems, the complete text of the GNU General Public License + can be found in the file `/usr/share/common-licenses/GPL'. --- redet-8.2.orig/debian/redet-doc.doc-base +++ redet-8.2/debian/redet-doc.doc-base @@ -0,0 +1,10 @@ +Document: redet +Title: Redet Manual +Author: William J. Poser +Abstract: This manual describes what Redet is and how it can be used. +Section: Development + +Format: HTML +Index: /usr/share/doc/redet-doc/Manual/Manual.html +Files: /usr/share/doc/redet-doc/Manual/*.html + --- redet-8.2.orig/debian/redet-doc.install +++ redet-8.2/debian/redet-doc.install @@ -0,0 +1 @@ +Manual /usr/share/doc/redet-doc/ --- redet-8.2.orig/debian/redet.dirs +++ redet-8.2/debian/redet.dirs @@ -0,0 +1 @@ +usr/bin --- redet-8.2.orig/debian/redet.docs +++ redet-8.2/debian/redet.docs @@ -0,0 +1,2 @@ +README-General +CREDITS --- redet-8.2.orig/debian/redet.examples +++ redet-8.2/debian/redet.examples @@ -0,0 +1,7 @@ +SampleClasses.utf8 +SampleCustomCharacterWidgetDefinition_Greek +SampleCustomCharacterWidgetDefinition_Armenian +SampleNewStyleDotRedetRC_Simple +SampleNewStyleDotRedetRC_Elaborate + + --- redet-8.2.orig/debian/redet.install +++ redet-8.2/debian/redet.install @@ -0,0 +1 @@ +redet.tcl /usr/bin --- redet-8.2.orig/debian/redet.manpages +++ redet-8.2/debian/redet.manpages @@ -0,0 +1 @@ +redet.1 --- redet-8.2.orig/debian/redet.menu +++ redet-8.2/debian/redet.menu @@ -0,0 +1,3 @@ +?package(redet):needs="X11" section="Apps/Programming"\ + title="redet" command="/usr/bin/redet" \ + longtitle="Regular expression development and execution tool" --- redet-8.2.orig/debian/rules +++ redet-8.2/debian/rules @@ -0,0 +1,73 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +include /usr/share/dpatch/dpatch.make + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + +build: build-indep + +build-indep: build-indep-stamp +build-indep-stamp: patch-stamp configure-stamp + + touch build-indep-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-indep-stamp + dh_clean + +install: install-indep +install-indep: + dh_testdir + dh_testroot + dh_clean -k -i + dh_installdirs -i + dh_install -i + mv debian/redet/usr/bin/redet.tcl debian/redet/usr/bin/redet + +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installmenu + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: build-indep install-indep + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +binary: binary-indep +.PHONY: build clean binary-indep binary install install-indep configure \ +patch unpatch +