GNOME Bugzilla – Bug 643283
Update highlight version to support Vala language
Last modified: 2011-04-26 10:04:25 UTC
Hi, currently Vala files are not highlighted in git, I presume it's because highlight[1] version is old, according to this page[2] vala highlight support was introduced in highlight 2.6-14 (dated 21-October-2008). It would be cool to update and support Vala language.. [1] http://www.andre-simon.de/doku/highlight/en/highlight.html [2] http://www.andre-simon.de/doku/highlight/en/highlight_changelog.html
If you file a bug with EPEL5 and they upgrade highlight, we'll have it automatically. For maintenance purposes, not willing to make a local package for this. $ rpm -q highlight -i Name : highlight Relocations: (not relocatable) Version : 2.6.12 Vendor: Fedora Project <http://bugzilla.redhat.com/bugzilla> Release : 2.el5 Build Date: Mon 22 Sep 2008 04:20:55 PM UTC Install Date: Mon 21 Dec 2009 02:39:34 PM UTC Build Host: xenbuilder2.fedora.redhat.com Group : Development/Tools Source RPM: highlight-2.6.12-2.el5.src.rpm Size : 1404903 License: GPLv2 Signature : DSA/SHA1, Mon 22 Sep 2008 06:18:59 PM UTC, Key ID 119cc036217521f6 Packager : Fedora Project <http://bugzilla.redhat.com/bugzilla> URL : http://www.andre-simon.de/ Summary : Universal source code to formatted text converter Description : A utility that converts sourcecode to HTML, XHTML, RTF, LaTeX, TeX, XSL-FO, XML or ANSI escape sequences with syntax highlighting. It supports several programming and markup languages. Language descriptions are configurable and support regular expressions. The utility offers indentation and reformatting capabilities. It is easily possible to create new language definitions and colour themes.
(In reply to comment #1) > If you file a bug with EPEL5 and they upgrade highlight, we'll have it > automatically. For maintenance purposes, not willing to make a local package > for this. Done. https://bugzilla.redhat.com/show_bug.cgi?id=680467
It seems upstream vala package has been updated[1] in EPEL5 so please take a look at it when you have the time.. [1] https://bugzilla.redhat.com/show_bug.cgi?id=680467#c3
installed automatically $ rpm -qi highlight Name : highlight Relocations: (not relocatable) Version : 2.6.14 Vendor: Fedora Project Release : 1.el5 Build Date: Tue 15 Mar 2011 07:58:29 PM UTC Install Date: Tue 26 Apr 2011 05:24:17 AM UTC Build Host: x86-20.phx2.fedoraproject.org Group : Development/Tools Source RPM: highlight-2.6.14-1.el5.src.rpm Size : 1435409 License: GPLv2 Signature : DSA/SHA1, Wed 16 Mar 2011 04:15:06 PM UTC, Key ID 119cc036217521f6 Packager : Fedora Project URL : http://www.andre-simon.de/ Summary : Universal source code to formatted text converter Description : A utility that converts sourcecode to HTML, XHTML, RTF, LaTeX, TeX, XSL-FO, XML or ANSI escape sequences with syntax highlighting. It supports several programming and markup languages. Language descriptions are configurable and support regular expressions. The utility offers indentation and reformatting capabilities. It is easily possible to create new language definitions and colour themes.