[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#206124: doesn't follow policy; should go to new myspell policy



Package: magyarispell
Version: unavailable; reported 2003-05-18
Severity: serious
Tags: patch

Hi,

This patch converts myhungarian to the new myspell policy
(it is then myspell-hu) and makes it actually useful because
is is then actually usable to OpenOffice.org.

Please apply.
(please use patch -E when applying the patch through patch or
when you are doing it manually please rm the myhungarian files
since patch doesn't do it automatically in some cases)

Regards,

René

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux frodo 2.4.20-apm-rene #1 Sat May 10 00:47:56 CEST 2003 i686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

diff -urN bgoffice-2.0-old/debian/control bgoffice-2.0/debian/control
--- bgoffice-2.0-old/debian/control	2003-08-08 04:12:54.000000000 +0200
+++ bgoffice-2.0/debian/control	2003-08-18 23:20:34.000000000 +0200
@@ -17,14 +17,19 @@
  project, http://bgoffice.sourceforge.net and is developed by Radostin
  Radnev.
 
-Package: mybulgarian
+Package: myspell-bg
 Architecture: all
 Section: text
+Suggests: openoffice.org
+Depends: dictionaries-common (>= 0.10) | openoffice.org-updatedicts
+Replaces: mybulgarian
+Conflicts: openoffice.org (<= 1.0.3-2), mybulgarian
+Provides: myspell-dictionary, myspell-dictionary-bg, mybulgarian
 Priority: optional
-Description: Bulgarian dictionary for OpenOffice
- This package contains the Bulgarian dictionary for OpenOffice
- provided by the bgoffice project, http://bgoffice.sourceforge.net.
- It is developed by Radostin Radnev.
+Description: Bulgarian dictionary for myspell
+ This is the Bulgarian dictionary for use with the myspell spellchecker
+ which is currently used within OpenOffice.org and the mozilla
+ spellchecker.
 
 Package: ibulgarian
 Architecture: any
diff -urN bgoffice-2.0-old/debian/mybulgarian.install bgoffice-2.0/debian/mybulgarian.install
--- bgoffice-2.0-old/debian/mybulgarian.install	2003-08-08 04:12:54.000000000 +0200
+++ bgoffice-2.0/debian/mybulgarian.install	1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-bgoffice/bin/build_dictionaries/bg_BG.aff 	usr/share/mybulgarian
-bgoffice/bin/build_dictionaries/bg_BG.dic 	usr/share/mybulgarian
diff -urN bgoffice-2.0-old/debian/mybulgarian.README.Debian bgoffice-2.0/debian/mybulgarian.README.Debian
--- bgoffice-2.0-old/debian/mybulgarian.README.Debian	2003-08-08 04:12:54.000000000 +0200
+++ bgoffice-2.0/debian/mybulgarian.README.Debian	1970-01-01 01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-Bulgarian dictionary for OpenOffice
------------------------------------
-
-The files bg_BG.aff and bg_BG.dic are located in /usr/share/mybulgarian.
-
---
-Anton Zinoviev <zinoviev@debian.org>
diff -urN bgoffice-2.0-old/debian/myspell-bg.dirs bgoffice-2.0/debian/myspell-bg.dirs
--- bgoffice-2.0-old/debian/myspell-bg.dirs	1970-01-01 01:00:00.000000000 +0100
+++ bgoffice-2.0/debian/myspell-bg.dirs	2003-08-18 23:04:16.000000000 +0200
@@ -0,0 +1,2 @@
+usr/share/myspell/dicts
+usr/share/myspell/infos/ooo
diff -urN bgoffice-2.0-old/debian/myspell-bg.info-myspell-ooo bgoffice-2.0/debian/myspell-bg.info-myspell-ooo
--- bgoffice-2.0-old/debian/myspell-bg.info-myspell-ooo	1970-01-01 01:00:00.000000000 +0100
+++ bgoffice-2.0/debian/myspell-bg.info-myspell-ooo	2003-08-08 04:06:46.000000000 +0200
@@ -0,0 +1 @@
+DICT bg BG bg_BG
diff -urN bgoffice-2.0-old/debian/myspell-bg.install bgoffice-2.0/debian/myspell-bg.install
--- bgoffice-2.0-old/debian/myspell-bg.install	1970-01-01 01:00:00.000000000 +0100
+++ bgoffice-2.0/debian/myspell-bg.install	2003-08-08 05:04:26.000000000 +0200
@@ -0,0 +1,3 @@
+bgoffice/bin/build_dictionaries/bg_BG.aff 	usr/share/myspell/dicts
+bgoffice/bin/build_dictionaries/bg_BG.dic 	usr/share/myspell/dicts
+
diff -urN bgoffice-2.0-old/debian/myspell-bg.links bgoffice-2.0/debian/myspell-bg.links
--- bgoffice-2.0-old/debian/myspell-bg.links	1970-01-01 01:00:00.000000000 +0100
+++ bgoffice-2.0/debian/myspell-bg.links	2003-08-08 05:22:58.000000000 +0200
@@ -0,0 +1,2 @@
+/usr/share/myspell/dicts/bg_BG.dic /usr/share/myspell/dicts/bg-BG.dic
+/usr/share/myspell/dicts/bg_BG.aff /usr/share/myspell/dicts/bg-BG.aff
diff -urN bgoffice-2.0-old/debian/myspell-bg.postinst bgoffice-2.0/debian/myspell-bg.postinst
--- bgoffice-2.0-old/debian/myspell-bg.postinst	1970-01-01 01:00:00.000000000 +0100
+++ bgoffice-2.0/debian/myspell-bg.postinst	2003-08-08 04:55:40.000000000 +0200
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+    configure)
+        update-openoffice-dicts
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff -urN bgoffice-2.0-old/debian/myspell-bg.postrm bgoffice-2.0/debian/myspell-bg.postrm
--- bgoffice-2.0-old/debian/myspell-bg.postrm	1970-01-01 01:00:00.000000000 +0100
+++ bgoffice-2.0/debian/myspell-bg.postrm	2003-08-08 04:55:49.000000000 +0200
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+       purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+        if [ "$1" = "remove" ]; then
+                update-openoffice-dicts
+	fi
+        ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+
+esac
+
+#DEBHELPER#
+
+exit 0
diff -urN bgoffice-2.0-old/debian/rules bgoffice-2.0/debian/rules
--- bgoffice-2.0-old/debian/rules	2003-08-08 04:12:54.000000000 +0200
+++ bgoffice-2.0/debian/rules	2003-08-18 23:04:55.000000000 +0200
@@ -56,12 +56,12 @@
 	install bgoffice/TODO debian/aspell-bg/usr/share/doc/aspell-bg/TODO.bgoffice
 	install aspell-bg/README debian/aspell-bg/usr/share/doc/aspell-bg/README
 	install aspell-bg/TODO debian/aspell-bg/usr/share/doc/aspell-bg/TODO
-	install -d debian/mybulgarian/usr/share/doc/mybulgarian
-	gzip -9 <OOo-spell-bg/ChangeLog >debian/mybulgarian/usr/share/doc/mybulgarian/changelog.OOo-spell-bg.gz
-	chmod 644 debian/mybulgarian/usr/share/doc/mybulgarian/changelog.OOo-spell-bg.gz
-	install bgoffice/README debian/mybulgarian/usr/share/doc/mybulgarian/README.bgoffice
+	install -d debian/myspell-bg/usr/share/doc/myspell-bg
+	gzip -9 <OOo-spell-bg/ChangeLog >debian/myspell-bg/usr/share/doc/myspell-bg/changelog.OOo-spell-bg.gz
+	chmod 644 debian/myspell-bg/usr/share/doc/myspell-bg/changelog.OOo-spell-bg.gz
+	install bgoffice/README debian/myspell-bg/usr/share/doc/myspell-bg/README.bgoffice
 	install bgoffice/TODO debian/aspell-bg/usr/share/doc/aspell-bg/TODO.bgoffice
-	install OOo-spell-bg/README debian/mybulgarian/usr/share/doc/mybulgarian/README
+	install OOo-spell-bg/README debian/myspell-bg/usr/share/doc/myspell-bg/README
 	install -d debian/ibulgarian/usr/share/doc/ibulgarian
 	install bgoffice/README debian/ibulgarian/usr/share/doc/ibulgarian/README.bgoffice
 	install bgoffice/TODO debian/ibulgarian/usr/share/doc/ibulgarian/TODO.bgoffice
@@ -69,6 +69,8 @@
 	install bgoffice/README debian/wbulgarian/usr/share/doc/wbulgarian/README.bgoffice
 	install bgoffice/TODO debian/wbulgarian/usr/share/doc/wbulgarian/TODO.bgoffice
 #	Installing dict-common stuff
+	install -m644 debian/myspell-bg.info-myspell-ooo \
+		debian/myspell-bg/usr/share/myspell/infos/ooo/myspell-bg
 	installdeb-wordlist --package=wbulgarian # calls internally dh_installdebconf
 	installdeb-ispell   --package=ibulgarian # calls internally dh_installdebconf
 

Attachment: pgpGbsxdXlQHz.pgp
Description: PGP signature


Reply to: