Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37560445
en ru br
Репозитории ALT

Группа :: Работа с текстами
Пакет: hunspell-ga

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: ispell-gaeilge-4.2-buildhunspell.patch
Скачать


diff -ru ispell-gaeilge-4.5/makefile ispell-gaeilge-4.5/makefile
--- ispell-gaeilge-4.5/makefile	2010-07-31 16:21:50.000000000 +0100
+++ ispell-gaeilge-4.5/makefile	2010-07-31 16:22:04.000000000 +0100
@@ -18,17 +18,15 @@
 ALTAFFIXFILE=gaeilgemor.aff
 INSTALL_DATA=$(INSTALL) -m 444
 
-SORT=/usr/bin/sort -u
+SORT=sort -u
 
-hashtable: $(INSTALLATION).hash
-
-all: gaeilge.hash gaeilgelit.hash gaeilgemor.hash
+all: ga_IE.dic
 
 # grep -v filters out Malmц╤, Sцёo, LC_ALL=C needed!
-gaeilge.hash: $(RAWWORDS) $(AFFIXFILE) $(PERSONAL)
+ga_IE.dic: $(RAWWORDS) $(AFFIXFILE) $(PERSONAL)
 	LC_ALL=C $(SORT) $(RAWWORDS) $(PERSONAL) | LC_ALL=C grep -v "[^'a-zA-Zц║ц╘ц╜цЁц╨ц│ц┴ц█ц⌠ц /-]" | iconv -f utf8 -t iso-8859-1 > gaeilge.focail
-	iconv -f utf8 -t iso-8859-1 $(AFFIXFILE) > tempaff.txt
-	$(ISPELLBIN)/buildhash gaeilge.focail tempaff.txt gaeilge.hash
+	wc -l gaeilge.focail | cut -d ' ' -f 1 > ga_IE.dic
+	LC_ALL=C $(SORT) -f -t / --key 1,1 gaeilge.focail >> ga_IE.dic
 	rm -f gaeilge.focail tempaff.txt
 
 gaeilgelit.hash: $(RAWWORDS) $(LITWORDS) gaeilgelit.aff $(PERSONAL)
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin