--- rhyme-0.9.orig/Makefile +++ rhyme-0.9/Makefile @@ -7,7 +7,7 @@ TEXTFILES = words.txt rhymes.txt multiple.txt DBFILES = words.db rhymes.db multiple.db -RHYMEPATH = /usr/share/rhyme +RHYMEPATH = /usr/lib/rhyme BINPATH = /usr/bin MANPATH = /usr/share/man/man1 @@ -79,4 +79,4 @@ $(CC) $(FLAGS) -c rhyme.c $(INCLUDES) rhyme: main.c main.h $(OBJECTS) - $(CC) $(FLAGS) -o rhyme main.c $(OBJECTS) $(INCLUDES) $(LIBS) \ No newline at end of file + $(CC) $(FLAGS) -o rhyme main.c $(OBJECTS) $(INCLUDES) $(LIBS) --- rhyme-0.9.orig/debian/changelog +++ rhyme-0.9/debian/changelog @@ -0,0 +1,49 @@ +rhyme (0.9-5) unstable; urgency=low + + * Conflict with surfraw: Many thanks to Ian Beckwith and Thomas Smith for + their work on the surfraw package. Since they moved all the surfraw + elvi to /usr/lib in version 2.0-1 back in November, the conflict is no + longer needed. I've made it versioned in case anyone has a previous + version on hold or something. My apologies for not having noticed this + sooner. (Closes: #201039) + + -- Stephen Stafford Sun, 4 Apr 2004 10:41:33 +0000 + +rhyme (0.9-4) unstable; urgency=low + + * Change where rhyme puts the GDBM files to /usr/lib/rhyme/ + (Closes: #233436) + * Thanks to Steve McIntyre for poiting this out. + + -- Stephen Stafford Wed, 18 Feb 2004 11:35:26 +0000 + +rhyme (0.9-3) unstable; urgency=low + + * fiddle with how we install the files to the build directory so my home + directory is no longer hardcoded into the binary. Sorry I missed this + one, a test on a different box would have caught it. Thanks to iain d + broadfoot for spotting this and suggesting a + fix. Your fix was pretty close Iain, except that the upstream Makefile + uses those variables as a place to install to as well as using them for + the produced binary. I'll have to find a better way to write that + Makefile one of these days. (Closes: #201217) + + -- Stephen Stafford Mon, 14 Jul 2003 14:11:54 +0000 + +rhyme (0.9-2) unstable; urgency=low + + * Conflict with surfraw. (Closes: #201039) Yes, this is a highly + suboptimal solution. I'm not convinced that setting up something with + alternatives is any better though. I could just rename the binary, but + what to? Alternatively, surfraw looks effectively unmaintained. Which + suggests either filing for its removal, or maintaining it myself. What + to do, what to do.... Answers on a postcard please. + + -- Stephen Stafford Mon, 14 Jul 2003 11:28:18 +0000 + +rhyme (0.9-1) unstable; urgency=low + + * Initial Release. (Closes: #199881) + + -- Stephen Stafford Thu, 3 Jul 2003 16:26:50 +0000 + --- rhyme-0.9.orig/debian/compat +++ rhyme-0.9/debian/compat @@ -0,0 +1 @@ +4 --- rhyme-0.9.orig/debian/rules +++ rhyme-0.9/debian/rules @@ -0,0 +1,85 @@ +#!/usr/bin/make -f +# 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 +export LOCALE=C + + + +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 + +configure: configure-stamp +configure-stamp: + dh_testdir + # No configuration is actually required, but here we are, as policy + # mandates :) + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Yes, I know this (can) take a HELL of a long time, apparently + # it's due to gdbm files not being portable across arches. My + # apologies to the m68k (and other slow ports) people for this... + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/rhyme. + install --mode=755 rhyme debian/rhyme/usr/bin + install --mode=644 words.db debian/rhyme/usr/lib/rhyme + install --mode=644 rhymes.db debian/rhyme/usr/lib/rhyme + install --mode=644 multiple.db debian/rhyme/usr/lib/rhyme + install --mode=644 rhyme.1 debian/rhyme/usr/share/man/man1 + + +binary-indep: build install +# nothing binary-indep to do + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installman + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- rhyme-0.9.orig/debian/dirs +++ rhyme-0.9/debian/dirs @@ -0,0 +1,3 @@ +usr/bin +usr/lib/rhyme +usr/share/man/man1 --- rhyme-0.9.orig/debian/control +++ rhyme-0.9/debian/control @@ -0,0 +1,15 @@ +Source: rhyme +Section: text +Priority: optional +Maintainer: Stephen Stafford +Build-Depends: debhelper (>> 4.0.0), libreadline4-dev, libgdbm-dev +Standards-Version: 3.5.8 + +Package: rhyme +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: surfraw (<< 2.0.1) +Description: console based rhyming dictionary + The goal is to provide you with rhymes as quickly as possible using as + little resources as possible. It uses the GNU database manager to look + after the database and searches it very quickly. --- rhyme-0.9.orig/debian/copyright +++ rhyme-0.9/debian/copyright @@ -0,0 +1,16 @@ +This package was debianized by Stephen Stafford on Thu, +3 Jul 2003 15:23:18 +0000. + +It was downloaded from http://sourceforge.net/projects/rhyme/ + +Upstream Author: Brian (tuffy) Langenberger + +Copyright: + +This software is Copyright (c) 2003 Brian Langenberger + +You are free to distribute this software under the terms of +the GNU General Public License. +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL +