--- dict-nr-20070206.orig/debian/aspell-nr.info-aspell +++ dict-nr-20070206/debian/aspell-nr.info-aspell @@ -0,0 +1,4 @@ +Language: Ndebele (Ndebele) +Hash-Name: nr +Emacsen-Name: ndebele +Coding-System: iso-8859-1 --- dict-nr-20070206.orig/debian/changelog +++ dict-nr-20070206/debian/changelog @@ -0,0 +1,53 @@ +dict-nr (20070206-4ubuntu4) jammy; urgency=medium + + * Bump debhelper version. + + -- Matthias Klose Fri, 18 Mar 2022 16:16:44 +0100 + +dict-nr (20070206-4ubuntu3) artful; urgency=medium + + * utils/Makefile.language: Set LC_ALL=C instead of only LC_COLLATE to + fix FTBFS. + + -- Jonathan Bergh Mon, 18 Sep 2017 17:24:14 +0200 + +dict-nr (20070206-4ubuntu2) xenial; urgency=medium + + * utils/Makefile.language: Call egrep with "-a" to not fail in C/C.UTF-8 + build environments with current grep. Fixes FTBFS. + + -- Martin Pitt Tue, 05 Apr 2016 21:31:13 +0200 + +dict-nr (20070206-4ubuntu1) precise; urgency=low + + * No-change rebuild against current dictionaries-common to drop call to + update-openoffice-dicts. (LP: #901572) + * Switch to Ubuntu version number as this package has never been in Debian. + + -- Martin Pitt Thu, 08 Dec 2011 15:41:24 +0100 + +dict-nr (20070206-4) lucid; urgency=low + + * Rebuild for updated Debian Spelling Dictionaries and Tools Policy. + + -- Chris Cheney Wed, 03 Feb 2010 17:30:00 -0600 + +dict-nr (20070206-3) gutsy; urgency=low + + * Properly register the aspell dictionary. + + -- Matthias Klose Fri, 12 Oct 2007 17:31:10 +0000 + +dict-nr (20070206-2) gutsy; urgency=low + + * Build-depend on hunspell-tools. LP: #135525. + * utils/Makefile.language: Use the system munch utility. + * debian/rules(clean): Clean utils subdirectory + + -- Matthias Klose Thu, 11 Oct 2007 17:54:17 +0200 + +dict-nr (20070206-1) feisty; urgency=low + + * Initial release. + + -- Matthias Klose Tue, 6 Feb 2007 20:11:42 +0100 --- dict-nr-20070206.orig/debian/compat +++ dict-nr-20070206/debian/compat @@ -0,0 +1 @@ +11 --- dict-nr-20070206.orig/debian/control +++ dict-nr-20070206/debian/control @@ -0,0 +1,20 @@ +Source: dict-nr +Section: text +Priority: optional +Maintainer: Matthias Klose +Build-Depends: debhelper (>= 11) +Build-Depends-Indep: hunspell-tools, aspell, dictionaries-common-dev (>= 0.9.1), bzip2, zip +Standards-Version: 3.7.2 + +Package: myspell-nr +Architecture: all +Depends: dictionaries-common (>= 0.49.2) +Provides: openoffice.org-spellcheck-nr +Description: The Ndebele dictionary for myspell + This is an Ndebele dictionary, to be used with myspell. + +Package: aspell-nr +Architecture: all +Depends: aspell (>= 0.60.3-3), dictionaries-common (>= 0.49.2) +Description: The Ndebele dictionary for aspell + This is an Ndebele dictionary, to be used with aspell. --- dict-nr-20070206.orig/debian/copyright +++ dict-nr-20070206/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Matthias Klose on +Tue, 6 Feb 2007 20:11:42 +0100. + +It was downloaded from http://znr.svn.sourceforge.net/viewvc/znr/trunk/dict/ + +Upstream Author: Bernard A Nieuwoudt et al. + +Copyright: Copyright (C) 1993, 2003 Bernard A Nieuwoudt + +License: + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library 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 +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +On Debian GNU/Linux systems, the complete text of the GNU Lesser +General Public License is in `/usr/share/common-licenses/LGPL'. + + + +The Debian packaging is (C) 2007, Cnonical LTD and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- dict-nr-20070206.orig/debian/myspell-nr.info-myspell +++ dict-nr-20070206/debian/myspell-nr.info-myspell @@ -0,0 +1 @@ +DICT nr ZA nr_ZA --- dict-nr-20070206.orig/debian/rules +++ dict-nr-20070206/debian/rules @@ -0,0 +1,93 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export SHELL = /bin/bash +lc=nr + +# This has to be exported to make some magic below work. +export DH_OPTIONS + + + +build: build-stamp +build-stamp: + $(MAKE) -C $(lc) myspell aspell + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + -$(MAKE) -C utils clean + -$(MAKE) -C $(lc) clean + rm -f $(lc)/myspell/*.zip $(lc)/myspell/*.xpi + rm -f $(lc)/wordlists/*.zip + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + + : # install myspell + dh_installdirs -pmyspell-$(lc) \ + usr/share/myspell/dicts + +# install -m644 $(lc)/hyph/hyph_nr_ZA.dic \ +# debian/myspell-$(lc)/usr/share/myspell/dicts/ + installdeb-myspell -pmyspell-$(lc) --srcdir=$(lc)/myspell + + : # install aspell + dh_installdirs -paspell-$(lc) \ + var/lib/aspell usr/lib/aspell usr/share/aspell + + install -m644 */aspell/*.{alias,dat,multi} \ + debian/aspell-$(lc)/usr/lib/aspell + + for f in */aspell/*.cwl; do \ + bf=`basename $$f .cwl`; \ + gzip -9 -c $$f > debian/aspell-$(lc)/usr/share/aspell/$$bf.cwl.gz; \ + WL=`echo $$f | sed 's/\.cwl$$//'`; \ + touch debian/aspell-$(lc)/var/lib/aspell/$$bf.rws; \ + dh_link -paspell-$(lc) \ + var/lib/aspell/$$bf.rws usr/lib/aspell/$$bf.rws; \ + echo "$$bf" >> "debian/aspell-$(lc)/usr/share/aspell/$(lc).contents"; \ + done + + touch debian/aspell-$(lc)/var/lib/aspell/$(lc).compat + + installdeb-aspell -paspell-$(lc) + + +# Must not depend on anything. This is to be called by +# binary-arch/binary-indep +# in another 'make' thread. +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture independant packages using the common target. +binary-indep: build install + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: +# nothing to do + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install --- dict-nr-20070206.orig/utils/Makefile.language +++ dict-nr-20070206/utils/Makefile.language @@ -68,7 +68,7 @@ iconv -f utf-8 -t $(CHARSET) < $< >$@ wordlists/wordlist.$(CHARSET): $(WORDLIST.CHARSET) - cat $^ | egrep -v "^#|^$$" | sort --unique > $@ + cat $^ | egrep -a -v "^#|^$$" | sort --unique > $@ wordlists/wordlist-$(LANG)-$(VERSION).zip: $(WORDLIST.IN) wordlists/wordlist.$(CHARSET) zip -j $@ $^ @@ -110,8 +110,8 @@ # this does the work of converting a wordlist into a myspell dictionary # it can take a while # the munch utility is located under the dict/utils project -myspell/$(LANG)_$(REGION).dic: myspell/wordlist.$(CHARSET) myspell/$(LANG)_$(REGION).aff ../utils/munch - ../utils/munch myspell/wordlist.$(CHARSET) myspell/$(LANG)_$(REGION).aff >$@ +myspell/$(LANG)_$(REGION).dic: myspell/wordlist.$(CHARSET) myspell/$(LANG)_$(REGION).aff + munch myspell/wordlist.$(CHARSET) myspell/$(LANG)_$(REGION).aff >$@ # The following are for building a Mozilla XPI of the spellchecker # Customise the install.js @@ -154,7 +154,7 @@ rm -rf $(TARGET_ASPELL) aspell/$(LANG).cwl: aspell/wordlist.$(CHARSET) - (export LC_COLLATE=C; cat $< | sort -u | word-list-compress compress > $@) + (export LC_ALL=C; cat $< | sort -u | word-list-compress compress > $@) aspell/proc: ../utils/proc cp -p $< $@ @@ -163,7 +163,7 @@ cp -p $< $@ aspell/wordlist.$(CHARSET): wordlists/wordlist.$(CHARSET) - cat $< | egrep -v '(^#| |\.|-$$|[0-9]|/|=$$)' | LC_COLLATE=C sort --unique >$@ + cat $< | egrep -a -v '(^#| |\.|-$$|[0-9]|/|=$$)' | LC_COLLATE=C sort --unique >$@ aspell/aspell-$(LANG)-$(VERSION_ASPELL)-$(VERSION).tar.bz2: aspell/$(LANG).cwl aspell/configure aspell/Makefile.pre aspell/Copyright cd aspell; ./configure; make dist && make distcheck && rm -rf aspell-$(LANG)-$(VERSION_ASPELL)-$(VERSION)