--- tmispell-voikko-0.7.orig/debian/watch +++ tmispell-voikko-0.7/debian/watch @@ -0,0 +1,4 @@ +version=3 + +http://sf.net/voikko/tmispell-voikko-(.*)\.tar\.gz + --- tmispell-voikko-0.7.orig/debian/compat +++ tmispell-voikko-0.7/debian/compat @@ -0,0 +1 @@ +4 --- tmispell-voikko-0.7.orig/debian/tmispell-voikko.preinst +++ tmispell-voikko-0.7/debian/tmispell-voikko.preinst @@ -0,0 +1,9 @@ +#!/bin/sh -e + +if [ install = "$1" ] +then + dpkg-divert --package tmispell-voikko --add --rename \ + --divert /usr/bin/ispell.real /usr/bin/ispell +fi + +#DEBHELPER# --- tmispell-voikko-0.7.orig/debian/rules +++ tmispell-voikko-0.7/debian/rules @@ -0,0 +1,96 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure + + dh_testdir + # Add here commands to configure the package. +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + + CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,--as-needed" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc + + +build: build-stamp +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + rm -f config.sub config.guess + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmispell-voikko. + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + install -D -m 0644 tmispell.conf.example debian/tmp/etc/tmispell.conf + mkdir -p $(CURDIR)/debian/tmp/usr/share/lintian/overrides + echo "tmispell-voikko binary: binary-without-manpage ispell" > $(CURDIR)/debian/tmp/usr/share/lintian/overrides/tmispell-voikko + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_install --sourcedir=debian/tmp + dh_installman + dh_link + 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 --- tmispell-voikko-0.7.orig/debian/changelog +++ tmispell-voikko-0.7/debian/changelog @@ -0,0 +1,160 @@ +tmispell-voikko (0.7-1) unstable; urgency=low + + * New upstream release (drops a copy of glibmm among else) + * Update Standards-Version to 3.7.3 (no changes needed) + * Add Homepage field to control file + * Update rules as discussed with upstream + * Switch from ncurses to ncursesw, add libglibmm-2.4-dev dependency + + -- Timo Jyrinki Mon, 18 Feb 2008 09:49:50 +0200 + +tmispell-voikko (0.6.3-1) unstable; urgency=low + + * New upstream release (Closes: #441607) + * Update rules to fix lintian warning + * Update docs and rules to reflect file renames + + -- Timo Jyrinki Sun, 18 Nov 2007 01:08:44 +0200 + +tmispell-voikko (0.6.2-1) unstable; urgency=low + + * New upstream release, fixes enchant with KDE4 and gedit + * Update dependencies + + -- Timo Jyrinki Thu, 24 May 2007 22:56:17 +0300 + +tmispell-voikko (0.6.1-2) unstable; urgency=low + + * Fix FTBFS with GCC 4.3 (Closes: #417726) + * Update homepage, watch file + + -- Timo Jyrinki Wed, 4 Apr 2007 19:08:52 +0300 + +tmispell-voikko (0.6.1-1) unstable; urgency=low + + * New upstream version + * Remove LD_FLAGS from rules (unnecessary, prevents eg. ppc build) + * Fix README.FI -> README.fi + + -- Timo Jyrinki Wed, 18 Oct 2006 20:04:10 +0300 + +tmispell-voikko (0.6-4) unstable; urgency=low + + * Install LUEMINUT as README.fi + + -- Timo Jyrinki Sat, 30 Sep 2006 15:35:57 +0300 + +tmispell-voikko (0.6-3) unstable; urgency=low + + * Add lintian override for "missing" manpage for ispell + * Remove libglib2.0-dev dependency (comes now from libmalaga-dev) + + -- Timo Jyrinki Tue, 26 Sep 2006 19:01:21 +0300 + +tmispell-voikko (0.6-2) unstable; urgency=low + + * Complete ITP (Closes: #388802) + * Indent homepage by two spaces in debian/control + * Uncomment config.sub/guess in debian/rules, add autotools-dev dependency + * Remove commented dh_-calls from debian/rules + * Move -z defs to LDFLAGS in debian/rules + * Remove cruft from debian/watch + * Add dependencies to libvoikko-dev, libmalaga-dev + * Update debian/copyright + + -- Timo Jyrinki Mon, 25 Sep 2006 19:44:03 +0300 + +tmispell-voikko (0.6-1) unstable; urgency=low + + * Update Standard-Version to 3.7.2 + * Translate some comments in debian-directory to English. + * Lintian cleaning: fix bashism, add #DEBHELPER#:s + * Linda cleaning: add section, remove erronous characters, dh4 dependency + + -- Timo Jyrinki Wed, 20 Sep 2006 19:21:19 +0300 + +tmispell-voikko (0.6-0hf1) unstable; urgency=low + + * New upstream release + + -- Teemu Likonen Sat, 26 Aug 2006 23:47:05 +0300 + +tmispell-voikko (0.5.0-0hf2) unstable; urgency=low + + * Removed debconf from dependencies (debian/control) + * Removed debian/tmispell-voikko.conffiles because it added duplicate entry for + /etc/tmispell.conf + + -- Teemu Likonen Wed, 2 Aug 2006 09:49:00 +0300 + +tmispell-voikko (0.5.0-0hf1) unstable; urgency=low + + * New upstream release + + -- Teemu Likonen Mon, 31 Jul 2006 11:46:41 +0300 + +tmispell-voikko (0.4.3-0hf1) unstable; urgency=low + + * New upstream release + * Added new conflict definitions: tmispell-voikko conflicts now with + tmispell and tmispell-soikko + + -- Teemu Likonen Thu, 29 Jun 2006 19:53:13 +0300 + +tmispell-voikko (0.4.2-0hf1) unstable; urgency=low + + * New upstream release + * Moved from "contrib/text" to "text" since tmispell-voikko doesn't depend + on a non-free component (Soikko) anymore. + * tmispell-voikko and libenchant-voikko are now separate packages + + -- Teemu Likonen Sun, 28 May 2006 22:15:21 +0300 + +tmispell-voikko (0.4.1-0hf1) unstable; urgency=low + + * New upstream release + + -- Teemu Likonen Sat, 27 May 2006 20:03:08 +0300 + +tmispell-voikko (0.3-0hf1) unstable; urgency=low + + * New upstream release + * New maintainer and package name + + -- Teemu Likonen Sat, 27 May 2006 09:43:16 +0300 + +tmispell (0.2.3-0.1.unofficial) unstable; urgency=low + + * Version 0.2.3. + + -- Pauli Virtanen Mon, 19 May 2003 17:57:44 +0300 + +tmispell (0.2.2-0.1.unofficial) unstable; urgency=low + + * Version 0.2.2. + + -- Pauli Virtanen Thu, 15 May 2003 17:32:04 +0300 + +tmispell (0.2.1-0.1.unofficial) unstable; urgency=low + + * Version 0.2.1. + + -- Pauli Virtanen Tue, 13 May 2003 14:50:01 +0300 + +tmispell (0.2-0.1.unofficial) unstable; urgency=low + + * Version 0.2. + + -- Pauli Virtanen Mon, 12 May 2003 00:40:02 +0300 + +tmispell (0.1.2-0.2.unofficial) unstable; urgency=low + + * Adapted for use with libsoikko0. + + -- Pauli Virtanen Thu, 20 Feb 2003 22:28:50 +0200 + +tmispell (0.1.2-0.1.unofficial) unstable; urgency=low + + * Initial unofficial packaging. + + -- Pauli Virtanen Thu, 16 Jan 2003 21:18:18 +0200 --- tmispell-voikko-0.7.orig/debian/control +++ tmispell-voikko-0.7/debian/control @@ -0,0 +1,38 @@ +Source: tmispell-voikko +Section: text +Priority: optional +Maintainer: Timo Jyrinki +Standards-Version: 3.7.3 +Build-Depends: debhelper (>= 4), libenchant-dev (>= 1.1.6), libncursesw5-dev, autotools-dev, libvoikko-dev (>= 1.0), libmalaga-dev, libglibmm-2.4-dev +Homepage: http://voikko.sourceforge.net/ + +Package: tmispell-voikko +Section: text +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: tmispell, tmispell-soikko +Suggests: ispell +Description: Ispell wrapper which uses Voikko for spell-checking + Voikko is a Finnish spell-checker and hyphenator based on Malaga and + Suomi-Malaga. + . + Tmispell is an Ispell wrapper that provides an Ispell-like interface for other + programs that need spelling checker. Many programs (e.g. mail clients, text + editors, and word processors) use Ispell for spell-checking. This package + makes it possible for such programs to use Voikko for Finnish spell-checking. + . + This package will set up Tmispell so that the command "ispell" actually starts + "tmispell". The real Ispell will be launched only if Tmispell does not support + the selected language. + +Package: libenchant-voikko +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: Voikko spell-checker libenchant plugin + Voikko is a Finnish spell-checker and hyphenator based on Malaga and + Suomi-Malaga. + . + This package contains a libenchant provider plugin that allows using Voikko in + any application that uses enchant library for spell-checking. For example + Abiword is one of these applications. --- tmispell-voikko-0.7.orig/debian/tmispell-voikko.postinst +++ tmispell-voikko-0.7/debian/tmispell-voikko.postinst @@ -0,0 +1,14 @@ +#!/bin/sh +# in English +# Create hoax files so that a few programs would notice the Finnish +# spellchecking. +# +# in Finnish: +# Jotta ohjelmat tajuaisivat suomen kielen oikoluvun olevan käytössä, luodaan +# huijaustiedostot sitä varten. + +[ -d /usr/lib/ispell ] || mkdir -p /usr/lib/ispell +touch /usr/lib/ispell/suomi.aff +touch /usr/lib/ispell/suomi.hash + +#DEBHELPER# --- tmispell-voikko-0.7.orig/debian/tmispell-voikko.prerm +++ tmispell-voikko-0.7/debian/tmispell-voikko.prerm @@ -0,0 +1,13 @@ +#!/bin/bash +# in English +# Remove hoax files +# in Finnish: +# Poistetaan huijaustiedostot + +suomi_aff='/usr/lib/ispell/suomi.aff' +suomi_hash='/usr/lib/ispell/suomi.hash' + +[[ -f $suomi_aff && ! -s $suomi_aff ]] && rm $suomi_aff +[[ -f $suomi_hash && ! -s $suomi_hash ]] && rm $suomi_hash + +#DEBHELPER# --- tmispell-voikko-0.7.orig/debian/copyright +++ tmispell-voikko-0.7/debian/copyright @@ -0,0 +1,30 @@ +This package was first debianized by Teemu Likonen +on Sat, 27 May 2006 16:20:18 +0300. The work was continued by Timo Jyrinki + on Mon, 25 Sep 2006 20:25:30 +0300. + +It was downloaded from http://downloads.sourceforge.net/voikko/tmispell-voikko-0.6.3.tar.gz + +Upstream authors: + Tmispell is Copyright (C) 2002-2003 Pauli Virtanen. + Modifications and Voikko integration (2006) by Harri Pitkänen + . + +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 GNU/Linux systems you can find the complete GPL licence +in /usr/share/common-licenses/GPL. + +The Debian packaging is (C) 2006, Teemu Likonen and +Timo Jyrinki and is licensed under the GPL, see above --- tmispell-voikko-0.7.orig/debian/tmispell-voikko.postrm +++ tmispell-voikko-0.7/debian/tmispell-voikko.postrm @@ -0,0 +1,9 @@ +#!/bin/sh -e + +if [ remove = "$1" ] +then + dpkg-divert --package tmispell-voikko --remove --rename \ + --divert /usr/bin/ispell.real /usr/bin/ispell +fi + +#DEBHELPER# --- tmispell-voikko-0.7.orig/debian/tmispell-voikko.install +++ tmispell-voikko-0.7/debian/tmispell-voikko.install @@ -0,0 +1,5 @@ +etc +usr/bin +usr/share/man +usr/share/locale +usr/share/lintian/overrides --- tmispell-voikko-0.7.orig/debian/tmispell-voikko.links +++ tmispell-voikko-0.7/debian/tmispell-voikko.links @@ -0,0 +1 @@ +usr/bin/tmispell usr/bin/ispell --- tmispell-voikko-0.7.orig/debian/tmispell-voikko.docs +++ tmispell-voikko-0.7/debian/tmispell-voikko.docs @@ -0,0 +1,2 @@ +README +README.fi --- tmispell-voikko-0.7.orig/debian/libenchant-voikko.install +++ tmispell-voikko-0.7/debian/libenchant-voikko.install @@ -0,0 +1 @@ +usr/lib/enchant