Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182624 - app-text/highlight - version bump (and req. for ebuild/eclass highlight)
Summary: app-text/highlight - version bump (and req. for ebuild/eclass highlight)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo SGML project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-20 00:11 UTC by Axel Dyks
Modified: 2008-05-24 11:20 UTC (History)
3 users (show)

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


Attachments
An ebuild for highlight-2.6.0 (highlight-2.6.0.ebuild,902 bytes, text/plain)
2007-06-20 00:19 UTC, Axel Dyks
Details
An ebuild for highlight-2.6.1 (highlight-2.6.1.ebuild,892 bytes, text/plain)
2007-06-23 02:00 UTC, Axel Dyks
Details
ebuild for highlight-2.6.5 (highlight-2.6.5.ebuild,1.13 KB, text/plain)
2007-10-31 14:12 UTC, Bernhard Frauendienst
Details
FILESDIR: patch for filetypes.conf to recognize ebuild/eclass as sh syntax (highlight-2.6.5-filetypes-gentoo.patch,358 bytes, patch)
2007-10-31 14:12 UTC, Bernhard Frauendienst
Details | Diff
FILESDIR: env.d file to use highlight as colorizer for lesspipe.sh (highlight.envd,62 bytes, text/plain)
2007-10-31 14:13 UTC, Bernhard Frauendienst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Dyks 2007-06-20 00:11:01 UTC
I'll attach an ebuild
Axel
Comment 1 Axel Dyks 2007-06-20 00:19:18 UTC
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
Comment 2 Axel Dyks 2007-06-23 02:00:43 UTC
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
Comment 3 Axel Dyks 2007-07-04 06:32:53 UTC
Hello,

is there anybody how cares about adding this to portage?

Cheers,
Axel
 
Comment 4 Davide Italiano (RETIRED) gentoo-dev 2007-08-21 23:21:54 UTC
The ebuild's tested and it works fine. 
SGML guys, If you want you can add it to portage.
Comment 5 Axel Dyks 2007-08-22 21:33:14 UTC
Well, meanwhile upstream has released 2.6.2.
I'll give it a try and possibly post an updated ebuild ...

Axel
Comment 6 Bernhard Frauendienst 2007-10-31 14:10:53 UTC
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.
Comment 7 Bernhard Frauendienst 2007-10-31 14:12:06 UTC
Created attachment 134795 [details]
ebuild for highlight-2.6.5
Comment 8 Bernhard Frauendienst 2007-10-31 14:12:57 UTC
Created attachment 134797 [details, diff]
FILESDIR: patch for filetypes.conf to recognize ebuild/eclass as sh syntax
Comment 9 Bernhard Frauendienst 2007-10-31 14:13:31 UTC
Created attachment 134798 [details]
FILESDIR: env.d file to use highlight as colorizer for lesspipe.sh
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2008-05-05 03:37:17 UTC
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.
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2008-05-14 18:32:15 UTC
(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.
Comment 12 Bernhard Frauendienst 2008-05-24 11:20:25 UTC
(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).