debian/0000755000000000000000000000000011633631620007167 5ustar debian/copyright_hints0000644000000000000000000000435111631156637012342 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=135 X-Draft: Autogenerated by CDBS snippet copyright-check.mk Files: ./Makefile, ./README, ./aspell/Makefile, ./aspell/dansk.dat, ./aspell/dansk_phonet.dat, ./contributors, ./debian/README.source, ./debian/aspell-da.info-aspell, ./debian/compat, ./debian/control, ./debian/control.in, ./debian/gbp.conf, ./debian/idanish.info-ispell, ./debian/myspell-da.info-myspell, ./debian/myspell-da.links, ./debian/patches/1001_enable_aspell_rules.patch, ./debian/patches/1002_enable_ispell_rules.patch, ./debian/patches/1003_enable_myspell_rules.patch, ./debian/patches/1004_add_new-aspell_rules_and_hints.patch, ./debian/patches/1005_improve-main-rules.patch, ./debian/patches/1006_improve_myspell_rules.patch, ./debian/patches/README, ./debian/patches/series, ./debian/source/format, ./debian/watch, ./debian/wdanish.info-wordlist, ./ispell/Makefile, ./myspell/Makefile, ./myspell/da_DK.aff, ./myspell/dictionary.lst, ./new_aspell/Makefile, ./new_aspell/da.dat, ./new_aspell/da.multi, ./new_aspell/da_phonet.dat, ./new_aspell/danish.alias, ./new_aspell/dansk.alias, ./no-compound_marking, ./words-da.excluded.sq, ./words-da.no-compound.sq, ./words-da.sq Copyright: *No copyright* License: UNKNOWN FIXME Files: ./debian/cdbs/1/class/dict.mk, ./debian/rules Copyright: 2003-2008,2010, Jonas Smedegaard 2004-2007, Jonas Smedegaard License: GPL FIXME Files: ./COPYING Copyright: 1989, 1991 Free Software Foundation, Inc HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR HOLDERS AND/OR OTHER PARTIES disclaimer" for the program, if holder saying it may be distributed holder who places the Program under this License interest in the program law: the software, and year name of author License: GPL-2+ FIXME Files: ./ispell/dansk.aff Copyright: Göran Andersson 1997, Henrik Chr. Grove 2000 License: GPL-2+ FIXME Files: ./Copyright Copyright: 1998-2004, Skåne Sjælland Linux User Group and the contributors License: GPL-2+ FIXME Files: ./unsq Copyright: 2000, Björn Jacke License: UNKNOWN FIXME Files: ./new_aspell/info Copyright: GPL License: UNKNOWN FIXME debian/control0000644000000000000000000000713611633631620010601 0ustar Source: dsdo Maintainer: Jonas Smedegaard Section: text Priority: optional Standards-Version: 3.7.3 Build-Depends: cdbs (>= 0.4.72~), devscripts (>= 2.10.7~), aspell (>= 0.60.3-2), dictionaries-common-dev (>= 1.10.5), debhelper (>= 6), dh-buildinfo, ispell (>= 3.3.02), perl, recode Vcs-Git: git://git.debian.org/git/collab-maint/dsdo.git Vcs-Browser: http://git.debian.org/?p=collab-maint/dsdo.git;a=summary Homepage: http://da.speling.org/ Package: idanish Architecture: any Depends: ${misc:Depends}, ispell (>= 3.3.02), dictionaries-common Suggests: wdanish Provides: ispell-dictionary Description: The Comprehensive Danish Dictionary (DSDO) - ispell The Comprehensive Danish Dictionary (DSDO) is a free spell-checking dictionary for Danish published by Skaane Sjaelland Linux User Group (SSLUG). One thing which makes this dictionary different from most other dictionaries is that it basically is the result of a vote among the proof-readers. The editorial group has _not_ proof-read all the words in the dictionary, but guides the proof-readers and keeps track of the overall status of the dictionary. . This is the Danish dictionary, to be used with ispell to check and correct spelling in Danish texts. Package: wdanish Architecture: all Depends: ${misc:Depends}, dictionaries-common Provides: wordlist Description: The Comprehensive Danish Dictionary (DSDO) - wordlist The Comprehensive Danish Dictionary (DSDO) is a free spell-checking dictionary for Danish published by Skaane Sjaelland Linux User Group (SSLUG). One thing which makes this dictionary different from most other dictionaries is that it basically is the result of a vote among the proof-readers. The editorial group has _not_ proof-read all the words in the dictionary, but guides the proof-readers and keeps track of the overall status of the dictionary. . This is a flat list of Danish words and names. This can be used by spellcheckers or any other purpose needing a lot of words. Package: aspell-da Architecture: any Depends: ${misc:Depends}, aspell Provides: aspell6a-dictionary Description: The Comprehensive Danish Dictionary (DSDO) - aspell The Comprehensive Danish Dictionary (DSDO) is a free spell-checking dictionary for Danish published by Skaane Sjaelland Linux User Group (SSLUG). One thing which makes this dictionary different from most other dictionaries is that it basically is the result of a vote among the proof-readers. The editorial group has _not_ proof-read all the words in the dictionary, but guides the proof-readers and keeps track of the overall status of the dictionary. . This is the Danish dictionary, to be used with aspell to check and correct spelling in Danish texts. Package: myspell-da Architecture: all Depends: ${misc:Depends}, dictionaries-common (>= 0.10) Suggests: openoffice.org (>= 1.0.3-3), mozilla-browser (>= 2:1.7), mozilla-mailnews (>= 2:1.7), mozilla-thunderbird Conflicts: openoffice.org (<= 1.0.3-2) Provides: myspell-dictionary, myspell-dictionary-da Description: The Comprehensive Danish Dictionary (DSDO) - myspell The Comprehensive Danish Dictionary (DSDO) is a free spell-checking dictionary for Danish published by Skaane Sjaelland Linux User Group (SSLUG). One thing which makes this dictionary different from most other dictionaries is that it basically is the result of a vote among the proof-readers. The editorial group has _not_ proof-read all the words in the dictionary, but guides the proof-readers and keeps track of the overall status of the dictionary. . This is the Danish dictionary, to be used with myspell to check and correct spelling in Danish texts. debian/source/0000755000000000000000000000000011631156637010477 5ustar debian/source/format0000644000000000000000000000001411631156637011705 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000003204411633631620011044 0ustar dsdo (1.6.25-1.1) unstable; urgency=low * Non-maintainer upload. * dict.mk: - Make sure myspell stuff is installed in /usr/share/hunspell location. - Make sure openoffice.org snippets are no longer installed (Closes: #629077). * debian/{rules,control.in,patches/1002_enable_ispell_rules.patch}: - Make sure is built and run with new ispell (Closes: #620246). * 1006_improve_myspell_rules.patch: - Make sure POSIX locale is enforced in sorting (Closes: #607389). -- Agustin Martin Domingo Tue, 13 Sep 2011 11:59:25 +0200 dsdo (1.6.25-1) unstable; urgency=low * New upstream release. * Refresh patches and add DEP3 hints. * Use source format 3.0 (quilt) (not CDBS snippet patchsys-quilt.mk). * Drop most local CDBS snippets, and adjust CDBS usage in rules file to both use very newest features and be backports-friendly. * Stop build-depending on quilt or patchutils. * Tighten build-dependency on debhelper and cdbs. * Add README.source (and drop a couple of legacy notes). * Add git-buildpackage config, enabling pristine-tar and tag signing. * Refer to FSF website (not postal address) in local CDBS snippet dict.mk. * Add proper licensing header to debian/rules, and bump years. * Drop duplicate clean rule: patched rules now preserved during clean. Closes: bug#581328, thanks to Lucas Nussbaum. * Update ispell info file: + Fix add hash-name to Ispell-Args. + Declare Many-Otherchars: yes (multiple dashes can occur). + Strip superfluous Emacsen-Name and Extended-Character-Mode fields. * Simplify wdanish info file: Strip all but Language and Hash-Name (other fields are ignored anyway). * Recode wordlist and ship it as UTF-8. Closes: bug#573312, thanks to Jonas Häggqvist. -- Jonas Smedegaard Thu, 13 May 2010 11:03:22 +0200 dsdo (1.6.18-1) unstable; urgency=low * New upstream release. * Unfuzz patches. * Update cdbs snippets: + Restructure output of copyright-check.mk to match new proposed copyright-format at http://wiki.debian.org/Proposals/CopyrightFormat . + Several minor improvements to upstream-tarball.mk. + Add new local package-relations.mk to merge duplicate build-dependencies and more. Drop cleanup in debian/rules. + Update debian/README.cdbs-tweaks. * Update copyright hints. * Add DEB_MAINTAINER_MODE in debian/rules (thanks to Romain Beauxis). -- Jonas Smedegaard Wed, 05 Nov 2008 00:32:50 +0100 dsdo (1.6.14-1) unstable; urgency=low * New upstream release. * Unfuzz patches. * Packaging moved to collab-maint Git at Alioth. Update VCS-* hints. * Update local cdbs snippets: + Update copyright-check.mk to parse licensecheck output using perl: + No longer randomly drops newlines + More compact hint file (and ordered more like wiki-proposed new copyright syntax). + No longer ignore files without copyright. + Drop wget options broken with recent versions of wget in update-tarball.mk. + Relax copyright-check to only warn about its discoveries. Closes: bug#487060, thanks to Lucas Nussbaum. + Update dependency cleanup to strip cdbs 0.4.27 (not 0.4.27-1). + Cosmetic updates to README.cdbs-tweaks. * Update debian/copyright-hints. * Bump debhelper compatibility level to 6. * Semi-auto-update debian/control to update build-dependencies: DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean -- Jonas Smedegaard Mon, 23 Jun 2008 23:57:14 +0200 dsdo (1.6.11-2) unstable; urgency=medium * Update cdbs tweaks: + Fix copyright-check to explicitly grep stdin (recent versions of grep now use . per default). * Set urgency=medium as this can cause FTBFS but has (theoretically) no impact on packaged software so really shouldn't delay its move to testing. -- Jonas Smedegaard Wed, 20 Feb 2008 22:38:15 +0100 dsdo (1.6.11-1) unstable; urgency=low * New upstream release. * Unfuzz patches. * Update cdbs tweaks: + Major improvements to update-tarball (but none of them affect this current package). + Major improvements to copyright-check, including new versioned build-dependency on devscripts. Update debian/copyright_hints. + Drop bts.mk (we are happy to receive bugreports also for unofficial rebuilds of this package). + Drop buildcore.mk override. Set DEB_AUTO_UPDATE_DEBIAN_CONTROL directly instead when needed. + Update debian/README.cdbs-tweaks to no longer mention buildcore.mk override. * Semi-auto-update debian/control to update build-dependencies: DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean -- Jonas Smedegaard Sun, 17 Feb 2008 16:32:01 +0100 dsdo (1.6.10-1) unstable; urgency=low * New upstream release. * Unfuzz patches. * Bump standards-version to 3.7.3 (no changes needed). * Bump dephelper compatibility to 5. -- Jonas Smedegaard Sat, 22 Dec 2007 13:46:17 +0100 dsdo (1.6.9-1) unstable; urgency=low * New upstream release. * Unfuzz patches. * Move Homepage to own field (from pseudo-field in long description). * Move X-Vcs-* control fields to Vcs-*. * Rewrite debian/copyright to conform to proposed new format at http://wiki.debian.org/Proposals/CopyrightFormat . -- Jonas Smedegaard Thu, 11 Oct 2007 23:53:20 +0200 dsdo (1.6.8-1) unstable; urgency=low * New upstream release. * Add XS-Vcs-Svn and XS-Vcs-Browser fields to debian/control. * Update cdbs tweaks: + Support non-dot repackaging delimiter in update-tarball. + update-tarball needs cdbs 0.4.39 or newer (only relevant for backports). * Improve duplicate build-dependency cleanup in debian/rules, and semi-auto-update debian/control: DEB_BUILD_OPTIONS=cdbs-autoupdate fakeroot debian/rules pre-build -- Jonas Smedegaard Sun, 02 Sep 2007 15:04:39 +0200 dsdo (1.6.7-1) unstable; urgency=low * New uptream release. * Switch to using the 1.6 branch (better proofread; seems recommended upstream now). * Update cdbs snippets: + Minor fixes and improvements to upstream-tarball.mk. * Declare (and cleanup) build-dependencies in debian/rules. * Unfuzz patches. * Add patch to use "no-compound_marking" for myspell. Closes: bug#305927, #431566, thanks to Jacob Sparre Andersen and Martin Leopold. -- Jonas Smedegaard Fri, 03 Aug 2007 11:55:55 +0200 dsdo (1.4.60-1) unstable; urgency=low * New upstream release. * Update local cdbs snippets: + Replace auto-update.mk with (overload of) buildcore.mk. + Add upstream-tarball.mk adding get-orig-source rule and more. + Switch from simple-patchsys.mk to patchsys-quilt.mk. + Fix buildinfo.mk to run only once. + Divert bugreports only for non-Debian suites. + Look also for "(c)" in copyright-check.mk, and avoid non-printable characters. + Check copyrights in prebuild (in clean it may choke on not yet cleaned stuff), and make sure it runs only once. + List non-binary files affected if discovering new copyrights. + Add README.cdbs-tweaks documenting the added tweaks. + Advertise README.cdbs-tweaks in debian/rules. * Fix watch file to use suffix tgz (not tar.gz). * Bump standards-version to 3.7.2 (no changes needed). * Update debian/copyright: + Change encoding to UTF-8 (was ISO8859-1). * Have idanish and wdanish explicitly depend on debconf (apparently not handled by installdeb-* scripts as intended). Thanks to lintian. * Duplicate clean rules (they are unpatched at clean time). * Explicitly symlink myspell dicts to force non-country symlinks. Closes: bug#373738, thanks to Rene Engelhard. * Semi-auto-update debian/control. -- Jonas Smedegaard Sun, 22 Apr 2007 21:07:57 +0200 dsdo (1.4.52-1) unstable; urgency=low * New upstream release. * Minor updates to local cdbs snippets (wrong namespaces). * Add local cdbs snippet copyright-check.mk. * Update debian/copyright: + Add differing copyright holder for unsq and ispell/ispell.aff (both still licensed as GPL), thanks to above cdbs snippet. + Quote only minimally (to avoid changing FSF address). * Simplify debian/watch to unfuck qa.debian.org status. * Mention Homepage (not Website) in long descriptions. * Define empty CDBS_BUILD_DEPENDS to avoid cdbs debian/control auto-update causing build-dependency on build-essential (and thus calm Debian ftpmasters scared that build-essential might one day not be needed and break the world as we know it :-P ). * Auto-update debian/control. -- Jonas Smedegaard Wed, 28 Dec 2005 16:18:15 +0100 dsdo (1.4.51-2) unstable; urgency=low * Update debian/control only when DEB_BUILD_OPTIONS contains "update". * Auto-update debian/control, and manually drop build-depending bogusly on build-essential. * Bump up standards-version to 3.6.2. * Build-depend on ${misc:Depends} (not debconf) to pull in fallback to virtual debconf-2.0. -- Jonas Smedegaard Fri, 4 Nov 2005 22:05:32 +0100 dsdo (1.4.51-1) unstable; urgency=low * New upstream release. * Adjust to newer aspell policy. Closes: bug#319619 (thanks to Martin Leopold for reporting, and to Ubuntu and Tollef Fog Heen for a patch). * Add debconf dependency fallback to debconf-2.0. Closes: bug#331809. * Update debian/rules only if DEB_BUILD_OPTIONS contains "update". * Auto-update debian/rules (and manually strip bogus build-dependency on build-essential). * Update root Makefile patch: + Unsquelch also excluded words (they are unwanted by ispell but aspell wants some of them). * Update aspell-new Makefile patch (inspired by other packaging scripts by same upstream): + Bump up version (although seemingly unused). + Simplify main command. + Re-include some excluded words. * Bump up standards version to 3.6.2 (no changes needed). -- Jonas Smedegaard Fri, 14 Oct 2005 20:22:06 +0200 dsdo (1.4.49-2) unstable; urgency=medium * Use installdeb-aspell when packaging aspell-da. Closes: bug#295011, #307469 (thanks to Brian Nelson and Christian Borup ). * Patch source to generate new-aspell (and not the older aspell), based on separately released source from same upstream. * Adjust local dict cdbs snippet to include both english and native aliases for aspell by default. * Set urgency=medium as the aspell dictionary is practically worthless as is. * Use Debian BTS for bugreports (leftover from unofficial packaging). * Use official upstream name "Den Store Danske Ordliste" in idanish wdanish Debian-specific hint files. * Tighten watch file to only ignore newer testing releases. -- Jonas Smedegaard Fri, 6 May 2005 11:19:58 +0200 dsdo (1.4.49-1) unstable; urgency=low * New upstream release (thanks to Jacob Sparre Andersen ). * Rewrite short and long descriptions based on updated text from upstream README, and add upstream website. * Add note on preferred means of contact to debian/copyright. -- Jonas Smedegaard Thu, 21 Apr 2005 14:59:17 +0200 dsdo (1.4.48-1) unstable; urgency=medium * Official release. Closes: bug#237975 (thanks to Rene Engelhard ). * Summary of changes from latest official release: + Uses the more general dsdo source tarball (from same upstream). + Includes myspell package. + Uses cdbs (with local snippet intended for general use). * Friendly takeover of ispell-da. Urgency medium to maybe reach sarge in time. * Update dict cdbs snippet for recent aspell 0.60 changes, and add some sanity checking. -- Jonas Smedegaard Sat, 26 Mar 2005 07:41:57 +0100 dsdo (1.4.48-0.0.jones.1) unstable; urgency=low * New upstream release. * Link against newer aspell, and provide aspell6-dictionary (and not aspell-dictionary). * Add copyright info to debian/rules. * Update local cdbs snippets: + Fix invoking buildinfo. + More silent BTS check for unofficial packaging. -- Jonas Smedegaard Thu, 24 Mar 2005 11:32:41 +0100 dsdo (1.4.43-0.0.jones.3) unstable; urgency=low * Make funky new cdbs auto-update feature actually work: Enable before including cdbs rules. * Improve cdbs snippet dict.mk: + Support native and generic language name being equal (english). + Support multiple aliases (symlinks) to each language. + Add some comments and hints. -- Jonas Smedegaard Sun, 10 Oct 2004 14:17:18 +0200 dsdo (1.4.43-0.0.jones.2) unstable; urgency=low * Correct myspell dict (include leading count). * Add watch file. * Isolate upstream makefile tweaks using simple-patchsys.mk. * Isolate and improve cdbs snippets bts.mk dict-mk and buildinfo.mk. -- Jonas Smedegaard Sat, 9 Oct 2004 03:57:42 +0200 dsdo (1.4.43-0.0.jones.1) unstable; urgency=low * First unofficial release (inspired by ispell-da 1.4.42-1). -- Jonas Smedegaard Fri, 8 Oct 2004 21:54:38 +0200 debian/copyright0000644000000000000000000000375011631156637011137 0ustar This is Den store danske ordliste (The Comprehensive Danish Dictionary) packaged for Debian GNU systems. Upstream source: http://da.speling.org/filer Upstream authors: SkÃ¥ne Sjælland Linux User Group (Preferred means of contact is either http://da.speling.org/fejlmelding/ or Jacob Sparre Andersen ) Files: debian/* Copyright: © 2004-2007 Jonas Smedegaard License: The Debian packaging information is under the GPL, version 2 or later Files: * Copyright: © 1998-2004 SkÃ¥ne Sjælland Linux User Group and the contributors. License: GPL-2+ dsdo: The Comprehensive Danish Dictionary © 1998-2004 SkÃ¥ne Sjælland Linux User Group and the contributors. . This dictionary 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. Files: * Copyright: © 1998-2004 SkÃ¥ne Sjælland Linux User Group Copyright and licensing info, unsq: Files: unsq Copyright: © 2000 Björn Jacke License: GPL-2+ Copyright (C) 2000 Björn Jacke . This program comes with ABSOLUTELY NO WARRANTY; it may be copied or modified under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. Files: ispell/dansk.aff Copyright: © 1997 Göran Andersson © 2000 Henrik Chr. Grove License: GPL-2+ Copyright (c) Henrik Chr. Grove 2000. Copyright (c) Göran Andersson 1997. . This affix file 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. On Debian GNU systems, the GNU General Public License (GPL) can be found in /usr/share/common-licenses/GPL. debian/control.in0000644000000000000000000000666511633631620011214 0ustar Source: dsdo Maintainer: Jonas Smedegaard Section: text Priority: optional Standards-Version: 3.7.3 Build-Depends: @cdbs@ Vcs-Git: git://git.debian.org/git/collab-maint/dsdo.git Vcs-Browser: http://git.debian.org/?p=collab-maint/dsdo.git;a=summary Homepage: http://da.speling.org/ Package: idanish Architecture: any Depends: ${misc:Depends}, ispell (>= 3.3.02), dictionaries-common Suggests: wdanish Provides: ispell-dictionary Description: The Comprehensive Danish Dictionary (DSDO) - ispell The Comprehensive Danish Dictionary (DSDO) is a free spell-checking dictionary for Danish published by Skaane Sjaelland Linux User Group (SSLUG). One thing which makes this dictionary different from most other dictionaries is that it basically is the result of a vote among the proof-readers. The editorial group has _not_ proof-read all the words in the dictionary, but guides the proof-readers and keeps track of the overall status of the dictionary. . This is the Danish dictionary, to be used with ispell to check and correct spelling in Danish texts. Package: wdanish Architecture: all Depends: ${misc:Depends}, dictionaries-common Provides: wordlist Description: The Comprehensive Danish Dictionary (DSDO) - wordlist The Comprehensive Danish Dictionary (DSDO) is a free spell-checking dictionary for Danish published by Skaane Sjaelland Linux User Group (SSLUG). One thing which makes this dictionary different from most other dictionaries is that it basically is the result of a vote among the proof-readers. The editorial group has _not_ proof-read all the words in the dictionary, but guides the proof-readers and keeps track of the overall status of the dictionary. . This is a flat list of Danish words and names. This can be used by spellcheckers or any other purpose needing a lot of words. Package: aspell-da Architecture: any Depends: ${misc:Depends}, aspell Provides: aspell6a-dictionary Description: The Comprehensive Danish Dictionary (DSDO) - aspell The Comprehensive Danish Dictionary (DSDO) is a free spell-checking dictionary for Danish published by Skaane Sjaelland Linux User Group (SSLUG). One thing which makes this dictionary different from most other dictionaries is that it basically is the result of a vote among the proof-readers. The editorial group has _not_ proof-read all the words in the dictionary, but guides the proof-readers and keeps track of the overall status of the dictionary. . This is the Danish dictionary, to be used with aspell to check and correct spelling in Danish texts. Package: myspell-da Architecture: all Depends: ${misc:Depends}, dictionaries-common (>= 0.10) Suggests: openoffice.org (>= 1.0.3-3), mozilla-browser (>= 2:1.7), mozilla-mailnews (>= 2:1.7), mozilla-thunderbird Conflicts: openoffice.org (<= 1.0.3-2) Provides: myspell-dictionary, myspell-dictionary-da Description: The Comprehensive Danish Dictionary (DSDO) - myspell The Comprehensive Danish Dictionary (DSDO) is a free spell-checking dictionary for Danish published by Skaane Sjaelland Linux User Group (SSLUG). One thing which makes this dictionary different from most other dictionaries is that it basically is the result of a vote among the proof-readers. The editorial group has _not_ proof-read all the words in the dictionary, but guides the proof-readers and keeps track of the overall status of the dictionary. . This is the Danish dictionary, to be used with myspell to check and correct spelling in Danish texts. debian/aspell-da.info-aspell0000644000000000000000000000013511631156637013173 0ustar Language: dansk (Danish) Hash-Name: da Coding-System: iso-8859-1 Pspell-Ispell: da iso8859-1 debian/compat0000644000000000000000000000000211631156637010375 0ustar 6 debian/myspell-da.info-myspell0000644000000000000000000000002111631156637013577 0ustar DICT da DK da_DK debian/patches/0000755000000000000000000000000011633631620010616 5ustar debian/patches/1005_improve-main-rules.patch0000644000000000000000000000301311631156637016044 0ustar Description: Improve main rules to include now-enabled nw-aspell and ispell Author: Jonas Smedegaard Last-Update: 2010-03-10 --- a/Makefile +++ b/Makefile @@ -12,37 +12,51 @@ #----------------------------------------------------------------------------- # Build rules: -all: words aspell ispell +all: words new-aspell ispell myspell words: words-$(language_code) words-$(language_code): words-$(language_code).sq unsq ./unsq < words-$(language_code).sq > words-$(language_code) + ./unsq < words-$(language_code).excluded.sq > words-$(language_code).excluded aspell: words $(MAKE) -C aspell all +new-aspell: words + $(MAKE) -C new_aspell all + ispell: words $(MAKE) -C ispell all +myspell: words + $(MAKE) -C myspell all + #----------------------------------------------------------------------------- # Installation rules: -install: install-words install-aspell install-ispell +install: install-words install-new-aspell install-ispell install-words: words install-aspell: aspell $(MAKE) -C aspell install +install-new-aspell: new-aspell + $(MAKE) -C new_aspell install + install-ispell: ispell $(MAKE) -C ispell install +install-myspell: myspell + $(MAKE) -C myspell install + #----------------------------------------------------------------------------- # Cleanup rules: clean: - rm -f words-$(language_code) + rm -f words-$(language_code) words-$(language_code).excluded $(MAKE) -C aspell clean + $(MAKE) -C new_aspell clean $(MAKE) -C ispell clean - + $(MAKE) -C myspell clean debian/patches/series0000644000000000000000000000030711633436610012035 0ustar 1001_enable_aspell_rules.patch 1002_enable_ispell_rules.patch 1003_enable_myspell_rules.patch 1004_add_new-aspell_rules_and_hints.patch 1005_improve-main-rules.patch 1006_improve_myspell_rules.patch debian/patches/1001_enable_aspell_rules.patch0000644000000000000000000000543111631156637016313 0ustar Description: Enable commented-out aspell rules Author: Jonas Smedegaard Last-Update: 2010-03-10 --- a/aspell/Makefile +++ b/aspell/Makefile @@ -9,29 +9,25 @@ lang=da version=1.6.25 -all: - @echo Please use the aspell or new_aspell package to build the dictionary for Aspell. - @exit 1 - -#dictdir=`aspell dump config | grep '^\# dict-dir current: ' | cut -d' ' -f4` -#datadir=`aspell dump config | grep '^\# data-dir current: ' | cut -d' ' -f4` -# -#all: $(sprog) $(sprog).dat $(sprog)_phonet.dat -# -#install: $(sprog).dat $(sprog)_phonet.dat $(sprog) -# install -o root -g root -m 0644 $(sprog).dat $(datadir) -# install -o root -g root -m 0644 $(sprog)_phonet.dat $(datadir) -# install -o root -g root -m 0644 $(sprog) $(dictdir) -# ln -fs $(datadir)/$(sprog).dat $(datadir)/$(language_code)_$(country_code).dat || true -# ln -fs $(datadir)/$(sprog)_phonet.dat $(datadir)/$(language_code)_$(country_code)_phonet.dat || true -# ln -fs $(dictdir)/$(sprog) $(dictdir)/$(language_code)_$(country_code) || true -# ln -fs $(datadir)/$(sprog).dat $(datadir)/$(sprog_en_lower_case).dat || true -# ln -fs $(datadir)/$(sprog)_phonet.dat $(datadir)/$(sprog_en_lower_case)_phonet.dat || true -# ln -fs $(dictdir)/$(sprog) $(dictdir)/$(sprog_en_lower_case) || true -# -#$(sprog): $(sprog).dat $(sprog)_phonet.dat ../words-$(language_code) -# tr ' ' '\012' < ../words-$(language_code) | egrep -v '[0-9#,`/+:]' | sort -u | aspell --local-data-dir=./ --lang=$(sprog) create master ./$(sprog) -# -#clean: -# rm -f $(sprog) -# +dictdir=`aspell dump config | grep '^\# dict-dir current: ' | cut -d' ' -f4` +datadir=`aspell dump config | grep '^\# data-dir current: ' | cut -d' ' -f4` + +all: $(sprog) $(sprog).dat $(sprog)_phonet.dat + +install: $(sprog).dat $(sprog)_phonet.dat $(sprog) + install -o root -g root -m 0644 $(sprog).dat $(datadir) + install -o root -g root -m 0644 $(sprog)_phonet.dat $(datadir) + install -o root -g root -m 0644 $(sprog) $(dictdir) + ln -fs $(datadir)/$(sprog).dat $(datadir)/$(language_code)_$(country_code).dat || true + ln -fs $(datadir)/$(sprog)_phonet.dat $(datadir)/$(language_code)_$(country_code)_phonet.dat || true + ln -fs $(dictdir)/$(sprog) $(dictdir)/$(language_code)_$(country_code) || true + ln -fs $(datadir)/$(sprog).dat $(datadir)/$(sprog_en_lower_case).dat || true + ln -fs $(datadir)/$(sprog)_phonet.dat $(datadir)/$(sprog_en_lower_case)_phonet.dat || true + ln -fs $(dictdir)/$(sprog) $(dictdir)/$(sprog_en_lower_case) || true + +$(sprog): $(sprog).dat $(sprog)_phonet.dat ../words-$(language_code) + tr ' ' '\012' < ../words-$(language_code) | egrep -v '[0-9#,`/+:]' | sort -u | aspell --local-data-dir=./ --lang=$(sprog) create master ./$(sprog) + +clean: + rm -f $(sprog) + debian/patches/1006_improve_myspell_rules.patch0000644000000000000000000000700711633631620016751 0ustar Description: Improve myspell rules Author: Jonas Smedegaard Last-Update: 2010-03-10 --- a/Makefile +++ b/Makefile @@ -16,9 +16,10 @@ words: words-$(language_code) -words-$(language_code): words-$(language_code).sq unsq +words-$(language_code): words-$(language_code).sq words-$(language_code).excluded.sq words-$(language_code).no-compound.sq unsq ./unsq < words-$(language_code).sq > words-$(language_code) ./unsq < words-$(language_code).excluded.sq > words-$(language_code).excluded + ./unsq < words-$(language_code).no-compound.sq > words-$(language_code).no-compound aspell: words $(MAKE) -C aspell all @@ -55,7 +56,7 @@ # Cleanup rules: clean: - rm -f words-$(language_code) words-$(language_code).excluded + rm -f words-$(language_code) words-$(language_code).excluded words-$(language_code).no-compound $(MAKE) -C aspell clean $(MAKE) -C new_aspell clean $(MAKE) -C ispell clean --- a/myspell/Makefile +++ b/myspell/Makefile @@ -16,12 +16,21 @@ ../ispell/words-$(language_code).complete ../ispell/words-$(language_code).complete.cnt: make -C ../ispell words-$(language_code).complete -$(language_code)_$(country_code).dic: ../ispell/words-$(language_code).complete - cat ../ispell/words-$(language_code).complete.cnt ../ispell/words-$(language_code).complete > $(language_code)_$(country_code).dic +words-$(language_code).complete: ../ispell/words-$(language_code).complete ../words-$(language_code).no-compound + sort -u ../ispell/words-$(language_code).complete \ + | bash ../no-compound_marking ../words-$(language_code).no-compound \ + | LC_ALL=POSIX sort -u \ + > $@ + +words-$(language_code).complete.cnt: words-$(language_code).complete + wc -l < $^ > $@ + +$(language_code)_$(country_code).dic: words-$(language_code).complete.cnt words-$(language_code).complete + cat words-$(language_code).complete.cnt words-$(language_code).complete > $@ install: $(language_code)_$(country_code).dic $(language_code)_$(country_code).aff install -o root -g root -m 0644 $(language_code)_$(country_code).dic $(installdir) install -o root -g root -m 0644 $(language_code)_$(country_code).aff $(installdir) clean: - rm -f $(language_code)_$(country_code).dic + rm -f words-$(language_code).complete.cnt words-$(language_code).complete $(language_code)_$(country_code).dic --- /dev/null +++ b/no-compound_marking @@ -0,0 +1,30 @@ +#! /bin/bash +#----------------------------------------------------------------------------- +#-- No-compound list: + +if [ ! -e "$1" ]; then + touch "$1" +fi + +#----------------------------------------------------------------------------- +#-- Scan input: + +while read line; do + word=$( echo "${line}" | cut -d/ -f1 ) + + if [ "$( echo "${line}" | tr -cd '/' )" = "/" ]; then + flags=$( echo "${line}" | cut -d/ -f2 | sed 's/m//g' ) + else + flags= + fi + + grep -q '^'"${word}"'$' "$1" 1>/dev/null || flags="${flags}m" + + if [ -z "${flags}" ]; then + echo "${word}" + else + echo "${word}/${flags}" + fi +done + +#----------------------------------------------------------------------------- --- /dev/null +++ b/words-da.no-compound.sq @@ -0,0 +1,90 @@ +0A +0a +0B +0b +1egge +0C +0c +0D +0d +1en +3gang +3ne +2r +1in +2sse +0E +0e +0É +0é +0F +0f +1lere +0G +0g +0H +0h +1inanden +1vad +2em +3randre +2ilke +6n +3s +0I +0i +0J +0j +1eres +0K +0k +0L +0l +0M +0m +1ed +1in +2t +0N +0n +0O +0o +0Ó +0ó +0P +0p +0Q +0q +0R +0r +0S +0s +1amme +1ig +2n +3e +2t +1om +0T +0t +0ude +0V +0v +1ore +4s +0W +0w +0X +0x +0Y +0y +0Ü +0ü +0Z +0z +0Æ +0æ +0Ä +0ä +0Ö +0ö debian/patches/1002_enable_ispell_rules.patch0000644000000000000000000001234111633631620016312 0ustar Description: Enable commented-out ispell rules Author: Jonas Smedegaard Last-Update: 2010-03-10 Index: dsdo-git/ispell/Makefile =================================================================== --- dsdo-git.orig/ispell/Makefile 2011-09-13 11:46:45.507491666 +0200 +++ dsdo-git/ispell/Makefile 2011-09-13 11:48:40.436563248 +0200 @@ -9,46 +9,42 @@ lang=da version=1.6.25 -all: - @echo Please use the ispell package to build the dictionary for Ispell. - @exit 1 - -#installdir=`ispell -vv | grep LIBDIR | cut -d'"' -f2` -# -#all: maskbits $(sprog).hash -# -#maskbits: -# @test "`ispell -vv | grep MASKBITS`" != "" || ( echo Ispell should be compiled with MASKBITS set to at least 64. ; exit -2 ) -# @test `ispell -vv | grep MASKBITS | cut -d= -f2` -ge 64 || ( echo Ispell should be compiled with MASKBITS set to at least 64. ; exit -3 ) -# -#$(sprog)-fake.hash: maskbits $(sprog).aff -# echo 'QQQQQQQQ' > $(sprog)-fake -# buildhash -s $(sprog)-fake $(sprog).aff $(sprog)-fake.hash -# -#words-$(language_code): ../words-$(language_code) -# egrep -v '[/.: +]' ../words-$(language_code) | sort -u > words-$(language_code) -# -#words-$(language_code).munched: maskbits words-$(language_code) $(sprog).aff -# munchlist -l $(sprog).aff -v < words-$(language_code) > words-$(language_code).munched -# -#words-$(language_code)-in_ispell_list: maskbits $(sprog)-fake.hash words-$(language_code).munched -# ispell -e -d ./$(sprog)-fake < words-$(language_code).munched | tr ' ' '\n' | sort -u > words-$(language_code)-in_ispell_list -# -#words-$(language_code)-missing_in_ispell_list: words-$(language_code) words-$(language_code)-in_ispell_list -# diff words-$(language_code) words-$(language_code)-in_ispell_list | grep '^< ' | cut -c3- | egrep -v '[/ .]' > words-$(language_code)-missing_in_ispell_list -# -#words-$(language_code).complete: words-$(language_code)-missing_in_ispell_list words-$(language_code).munched -# sort -u words-$(language_code)-missing_in_ispell_list words-$(language_code).munched > words-$(language_code).complete -# -#$(sprog).hash: maskbits words-$(language_code).complete $(sprog).aff -# buildhash words-$(language_code).complete $(sprog).aff $(sprog).hash -# -#install: maskbits $(sprog).hash $(sprog).aff -# install -o root -g root -m 0644 $(sprog).hash $(installdir) -# install -o root -g root -m 0644 $(sprog).aff $(installdir) -# ln -fs $(installdir)/$(sprog).hash $(installdir)/$(language_code)_$(country_code).hash -# ln -fs $(installdir)/$(sprog).aff $(installdir)/$(language_code)_$(country_code).aff -# -#clean: -# rm -f words-$(language_code).complete.stat $(sprog).hash words-$(language_code).complete.cnt *~ $(sprog)-fake $(sprog)-fake.cnt $(sprog)-fake.stat $(sprog)-fake.hash words-$(language_code) words-$(language_code)-in_ispell_list words-$(language_code)-missing_in_ispell_list words-$(language_code).complete words-$(language_code).munched -# +installdir=`ispell -vv | grep LIBDIR | cut -d'"' -f2` + +all: maskbits $(sprog).hash + +maskbits: + @test "`ispell -vv | grep MASKBITS`" != "" || ( echo Ispell should be compiled with MASKBITS set to at least 64. ; exit -2 ) + @test `ispell -vv | grep MASKBITS | cut -d= -f2` -ge 64 || ( echo Ispell should be compiled with MASKBITS set to at least 64. ; exit -3 ) + +$(sprog)-fake.hash: maskbits $(sprog).aff + echo 'QQQQQQQQ' > $(sprog)-fake + buildhash -s $(sprog)-fake $(sprog).aff $(sprog)-fake.hash + +words-$(language_code): ../words-$(language_code) + egrep -v '[/.: +]' ../words-$(language_code) | sort -u > words-$(language_code) + +words-$(language_code).munched: maskbits words-$(language_code) $(sprog).aff + munchlist -l $(sprog).aff -v < words-$(language_code) > words-$(language_code).munched + +words-$(language_code)-in_ispell_list: maskbits $(sprog)-fake.hash words-$(language_code).munched + ispell -e -d ./$(sprog)-fake < words-$(language_code).munched | tr ' ' '\n' | sort -u > words-$(language_code)-in_ispell_list + +words-$(language_code)-missing_in_ispell_list: words-$(language_code) words-$(language_code)-in_ispell_list + diff words-$(language_code) words-$(language_code)-in_ispell_list | grep '^< ' | cut -c3- | egrep -v '[/ .]' > words-$(language_code)-missing_in_ispell_list + +words-$(language_code).complete: words-$(language_code)-missing_in_ispell_list words-$(language_code).munched + sort -u words-$(language_code)-missing_in_ispell_list words-$(language_code).munched > words-$(language_code).complete + +$(sprog).hash: maskbits words-$(language_code).complete $(sprog).aff + buildhash words-$(language_code).complete $(sprog).aff $(sprog).hash + +install: maskbits $(sprog).hash $(sprog).aff + install -o root -g root -m 0644 $(sprog).hash $(installdir) + install -o root -g root -m 0644 $(sprog).aff $(installdir) + ln -fs $(installdir)/$(sprog).hash $(installdir)/$(language_code)_$(country_code).hash + ln -fs $(installdir)/$(sprog).aff $(installdir)/$(language_code)_$(country_code).aff + +clean: + rm -f words-$(language_code).complete.stat $(sprog).hash words-$(language_code).complete.cnt *~ $(sprog)-fake $(sprog)-fake.cnt $(sprog)-fake.stat $(sprog)-fake.hash words-$(language_code) words-$(language_code)-in_ispell_list words-$(language_code)-missing_in_ispell_list words-$(language_code).complete words-$(language_code).munched words-$(language_code).stat + debian/patches/README0000644000000000000000000000021111631156637011500 0ustar 0xxx: Grabbed from upstream development. 1xxx: Possibly relevant for upstream adoption. 2xxx: Only relevant for official Debian release. debian/patches/1003_enable_myspell_rules.patch0000644000000000000000000000327211631156637016523 0ustar Description: Enable commented-out myspell rules Author: Jonas Smedegaard Last-Update: 2010-03-10 --- a/myspell/Makefile +++ b/myspell/Makefile @@ -9,21 +9,19 @@ lang=da version=1.6.25 -all: - @echo Please use the myspell package to build the dictionary for Myspell. - @exit 1 - -##installdir=`locate wordbook/dictionary.lst | sed 's:/dictionary.lst$$::'` -# -#all: -# make -C ../ispell words-$(language_code).complete -# -#words-$(language_code)_$(country_code).dic: ../ispell/words-$(language_code).complete -# cp ../ispell/words-$(language_code).complete words-$(language_code)_$(country_code).dic -# -#install: $(language_code)_$(country_code).dic $(language_code)_$(country_code).aff -# install -o root -g root -m 0644 $(language_code)_$(country_code).dic $(installdir) -# install -o root -g root -m 0644 $(language_code)_$(country_code).aff $(installdir) -# -#clean: -# +#installdir=`locate wordbook/dictionary.lst | sed 's:/dictionary.lst$$::'` + +all: $(language_code)_$(country_code).dic $(language_code)_$(country_code).aff + +../ispell/words-$(language_code).complete ../ispell/words-$(language_code).complete.cnt: + make -C ../ispell words-$(language_code).complete + +$(language_code)_$(country_code).dic: ../ispell/words-$(language_code).complete + cat ../ispell/words-$(language_code).complete.cnt ../ispell/words-$(language_code).complete > $(language_code)_$(country_code).dic + +install: $(language_code)_$(country_code).dic $(language_code)_$(country_code).aff + install -o root -g root -m 0644 $(language_code)_$(country_code).dic $(installdir) + install -o root -g root -m 0644 $(language_code)_$(country_code).aff $(installdir) + +clean: + rm -f $(language_code)_$(country_code).dic debian/patches/1004_add_new-aspell_rules_and_hints.patch0000644000000000000000000001214311631156637020434 0ustar Description: Add aspell rules and hints Author: Jonas Smedegaard Last-Update: 2010-03-10 --- /dev/null +++ b/new_aspell/da.dat @@ -0,0 +1,5 @@ +name da +charset iso8859-1 +soundslike da +run-together true +special ' -** - -** . -** --- /dev/null +++ b/new_aspell/da.multi @@ -0,0 +1 @@ +add da.rws --- /dev/null +++ b/new_aspell/danish.alias @@ -0,0 +1 @@ +add da.multi --- /dev/null +++ b/new_aspell/dansk.alias @@ -0,0 +1 @@ +add da.multi --- /dev/null +++ b/new_aspell/da_phonet.dat @@ -0,0 +1,147 @@ +version 0.1-2002.12.15-3 + +# Koder: +# ^ = start på ord +# $ = slut på ord +# < = kør rettelsen tilbage i bufferen + +# fra for eksempel aftage, det udtages avtage +AA< Å +ACTION AKSJON +AF< AV +ASIE< ASJE +A A + +# B udtales ofte som V - især på jysk +# eks. Han løv en tur (løb) +# Hva har du køvt (købt) +BEDST< BEST +BORD< BOR +BRYST< BRØST +BUREAU BYRO +B B + +# C udtales nogengange som K, andre gange som S og i få tilfælde som SJ +# CK bruges ofte til at ændre lyden på det foregående (f.eks ren A lyd) +# ie. HACK (A lyd) vs HAK (AH lyd) +# Der er regler for hvornår CH udtales som TJ eller SJ +# Det samme er der for C's udtale +# +# Kenneth vil gerne have "ci -> cji" ind, men det komplicerer strengen i stedet +# for at reducere den, og det siges ikke sådan på "almindeligt" dansk (læs: af +# Jacob). +# +# acceleration -> akseleration +# acceptere -> akseptere +# +CC< KS +CK< K +CH< TJ +CI< SI +CO< KO +CY< SY +C< S +#C C + +# D udtales ofte blødt/stumt - regler? +# +# Stumt G + +DIG^$ DAJ +DIG< DI +D$ _ +D D + +EAUX< O +EAU< O +EJ$< AJ +EU< ØV +E E + +É E + +È E + +FEDT< FET +F F + +G G + +HJ^< J +HÅRD< HÅR +HÅND< HÅN +H H + +ION< JON +IND^< IN +I I + +J J + +K K + +# Stumt G +LIG< LI +L L + +MAND< MAN +MIG^$ MAJ +M M + +N N + +OST ÅST +O O + +Ó O + +PH< F +P P + +Q< KU + +REGN< REJN +RUG< RU +RYG RØG +R R + +SH< SJ +SIG^$ SAJ +SKIND< SKIN +S'S<$ S +S S + +TION SJON +TZ< TS +T T + +U U + +Ü< Y + +V V + +W< V + +X'S< KS +X< KS + +YKK< ØKK +YND< ØND +Y Y + +Z'S< S +Z< S +#Z Z + +Æ Æ + +Ä< Æ + +# eks. Han løv en tur (løb) +ØB< ØV +Ø Ø + +Ö< Ø + +Å Å --- /dev/null +++ b/new_aspell/Makefile @@ -0,0 +1,33 @@ +LANG=da_DK.ISO8859-1 + +sprog=dansk +sprog_en=Danish +sprog_en_lower_case=danish +language_code=da +country_code=DK + +lang=da +version=1.6.18 + +dictdir=`aspell dump config | grep '^\# dict-dir current: ' | cut -d' ' -f4` +datadir=`aspell dump config | grep '^\# data-dir current: ' | cut -d' ' -f4` + +all: $(language_code).cwl $(language_code).dat $(language_code)_phonet.dat + +install: $(language_code).dat $(language_code)_phonet.dat $(language_code).cwl + install -o root -g root -m 0644 $(language_code).dat $(datadir) + install -o root -g root -m 0644 $(language_code)_phonet.dat $(datadir) + install -o root -g root -m 0644 $(language_code) $(dictdir) + ln -fs $(datadir)/$(language_code).dat $(datadir)/$(language_code)_$(country_code).dat || true + ln -fs $(datadir)/$(language_code)_phonet.dat $(datadir)/$(language_code)_$(country_code)_phonet.dat || true + ln -fs $(dictdir)/$(language_code).cwl $(dictdir)/$(language_code)_$(country_code) || true + ln -fs $(datadir)/$(language_code).dat $(datadir)/$(sprog_en_lower_case).dat || true + ln -fs $(datadir)/$(language_code)_phonet.dat $(datadir)/$(sprog_en_lower_case)_phonet.dat || true + ln -fs $(dictdir)/$(language_code).cwl $(dictdir)/$(sprog_en_lower_case) || true + +$(language_code).cwl: $(language_code).dat $(language_code)_phonet.dat ../words-$(language_code) + (cat ../words-$(language_code); egrep '^[-'"'"'[:lower:][:upper:].]+$$' ../words-$(language_code).excluded) | aspell --local-data-dir=./ --lang=$(language_code) create master ./$(language_code).cwl + +clean: + rm -f $(language_code).cwl + debian/idanish.info-ispell0000644000000000000000000000053111631156637012760 0ustar Language: danish (Den Store Danske Ordliste) Hash-Name: dansk Casechars: [A-ZÆØÅÁÀÐÉÈËÊÍÜÄÖÓÔa-zæøåáàðéèëêíüäöóô] Not-Casechars: [^A-ZÆØÅÁÀÐÉÈËÊÍÜÄÖÓÔa-zæøåáàðéèëêíüäöóô] Otherchars: ['-] Many-Otherchars: yes Ispell-Args: -C -d dansk Additionalchars: æøåáàðéèëêíüäöóôÆØÅÁÀÐÉÈËÊÍÜÄÖÓÔ Coding-System: iso-8859-1 Pspell-Ispell: da iso8859-1 debian/watch0000644000000000000000000000036411631156637010233 0ustar # Run the "uscan" command to check for upstream updates and more. version=3 #http://da.speling.org/filer/dsdo-([\d+\.]+|\d+)(\.tar|\.tgz)(\.gz|\.bz2|) debian uupdate http://da.speling.org/filer/dsdo-(1\.6\.[\d+\.]+|\d+)\.tar\.gz debian uupdate debian/gbp.conf0000644000000000000000000000014611631156637010617 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/wdanish.info-wordlist0000644000000000000000000000007611631156637013361 0ustar Language: danish (Den Store Danske Ordliste) Hash-Name: dansk debian/rules0000755000000000000000000000335011633631620010250 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2003-2008,2010 Jonas Smedegaard # Description: Main Debian packaging script for Den Store Danske Ordliste # # 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. # # 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, see . # Suppress optional build-dependencies CDBS_BUILD_DEPENDS_upstream-tarball = CDBS_BUILD_DEPENDS_rules_buildinfo = include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/makefile.mk include debian/cdbs/1/class/dict.mk include /usr/share/cdbs/1/rules/debhelper.mk DEB_UPSTREAM_URL = http://da.speling.org/filer DEB_UPSTREAM_TARBALL_MD5 = 7710edd797c1a344810cafaa412cfa50 DEB_MAKE_BUILD_TARGET = all DEB_INSTALL_DOCS_ALL += contributors DEB_DICT_LANG = danish DEB_DICT_NATIVELANG = dansk DEB_DICT_LANGCODE = da DEB_DICT_COUNTRYCODE = DK # upstream build routines by default use old aspell layout DEB_ASPELL_DIR = new_aspell binary-post-install/wdanish:: recode l1..utf8 "debian/$(cdbs_curpkg)/usr/share/dict/$(DEB_DICT_LANG)" # Needed by upstream build process CDBS_BUILD_DEPENDS += , ispell (>= 3.3.02), perl # Needed by our packaging routines CDBS_BUILD_DEPENDS += , recode debian/cdbs/0000755000000000000000000000000011631156637010112 5ustar debian/cdbs/1/0000755000000000000000000000000011631156637010252 5ustar debian/cdbs/1/class/0000755000000000000000000000000011633631620011347 5ustar debian/cdbs/1/class/dict.mk0000644000000000000000000001536111633631620012631 0ustar # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2004-2007 Jonas Smedegaard # Description: Install various dictionaries # # 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. # # 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, see . # TODO: Support overriding settings per package (needed for german and # swiss dictionaries from same source). # TODO: Support arch:all ispell packages: if compelete wordlist is # provided(/detected) instead of hash, install it instead, depend on # ispell and run buildhash in postinst. # TODO: Check Depends (in addition to Provides) # TODO: Check more strictly (search within same '^Package:') _cdbs_scripts_path ?= /usr/lib/cdbs _cdbs_rules_path ?= /usr/share/cdbs/1/rules _cdbs_class_path ?= /usr/share/cdbs/1/class ifndef _cdbs_class_dict _cdbs_class_dict := 1 include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) DEB_WORDLIST_PACKAGES := $(strip $(filter w%,$(DEB_ALL_PACKAGES))) DEB_ISPELL_PACKAGES := $(strip $(filter i%,$(DEB_ALL_PACKAGES))) DEB_ASPELL_PACKAGES := $(strip $(filter aspell-%,$(DEB_ALL_PACKAGES))) DEB_MYSPELL_PACKAGES := $(strip $(filter myspell-%,$(DEB_ALL_PACKAGES))) ifneq ($(DEB_ASPELL_PACKAGES),) CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), aspell (>= 0.60.3-2), dictionaries-common-dev (>= 1.10.5) else CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), dictionaries-common-dev (>= 1.10.5) endif # Set these! #DEB_DICT_LANG = #DEB_DICT_NATIVELANG = #DEB_DICT_LANGCODE = #DEB_DICT_COUNTRYCODE = # Override these if needed DEB_WORDLIST_DIR = . DEB_ISPELL_DIR = ispell DEB_ASPELL_DIR = aspell DEB_MYSPELL_DIR = myspell DEB_WORDLIST_FILE = $(DEB_WORDLIST_DIR)/words-$(DEB_DICT_LANGCODE) DEB_ISPELL_AFFFILE = $(DEB_ISPELL_DIR)/$(DEB_DICT_NATIVELANG).aff DEB_ISPELL_HASHFILE = $(DEB_ISPELL_DIR)/$(DEB_DICT_NATIVELANG).hash DEB_ASPELL_DATFILE = $(DEB_ASPELL_DIR)/$(DEB_DICT_LANGCODE).dat DEB_ASPELL_PHONETDATFILE = $(DEB_ASPELL_DIR)/$(DEB_DICT_LANGCODE)_phonet.dat DEB_ASPELL_MASTERFILE = $(DEB_ASPELL_DIR)/$(DEB_DICT_LANGCODE).cwl DEB_MYSPELL_DICFILE = $(DEB_MYSPELL_DIR)/$(DEB_DICT_LANGCODE)_$(DEB_DICT_COUNTRYCODE).dic DEB_MYSPELL_AFFFILE = $(DEB_MYSPELL_DIR)/$(DEB_DICT_LANGCODE)_$(DEB_DICT_COUNTRYCODE).aff DEB_DICT_LANGALIASES = $(DEB_DICT_LANG) $(DEB_DICT_NATIVELANG) ### No servicable parts below this line DEB_PHONY_RULES += dict-sanity-check $(patsubst %,install/%,$(DEB_WORDLIST_PACKAGES)):: dict-sanity-check dict-sanity-check: @if test -z "$(DEB_DICT_LANG)" || test -z "$(DEB_DICT_NATIVELANG)" || test -z "$(DEB_DICT_LANGCODE)" || test -z "$(DEB_DICT_COUNTRYCODE)"; then \ echo 'You must define all of DEB_DICT_LANG DEB_DICT_NATIVELANG DEB_DICT_LANGCODE DEB_DICT_COUNTRYCODE!'; \ exit 1; \ fi $(patsubst %,install/%,$(DEB_WORDLIST_PACKAGES)):: install/% : echo "Checking that wordlist package provides wordlist..." egrep -q 'Provides:.* wordlist' debian/control && echo "OK" mkdir -p "debian/$(cdbs_curpkg)/usr/share/dict" install -o root -g root -m 644 "$(if $(DEB_WORDLIST_FILE_$(cdbs_curpkg)),$(DEB_WORDLIST_FILE_$(cdbs_curpkg)),$(DEB_WORDLIST_FILE))" "debian/$(cdbs_curpkg)/usr/share/dict/$(DEB_DICT_LANG)" for alias in $(filter-out $(DEB_DICT_LANG),$(DEB_DICT_LANGALIASES)); do \ ln -fs "$(DEB_DICT_LANG)" "debian/$(cdbs_curpkg)/usr/share/dict/$$alias"; \ done installdeb-wordlist -p$(cdbs_curpkg) $(patsubst %,install/%,$(DEB_ISPELL_PACKAGES)) :: install/% : echo "Checking that ispell package provides ispell-dictionary..." egrep -q 'Provides:.* ispell-dictionary' debian/control && echo "OK" mkdir -p "debian/$(cdbs_curpkg)/usr/lib/ispell" install -o root -g root -m 644 "$(if $(DEB_ISPELL_AFFFILE_$(cdbs_curpkg)),$(DEB_ISPELL_AFFFILE_$(cdbs_curpkg)),$(DEB_ISPELL_AFFFILE))" "debian/$(cdbs_curpkg)/usr/lib/ispell/$(DEB_DICT_LANG).aff" install -o root -g root -m 644 "$(if $(DEB_ISPELL_HASHFILE_$(cdbs_curpkg)),$(DEB_ISPELL_HASHFILE_$(cdbs_curpkg)),$(DEB_ISPELL_HASHFILE))" "debian/$(cdbs_curpkg)/usr/lib/ispell/$(DEB_DICT_LANG).hash" for alias in $(filter-out $(DEB_DICT_LANG),$(DEB_DICT_LANGALIASES)); do \ ln -fs "$(DEB_DICT_LANG).aff" "debian/$(cdbs_curpkg)/usr/lib/ispell/$$alias.aff"; \ ln -fs "$(DEB_DICT_LANG).hash" "debian/$(cdbs_curpkg)/usr/lib/ispell/$$alias.hash"; \ done installdeb-ispell -p$(cdbs_curpkg) $(patsubst %,install/%,$(DEB_ASPELL_PACKAGES)) :: install/% : echo "Checking that aspell package provides aspell6a-dictionary..." egrep -q 'Provides:.* aspell6a-dictionary' debian/control && echo "OK" mkdir -p "debian/$(cdbs_curpkg)/usr/lib/aspell" echo "add $(DEB_DICT_LANGCODE).rws" > "debian/$(cdbs_curpkg)/usr/lib/aspell/$(DEB_DICT_LANGCODE).multi" chmod 644 "debian/$(cdbs_curpkg)/usr/lib/aspell/$(DEB_DICT_LANGCODE).multi" for alias in $(DEB_DICT_LANGALIASES); do \ echo "add $(DEB_DICT_LANGCODE).multi" > "debian/$(cdbs_curpkg)/usr/lib/aspell/$$alias.alias"; \ chmod 644 "debian/$(cdbs_curpkg)/usr/lib/aspell/$$alias.alias"; \ done install -o root -g root -m 644 "$(if $(DEB_ASPELL_DATFILE_$(cdbs_curpkg)),$(DEB_ASPELL_DATFILE_$(cdbs_curpkg)),$(DEB_ASPELL_DATFILE))" "debian/$(cdbs_curpkg)/usr/lib/aspell/$(DEB_DICT_LANGCODE).dat" install -o root -g root -m 644 "$(if $(DEB_ASPELL_PHONETDATFILE_$(cdbs_curpkg)),$(DEB_ASPELL_PHONETDATFILE_$(cdbs_curpkg)),$(DEB_ASPELL_PHONETDATFILE))" "debian/$(cdbs_curpkg)/usr/lib/aspell/$(DEB_DICT_LANGCODE)_phonet.dat" install -o root -g root -m 644 "$(if $(DEB_ASPELL_MASTERFILE_$(cdbs_curpkg)),$(DEB_ASPELL_MASTERFILE_$(cdbs_curpkg)),$(DEB_ASPELL_MASTERFILE))" "debian/$(cdbs_curpkg)/usr/lib/aspell/$(DEB_DICT_LANGCODE).rws" # FIXME: Is this needed? # installdeb-aspell -p$(cdbs_curpkg) $(patsubst %,install/%,$(DEB_MYSPELL_PACKAGES)) :: install/% : echo "Checking that myspell package provides myspell-dictionary..." egrep -q 'Provides:.* myspell-dictionary' debian/control && echo "OK" mkdir -p "debian/$(cdbs_curpkg)/usr/share/hunspell" install -o root -g root -m 644 "$(if $(DEB_MYSPELL_DICFILE_$(cdbs_curpkg)),$(DEB_MYSPELL_DICFILE_$(cdbs_curpkg)),$(DEB_MYSPELL_DICFILE))" "debian/$(cdbs_curpkg)/usr/share/hunspell/$(DEB_DICT_LANGCODE)_$(DEB_DICT_COUNTRYCODE).dic" install -o root -g root -m 644 "$(if $(DEB_MYSPELL_AFFFILE_$(cdbs_curpkg)),$(DEB_MYSPELL_AFFFILE_$(cdbs_curpkg)),$(DEB_MYSPELL_AFFFILE))" "debian/$(cdbs_curpkg)/usr/share/hunspell/$(DEB_DICT_LANGCODE)_$(DEB_DICT_COUNTRYCODE).aff" installdeb-myspell -p$(cdbs_curpkg) endif debian/myspell-da.links0000644000000000000000000000015611633631423012303 0ustar usr/share/hunspell/da_DK.aff usr/share/hunspell/da.aff usr/share/hunspell/da_DK.dic usr/share/hunspell/da.dic debian/README.source0000644000000000000000000000361311631156637011361 0ustar Building this package for Debian -------------------------------- This source package need no special handling for normal package builds. Developing this package for Debian ---------------------------------- The source of this package is developed using git and the helper tool git-buildpackage, with all official releases tagged and signed and binary diffs of tarballs stored using pristine-tar. This is documented below /usr/share/doc/git-buildpackage/manual-html/ . A custom build target shows current upstream and packaging versions: debian/rules print-version Current upstream tarball can be prepared using this other build target: debian/rules get-orig-source To switch to newer upstream source, first add a dummy changelog entry and comment out DEB_UPSTREAM_TARBALL_MD5 before getting the source: dch -v ${new_upstream_version}-1 "Dummy changelog entry" sed -i -e 's/^\(DEB_UPSTREAM_TARBALL_MD5\b\)/#\1/' debian/rules debian/rules get-orig-source Store new md5sum to help ensure identical source is received later. Setting DEB_MAINTAINER_MODE=1 enables additional build routines helpful during development of the package, but unfit for normal builds. This typically includes the CDBS feature of auto-updating debian/control with CDBS-related build-dependencies, which is forbidden by Debian Policy as build environment must not change during automated builds. Maintaining packaging build routines ------------------------------------ This source package wraps debhelper commands and other tedious parts of the build routines using the CDBS framework. Please refer to the actual makefile snippets included from debian/rules for details on their purpose and ways to override defaults. Additionally, makefile snippets included from below /usr/share/cdbs may also be documented in /usr/share/doc/cdbs/cdbs-doc.pdf.gz . -- Jonas Smedegaard Thu, 26 Feb 2009 21:28:29 +0100