Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157240 - app-vim/vim-spell-pt ebuild
Summary: app-vim/vim-spell-pt ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard: sunrise suggested
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-12-05 09:27 UTC by hmbr
Modified: 2010-03-12 00:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
vim-spell-pt ebuild (vim-spell-pt-20061205.ebuild,363 bytes, text/plain)
2006-12-05 09:27 UTC, hmbr
Details
distfile script (vim-spell-pt.sh,311 bytes, text/plain)
2006-12-05 09:28 UTC, hmbr
Details
binary .spl files for pt_PT spell checking in utf-8 and latin1 charsets (vim-spell-pt-20080320.tar.bz2,201.70 KB, application/octet-stream)
2008-05-16 11:42 UTC, algol
Details
script that creates distfile (make-distfile_vim-spell-pt.sh,998 bytes, text/plain)
2008-05-16 15:01 UTC, algol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hmbr 2006-12-05 09:27:06 UTC
vim spell for portuguese

script for distfile and ebuild in attachment
Comment 1 hmbr 2006-12-05 09:27:54 UTC
Created attachment 103399 [details]
vim-spell-pt ebuild
Comment 2 hmbr 2006-12-05 09:28:49 UTC
Created attachment 103400 [details]
distfile script
Comment 3 hmbr 2006-12-05 09:30:11 UTC
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=""
Comment 4 algol 2008-05-16 11:40:28 UTC
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
Comment 5 algol 2008-05-16 11:42:12 UTC
Created attachment 153317 [details]
binary .spl files for pt_PT spell checking in utf-8 and latin1 charsets
Comment 6 algol 2008-05-16 15:01:14 UTC
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.
Comment 7 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-03-28 01:56:32 UTC
(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
Comment 8 Angelo Arrifano (RETIRED) gentoo-dev 2009-06-12 16:46:28 UTC
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.
Comment 9 Denilson Sá Maia 2009-06-13 02:46:58 UTC
(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.
Comment 10 Dror Levin (RETIRED) gentoo-dev 2010-03-12 00:11:57 UTC
Added to tree (although I don't speak Portuguese). Sorry it took so long.