Hi,

I've been working on fixing the outstanding bugs of aspell-fo and came up with the patch (attached), which addresses both #313087 and #319673. The list of changes (suitable for inclusion in changelog) is:

  * Implemented required changes to adapt aspell-fo to latest aspell and
    dictionary packaging policy:
    - Added the dictionary info file, installed as
      /var/lib/dictionaries/common/aspell/aspell-fo.
    - Switched to 'Architecture: all', as the arch-dependent files
      are now generated at install time.
    - Added dependency on aspell (>= 0.60.3-3), dropped dependency
      on libaspell15.
    - Changed Provides to aspell-dictionary instead of aspell6-dictionary.
    - Changed debian/rules to generate an arch-independent word list
      instead of aspell master file, it installs into /usr/share/aspell.
    - Added build-dependency on aspell, since it contains the prezip
      utility required for building the compressed word list.
    - Added the files required by new aspell.
    - Added an invocation of installdeb-aspell to debian/rules. It
      installs the dictionary info file and adds postinst and postrm
      scripts which register and deregister the dictionary.
    (Closes: #319673)
  * Changed all references to the name of the language to its code
    (fo), as recommended by aspell manual and the policy, to avoid
    the problems caused by inconsistent naming.
    (Closes: #313087)
  * Converted changelog to utf8 (it had some latin accented characters
    in it) to avoid lintian error.

Best regards,

Jurij Smakov                                        [EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/                   KeyID: C99E03CC
diff -aurN a/debian/aspell-fo.dirs b/debian/aspell-fo.dirs
--- a/debian/aspell-fo.dirs     2006-02-16 20:45:09.000000000 -0800
+++ b/debian/aspell-fo.dirs     2006-02-16 20:45:17.000000000 -0800
@@ -1,2 +1,4 @@
 usr/share/doc/aspell-fo
-usr/lib/aspell-0.60
+usr/share/aspell
+usr/lib/aspell
+var/lib/aspell
diff -aurN a/debian/aspell-fo.info-aspell b/debian/aspell-fo.info-aspell
--- a/debian/aspell-fo.info-aspell      1969-12-31 16:00:00.000000000 -0800
+++ b/debian/aspell-fo.info-aspell      2006-02-16 20:54:41.000000000 -0800
@@ -0,0 +1,11 @@
+Language: foeroyskt (Faroese)
+Hash-Name: fo
+Emacsen-Name: faroese
+Casechars: [A-Z�������������������a-z�������������������]
+Not-Casechars: [^A-Z�������������������a-z�������������������]
+Otherchars: ['-]
+Many-Otherchars: 
+Ispell-Args: -C
+Additionalchars: ��������������������������������������
+Extended-Character-Mode: 
+Coding-System: iso-8859-1
diff -aurN a/debian/changelog b/debian/changelog
--- a/debian/changelog  2006-02-16 20:45:09.000000000 -0800
+++ b/debian/changelog  2006-02-16 21:01:41.000000000 -0800
@@ -74,7 +104,7 @@
     be revised to have the right values for faroese.
   * debian/control: (Peter, please remember to remove this things if you 
     start from this package)
-    - Added a "Bugs: Agust�n Mart�n Domingo <[EMAIL PROTECTED]>" line to the 
+    - Added a "Bugs: Agustín Martín Domingo <[EMAIL PROTECTED]>" line to the 
       control file, so bugs against this experimental package are sent to me.
     - Added a note about the experimental character of the {i,w}faroese 
       packages.
@@ -141,7 +171,7 @@
 
   * New upstream
   * Added Build-Depends
-  * Added f�royskt-links (submit a bug if 8bit filenames breaks anything)
+  * Added føroyskt-links (submit a bug if 8bit filenames breaks anything)
 
  -- Peter Makholm <[EMAIL PROTECTED]>  Tue, 23 Jan 2001 16:46:48 +0200
 
diff -aurN a/debian/control b/debian/control
--- a/debian/control    2006-02-16 20:45:09.000000000 -0800
+++ b/debian/control    2006-02-16 20:45:17.000000000 -0800
@@ -2,7 +2,7 @@
 Maintainer: Peter Makholm <[EMAIL PROTECTED]>
 Section: text
 Priority: optional
-Build-Depends: debhelper (>> 2.0.0), aspell-bin (>> 0.60), ispell, perl, 
dictionaries-common-dev (>=0.20)
+Build-Depends: debhelper (>> 2.0.0), ispell, aspell, perl, 
dictionaries-common-dev (>=0.20)
 Standards-Version: 3.5.5
 
 Package: ifaroese
@@ -23,9 +23,9 @@
  by spellcheckers or any other purpose needing a lot of words.
 
 Package: aspell-fo
-Architecture: any
-Depends: libaspell15
-Provides: aspell6-dictionary
+Architecture: all
+Depends: aspell (>= 0.60.3-3)
+Provides: aspell-dictionary
 Description: The Faroese dictionary for aspell
  This is the Faroese dictionaries, to be used with aspell
  to check and correct spelling in Faroese texts.
diff -aurN a/debian/rules b/debian/rules
--- a/debian/rules      2006-02-16 20:45:09.000000000 -0800
+++ b/debian/rules      2006-02-16 20:45:17.000000000 -0800
@@ -14,7 +14,7 @@
 clean:
        dh_testdir
        make clean
-       rm -f f�royskt foeroyskt
+       rm -f f�royskt fo.cwl.gz
        rm -f faroese.hash faroese.aff
        dh_clean
 
@@ -66,14 +66,20 @@
        dh_installdirs
 
        cat words-fo.ispell | ispell -d ./faroese -e | \
-         perl -ane ' print join("\n", @F), "\n" unless /\(|\)|\d/; ' | \
-         aspell --local-data-dir=`pwd` --lang=f�royskt create master 
./foeroyskt
-
-       install  -o root -g root -m 644 f�royskt.dat 
debian/aspell-fo/usr/lib/aspell-0.60/foeroyskt.dat
-       install  -o root -g root -m 644 f�royskt_phonet.dat 
debian/aspell-fo/usr/lib/aspell-0.60/foeroyskt_phonet.dat
-       install  -o root -g root -m 644 foeroyskt 
debian/aspell-fo/usr/lib/aspell-0.60/foeroyskt
-
+         perl -ane ' print join("\n", @F), "\n" unless /\(|\)|\d/; ' > ./fo.wl
+       prezip ./fo.wl
+       gzip ./fo.cwl
+       touch debian/aspell-fo/var/lib/aspell/fo.compat
+       touch debian/aspell-fo/var/lib/aspell/fo.rws
+       ln -s /var/lib/aspell/fo.rws \
+             debian/aspell-fo/usr/lib/aspell/fo.rws 
+       echo "fo" > debian/aspell-fo/usr/share/aspell/fo.contents
+       echo "add fo.rws" > debian/aspell-fo/usr/lib/aspell/fo.multi
+       install  -o root -g root -m 644 f�royskt.dat 
debian/aspell-fo/usr/lib/aspell/fo.dat
+       install  -o root -g root -m 644 f�royskt_phonet.dat 
debian/aspell-fo/usr/lib/aspell/fo_phonet.dat
+       install  -o root -g root -m 644 fo.cwl.gz 
debian/aspell-fo/usr/share/aspell/fo.cwl.gz
 
+       installdeb-aspell
        dh_installdocs
        dh_installchangelogs
        dh_compress
diff -aurN a/f�royskt.dat b/f�royskt.dat
--- a/f�royskt.dat      2006-02-16 20:45:09.000000000 -0800
+++ b/f�royskt.dat      2006-02-16 20:45:17.000000000 -0800
@@ -1,7 +1,7 @@
-name    f�royskt
+name    fo
 charset iso8859-1
 
 special         ' -** - -** . -**
-soundslike      f�royskt
+soundslike      fo
 
 run-together

Reply via email to