diff -u myspell-ro-20070502/debian/rules myspell-ro-20070502/debian/rules --- myspell-ro-20070502/debian/rules +++ myspell-ro-20070502/debian/rules @@ -2,2 +2,3 @@ - + include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk diff -u myspell-ro-20070502/debian/changelog myspell-ro-20070502/debian/changelog --- myspell-ro-20070502/debian/changelog +++ myspell-ro-20070502/debian/changelog @@ -1,3 +1,14 @@ +myspell-ro (20070502-0ubuntu2) hardy; urgency=low + + * Added "myspell-ro-comma" package that uses s/t-with-comma-below + instead of the -with-cedilla versions. This is more correct + but less well supported, so the user has to decide and install + the correct package manually. + * The new package uses the exact same dictionary as until now, + using automatic translation to build the new version. + + -- Bogdan Butnaru Tue, 08 Apr 2008 22:21:53 +0200 + myspell-ro (20070502-0ubuntu1) gutsy; urgency=low * Update to a more complete upstream version only in patch2: unchanged: --- myspell-ro-20070502.orig/debian/patches/add-comma-variant.patch +++ myspell-ro-20070502/debian/patches/add-comma-variant.patch @@ -0,0 +1,145 @@ +diff -Nur -x '*.orig' -x '*~' myspell-ro-20070502/debian/dirs myspell-ro-20070502.new/debian/dirs +--- myspell-ro-20070502/debian/dirs 2008-04-08 22:05:33.000000000 +0200 ++++ myspell-ro-20070502.new/debian/dirs 1970-01-01 01:00:00.000000000 +0100 +@@ -1,2 +0,0 @@ +-/usr/share/myspell/dicts/ +-/usr/share/myspell/infos/ooo/ +diff -Nur -x '*.orig' -x '*~' myspell-ro-20070502/debian/docs myspell-ro-20070502.new/debian/docs +--- myspell-ro-20070502/debian/docs 2008-04-08 22:05:33.000000000 +0200 ++++ myspell-ro-20070502.new/debian/docs 1970-01-01 01:00:00.000000000 +0100 +@@ -1 +0,0 @@ +-README_ro_RO.txt +diff -Nur -x '*.orig' -x '*~' myspell-ro-20070502/debian/install myspell-ro-20070502.new/debian/install +--- myspell-ro-20070502/debian/install 2008-04-08 22:05:33.000000000 +0200 ++++ myspell-ro-20070502.new/debian/install 1970-01-01 01:00:00.000000000 +0100 +@@ -1,3 +0,0 @@ +-ro_RO.aff /usr/share/myspell/dicts/ +-ro_RO.dic /usr/share/myspell/dicts/ +-myspell-ro /usr/share/myspell/infos/ooo/ +diff -Nur -x '*.orig' -x '*~' myspell-ro-20070502/debian/links myspell-ro-20070502.new/debian/links +--- myspell-ro-20070502/debian/links 2008-04-08 22:05:33.000000000 +0200 ++++ myspell-ro-20070502.new/debian/links 1970-01-01 01:00:00.000000000 +0100 +@@ -1,2 +0,0 @@ +-/usr/share/myspell/dicts/ro_RO.aff /usr/share/myspell/dicts/ro-RO.aff +-/usr/share/myspell/dicts/ro_RO.dic /usr/share/myspell/dicts/ro-RO.dic +diff -Nur -x '*.orig' -x '*~' myspell-ro-20070502/debian/myspell-ro-comma.dirs myspell-ro-20070502.new/debian/myspell-ro-comma.dirs +--- myspell-ro-20070502/debian/myspell-ro-comma.dirs 1970-01-01 01:00:00.000000000 +0100 ++++ myspell-ro-20070502.new/debian/myspell-ro-comma.dirs 2008-04-08 22:20:56.000000000 +0200 +@@ -0,0 +1,2 @@ ++/usr/share/myspell/dicts/ ++/usr/share/myspell/infos/ooo/ +diff -Nur -x '*.orig' -x '*~' myspell-ro-20070502/debian/myspell-ro-comma.docs myspell-ro-20070502.new/debian/myspell-ro-comma.docs +--- myspell-ro-20070502/debian/myspell-ro-comma.docs 1970-01-01 01:00:00.000000000 +0100 ++++ myspell-ro-20070502.new/debian/myspell-ro-comma.docs 2008-04-08 22:20:56.000000000 +0200 +@@ -0,0 +1 @@ ++README_ro_RO.txt +diff -Nur -x '*.orig' -x '*~' myspell-ro-20070502/debian/myspell-ro-comma.install myspell-ro-20070502.new/debian/myspell-ro-comma.install +--- myspell-ro-20070502/debian/myspell-ro-comma.install 1970-01-01 01:00:00.000000000 +0100 ++++ myspell-ro-20070502.new/debian/myspell-ro-comma.install 2008-04-08 22:20:56.000000000 +0200 +@@ -0,0 +1 @@ ++myspell-ro /usr/share/myspell/infos/ooo/ +diff -Nur -x '*.orig' -x '*~' myspell-ro-20070502/debian/myspell-ro-comma.links myspell-ro-20070502.new/debian/myspell-ro-comma.links +--- myspell-ro-20070502/debian/myspell-ro-comma.links 1970-01-01 01:00:00.000000000 +0100 ++++ myspell-ro-20070502.new/debian/myspell-ro-comma.links 2008-04-08 22:20:56.000000000 +0200 +@@ -0,0 +1,2 @@ ++/usr/share/myspell/dicts/ro_RO.aff /usr/share/myspell/dicts/ro-RO.aff ++/usr/share/myspell/dicts/ro_RO.dic /usr/share/myspell/dicts/ro-RO.dic +diff -Nur -x '*.orig' -x '*~' myspell-ro-20070502/debian/myspell-ro-comma.postinst myspell-ro-20070502.new/debian/myspell-ro-comma.postinst +--- myspell-ro-20070502/debian/myspell-ro-comma.postinst 1970-01-01 01:00:00.000000000 +0100 ++++ myspell-ro-20070502.new/debian/myspell-ro-comma.postinst 2008-04-08 22:20:56.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 -Nur -x '*.orig' -x '*~' myspell-ro-20070502/debian/myspell-ro-comma.postrm myspell-ro-20070502.new/debian/myspell-ro-comma.postrm +--- myspell-ro-20070502/debian/myspell-ro-comma.postrm 1970-01-01 01:00:00.000000000 +0100 ++++ myspell-ro-20070502.new/debian/myspell-ro-comma.postrm 2008-04-08 22:20:56.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 -Nur -x '*.orig' -x '*~' myspell-ro-20070502/debian/myspell-ro.dirs myspell-ro-20070502.new/debian/myspell-ro.dirs +--- myspell-ro-20070502/debian/myspell-ro.dirs 1970-01-01 01:00:00.000000000 +0100 ++++ myspell-ro-20070502.new/debian/myspell-ro.dirs 2008-04-08 22:20:56.000000000 +0200 +@@ -0,0 +1,2 @@ ++/usr/share/myspell/dicts/ ++/usr/share/myspell/infos/ooo/ +diff -Nur -x '*.orig' -x '*~' myspell-ro-20070502/debian/myspell-ro.docs myspell-ro-20070502.new/debian/myspell-ro.docs +--- myspell-ro-20070502/debian/myspell-ro.docs 1970-01-01 01:00:00.000000000 +0100 ++++ myspell-ro-20070502.new/debian/myspell-ro.docs 2008-04-08 22:20:56.000000000 +0200 +@@ -0,0 +1 @@ ++README_ro_RO.txt +diff -Nur -x '*.orig' -x '*~' myspell-ro-20070502/debian/myspell-ro.install myspell-ro-20070502.new/debian/myspell-ro.install +--- myspell-ro-20070502/debian/myspell-ro.install 1970-01-01 01:00:00.000000000 +0100 ++++ myspell-ro-20070502.new/debian/myspell-ro.install 2008-04-08 22:20:56.000000000 +0200 +@@ -0,0 +1,3 @@ ++ro_RO.aff /usr/share/myspell/dicts/ ++ro_RO.dic /usr/share/myspell/dicts/ ++myspell-ro /usr/share/myspell/infos/ooo/ +diff -Nur -x '*.orig' -x '*~' myspell-ro-20070502/debian/myspell-ro.links myspell-ro-20070502.new/debian/myspell-ro.links +--- myspell-ro-20070502/debian/myspell-ro.links 1970-01-01 01:00:00.000000000 +0100 ++++ myspell-ro-20070502.new/debian/myspell-ro.links 2008-04-08 22:20:56.000000000 +0200 +@@ -0,0 +1,2 @@ ++/usr/share/myspell/dicts/ro_RO.aff /usr/share/myspell/dicts/ro-RO.aff ++/usr/share/myspell/dicts/ro_RO.dic /usr/share/myspell/dicts/ro-RO.dic +diff -Nur -x '*.orig' -x '*~' myspell-ro-20070502/debian/rules myspell-ro-20070502.new/debian/rules +--- myspell-ro-20070502/debian/rules 2008-04-08 22:10:10.000000000 +0200 ++++ myspell-ro-20070502.new/debian/rules 2008-04-08 22:20:56.000000000 +0200 +@@ -2,3 +2,16 @@ + + include /usr/share/cdbs/1/rules/debhelper.mk + include /usr/share/cdbs/1/rules/simple-patchsys.mk ++ ++build/myspell-ro-comma:: ++ iconv --from-code ISO8859-2 --to-code UTF-8 ro_RO.aff \ ++ | sed --expression="1s/.*/SET UTF-8/" --e="s/ş/ș/g" --e="s/ţ/ț/g" --e="s/Ş/Ș/g" --e="s/Ţ/Ț/g" > ro_RO_comma.aff ++ iconv --from-code ISO8859-2 --to-code UTF-8 ro_RO.dic \ ++ | sed --expression="s/ş/ș/g" --e="s/ţ/ț/g" --e="s/Ş/Ș/g" --e="s/Ţ/Ț/g" > ro_RO_comma.dic ++ ++install/myspell-ro-comma:: ++ cp ro_RO_comma.aff debian/myspell-ro-comma/usr/share/myspell/dicts/ro_RO.aff ++ cp ro_RO_comma.dic debian/myspell-ro-comma/usr/share/myspell/dicts/ro_RO.dic ++ ++clean:: ++ rm -f ro_RO_comma.aff ro_RO_comma.dic +diff -Nur -x '*.orig' -x '*~' myspell-ro-20070502/README_ro_RO_comma.txt myspell-ro-20070502.new/README_ro_RO_comma.txt +--- myspell-ro-20070502/README_ro_RO_comma.txt 1970-01-01 01:00:00.000000000 +0100 ++++ myspell-ro-20070502.new/README_ro_RO_comma.txt 2008-04-08 22:20:56.000000000 +0200 +@@ -0,0 +1 @@ ++The -comma version of the package has the dictionary encoded in UTF-8, with s/t with cedilla replaced with the (correct but less-widely supported) with-comma-below versions. (This dictionary is generated at build time from the ISO-8859-2 version.)