--- msort-8.52.orig/msg.tcl +++ msort-8.52/msg.tcl @@ -1,6 +1,6 @@ #!/bin/sh # the next line restarts using tclsh \ -exec tclsh $0 $@ +exec tclsh8.5 $0 $@ # Time-stamp: <2008-12-06 18:09:46 poser> # # Copyright (C) 2005-2008 William J. Poser (billposer@alum.mit.edu) --- msort-8.52.orig/debian/changelog +++ msort-8.52/debian/changelog @@ -0,0 +1,174 @@ +msort (8.52-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Switched to Tcl/Tk 8.5 to match changes in itcl3 and itk3 packages. + + -- Sergei Golovan Wed, 02 Sep 2009 19:18:39 +0400 + +msort (8.52-1) unstable; urgency=low + + * New upstream version. + + -- Bartosz Fenski Mon, 02 Feb 2009 22:39:02 +0100 + +msort (8.44-1) unstable; urgency=low + + * New upstream version. + * Bumped Standards-Version to 3.7.3 (no changes needed). + * Moved URL to homepage header. + * Rewritten debian/copyright to make lintian happy. + * Adapted menu entry to new policy. + * Doesn't ignore clean target anymore. + + -- Bartosz Fenski Wed, 23 Apr 2008 12:31:08 +0200 + +msort (8.42-1) unstable; urgency=low + + * New upstream version. + - fixes sorting by date (Closes: #429759) + * Depends on libuninum, libgmp and libicu. + + -- Bartosz Fenski Tue, 30 Oct 2007 08:48:01 +0100 + +msort (8.29-1) unstable; urgency=low + + * New upstream release. + + -- Bartosz Fenski Sun, 5 Nov 2006 14:38:20 +0100 + +msort (8.28-1) unstable; urgency=low + + * New upstream release. + - fixes segfault on numeric sort (Closes: #383230) + - removes superflous free() call (Closes: #383232) + * Bumped Standards-Version to 3.7.2 (no changes needed). + + -- Bartosz Fenski Thu, 7 Sep 2006 08:49:00 +0200 + +msort (8.26-1) unstable; urgency=low + + * New upstream version. + + -- Bartosz Fenski Sat, 27 May 2006 15:14:22 +0200 + +msort (8.24-1) unstable; urgency=low + + * New upstream version. + + -- Bartosz Fenski Tue, 9 May 2006 20:14:00 +0200 + +msort (8.23.2-1) unstable; urgency=low + + * New upstream version. + * Description has been updated to show new features. + * Bumped Standards-Version to 3.7.2 version (no changes needed). + + -- Bartosz Fenski Sat, 6 May 2006 12:16:03 +0200 + +msort (8.20-1) unstable; urgency=low + + * New upstream release. + + -- Bartosz Fenski Tue, 11 Apr 2006 13:31:36 +0200 + +msort (8.19-1) unstable; urgency=low + + * New upstream release. + + -- Bartosz Fenski Tue, 21 Mar 2006 15:09:14 +0100 + +msort (8.18-1) unstable; urgency=low + + * New upstream release. + + -- Bartosz Fenski Thu, 16 Mar 2006 13:44:40 +0100 + +msort (8.16-1) unstable; urgency=low + + * New upstream release. + + -- Bartosz Fenski Wed, 22 Feb 2006 13:22:28 +0100 + +msort (8.15-1) unstable; urgency=low + + * New upstream release. + + -- Bartosz Fenski Tue, 14 Feb 2006 16:35:17 +0100 + +msort (8.13-1) unstable; urgency=low + + * New upstream release. + + -- Bartosz Fenski Tue, 7 Feb 2006 12:49:22 +0100 + +msort (8.12-1) unstable; urgency=low + + * New upstream release. + + -- Bartosz Fenski Tue, 24 Jan 2006 11:57:13 +0100 + +msort (8.11-1) unstable; urgency=low + + * New upstream release. + + -- Bartosz Fenski Wed, 18 Jan 2006 00:25:34 +0100 + +msort (8.10-1) unstable; urgency=low + + * New upstream release. + + -- Bartosz Fenski Sun, 30 Oct 2005 12:09:15 +0100 + +msort (8.9-1) unstable; urgency=low + + * New upstream release. + * Some fixes in rules file, since upstream changed paths. + + -- Bartosz Fenski Tue, 18 Oct 2005 11:43:41 +0200 + +msort (8.8-2) unstable; urgency=low + + * Added missing iwidgets dependency. + + -- Bartosz Fenski Mon, 26 Sep 2005 16:41:07 +0200 + +msort (8.8-1) unstable; urgency=low + + * New upstream release. + + -- Bartosz Fenski Mon, 26 Sep 2005 12:35:04 +0200 + +msort (8.7-1) unstable; urgency=low + + * New upstream release. + + -- Bartosz Fenski Tue, 6 Sep 2005 19:42:07 +0200 + +msort (8.6-1) unstable; urgency=low + + * New upstream release. + Some modifications in debian/* files since upstream changed directory + structure. + + -- Bartosz Fenski Thu, 18 Aug 2005 12:28:57 +0200 + +msort (8.5-1) unstable; urgency=low + + * New upstream release. + * Changed homepage address (control/copyright files). + + -- Bartosz Fenski Wed, 10 Aug 2005 10:34:52 +0200 + +msort (8.4-2) unstable; urgency=low + + * Fixed "needs" entry in menu file. + * Fixed list of features to make lintian happy. + + -- Bartosz Fenski Thu, 4 Aug 2005 14:10:13 +0200 + +msort (8.4-1) unstable; urgency=low + + * Initial release (Closes: #321022) + + -- Bartosz Fenski Tue, 2 Aug 2005 23:21:44 +0200 + --- msort-8.52.orig/debian/rules +++ msort-8.52/debian/rules @@ -0,0 +1,86 @@ +#!/usr/bin/make -f +# msort + +# 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 + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + ./configure --prefix=/usr --disable-utf8proc + touch configure-stamp + +#Architecture +build: build-arch build-indep + +build-arch: build-arch-stamp +build-arch-stamp: configure-stamp + + $(MAKE) + touch build-arch-stamp + +build-indep: build-indep-stamp +build-indep-stamp: configure-stamp + + +clean: + dh_testdir + dh_testroot + rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP# + [ ! -f Makefile ] || $(MAKE) clean + dh_clean + +install: install-indep install-arch +install-indep: + dh_testdir + dh_testroot + dh_clean -k -i + dh_installdirs -i + dh_install -i + mv debian/msort-gui/usr/bin/msg.tcl debian/msort-gui/usr/bin/msort-gui + +install-arch: + dh_testdir + dh_testroot + dh_clean -k -s + dh_installdirs -s + + dh_install -s + +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-arch: build-arch install-arch + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure --- msort-8.52.orig/debian/msort-gui.1 +++ msort-8.52/debian/msort-gui.1 @@ -0,0 +1,17 @@ +.TH MSORT-GUI "1" "3 August 2005" +.SH NAME +msort-gui \- frontend for msort utility +.SH SYNOPSIS +.B msort-gui +.SH DESCRIPTION +This manual page documents briefly the frontend for msort utility. +It doesn't have any command line options, just run it and it'll appear +on your screen. +.br +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +.SH AUTHOR +The pypanel is developed by William J. Poser . +This manual page was written by Bartosz Fenski , +for the Debian project (but may be used by others). --- msort-8.52.orig/debian/msort-gui.menu +++ msort-8.52/debian/msort-gui.menu @@ -0,0 +1,2 @@ +?package(msort-gui):needs="X11" section="Applications/Text"\ + title="msort-gui" command="/usr/bin/msort-gui" --- msort-8.52.orig/debian/msort-gui.install +++ msort-8.52/debian/msort-gui.install @@ -0,0 +1 @@ +msg.tcl /usr/bin/ --- msort-8.52.orig/debian/dirs +++ msort-8.52/debian/dirs @@ -0,0 +1 @@ +usr/bin --- msort-8.52.orig/debian/msort-gui.manpages +++ msort-8.52/debian/msort-gui.manpages @@ -0,0 +1 @@ +debian/msort-gui.1 --- msort-8.52.orig/debian/copyright +++ msort-8.52/debian/copyright @@ -0,0 +1,18 @@ +This package was debianized by Bartosz Fenski on +Tue, 2 Aug 2005 23:21:44 +0200. + +It was downloaded from http://www.billposer.org/Software/msort.html + +Copyright: + +Copyright (c) 1993-2008 William J. Poser + +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'. --- msort-8.52.orig/debian/compat +++ msort-8.52/debian/compat @@ -0,0 +1 @@ +4 --- msort-8.52.orig/debian/msort-gui.docs +++ msort-8.52/debian/msort-gui.docs @@ -0,0 +1,2 @@ +Doc/InitializationFiles +AUTHORS --- msort-8.52.orig/debian/control +++ msort-8.52/debian/control @@ -0,0 +1,71 @@ +Source: msort +Section: utils +Priority: optional +Maintainer: Bartosz Fenski +Build-Depends: debhelper (>= 4.0.0), libtre-dev, libuninum-dev, libgmp3-dev, libicu-dev +Standards-Version: 3.7.3 +Homepage: http://www.billposer.org/Software/msort.html + +Package: msort +Architecture: any +Depends: ${shlibs:Depends} +Suggests: msort-gui +Description: utility for sorting records in complex ways + msort is a program for sorting files in sophisticated ways. It was originally + developed for alphabetizing dictionaries of "exotic" languages, for which it + has been extensively used, but is useful for many other purposes. msort differs + from typical sort utilities in providing greater flexibility in parsing the + input into records and identifying key fields and greater control over the + sort order. Its main distinctive features are: + . + o Msort can be used as a command-line program or via a graphical user + interface that is helpful not only to those who find a complicated command + line difficult to deal with but also to those unfamiliar with the finer + points of sorting. + o Records need not be single lines of text but may be delimited in a number + of ways. + o Key fields may be selected by position in the record (counting from the + beginning or the end), by character ranges (e.g. the key consists of the + fourth through eighth characters), or by matching a regular expression to + a tag. + o For each key an arbitrary sort order may be specified. Msort also + understands locales. + o For each key an effectively unlimited number of multigraphs (sequences + of characters to be treated as a single unit for purposes of sorting, + "collating elements" in Unicode parlance) of effectively unlimited length + may be defined. + o In addition to the usual lexicographic and numerical comparisons, msort + supports hybrid lexicographic-numeric comparison (for things like filenames + and section headings, so that, e.g., 2a will precede 10b), random + comparison, and ordering by angle, date, time, month name, domain name, + email address, ISO8601 date-time, and string length. + o Numbers may be in just about any known number system, e.g. Chinese or + Devanagari. + o For each key a distinct set of characters may be excluded from + consideration when sorting in any combination of initial, final, and + medial position in the key field. + o For each key a distinct set of regular expression substitutions may be + defined. These provide the means to make names like McCarthy sort before + MacCawley, as if McCarthy were spelled MacCarthy as well as to handle the + rare cases in which a single character is treated for purposes of sorting + as a sequence, such as German "eszet" sign, which is traditionally sorted + as if it were ss. + o Lexicographic keys may be reversed, allowing the construction of reverse + dictionaries. + o Any or all keys may be optional. For optional keys, the user may specify + how records missing the key field should compare to records in which the + key field is present. + o A choice of sorting algorithms with different properties is provided. + . + msort understands UTF-8 Unicode. Unicode may be used anywhere that text is + entered: in the text to be sorted, in sort order and exclusion definitions, + as a field or record separator, or as a field tag. Full Unicode + case-folding is available. + +Package: msort-gui +Architecture: all +Depends: tk8.5, iwidgets4, msort +Description: tcl/tk gui for msort utility + msort-gui is a frontend for msort utility. It is helpful not only to those + who find a complicated command line difficult to deal with but also to + those unfamiliar with the finer points of sorting. --- msort-8.52.orig/debian/msort.docs +++ msort-8.52/debian/msort.docs @@ -0,0 +1,3 @@ +README +Doc/msort.pdf +AUTHORS --- msort-8.52.orig/debian/msort.install +++ msort-8.52/debian/msort.install @@ -0,0 +1 @@ +msort /usr/bin --- msort-8.52.orig/debian/msort.manpages +++ msort-8.52/debian/msort.manpages @@ -0,0 +1 @@ +msort.1