vim spell for portuguese script for distfile and ebuild in attachment
Created attachment 103399 [details] vim-spell-pt ebuild
Created attachment 103400 [details] distfile script
Comment on attachment 103399 [details] vim-spell-pt ebuild # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 VIM_SPELL_LANGUAGE="Portuguese" inherit vim-spell LICENSE="BSD LGPL-2.1 public-domain" KEYWORDS="~amd64 ~ppc ~sparc x86" IUSE=""
Hi This ebuild is not in portage anymore. I've downloaded the mysell .aff and .dic files from: http://natura.di.uminho.pt/download/sources/Dictionaries/myspell/myspell.pt-latest.tar.gz and applyed the .diff file from: http://ftp.vim.org/pub/vim/runtime/spell/pt/pt_PT.diff Then I've made an archive with the spl files for pt_PT with UTF-8 and latin1 charsets. It installs nicely in my system and the spell-checker is working. Do you think it could be released in portage? RMatos
Created attachment 153317 [details] binary .spl files for pt_PT spell checking in utf-8 and latin1 charsets
Created attachment 153347 [details] script that creates distfile - downloads pt_PT MYSPELL dictionary files; - downloads VIM patch files for MYSPELL dictionary files; - applies the patch; - converts .aff to .latin1.spl and utf-8.spl; - creates the archive; - removes temp files.
(this is an automated message based on filtering criteria that matched this bug) 'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached to this bug. This bug is assigned to maintainer-wanted which means that it is not in the main tree. Heuristics show that no Gentoo developer has commented on your ebuild. Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
I did install app-dicts/myspell-pt then opened up vim and typed :mkspell ~/.vim/spell/pt /usr/share/myspell/pt_PT this will generate a vim spell file for the current user. To choose the language just type :set spelllang=pt Then enable spell checking :set spell Since these steps are easy enough, I don't think a vim-spell-* package is really needed.
(In reply to comment #8) > Since these steps are easy enough, I don't think a vim-spell-* package is > really needed. I disagree. As you said, it installs the dictionary to the user directory. Thus, with your approach... 1. Each user must do the same, which also means wasted disk space, since each user will have its own copy. 2. Since each user has its own copy, they won't be updated with the system dictionaries. 3. The spell checker won't "just work", as it does for languages with vim-spell-?? ebuild. (I can just run ":set spell spelllang=en" and it works for me, no extra steps) So, yes, I still think we need vim-spell-?? packages in portage.
Added to tree (although I don't speak Portuguese). Sorry it took so long.