summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2023-01-07 17:07:57 +0200
committerViorel Munteanu <ceamac@gentoo.org>2023-01-07 17:09:22 +0200
commitf433af1c0a7e0ddf232496db9dd2378260702f2e (patch)
tree9628e2ad9b587fcaa9dee1a2e2163a0335e50a17 /gnome-extra
parentdev-python/cfn-lint: Remove old (diff)
downloadgentoo-f433af1c0a7e0ddf232496db9dd2378260702f2e.tar.gz
gentoo-f433af1c0a7e0ddf232496db9dd2378260702f2e.tar.bz2
gentoo-f433af1c0a7e0ddf232496db9dd2378260702f2e.zip
gnome-extra/krb5-auth-dialog: remove python postinst script
Closes: https://bugs.gentoo.org/890062 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/krb5-auth-dialog/files/krb5-auth-dialog-43.0-remove-postinstall-script.patch21
-rw-r--r--gnome-extra/krb5-auth-dialog/krb5-auth-dialog-43.0.ebuild2
2 files changed, 23 insertions, 0 deletions
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 )