From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C943A138350 for ; Sat, 14 Mar 2020 23:07:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1EFA2E0BC3; Sat, 14 Mar 2020 23:07:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 03DD4E0BC3 for ; Sat, 14 Mar 2020 23:07:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8E00D34F007 for ; Sat, 14 Mar 2020 23:07:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 816869D for ; Sat, 14 Mar 2020 23:07:52 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1584227266.ead80efffd4500dd53852399c577c929658abc1c.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/pidgin/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/pidgin/pidgin-2.13.0-r8.ebuild X-VCS-Directories: net-im/pidgin/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: ead80efffd4500dd53852399c577c929658abc1c X-VCS-Branch: master Date: Sat, 14 Mar 2020 23:07:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7e3fca05-aa69-4fef-a441-1ae517f8121a X-Archives-Hash: e09e540e6a8d439cb92b23d53c93a697 commit: ead80efffd4500dd53852399c577c929658abc1c Author: Lars Wendler gentoo org> AuthorDate: Sat Mar 14 23:07:17 2020 +0000 Commit: Lars Wendler gentoo org> CommitDate: Sat Mar 14 23:07:46 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ead80eff net-im/pidgin: Attempt to fix installation with gnome-base/gconf Bug: https://bugs.gentoo.org/712454 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Lars Wendler gentoo.org> net-im/pidgin/pidgin-2.13.0-r8.ebuild | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/net-im/pidgin/pidgin-2.13.0-r8.ebuild b/net-im/pidgin/pidgin-2.13.0-r8.ebuild index c29e0e69673..2f3544b9a15 100644 --- a/net-im/pidgin/pidgin-2.13.0-r8.ebuild +++ b/net-im/pidgin/pidgin-2.13.0-r8.ebuild @@ -6,7 +6,7 @@ EAPI=7 GENTOO_DEPEND_ON_PERL=no PYTHON_COMPAT=( python3_{6,7,8} ) -inherit autotools flag-o-matic toolchain-funcs multilib perl-module python-single-r1 xdg +inherit autotools gnome2-utils flag-o-matic toolchain-funcs multilib perl-module python-single-r1 xdg DESCRIPTION="GTK Instant Messenger client" HOMEPAGE="http://pidgin.im/" @@ -246,6 +246,8 @@ src_configure() { } src_install() { + # setting this here because gnome2.eclass is not EAPI-7 ready + export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" default if use gtk ; then @@ -279,3 +281,20 @@ src_test() { # make default build logs slightly more useful emake check VERBOSE=1 } + +pkg_preinst() { + gnome2_gconf_savelist + xdg_pkg_preinst +} + +pkg_postinst() { + gnome2_gconf_install + gnome2_schemas_update + xdg_pkg_postinst +} + +pkg_postrm() { + gnome2_gconf_uninstall + gnome2_schemas_update + xdg_pkg_postrm +}