gnome-base/gnome-session-3.28: add missed gnome2_schemas_update calls
authorMart Raudsepp <leio@gentoo.org>
Sat, 2 Mar 2019 13:20:12 +0000 (15:20 +0200)
committerMart Raudsepp <leio@gentoo.org>
Sat, 2 Mar 2019 14:27:30 +0000 (16:27 +0200)
No revbump as any other gtk package install/upgrade will fix it up too,
and a gnome-session-3.30 bump isn't far out either.

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
gnome-base/gnome-session/gnome-session-3.28.1.ebuild

index dd524fae1e3e1c019f92a2689ea7c5d2ac1e0a7d..8674fec66da32922cd5762759b655490696c291a 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit gnome.org meson xdg
+inherit gnome.org gnome2-utils meson xdg
 
 DESCRIPTION="Gnome session manager"
 HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-session"
@@ -101,6 +101,7 @@ src_install() {
 
 pkg_postinst() {
        xdg_pkg_postinst
+       gnome2_schemas_update
 
        if ! has_version gnome-base/gdm && ! has_version x11-misc/sddm; then
                ewarn "If you use a custom .xinitrc for your X session,"
@@ -112,3 +113,8 @@ pkg_postinst() {
                ewarn "gnome-session won't be able to correctly track and manage your session."
        fi
 }
+
+pkg_postrm() {
+       xdg_pkg_postinst
+       gnome2_schemas_update
+}