Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182236 - Ada support for ctags
Summary: Ada support for ctags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-16 17:26 UTC by George Shapovalov (RETIRED)
Modified: 2007-06-26 20:20 UTC (History)
0 users

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


Attachments
ctags-ada.patch (ctags-ada.patch,756 bytes, patch)
2007-06-16 17:28 UTC, George Shapovalov (RETIRED)
Details | Diff
ctags-5.6-r1.ebuild.diff - diff against the 5.6-r1 ebuild (ctags-5.6-r1.ebuild.diff,943 bytes, patch)
2007-06-16 17:38 UTC, George Shapovalov (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description George Shapovalov (RETIRED) gentoo-dev 2007-06-16 17:26:58 UTC
There is a ctags-ada-mode that adds Ada support to ctags. I will next attach changes to the ebuild and the patch that adds the Ada support.
Comment 1 George Shapovalov (RETIRED) gentoo-dev 2007-06-16 17:28:41 UTC
Created attachment 122244 [details, diff]
ctags-ada.patch

the patch needed by the modified ebuild (next attachment) to add Ada support.
Comment 2 George Shapovalov (RETIRED) gentoo-dev 2007-06-16 17:38:02 UTC
Created attachment 122245 [details, diff]
ctags-5.6-r1.ebuild.diff - diff against the 5.6-r1 ebuild

The Ada support is just one extra source file - ada.c. The changes are pretty basic and the source is on sourceforge. Tested on amd64, however should work on all arches. In the attached (diff of the) ebuild Ada support is conditional on ada flag, however as the change is really small this may be made unconditional. 

The use flag (if kept) well need to be added to use.local.desc, as there is only one more package that uses it atm. There were talks about some other package using ada flag (may be even somebody asked me on IRC), but I don't see this done yet. Correspondingly I don't expect that ada flag may become global some time soon (Ada compilers and libs are supported via eselect and did not need such flag so far).

George
Comment 3 Mike Kelly (RETIRED) gentoo-dev 2007-06-23 16:37:12 UTC
Assuming it compiles right and doesn't break vim, go ahead and commit this.
Comment 4 George Shapovalov (RETIRED) gentoo-dev 2007-06-26 20:20:15 UTC
(In reply to comment #3)
> Assuming it compiles right and doesn't break vim, go ahead and commit this.
Well, of course it compiles and does not break vim :). Actually, I have been using this since about a week before I submitted this, and it even works :) (that is, tags Ada sources).
I have committed the change. Since this provides new functionality and the package is small I issued a revbump (5.6-r2).

George