commit: f433af1c0a7e0ddf232496db9dd2378260702f2e Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> AuthorDate: Sat Jan 7 15:07:57 2023 +0000 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> CommitDate: Sat Jan 7 15:09:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f433af1c
gnome-extra/krb5-auth-dialog: remove python postinst script Closes: https://bugs.gentoo.org/890062 Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org> ...auth-dialog-43.0-remove-postinstall-script.patch | 21 +++++++++++++++++++++ .../krb5-auth-dialog/krb5-auth-dialog-43.0.ebuild | 2 ++ 2 files changed, 23 insertions(+) diff --git a/gnome-extra/krb5-auth-dialog/files/krb5-auth-dialog-43.0-remove-postinstall-script.patch b/gnome-extra/krb5-auth-dialog/files/krb5-auth-dialog-43.0-remove-postinstall-script.patch new file mode 100644 index 000000000000..8ce3273da8c3 --- /dev/null +++ b/gnome-extra/krb5-auth-dialog/files/krb5-auth-dialog-43.0-remove-postinstall-script.patch @@ -0,0 +1,21 @@ +glib-compile-schemas and gtk-update-icon-cache should not be run in src_ +phases, they are run in pkg_post functions + +So patch them out from meson.build + +Bug: https://bugs.gentoo.org/890062 + +--- a/meson.build ++++ b/meson.build +@@ -89,11 +89,6 @@ + gmodule_dep = dependency('gmodule-2.0') + gcr_dep = dependency('gcr-3', version: '>= 3.5.5') + +-meson.add_install_script( +- join_paths('build-aux', 'post_install.py'), +- datadir +-) +- + # Both heimdal and mit ship a krb5.pc: + krb5_dep = dependency('krb5') + diff --git a/gnome-extra/krb5-auth-dialog/krb5-auth-dialog-43.0.ebuild b/gnome-extra/krb5-auth-dialog/krb5-auth-dialog-43.0.ebuild index 8e64e763ad12..1fff5268fc34 100644 --- a/gnome-extra/krb5-auth-dialog/krb5-auth-dialog-43.0.ebuild +++ b/gnome-extra/krb5-auth-dialog/krb5-auth-dialog-43.0.ebuild @@ -25,3 +25,5 @@ RDEPEND=" " DEPEND="${RDEPEND}" BDEPEND="dev-util/itstool" + +PATCHES=( "${FILESDIR}"/${P}-remove-postinstall-script.patch )