I'll attach an ebuild Axel
Created attachment 122561 [details] An ebuild for highlight-2.6.0 The attached ebuild slightly differs from the previous one, because * upstream's "makefile" has changed a little * I've added "nostrip" support (LDFLAGS='') * README_* files missed by "make install" are "dodoc"-ed now * "docs" are installed into "/usr/share/docs/${P}" (not just "/usr/share/doc/highlight") * the entire "docs" folder (including "examples") is now compressed Axel
Created attachment 122846 [details] An ebuild for highlight-2.6.1 Upstream (http://www.andre-simon.de/) pushed out a new release (2.6.1) which already incorporates parts of the adjustments I made in the ebuild. (Now) being aware of the fact that "highlight" is in "portage", the author put a link on his web page that points to highlight's entry in gentoo's online package database ... ... which is a little outdated (2.4.8) by now. Note that I would prefer to have the gentoo package maintainer's name listed and not mine. Cheers, Axel
Hello, is there anybody how cares about adding this to portage? Cheers, Axel
The ebuild's tested and it works fine. SGML guys, If you want you can add it to portage.
Well, meanwhile upstream has released 2.6.2. I'll give it a try and possibly post an updated ebuild ... Axel
In the meantime, highlight is available as 2.6.5. I've updated the attached ebuild and added two new "features": first a patch for filetypes.conf to have .ebuild and .eclass files recognized as sh syntax. second, a env.d file to use highlight as LESSCOLORIZER if lesscolorizer useflag is set (it produces much better highlighting than code2color). If someone could change the Summary to -2.6.5 and URL to http://www.andre-simon.de/ please, I don't have sufficient rights.
Created attachment 134795 [details] ebuild for highlight-2.6.5
Created attachment 134797 [details, diff] FILESDIR: patch for filetypes.conf to recognize ebuild/eclass as sh syntax
Created attachment 134798 [details] FILESDIR: env.d file to use highlight as colorizer for lesspipe.sh
Leaving this bug open for ebuild/eclass syntax enhancement. *highlight-2.6.9 (04 May 2008) 04 May 2008; Samuli Suominen <drac@gentoo.org> +files/highlight-2.6.9-asneeded.patch, +files/highlight-2.6.9-gcc43.patch, +highlight-2.6.9.ebuild: Version bump with GCC 4.3 and -Wl,--as-needed patch by Peter Alfredsen.
(In reply to comment #8) > Created an attachment (id=134797) [edit] > FILESDIR: patch for filetypes.conf to recognize ebuild/eclass as sh syntax > This doesn't work, highlight-gui (in 2.6.9) just complains about missing ebuild.lang or eclass.lang file with the modification.. Closing as FIXED, since highlight is bumped, reopen if you have a working patch.
(In reply to comment #11) > (In reply to comment #8) > > Created an attachment (id=134797) [edit] > > FILESDIR: patch for filetypes.conf to recognize ebuild/eclass as sh syntax > > > > This doesn't work, highlight-gui (in 2.6.9) just complains about missing > ebuild.lang or eclass.lang file with the modification.. > > Closing as FIXED, since highlight is bumped, reopen if you have a working > patch. > This works for me in both highlight and highlight-gui with 2.6.10 (not sure if it did before).