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 DE3A81396D2 for ; Wed, 16 Aug 2017 15:39:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D7F42E0E8B; Wed, 16 Aug 2017 15:39:13 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 AC8F6E0E8B for ; Wed, 16 Aug 2017 15:39:13 +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 660483416D5 for ; Wed, 16 Aug 2017 15:39:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 08EE6784A for ; Wed, 16 Aug 2017 15:39:11 +0000 (UTC) From: "Akinori Hattori" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Akinori Hattori" Message-ID: <1502897934.d511cdcacb22f71ea107bfec9f62bef5c4de91c3.hattya@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-chewing/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/ibus-chewing/ibus-chewing-1.5.1-r1.ebuild app-i18n/ibus-chewing/ibus-chewing-1.5.1.ebuild X-VCS-Directories: app-i18n/ibus-chewing/ X-VCS-Committer: hattya X-VCS-Committer-Name: Akinori Hattori X-VCS-Revision: d511cdcacb22f71ea107bfec9f62bef5c4de91c3 X-VCS-Branch: master Date: Wed, 16 Aug 2017 15:39:11 +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-Archives-Salt: 36ae9100-8b27-4e56-a918-a83aa159735f X-Archives-Hash: 068e7eb000c2ea5f6d0a8fb51ab70df1 commit: d511cdcacb22f71ea107bfec9f62bef5c4de91c3 Author: Akinori Hattori gentoo org> AuthorDate: Wed Aug 16 15:26:56 2017 +0000 Commit: Akinori Hattori gentoo org> CommitDate: Wed Aug 16 15:38:54 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d511cdca app-i18n/ibus-chewing: inherit gnome2-utils Package-Manager: Portage-2.3.6, Repoman-2.3.1 ...chewing-1.5.1.ebuild => ibus-chewing-1.5.1-r1.ebuild} | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/app-i18n/ibus-chewing/ibus-chewing-1.5.1.ebuild b/app-i18n/ibus-chewing/ibus-chewing-1.5.1-r1.ebuild similarity index 82% rename from app-i18n/ibus-chewing/ibus-chewing-1.5.1.ebuild rename to app-i18n/ibus-chewing/ibus-chewing-1.5.1-r1.ebuild index 229d9906d0e..6ba022cbe6f 100644 --- a/app-i18n/ibus-chewing/ibus-chewing-1.5.1.ebuild +++ b/app-i18n/ibus-chewing/ibus-chewing-1.5.1-r1.ebuild @@ -4,7 +4,7 @@ EAPI="6" CMAKE_MAKEFILE_GENERATOR="emake" -inherit cmake-utils +inherit cmake-utils gnome2-utils MY_P="${P}-Source" @@ -40,3 +40,17 @@ src_configure() { use nls || mycmakeargs+=( -DMANAGE_GETTEXT_SUPPORT=0 ) cmake-utils_src_configure } + +pkg_preinst() { + gnome2_gconf_savelist + gnome2_schemas_savelist +} + +pkg_postinst() { + gnome2_gconf_install + gnome2_schemas_update +} + +pkg_postrm() { + gnome2_schemas_update +}