summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Torokhov <torokhov-s-a@yandex.ru>2023-05-06 10:44:31 +0300
committerSam James <sam@gentoo.org>2023-05-20 07:57:09 +0100
commitea8ed037f7557a6871719a0a09859c3377802945 (patch)
tree348a998fd577539a15ac1cf2fa29fde6381aea3d /media-gfx
parentsys-apps/flatpak: use python_has_version (diff)
downloadgentoo-ea8ed037f7557a6871719a0a09859c3377802945.tar.gz
gentoo-ea8ed037f7557a6871719a0a09859c3377802945.tar.bz2
gentoo-ea8ed037f7557a6871719a0a09859c3377802945.zip
media-gfx/gimp: (0/3) fix icon cache update and FHS/Gentoo policy paths
Closes: https://bugs.gentoo.org/905586 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/gimp/gimp-2.99.14-r3.ebuild (renamed from media-gfx/gimp/gimp-2.99.14-r2.ebuild)6
-rw-r--r--media-gfx/gimp/gimp-9999.ebuild9
2 files changed, 9 insertions, 6 deletions
diff --git a/media-gfx/gimp/gimp-2.99.14-r2.ebuild b/media-gfx/gimp/gimp-2.99.14-r3.ebuild
index ef598098c880..a4f7e1dfed92 100644
--- a/media-gfx/gimp/gimp-2.99.14-r2.ebuild
+++ b/media-gfx/gimp/gimp-2.99.14-r3.ebuild
@@ -134,7 +134,7 @@ src_prepare() {
sed -i -e 's/@PYTHON_PATH@/'${EPYTHON}'/' plug-ins/python/pygimp.interp.in || die
# Set proper intallation path of documentation logo
- sed -i -e "s/'gimp-@0@'.format(gimp_app_version)/'gimp-@0@.@1@'.format(gimp_app_version, gimp_app_version_micro)/" data/images/meson.build || die
+ sed -i -e "s/'gimp-@0@'.format(gimp_app_version)/'gimp-${PVR}'/" data/images/meson.build || die
}
_adjust_sandbox() {
@@ -242,9 +242,9 @@ src_install() {
}
pkg_postinst() {
- xdg_desktop_database_update
+ xdg_pkg_postinst
}
pkg_postrm() {
- xdg_desktop_database_update
+ xdg_pkg_postrm
}
diff --git a/media-gfx/gimp/gimp-9999.ebuild b/media-gfx/gimp/gimp-9999.ebuild
index 705248ae1799..6ebeb03acdcb 100644
--- a/media-gfx/gimp/gimp-9999.ebuild
+++ b/media-gfx/gimp/gimp-9999.ebuild
@@ -131,7 +131,10 @@ src_prepare() {
# Fix pygimp.interp python implementation path.
# Meson @PYTHON_PATH@ use sandbox path e.g.:
# '/var/tmp/portage/media-gfx/gimp-2.99.12/temp/python3.10/bin/python3'
- sed -i -e 's:@PYTHON_PATH@:'${EPYTHON}':' plug-ins/python/pygimp.interp.in || die
+ sed -i -e 's/@PYTHON_PATH@/'${EPYTHON}'/' plug-ins/python/pygimp.interp.in || die
+
+ # Set proper intallation path of documentation logo
+ sed -i -e "s/'gimp-@0@'.format(gimp_app_version)/'gimp-${PVR}'/" data/images/meson.build || die
}
_adjust_sandbox() {
@@ -239,9 +242,9 @@ src_install() {
}
pkg_postinst() {
- xdg_desktop_database_update
+ xdg_pkg_postinst
}
pkg_postrm() {
- xdg_desktop_database_update
+ xdg_pkg_postrm
}