Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811075 - app-editors/gedit-40.1 requires x11-libs/gtksourceview[vala]
Summary: app-editors/gedit-40.1 requires x11-libs/gtksourceview[vala]
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-30 05:17 UTC by Ryoto Yayame
Modified: 2021-08-31 00:57 UTC (History)
0 users

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


Attachments
Gedit ebuild patch (gedit-40.1.ebuild_gtksourceview_vala_depend.patch,483 bytes, patch)
2021-08-30 05:18 UTC, Ryoto Yayame
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryoto Yayame 2021-08-30 05:17:39 UTC
If app-editors/gedit-40.1 (which now apparently requires Vala) is emerged with x11-libs/gtksourceview[-vala]:

[146/147] /usr/bin/vapigen-0.48 --quiet --library=gedit --directory=/var/tmp/portage/app-editors/gedit-40.1/work/gedit-40.1-build/gedit --pkg=gio-2.0 --pkg=atk --pkg=gdk-3.0 --pkg=gtk+-3.0 --pkg=gtksourceview-4 --metadatadir=/var/tmp/portage/app-editors/gedit-40.1/work/gedit-40.1/gedit /var/tmp/portage/app-editors/gedit-40.1/work/gedit-40.1-build/gedit/Gedit-3.0.gir
^[[31mFAILED: ^[[0mgedit/gedit.vapi
/usr/bin/vapigen-0.48 --quiet --library=gedit --directory=/var/tmp/portage/app-editors/gedit-40.1/work/gedit-40.1-build/gedit --pkg=gio-2.0 --pkg=atk --pkg=gdk-3.0 --pkg=gtk+-3.0 --pkg=gtksourceview-4 --metadatadir=/var/tmp/portage/app-editors/gedit-40.1/work/gedit-40.1/gedit /var/tmp/portage/app-editors/gedit-40.1/work/gedit-40.1-build/gedit/Gedit-3.0.gir
error: Package `gtksourceview-4' not found in specified Vala API directories or GObject-Introspection GIR directories
[147/147] /usr/bin/g-ir-compiler gedit/Gedit-3.0.gir --output gedit/Gedit-3.0.typelib --includedir=/usr/share/gir-1.0
ninja: build stopped: subcommand failed.
* ERROR: app-editors/gedit-40.1::gentoo failed (compile phase):
*   compile failed


x11-libs/gtksourceview-4.8.1 ebuild has IUSE="+vala", but that's of course not enough.

app-editors/gedit-40.1 ebuild must have:

DEPEND=">=x11-libs/gtksourceview-4.0.2:4[introspection,vala]"

Reproducible: Always
Comment 1 Ryoto Yayame 2021-08-30 05:18:16 UTC
Created attachment 736753 [details, diff]
Gedit ebuild patch