--- dict-zu-20070207.orig/debian/aspell-zu.info-aspell +++ dict-zu-20070207/debian/aspell-zu.info-aspell @@ -0,0 +1,2 @@ +Language: isiZulu (Zulu) +Hash-Name: zulu --- dict-zu-20070207.orig/debian/changelog +++ dict-zu-20070207/debian/changelog @@ -0,0 +1,51 @@ +dict-zu (20070207-5ubuntu3) focal; urgency=medium + + * Build using python2. + + -- Matthias Klose Mon, 30 Mar 2020 12:46:40 +0200 + +dict-zu (20070207-5ubuntu2) artful; urgency=medium + + * Fix wordlist entries causing install warnings. + + -- Sicelo A. Mhlongo Mon, 09 Oct 2017 19:34:45 +0200 + +dict-zu (20070207-5ubuntu1) 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:55:56 +0100 + +dict-zu (20070207-5) lucid; urgency=low + + * Rebuild for updated Debian Spelling Dictionaries and Tools Policy. + + -- Chris Cheney Wed, 03 Feb 2010 18:30:00 -0600 + +dict-zu (20070207-4) gutsy; urgency=low + + * Properly register the aspell dictionary. LP: #89322. + + -- Matthias Klose Fri, 12 Oct 2007 16:46:03 +0000 + +dict-zu (20070207-3) gutsy; urgency=low + + * Build-depend on hunspell-tools. LP: #135535. + * utils/Makefile.language: Use the system munch utility. + * debian/rules(clean): Clean utils subdirectory + + -- Matthias Klose Thu, 11 Oct 2007 18:26:31 +0200 + +dict-zu (20070207-2) feisty; urgency=low + + * Add build dependency on python. + + -- Matthias Klose Thu, 8 Feb 2007 18:42:57 +0100 + +dict-zu (20070207-1) feisty; urgency=low + + * Initial release. + + -- Matthias Klose Tue, 6 Feb 2007 20:11:42 +0100 --- dict-zu-20070207.orig/debian/compat +++ dict-zu-20070207/debian/compat @@ -0,0 +1 @@ +9 --- dict-zu-20070207.orig/debian/control +++ dict-zu-20070207/debian/control @@ -0,0 +1,20 @@ +Source: dict-zu +Section: text +Priority: optional +Maintainer: Matthias Klose +Build-Depends: debhelper (>= 9) +Build-Depends-Indep: hunspell-tools, aspell, dictionaries-common-dev (>= 0.9.1), bzip2, zip, python2 +Standards-Version: 3.7.2 + +Package: myspell-zu +Architecture: all +Depends: dictionaries-common (>= 0.49.2) +Provides: openoffice.org-spellcheck-zu +Description: The Zulu dictionary for myspell + This is an Zulu dictionary, to be used with myspell. + +Package: aspell-zu +Architecture: all +Depends: aspell (>= 0.60.3-3), dictionaries-common (>= 0.49.2) +Description: The Zulu dictionary for aspell + This is an Zulu dictionary, to be used with aspell. --- dict-zu-20070207.orig/debian/copyright +++ dict-zu-20070207/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Matthias Klose on +Tue, 6 Feb 2007 20:11:42 +0100. + +It was downloaded from http://zzu.svn.sourceforge.net/viewvc/zzu/trunk/dict/ + +Upstream Authors: Dwayne Bailey, Arnau van Wyngaard, + Thobile Mhlongo, Kevin Patrick Scannell, Jason Wolfe + +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-zu-20070207.orig/debian/myspell-zu.info-myspell +++ dict-zu-20070207/debian/myspell-zu.info-myspell @@ -0,0 +1 @@ +DICT zu ZA zu_ZA --- dict-zu-20070207.orig/debian/rules +++ dict-zu-20070207/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=zu + +# 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_zu_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-zu-20070207.orig/utils/Makefile.language +++ dict-zu-20070207/utils/Makefile.language @@ -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 --- dict-zu-20070207.orig/utils/csv2acor.py +++ dict-zu-20070207/utils/csv2acor.py @@ -1,6 +1,6 @@ -#!/usr/bin/env python -# -*- coding: UTF-8 -*- -# Copyright 2005, Søren Thing Pedersen stp@things.dk, Licensed under LGPL +#!/usr/bin/python2 +# -*- coding: utf-8 -*- +# Copyright 2005, Søren Thing Pedersen stp@things.dk, Licensed under LGPL import os, sys, zipfile, zlib, csv --- dict-zu-20070207.orig/zu/Makefile +++ dict-zu-20070207/zu/Makefile @@ -36,7 +36,7 @@ rm -rf $(TARGET_WORDLISTS) $(ZU_TARGET_WORDLISTS) clean-myspell: - rm -f $(TARGETS_MYSPELL) $(ZU_TARGETS_MYSPELL) + rm -rf $(TARGETS_MYSPELL) $(ZU_TARGETS_MYSPELL) # we override the generation of the myspell .dic file. # it does not munch the wordlist, but instead only makes use of the unmunched # wordlist and then appends the already munched lists. --- dict-zu-20070207.orig/zu/myspell/zu_aff.py +++ dict-zu-20070207/zu/myspell/zu_aff.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/python2 # -*- coding: iso-8859-1 -*- # COPYRIGHT Friedel Wolff # LICENCE GPL --- dict-zu-20070207.orig/zu/wordlists/wordlist.scannell.in +++ dict-zu-20070207/zu/wordlists/wordlist.scannell.in @@ -2323,7 +2323,6 @@ Atheni athi athile -athile--indodana athini athinta athinte @@ -6932,7 +6931,6 @@ Esibomvu esibona esibonakalayo -esibonakalayo--Lapho esibondeni Esibonelweni esibucayi @@ -7426,7 +7424,6 @@ evangelini eVangelini Evangelini -eVangelini--Lezi evela evelayo evele @@ -8011,7 +8008,6 @@ ezimbalwa ezimbi ezimbili -ezimbili--Isidlo ezimele Ezimele ezimelele @@ -8381,10 +8377,8 @@ EZITHILE ezithinta ezithintana -ezithi--UHLELO--AMASU ezithiwa ezithize -ezithize--kanti ezitholakala ezitholakalayo ezithombe @@ -8706,7 +8700,6 @@ I i-Africa i-Afrika -I--AFRIKA i-Afrikaans i-ANC i-Asiriya @@ -10209,7 +10202,6 @@ iphansi iPhasika Iphasika -Iphasika--igazi iphatheke iphathelene iphathwa @@ -11073,7 +11065,6 @@ IVangeli IVANGELI Ivangeli-ke -iVangeli--Lokhu ivela Ivela ivelaphi @@ -12145,7 +12136,6 @@ kaNkulunkulu KaNkulunkulu KANKULUNKULU -kaNkulunkulu--kuqondiswe kanti Kanti kanti-ke @@ -12977,7 +12967,6 @@ kukaJehova kukaJesu KukaJesu -kukaJesu--ukufundisa kukaJohane kukaJosefa kukaKrestu @@ -14823,7 +14812,6 @@ kwencwadi kwendaba kweNdaba -kwendaba--YIMA kwendalo kwendawo KWENDAWO @@ -15389,7 +15377,6 @@ Laqala laqonda lase -LASE--AFRIKA lasebhange laseGalile laseGibithe @@ -18546,7 +18533,6 @@ nesiko NESIKO nesikole -nesiko--ubude nesikweletu nesilinganiso nesilonda @@ -21013,7 +20999,6 @@ Ngonjani ngonkamisa ngoNkulunkulu -ngoNkulunkulu--ukuthi ngononina ngonoqhakala ngoNovemba @@ -24045,7 +24030,6 @@ oNgcwele Ongcwele ONgcwele -oNgcwele--Imiyalo ongeke ongekho ongelona @@ -27203,7 +27187,6 @@ ufune ufunelani ufuzo -Ufuzo--Izenzo ugade ugcina ugcine @@ -27750,7 +27733,6 @@ ukuduka ukudumisa Ukudumisa -Ukudumisa--ukwenza ukudungeka ukudunyiswa ukufa @@ -33558,7 +33540,6 @@ yemifula yemigomo yemihla -Yemihlatshelo--ukuchitheka yemikhiqizo yemikhuba yemilindankosi @@ -34065,7 +34046,6 @@ yindaba Yindaba YINDABA -yindaba--uNowa yindawo Yindawo yindlala @@ -35966,7 +35946,6 @@ Zokufundisa zokugcina Zokugcina -Zokugcina--Isambulo zokugqoka zokugula zokuguqula