On 2010/11/03 13:44, LEVAI Daniel wrote: > On Wed, Nov 03, 2010 at 11:24:23 +0000, Stuart Henderson wrote: > > On 2010/11/03 11:57, LEVAI Daniel wrote: > > > However, there are some warnings when loading the hungarian > > > spell files, because the dictionaries in the tree are very old. I've > > > tried to contact Martynas regarding this, but got no reply. The warnings > > > are harmless, but if this is blocking this hunspell update, then please > > > help me resolve this issue. I'm willing to post updates for the new > > > hungarian ispell dictionaries, but currently this is not possible, > > > because the dist files are on some self-maintained mirror. How can we > > > update this/these packages? > > > > Please post what you have for the dictionaries, there is probably > > someone who can mirror the distfiles. > I meant that the current port's Makefile contains some self-maintained > MASTER_SITES. Sorry, English is my second language :)
Ah I see what you mean now. Btw your English is considerably better than my Hungarian which is pretty much limited to "koszonom" and a terrible pronunciation of "megnezed a belyeggyujtemenyem" so this is fine :) > Anyway, I've attached the new port for magyarispell, which is the > Hungarian dictionary package. missing $OpenBSD$ line at the top, but also I wonder if it makes more sense to work it into the mozilla-dicts package.. Martynas are you around? what do you think? Index: Makefile =================================================================== RCS file: /cvs/ports/textproc/mozilla-dicts/Makefile,v retrieving revision 1.13 diff -u -p -r1.13 Makefile --- Makefile 11 Oct 2010 08:18:29 -0000 1.13 +++ Makefile 3 Nov 2010 14:56:04 -0000 @@ -9,6 +9,7 @@ V= 1.2 NAME= mozilla-dicts PKGNAME= ${NAME}-${V} REVISION= 0 +REVISION-hu= 1 CATEGORIES= textproc @@ -23,10 +24,11 @@ PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MASTER_SITES= http://openbsddistfiles.com/martynas/mozilla/dicts/${V}/ +MASTER_SITES0= ${MASTER_SITE_SOURCEFORGE:=magyarispell/} LANGUAGES= af ar be bg ca cs cy-GB da de-AT de-CH de-DE el-EN \ el en-AU en-CA en-GB en-ZA eo es-AR es-ES et eu fr \ - fy-NL ga-IE gl he hr hsb hu id is it ku la lt lv \ + fy-NL ga-IE gl he hr hsb id is it ku la lt lv \ nb-NO nl nn-NO pl pt-BR pt-PT ro ru sk sl sq sr \ sv-SE uk @@ -46,11 +48,17 @@ PKGNAME-$i= ${NAME}-$i-${V} COMMENT-$i= $i dictionary for Mozilla .endfor +MULTI_PACKAGES+=-hu +PKGNAME-hu= ${NAME}-hu-${V} +COMMENT-hu= hu dictionary for Mozilla +DISTFILES+= hu_HU-1.6.1.tar.gz:0 + do-extract: .for i in ${LANGUAGES} @${UNZIP} -oq ${FULLDISTDIR}/$i.xpi -d ${WRKDIR} \*.aff @${UNZIP} -oq ${FULLDISTDIR}/$i.xpi -d ${WRKDIR} \*.dic .endfor + @gzip -dc ${FULLDISTDIR}/hu_HU-1.6.1.tar.gz | tar xf - -C ${WRKDIR} do-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/mozilla-dicts @@ -58,5 +66,9 @@ do-install: ${PREFIX}/share/mozilla-dicts/ ${INSTALL_DATA} ${WRKDIR}/dictionaries/*.dic \ ${PREFIX}/share/mozilla-dicts/ + ${INSTALL_DATA} ${WRKDIR}/hu_HU-*/hu_HU.aff \ + ${PREFIX}/share/mozilla-dicts/hu-HU.aff + ${INSTALL_DATA} ${WRKDIR}/hu_HU-*/hu_HU.dic \ + ${PREFIX}/share/mozilla-dicts/hu-HU.dic .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /cvs/ports/textproc/mozilla-dicts/distinfo,v retrieving revision 1.2 diff -u -p -r1.2 distinfo --- distinfo 25 Sep 2008 21:13:48 -0000 1.2 +++ distinfo 3 Nov 2010 14:56:04 -0000 @@ -27,7 +27,7 @@ MD5 (mozilla-dicts-1.2/gl.xpi) = HEl/aS4 MD5 (mozilla-dicts-1.2/he.xpi) = e2scDma1md+mW1uqfON8eg== MD5 (mozilla-dicts-1.2/hr.xpi) = 348exwLm6P8yjVJR0p4+iA== MD5 (mozilla-dicts-1.2/hsb.xpi) = SizcG91uLhLZ5OEiyfnMhA== -MD5 (mozilla-dicts-1.2/hu.xpi) = nwMvanovTPUlxcmWwvlcJQ== +MD5 (mozilla-dicts-1.2/hu_HU-1.6.1.tar.gz) = AShndeNo4Tpdxvg5d/8Ylw== MD5 (mozilla-dicts-1.2/id.xpi) = XKazg+x6SU/WxckBiz4zAw== MD5 (mozilla-dicts-1.2/is.xpi) = 87QACsTqB+Ss7AcPgsJAWw== MD5 (mozilla-dicts-1.2/it.xpi) = yQkz7FSoW7d2Z/9PaaMtyA== @@ -78,7 +78,7 @@ RMD160 (mozilla-dicts-1.2/gl.xpi) = bLhH RMD160 (mozilla-dicts-1.2/he.xpi) = eBZlQ+oA2zBUHyyUDIE+OctDlU8= RMD160 (mozilla-dicts-1.2/hr.xpi) = ASzh4kPtJbf+T/RRVz4d5B1pZVU= RMD160 (mozilla-dicts-1.2/hsb.xpi) = olMU6cMWu4WTgH4O+g72Qr5jEBk= -RMD160 (mozilla-dicts-1.2/hu.xpi) = OZ3xeNK+eaKNzqXbEa4BCR50J+M= +RMD160 (mozilla-dicts-1.2/hu_HU-1.6.1.tar.gz) = rTcQemLNZXSF10VgNV/DFfyD3fo= RMD160 (mozilla-dicts-1.2/id.xpi) = ZzhJK4NmPMRrlG7K1Cg0rXAV3B0= RMD160 (mozilla-dicts-1.2/is.xpi) = 2pQ22BNUR1iPdqMxr2mBUlrfw7s= RMD160 (mozilla-dicts-1.2/it.xpi) = 1t0zYnQqpQ/R4I9+zaI6gUgxTZw= @@ -129,7 +129,7 @@ SHA1 (mozilla-dicts-1.2/gl.xpi) = 4RuFih SHA1 (mozilla-dicts-1.2/he.xpi) = urnf9Mo8de/GBuGmtW4wNaexlDE= SHA1 (mozilla-dicts-1.2/hr.xpi) = d58Vg1B/g1TiPWlu1Jra7KZZ2rI= SHA1 (mozilla-dicts-1.2/hsb.xpi) = kraT6Z92vTAeUKqNvJNdn/KEG2o= -SHA1 (mozilla-dicts-1.2/hu.xpi) = TKXAQO+EFLe01rwdCdDVaAY41O8= +SHA1 (mozilla-dicts-1.2/hu_HU-1.6.1.tar.gz) = POfocUx//TJbCqviZB2kq4wTvnI= SHA1 (mozilla-dicts-1.2/id.xpi) = iTbafOwpSYQQIp7ooPzTqeZQMI8= SHA1 (mozilla-dicts-1.2/is.xpi) = 1kEz0tVj3nSbZf3kfXGhdsB0ERM= SHA1 (mozilla-dicts-1.2/it.xpi) = cKxwc4W6AOOohWp6DvKBzeZv7GI= @@ -180,7 +180,7 @@ SHA256 (mozilla-dicts-1.2/gl.xpi) = G+hM SHA256 (mozilla-dicts-1.2/he.xpi) = VfFcL6ogu8rKBIesUoxLTRfMbQT8da0gmXhkQo4iEEg= SHA256 (mozilla-dicts-1.2/hr.xpi) = gm//GmYoJMHmAKjbIgHqJku0Aohe3HrcKmwj1uSEhD8= SHA256 (mozilla-dicts-1.2/hsb.xpi) = UPp6CksthNdVV5qLEKhNlSTmeCwBNH/CTuAc588JHDM= -SHA256 (mozilla-dicts-1.2/hu.xpi) = 4af0m3T5ig6Rt8QTgLDFvlaLxs09TG9oSQBF1VhoLVw= +SHA256 (mozilla-dicts-1.2/hu_HU-1.6.1.tar.gz) = Chq0Zyv3WswcKcSz+8q10Qt4g7oef8JegFTSIJ8DUsI= SHA256 (mozilla-dicts-1.2/id.xpi) = Kq3larSSmwm4G9uZ8nojL3fvKa2liUcCT6qNF3wokOk= SHA256 (mozilla-dicts-1.2/is.xpi) = TtG7Wq2dXrgbMVk8Mim+FhwbNaVwrUcmjEstIo/FV98= SHA256 (mozilla-dicts-1.2/it.xpi) = YRX53HzVhX8Rk+lkLONdqLItW1tdft2X3hrluXa7+wI= @@ -231,7 +231,7 @@ SIZE (mozilla-dicts-1.2/gl.xpi) = 220112 SIZE (mozilla-dicts-1.2/he.xpi) = 821321 SIZE (mozilla-dicts-1.2/hr.xpi) = 741883 SIZE (mozilla-dicts-1.2/hsb.xpi) = 171607 -SIZE (mozilla-dicts-1.2/hu.xpi) = 1046920 +SIZE (mozilla-dicts-1.2/hu_HU-1.6.1.tar.gz) = 730641 SIZE (mozilla-dicts-1.2/id.xpi) = 141914 SIZE (mozilla-dicts-1.2/is.xpi) = 669626 SIZE (mozilla-dicts-1.2/it.xpi) = 393450