Firstly, there's no need to call gnome2_pkg_preinst() explicitly
as it'll be called due to ebuild inheriting gnome2 eclass.
Secondly, setting GNOME2_ECLASS_ICONS variable is so EAPI5 (read
obsolete), so drop it as gnome2_pkg_preinst() handles that.
Thirdly, removing files in pkg_preinst() is undesirable.
Therefore, drop the code that handles 'if use gui', and move the
code that handles the other case into src_install().
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39532
Signed-off-by: Sam James <sam@gentoo.org>
Previously, app-emulation/virt-manager was installed using
distutils which automatically fixed shebang on installed python
scripts. Then virt-manager switched to meson, and our ebuilds
simply started inheriting meson instead of distutils-r1. But this
alone is not enough as shebangs are now broken. Fortunately,
there's python_fix_shebang which can be called to fix shebangs
and in ideal world this function would be called in src_prepare()
but this is not the case. virt-manager and other files are
generated at compile time with also too generic shebang [1].
Therefore, let's do that at the end of src_install().
1: https://github.com/virt-manager/virt-manager/blob/main/scripts/make_bin_wrapper.py
Fixes: c5ca13d818
Closes: https://bugs.gentoo.org/945329
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
sourceware was down earlier, so add some mirrors.
sourcehut is an official mirror (albeit an experiment IIRC) by sourceware
and x86-glibc is run by H.J. Lu.
Signed-off-by: Sam James <sam@gentoo.org>
sourceware was down earlier, so add some mirrors.
sourcehut is an official mirror (albeit an experiment IIRC) by sourceware
and x86-binutils is run by H.J. Lu.
Signed-off-by: Sam James <sam@gentoo.org>
sourceware was down earlier, so add some mirrors.
sourcehut is an official mirror (albeit an experiment IIRC) by sourceware
and x86-gcc is run by H.J. Lu. gcc-mirror on github (which was in the
list already) looks like an automatic one but let's leave it last.
Signed-off-by: Sam James <sam@gentoo.org>
sourceware was down earlier, so add some mirrors.
sourcehut is an official mirror (albeit an experiment IIRC) by sourceware
and x86-binutils is run by H.J. Lu.
Signed-off-by: Sam James <sam@gentoo.org>
This old LTS series is no longer supported upstream anymore
Signed-off-by: Sebastian Parborg <darkdefende@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
The "experimental" flag is only intended to be used in development to
try out new features. It is untested in regular releases and can cause
the .blend files to not be compatible with other Blender versions.
This is turned on/off by the Blender developers in the default cmake
settings. Forcing it to something else than what is the default will
in most cases lead to issues.
Signed-off-by: Sebastian Parborg <darkdefende@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>