Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 194462

Summary: x11-libs/gtksourceview-2 ebuild syntax highlighting
Product: Gentoo Linux Reporter: René 'Necoro' Neumann <gentoo>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild.lang
ebuild.lang
gentoo.lang

Description René 'Necoro' Neumann 2007-10-01 23:14:04 UTC
GtkSourceview is a GTK+-widget for syntax highlighting. It would be nice to have a language specification for the gentoo ebuilds provided.

As asked in bug #155350 comment #21 I open a new bug instead of using the old one.
Comment 1 René 'Necoro' Neumann 2007-10-01 23:16:09 UTC
Created attachment 132348 [details]
ebuild.lang

The ebuild.lang for gtksourceview-2.x

Note: I renamed it from gentoo.lang to ebuild.lang, as this is more specific. If there are plans to add highlighting for other gentoo specific files, we should use a new file.
Comment 2 René 'Necoro' Neumann 2007-10-02 17:28:53 UTC
Created attachment 132403 [details]
ebuild.lang

Small fix and also added support for eclasses
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-10-05 02:54:26 UTC
Hmm... The two should definitely be named the same thing...  I don't particularly care what they're named, but if this goes in as ebuild, then the other should also be renamed ebuild, to avoid confusion.
Comment 4 René 'Necoro' Neumann 2007-10-05 08:18:25 UTC
I don't care either ... I only wanted to be more correct ;) ... Leonardo wanted his lang file to also highlight other gentoo'ish stuff...

If you are going to rename this file, you need to rename some stuff in the *.lang file too...
Comment 5 René 'Necoro' Neumann 2007-10-10 21:15:51 UTC
Ok - I saw, that gtksourceview:2.0 now hit the tree. Would it be possible to get the lang file (either as ebuild.lang or as gentoo.lang) there into? This would ease certain tasks...

Thanks :)
Comment 6 René 'Necoro' Neumann 2007-10-10 21:18:21 UTC
Created attachment 133098 [details]
gentoo.lang

For your convenience: Here is the same lang file, but now named gentoo.lang (all changes needed in the lang file itself are done too).
Comment 7 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-10-24 01:38:59 UTC
Sorry, this dropped off my radar.  In portage now.