The current version of x11-libs/gtksourceview/files/2.0/gentoo.lang is not applicable for 4.6.1. Gedit does not highlight *.ebuild/*.eclass files content. Reproducible: Always
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e990aec230b23ed3652c2c740c719fae1229622 commit 8e990aec230b23ed3652c2c740c719fae1229622 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2020-08-31 07:00:12 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2020-08-31 07:00:12 +0000 x11-libs/gtksourceview: carry over stable for ebuild highlight fix Bug: https://bugs.gentoo.org/730766 Package-Manager: Portage-2.3.103, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <leio@gentoo.org> x11-libs/gtksourceview/gtksourceview-4.6.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06334c394e4dc5827778387e5086813af9527b39 commit 06334c394e4dc5827778387e5086813af9527b39 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2020-08-31 06:54:10 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2020-08-31 06:54:22 +0000 x11-libs/gtksourceview: quick-fix gentoo syntax highlighting This makes it not error and restore some basic highlighting for ebuild and eclass files, though still does not update to all the other changes in gtksourceview - for example not all built-in commands might be updated, as the bare minimum was done, while a full recheck against upstream sh.lang is really needed. Bug: https://bugs.gentoo.org/730766 Package-Manager: Portage-2.3.103, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <leio@gentoo.org> x11-libs/gtksourceview/files/4.6-gentoo.lang | 111 +++++++++++++++++++++ .../gtksourceview/gtksourceview-4.6.1-r1.ebuild | 68 +++++++++++++ 2 files changed, 179 insertions(+)
it's broken again with the recent gnome stable update :(
It would be nice to have a volunteer to clean this up and maybe even upstream it.
The old and working ebuild is gone, I can't even see what the problem actually is.
(In reply to tt_1 from comment #4) > The old and working ebuild is gone, I can't even see what the problem > actually is. Is anything here actually affected by the ebuild? I don't think it is, but in any case... do you know how to use git? Old ebuilds aren't permanently inaccessible once they're removed. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dee9527dd4dccdd806f41155e73827d4c39af5a7 looks like the only change to 4.6-gentoo.lang. Can you try reverting that?
hi, reverting it doesn't bring back the old behavior in gedit for me.
The newly broken gentoo.lang file for gedit cannot be fixed via gtksourceview, because it now depends on gui-libs/libgedit-gtksourceview instead.