Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 379583 - www-apps/cgit-0.9.0.2: syntax-highlighting.sh does not work with app-text/highlight-3.5
Summary: www-apps/cgit-0.9.0.2: syntax-highlighting.sh does not work with app-text/hig...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lance Albertson (RETIRED)
URL:
Whiteboard:
Keywords:
: 382965 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-08-17 16:18 UTC by Small_Penguin
Modified: 2013-03-03 17:15 UTC (History)
4 users (show)

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


Attachments
cgit-0.9.0.2-highlight-3.3.patch (cgit-0.9.0.2-highlight-3.3.patch,531 bytes, patch)
2011-09-14 17:15 UTC, Alon Bar-Lev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Small_Penguin 2011-08-17 16:18:38 UTC
highlight from http://www.andre-simon.de/ does not seem to understand the -X option passed by syntax-highlighting.sh.

highlight -X
highlight: invalid option -- X
Try `highlight --help' for more information.

Therefore, the script should be changed to leave it out. I don't know what the option does, but it works (only) without. Maybe it is needed by an earlier version?

exec highlight --force -f -I -S $EXTENSION 2>/dev/null


Reproducible: Always

Steps to Reproduce:
highlight -X
highlight: invalid option -- X
Try `highlight --help' for more information.
Comment 1 Alon Bar-Lev 2011-09-14 17:15:36 UTC
Created attachment 286451 [details, diff]
cgit-0.9.0.2-highlight-3.3.patch
Comment 2 Mike Gilbert gentoo-dev 2011-09-16 04:02:34 UTC
*** Bug 382965 has been marked as a duplicate of this bug. ***
Comment 3 Alon Bar-Lev 2011-09-16 09:17:15 UTC
pva: can you please fix this one as well?
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2011-09-16 10:40:51 UTC
Alon, actually Nikoli maintains this package and I merely proxy his commits. Nikoli? :)
Comment 5 Nikoli 2011-09-16 10:51:15 UTC
Please report this bug upstream, i am currently using version 2.9 of app-text/highlight, will upgrade and try to reproduce soon. Now i do not have patch compatible with all versions of app-text/highlight from portage, do you?
Comment 6 Alon Bar-Lev 2011-09-16 11:05:09 UTC
(In reply to comment #5)
> Please report this bug upstream, i am currently using version 2.9 of
> app-text/highlight, will upgrade and try to reproduce soon. Now i do not have
> patch compatible with all versions of app-text/highlight from portage, do you?

Once <someone> marked highlight-3.3 as stable, other stable packages should be compatible, or explicit version dependency should be added to package.
Comment 8 Pacho Ramos gentoo-dev 2013-03-03 17:15:14 UTC
0.9.1 should include the fixes