Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670790 - gnome-meson.eclass: gnome-meson_src_compile() and gnome-meson_src_install() should pass their arguments to meson_src_compile() / meson_src_install()
Summary: gnome-meson.eclass: gnome-meson_src_compile() and gnome-meson_src_install() s...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: Normal enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on: 670788
Blocks: 670792
  Show dependency tree
 
Reported: 2018-11-09 20:58 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2021-04-16 16:58 UTC (History)
1 user (show)

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


Attachments
Patch for gnome repository (gnome-meson.eclass.patch,1.23 KB, patch)
2018-11-09 21:01 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2018-11-09 20:58:03 UTC
Sometimes ebuild using gnome-meson.eclass might need to pass additional arguments to ninja.

It would be more convenient if it was possible to do:
src_compile() {
    gnome-meson_src_compile some_argument
}
Instead of checking what gnome-meson_src_compile() is internally doing and reimplementing it in ebuild.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2018-11-09 21:01:04 UTC
Created attachment 554704 [details, diff]
Patch for gnome repository
Comment 2 Mart Raudsepp gentoo-dev 2018-11-10 09:47:58 UTC
We don't really use this iteration of gnome-meson.eclass anymore, and just using "inherit gnome.org gnome2-utils meson xdg" for the time being. But yes, old ebuilds in overlay, that haven't been put in main tree yet, still do use it.
Comment 3 Matt Turner gentoo-dev 2021-04-16 16:58:03 UTC
The fix is to not use gnome-meson.eclass.