Debian Bug report logs -
#319676
aspell-bg: Needs repackaging for latest aspell
Reported by: Brian Nelson <pyro@debian.org>
Date: Sat, 23 Jul 2005 22:18:12 UTC
Severity: grave
Tags: patch
Found in version 3.0-4
Fixed in version bgoffice/3.0-5
Done: Anton Zinoviev <zinoviev@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Anton Zinoviev <zinoviev@debian.org>:
Bug#319676; Package aspell-bg.
(full text, mbox, link).
Acknowledgement sent to Brian Nelson <pyro@debian.org>:
New Bug report received and forwarded. Copy sent to Anton Zinoviev <zinoviev@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: aspell-bg
Severity: grave
Version: 3.0-4
Tags: sid
As of the aspell 0.60.3-2 package, I changed the location in which
aspell looks for dictionaries from /usr/lib/aspell-0.60 to
/usr/lib/aspell (for support for autobuilding dictionary hashes).
Obviously, this broke all existing dictionaries so I made it conflict
with dictionaries providing aspell6-dictionary.
Additionally, as of version 0.60.3-3 in conjunction with
dictionaries-common >= 0.49.2, aspell now fully supports building
dictionary hashes at install time. This provides two huge advantages
over packaging the hashes in the .deb:
1. The dictionary packages may be Arch: all, which for some dictionaries
provides a significant relief to the mirrors.
2. The hashes will be automatically rebuilt for new aspell versions if
the dictionary format changes, eliminating the need to transition all
dictionary packages.
Consequently, this is now the preferred method for packaging aspell
dictionaries.
Packaging dictionaries for aspell >= 0.60.3-3
---------------------------------------------
[Old-style hashes (.rws files) in .deb]
1. Change "Provides: aspell6-dictionary" to "Provides:
aspell6a-dictionary"
2. Ensure dictionary files are installed to /usr/lib/aspell
3. Remove any dependency on libaspell15 (see #310590) or aspell-bin
(which no longer exists). Instead depend on aspell (>= 0.60.3-2).
[New-style autobuilt hashes]
1. Change "Provides: aspell6-dictionary" to "Provides:
aspell-dictionary" (no version in name).
2. Remove build-dependency on aspell(-bin)
3. Change Architecture to "all"
4. Add binary package dependency on "aspell (>= 0.60.3-3)"
5. Remove any relationship on libaspell15 or aspell-bin
6. Package an empty file /var/lib/aspell/$DICT_LANG.compat (where
$DICT_LANG is the iso code for the dictionary, e.g. "en")
7. Install the wordlists compressed as .mwl.gz, .wl.gz, or .cwl.gz to
/usr/share/aspell.
8. For each of the above wordlists:
a. Package an empty file /var/lib/aspell/$WORDLIST.rws (where
$WORDLIST is the wordlist filename minus the .*wl.gz extension)
b. Add a symlink /usr/lib/aspell/$WORDLIST.rws ->
/var/lib/aspell/$WORDLIST.rws
c. Append the $WORDLIST to the file
"/usr/share/aspell/$DICT_LANG/.contents". The .contents file
should contain one $WORDLIST per line.
9. Add a postinst call to "/usr/sbin/update-dictcommon-aspell"--the
easiest way to do this is to build-depend on dictionaries-common-dev
(>= 0.9.1) and run installdeb-aspell from debian/rules.
For some examples, see aspell-en (for dictionaries based on
ftp://ftp.gnu.org/gnu/aspell/dict tarballs) or aspell-es (for
dictionaries based on plain wordlists).
If the dictionary is packaged correctly, you should see something like:
Setting up aspell-en (6.0-0-5) ...
aspell-autobuildhash: processing: en [en-common]
aspell-autobuildhash: processing: en [en-variant_0]
aspell-autobuildhash: processing: en [en-variant_1]
aspell-autobuildhash: processing: en [en-variant_2]
aspell-autobuildhash: processing: en [en_CA-w_accents-only]
aspell-autobuildhash: processing: en [en_CA-wo_accents-only]
aspell-autobuildhash: processing: en [en_GB-ise-w_accents-only]
aspell-autobuildhash: processing: en [en_GB-ise-wo_accents-only]
aspell-autobuildhash: processing: en [en_GB-ize-w_accents-only]
aspell-autobuildhash: processing: en [en_GB-ize-wo_accents-only]
aspell-autobuildhash: processing: en [en_US-w_accents-only]
aspell-autobuildhash: processing: en [en_US-wo_accents-only]
when installing. The dictionary should then work the same as before.
Please send any questions to the dict-common-dev@lists.alioth.debian.org
mailing list.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.2
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Tags removed: sid
Request was from Yavor Doganov <yavor@doganov.org>
to control@bugs.debian.org.
(full text, mbox, link).
Acknowledgement sent to Yavor Doganov <yavor@doganov.org>:
Extra info received and filed, but not forwarded.
(full text, mbox, link).
Message #12 received at 319676-quiet@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 319676 - sid
thanks
Removing the tag since the new aspell already entered testing.
--
Yavor Doganov JID: doganov@jabber.minus273.org
Free Software Association - Bulgaria http://fsa-bg.org
[Message part 2 (application/pgp-signature, inline)]
Tags added: patch
Request was from Yavor Doganov <yavor@doganov.org>
to control@bugs.debian.org.
(full text, mbox, link).
Acknowledgement sent to Yavor Doganov <yavor@doganov.org>:
Extra info received and filed, but not forwarded.
(full text, mbox, link).
Message #19 received at 319676-quiet@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 319676 + patch
thanks
Dear Anton,
I dared to prepare a NMU for bgoffice, since in the past two months
several fellow translators and colleagues were tormenting me with
wrong accusations that Debian's quality is "poor". This is a bloody
insult which has to be washed away ASAP. I'm attaching the trivial
patch to the BTS, you can fetch everything from
http://fsa-bg.org/~yavorescu/debian/ or using the famous and
invaluable "debian-addons-bg" repository.
Note that this RC bug is affecting Etch and the
not-so-many-as-I'd-like-to-see companies using Debian are suffering as
well, some of them very hard ;-)
P.S. Translators and users who desperately need aspell-bg, please add
the following line to your /etc/apt/sources.list until the package is
uploaded to the official archive:
deb http://ftp.uni-sofia.bg/debian-addons-bg ./
P.P.S. For the future we should seriously consider reworking/dropping
the obsolete/ugly upstream scripts in order to use aspell's new
autobuild goodies (sorry, Radostin, no intention to offend you at all).
--
Yavor Doganov
[bgoffice.patch (text/plain, inline)]
diff -Nur bgoffice-3.0.orig/debian/aspell-bg.install bgoffice-3.0/debian/aspell-bg.install
--- bgoffice-3.0.orig/debian/aspell-bg.install 2005-09-17 22:30:45.000000000 +0300
+++ bgoffice-3.0/debian/aspell-bg.install 2005-09-17 21:08:45.000000000 +0300
@@ -1,7 +1,7 @@
-debian/bg.dat usr/lib/aspell-0.60
-debian/bg_affix.dat usr/lib/aspell-0.60
-debian/bg_phonet.dat usr/lib/aspell-0.60
-debian/bulgarian.kbd usr/lib/aspell-0.60
-bin/build_dictionaries/bg.rws usr/lib/aspell-0.60
-debian/bg.multi usr/lib/aspell-0.60
-debian/bulgarian.alias usr/lib/aspell-0.60
+debian/bg.dat usr/lib/aspell
+debian/bg_affix.dat usr/lib/aspell
+debian/bg_phonet.dat usr/lib/aspell
+debian/bulgarian.kbd usr/lib/aspell
+bin/build_dictionaries/bg.rws usr/lib/aspell
+debian/bg.multi usr/lib/aspell
+debian/bulgarian.alias usr/lib/aspell
diff -Nur bgoffice-3.0.orig/debian/changelog bgoffice-3.0/debian/changelog
--- bgoffice-3.0.orig/debian/changelog 2005-09-17 22:30:45.000000000 +0300
+++ bgoffice-3.0/debian/changelog 2005-09-17 21:58:17.000000000 +0300
@@ -1,3 +1,12 @@
+bgoffice (3.0-4.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Repackage for the new aspell (old-style hashes). Closes: #319676.
+ Thanks to Brian Nelson <pyro@debian.org> for the instructions.
+ * Bumped Stanards-Version to 3.6.2 (no changes needed).
+
+ -- Yavor Doganov <yavor@doganov.org> Sat, 17 Sep 2005 21:56:22 +0300
+
bgoffice (3.0-4) unstable; urgency=low
* Use "cp1251" instead of "microsoft-cp1251" in bg_BG.aff. Thanks to
diff -Nur bgoffice-3.0.orig/debian/control bgoffice-3.0/debian/control
--- bgoffice-3.0.orig/debian/control 2005-09-17 22:30:45.000000000 +0300
+++ bgoffice-3.0/debian/control 2005-09-17 21:08:10.000000000 +0300
@@ -2,15 +2,15 @@
Maintainer: Anton Zinoviev <zinoviev@debian.org>
Section: text
Priority: optional
-Standards-Version: 3.6.1
-Build-Depends: debhelper (>= 4), aspell-bin (>> 0.60.0), gawk, ispell, dictionaries-common (>= 0.20.1), dictionaries-common-dev (>= 0.20.1)
+Standards-Version: 3.6.2
+Build-Depends: debhelper (>= 4), gawk, ispell, dictionaries-common (>= 0.20.1), dictionaries-common-dev (>= 0.20.1)
Package: aspell-bg
Architecture: any
Section: text
Priority: optional
-Provides: aspell6-dictionary
-Depends: libaspell15 (>= 0.60.0)
+Provides: aspell6a-dictionary
+Depends: aspell (>= 0.60.3-2)
Description: Bulgarian dictionary for aspell
This package contains all the required files to add support for
Bulgarian language to aspell spell checker.
[Message part 3 (application/pgp-signature, inline)]
Reply sent to Anton Zinoviev <zinoviev@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Brian Nelson <pyro@debian.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #24 received at 319676-close@bugs.debian.org (full text, mbox, reply):
Source: bgoffice
Source-Version: 3.0-5
We believe that the bug you reported is fixed in the latest version of
bgoffice, which is due to be installed in the Debian FTP archive:
aspell-bg_3.0-5_all.deb
to pool/main/b/bgoffice/aspell-bg_3.0-5_all.deb
bgoffice_3.0-5.diff.gz
to pool/main/b/bgoffice/bgoffice_3.0-5.diff.gz
bgoffice_3.0-5.dsc
to pool/main/b/bgoffice/bgoffice_3.0-5.dsc
ibulgarian_3.0-5_i386.deb
to pool/main/b/bgoffice/ibulgarian_3.0-5_i386.deb
myspell-bg_3.0-5_all.deb
to pool/main/b/bgoffice/myspell-bg_3.0-5_all.deb
wbulgarian_3.0-5_all.deb
to pool/main/b/bgoffice/wbulgarian_3.0-5_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 319676@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Anton Zinoviev <zinoviev@debian.org> (supplier of updated bgoffice package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 21 Sep 2005 22:05:04 +0300
Source: bgoffice
Binary: myspell-bg ibulgarian wbulgarian aspell-bg
Architecture: source all i386
Version: 3.0-5
Distribution: unstable
Urgency: low
Maintainer: Anton Zinoviev <zinoviev@debian.org>
Changed-By: Anton Zinoviev <zinoviev@debian.org>
Description:
aspell-bg - Bulgarian dictionary for aspell
ibulgarian - The Bulgarian dictionary for ispell
myspell-bg - The Bulgarian dictionary for myspell
wbulgarian - The Bulgarian dictionary words for /usr/share/dict
Closes: 319676 321040
Changes:
bgoffice (3.0-5) unstable; urgency=low
.
* Repackage for the new aspell (new-style hashes). Thanks a lot to
Yavor Doganov and Brian Nelson and apologies for the delay.
Closes: #319676.
* Updated ibulgarian.info-ispell: description in Bulgarian, add
Additionalchars and Aspell-Locales fields.
* Invoke dh_installdebconf for aspell-bg.
* Use installdeb-myspell rather than manually install stuff.
* Install two Bulgarian aspell dictionaries managed by
update-alternatives. One that recognises only the Bulgarian words and
second (used by default) that recognises both Bulgarian and English
words.
* Encode in UTF-8 the documentation in /usr/share/doc.
* Unfortunately I have to revert the change in 3.0-4 and use again
"microsoft-cp1251" instead of "cp1251" in bg_BG.aff. Mozilla will
again crash but OpenOffice is more important (IMO). For reference:
https://bugzilla.mozilla.org/show_bug.cgi?id=256292 and #306895.
* Files /etc/emacs21/site-start.d/90{aspell-bg,ibulgarian}.el to
codepage-setup cp1251. It is still not clear to me how to support
spelling of Bulgarian UTF-8 texts in Emacs.
* Add entries for different Emacs versions in ibulgarian.info-ispell and
aspell-bg.info-aspell. Thanks to Ivan Raikov, closes: #321040.
* Use "aspell munch-list" in order to minimise the size of the aspell
word list (was 8.8MB uncompressed and 1.9MB compressed, now it is
726KB uncompressed and 294K compressed). The size of the compiled
dictionary hash is also dramatically reduced.
Files:
426dd4c20ff555d3e2d07a8dfc174059 709 text optional bgoffice_3.0-5.dsc
fbedea4f0df94d020717f8788aa0619f 22991 text optional bgoffice_3.0-5.diff.gz
81f5bb8724cfc59ed0e6408298e0e735 664298 text optional aspell-bg_3.0-5_all.deb
3b8e1449c9024baafffc8adeba539814 250948 text optional myspell-bg_3.0-5_all.deb
f1fe12a7a19f510efa5efa00c8b166f4 1996054 text optional wbulgarian_3.0-5_all.deb
d310b003b68ad13af94766b507cc736a 674658 text optional ibulgarian_3.0-5_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDMefnJP1eZJv0KwcRAjvSAJwOKuXZzT84lyezlORpQkc71Ipm1ACfaLrr
GPeYeL7DxcPO0AJ1x6xNuQk=
=LBl0
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 26 Jun 2007 14:36:36 GMT) (full text, mbox, link).
Bug unarchived.
Request was from Stefano Zacchiroli <zack@debian.org>
to control@bugs.debian.org.
(Sun, 10 Apr 2011 08:47:04 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 09 May 2011 07:47:51 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Oct 11 12:08:47 2017;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.