aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSertonix <sertonix@posteo.net>2023-12-14 15:18:19 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2023-12-16 20:20:39 +0000
commit7b4b4c9a686f536b06e2a147789dc25c2666c3a4 (patch)
treeec02f1fdf6718e69483477bd6799cc132c3b51be
parente85e2d055db2689da39d75bd70eecc318e788792 (diff)
*/gtk+*: use trigger to update immodules cache
-rw-r--r--community/gtk+2.0/APKBUILD5
l---------community/gtk+2.0/gtk+2.0.post-upgrade1
-rw-r--r--community/gtk+2.0/gtk+2.0.trigger (renamed from community/gtk+2.0/gtk+2.0.post-install)0
-rw-r--r--main/gtk+3.0/APKBUILD6
l---------main/gtk+3.0/gtk+3.0.post-upgrade1
-rw-r--r--main/gtk+3.0/gtk+3.0.trigger (renamed from main/gtk+3.0/gtk+3.0.post-install)0
6 files changed, 6 insertions, 7 deletions
diff --git a/community/gtk+2.0/APKBUILD b/community/gtk+2.0/APKBUILD
index 6a885aea763..11e2bcbcf23 100644
--- a/community/gtk+2.0/APKBUILD
+++ b/community/gtk+2.0/APKBUILD
@@ -1,10 +1,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtk+2.0
pkgver=2.24.33
-pkgrel=10
+pkgrel=11
pkgdesc="The GTK+ Toolkit (v2)"
url="https://www.gtk.org/"
-install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
+triggers="$pkgname.trigger=/usr/lib/gtk-2.0/immodules:/usr/lib/gtk-2.0/*/immodules"
+install="$pkgname.post-deinstall"
arch="all"
options="!check" # Requires xvfb, resulting in eventual circular dependency
license="LGPL-2.0-or-later"
diff --git a/community/gtk+2.0/gtk+2.0.post-upgrade b/community/gtk+2.0/gtk+2.0.post-upgrade
deleted file mode 120000
index 5bd77f90dba..00000000000
--- a/community/gtk+2.0/gtk+2.0.post-upgrade
+++ /dev/null
@@ -1 +0,0 @@
-gtk+2.0.post-install \ No newline at end of file
diff --git a/community/gtk+2.0/gtk+2.0.post-install b/community/gtk+2.0/gtk+2.0.trigger
index 20a9743f454..20a9743f454 100644
--- a/community/gtk+2.0/gtk+2.0.post-install
+++ b/community/gtk+2.0/gtk+2.0.trigger
diff --git a/main/gtk+3.0/APKBUILD b/main/gtk+3.0/APKBUILD
index d62ef46be0a..6f2b89e94c0 100644
--- a/main/gtk+3.0/APKBUILD
+++ b/main/gtk+3.0/APKBUILD
@@ -3,11 +3,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtk+3.0
pkgver=3.24.38
-pkgrel=6
+pkgrel=7
pkgdesc="The GTK+ Toolkit (v3)"
url="https://www.gtk.org/"
-install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
-triggers="gtk-update-icon-cache.trigger=/usr/share/icons/*"
+install="$pkgname.post-deinstall"
+triggers="$pkgname.trigger=/usr/lib/gtk-3.0/immodules:/usr/lib/gtk-3.0/*/immodules gtk-update-icon-cache.trigger=/usr/share/icons/*"
arch="all"
license="LGPL-2.1-or-later"
options="!check" # checkdepends in community
diff --git a/main/gtk+3.0/gtk+3.0.post-upgrade b/main/gtk+3.0/gtk+3.0.post-upgrade
deleted file mode 120000
index f313df3d117..00000000000
--- a/main/gtk+3.0/gtk+3.0.post-upgrade
+++ /dev/null
@@ -1 +0,0 @@
-gtk+3.0.post-install \ No newline at end of file
diff --git a/main/gtk+3.0/gtk+3.0.post-install b/main/gtk+3.0/gtk+3.0.trigger
index 5ecc37a936d..5ecc37a936d 100644
--- a/main/gtk+3.0/gtk+3.0.post-install
+++ b/main/gtk+3.0/gtk+3.0.trigger