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

Bug#391104: Another patchset for rus-ispell [fixed]



On Wed, Oct 11, 2006 at 01:41:47PM +0200, Agustin Martin wrote:
> On Tue, Oct 10, 2006 at 08:30:27PM +0300, Martin-Éric Racine wrote:
> > On Tue, October 10, 2006 17:10, Stanislav Maslovski wrote:
> > > Look for the corrected package here http://users.tkk.fi/~stas/rus-ispell/
> > 
> > Many thanks for your help! I'll review the patches and attempt a build
> > tonight. If everything looks good, I'll upload immediately after.
> 
> Hi,
> 
> In case you still could not do this I am attaching a patch against current
> version in unstable including Stanislav patches and a couple more fixes,

Noticed just after sending previous mail. New patch attached with fixed
symlinks file,

-- 
Agustin
diff -u rus-ispell-0.99g3/debian/changelog rus-ispell-0.99g3/debian/changelog
--- rus-ispell-0.99g3/debian/changelog
+++ rus-ispell-0.99g3/debian/changelog
@@ -1,3 +1,16 @@
+rus-ispell (0.99g3-1.amd.2) unstable; urgency=low
+
+  * debian/rules:
+    - Use ispell wordlist for aspell wordlist (closes: #386577)
+    - Sort aspell wordlist as expected by aspell.
+    - Remove yo_subst.koi in clean target.
+  * russian.aff.koi:
+    - Fix buggy rule. Patch by Stanislav Maslovski (closes: #385403, #391856)
+  * debian/aspell-ru.links.
+    - Added new file, thanks to Stanislav Maslovski.
+
+ -- Agustin Martin Domingo <agmartin@debian.org>  Wed, 11 Oct 2006 13:45:46 +0200
+
 rus-ispell (0.99g3-1) unstable; urgency=low
 
   * New upstream release.
diff -u rus-ispell-0.99g3/debian/rules rus-ispell-0.99g3/debian/rules
--- rus-ispell-0.99g3/debian/rules
+++ rus-ispell-0.99g3/debian/rules
@@ -26,8 +26,7 @@
 	## Generate aspell dictionary.
 	# build-depends on aspell because of prezip.
 	cp $(LANG_COUNTRY).aff $(DICT_LANG)_affix.dat
-	cp $(LANG_COUNTRY).dic $(DICT_LANG).wl
-	prezip $(DICT_LANG).wl
+	cat $(ILANGUAGE).dict | LC_COLLATE=C sort -u | prezip > $(DICT_LANG).cwl
 	gzip $(DICT_LANG).cwl
 	touch $(DICT_LANG).rws
 	touch $(DICT_LANG).compat
@@ -36,7 +35,7 @@
 
 clean::
 	# Clean ispell files.
-	rm -f *.cnt *.hash *.stat
+	rm -f *.cnt *.hash *.stat yo_subst.koi
 	# Also delete aff and dict, since we build them here.
 	rm -f $(ILANGUAGE).aff $(ILANGUAGE).dict
 	# Clean myspell files.
only in patch2:
unchanged:
--- rus-ispell-0.99g3.orig/debian/aspell-ru.links
+++ rus-ispell-0.99g3/debian/aspell-ru.links
@@ -0,0 +1 @@
+/var/lib/aspell/ru.rws /usr/lib/aspell/ru.rws
only in patch2:
unchanged:
--- rus-ispell-0.99g3.orig/russian.aff.koi
+++ rus-ispell-0.99g3/russian.aff.koi
@@ -111,7 +111,7 @@
     ó ô é ó ø	>	-óôéóø,ìïóø	# ÐÌÅÓÔÉÓØ > ÐÌÅÌÏÓØ
     ó ô é ó ø	>	-óôéóø,ìéóø	# ÐÌÅÓÔÉÓØ > ÐÌÅÌÉÓØ
 #
-#y    ú ô é	>	-åúôé,³ú	# ×ÅÚÔÉ > ×£Ú
+#y    å ú ô é	>	-åúôé,³ú	# ×ÅÚÔÉ > ×£Ú
 #e    ú ô é	>	-úôé,ú		#
     ú ô é	>	-ôé,ìá		# ×ÅÚÔÉ > ×ÅÚÌÁ
     ú ô é	>	-ôé,ìé		# ×ÅÚÔÉ > ×ÅÚÌÉ

Reply to: