Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/gconf/
Date: Wed, 15 Feb 2017 19:43:27
Message-Id: 1487187295.a7817abe6d3cc6b4b76736ba189ebdfad13dd46a.leio@gentoo
1 commit: a7817abe6d3cc6b4b76736ba189ebdfad13dd46a
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 15 19:34:55 2017 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 15 19:34:55 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7817abe
7
8 gnome-base/gconf: remove old
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 gnome-base/gconf/gconf-3.2.6-r3.ebuild | 127 ---------------------------------
13 1 file changed, 127 deletions(-)
14
15 diff --git a/gnome-base/gconf/gconf-3.2.6-r3.ebuild b/gnome-base/gconf/gconf-3.2.6-r3.ebuild
16 deleted file mode 100644
17 index d53a8a7cf4..0000000000
18 --- a/gnome-base/gconf/gconf-3.2.6-r3.ebuild
19 +++ /dev/null
20 @@ -1,127 +0,0 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI="5"
26 -GCONF_DEBUG="yes"
27 -GNOME_ORG_MODULE="GConf"
28 -GNOME2_LA_PUNT="yes"
29 -PYTHON_COMPAT=( python2_7 )
30 -PYTHON_REQ_USE="xml"
31 -
32 -inherit eutils gnome2 multilib-minimal python-r1
33 -
34 -DESCRIPTION="GNOME configuration system and daemon"
35 -HOMEPAGE="https://projects.gnome.org/gconf/"
36 -
37 -LICENSE="LGPL-2+"
38 -SLOT="2"
39 -KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
40 -IUSE="debug +introspection ldap policykit"
41 -
42 -RDEPEND="
43 - ${PYTHON_DEPS}
44 - >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
45 - >=dev-libs/dbus-glib-0.100.2:=[${MULTILIB_USEDEP}]
46 - >=sys-apps/dbus-1.6.18-r1:=[${MULTILIB_USEDEP}]
47 - >=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}]
48 - introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
49 - ldap? ( >=net-nds/openldap-2.4.38-r1:=[${MULTILIB_USEDEP}] )
50 - policykit? ( sys-auth/polkit:= )
51 -"
52 -DEPEND="${RDEPEND}
53 - dev-libs/libxslt
54 - dev-util/gtk-doc-am
55 - >=dev-util/intltool-0.35
56 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
57 -"
58 -RDEPEND="${RDEPEND}
59 - abi_x86_32? (
60 - !<=app-emulation/emul-linux-x86-gtklibs-20140508-r1
61 - !app-emulation/emul-linux-x86-gtklibs[-abi_x86_32(-)]
62 - )"
63 -
64 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
65 -
66 -pkg_setup() {
67 - kill_gconf
68 -}
69 -
70 -src_prepare() {
71 - # Do not start gconfd when installing schemas, fix bug #238276, upstream #631983
72 - epatch "${FILESDIR}/${PN}-2.24.0-no-gconfd.patch"
73 -
74 - # Do not crash in gconf_entry_set_value() when entry pointer is NULL, upstream #631985
75 - epatch "${FILESDIR}/${PN}-2.28.0-entry-set-value-sigsegv.patch"
76 -
77 - # From 'master'
78 - # mconvert: enable recursive scheme lookup and fix a crasher
79 - epatch "${FILESDIR}/${P}-mconvert-crasher.patch"
80 -
81 - # dbus: Don't spew to console when unable to connect to dbus daemon
82 - epatch "${FILESDIR}/${P}-spew-console-error.patch"
83 -
84 - # gsettings-data-convert: Warn (and fix) invalid schema paths
85 - epatch "${FILESDIR}/${P}-gsettings-data-convert-paths.patch"
86 -
87 - gnome2_src_prepare
88 -}
89 -
90 -multilib_src_configure() {
91 - ECONF_SOURCE=${S} \
92 - gnome2_src_configure \
93 - --disable-static \
94 - --enable-gsettings-backend \
95 - --with-gtk=3.0 \
96 - --disable-orbit \
97 - $(multilib_native_use_enable introspection) \
98 - $(use_with ldap openldap) \
99 - $(multilib_native_use_enable policykit defaults-service)
100 -
101 - if multilib_is_native_abi; then
102 - ln -s "${S}"/doc/gconf/html doc/gconf/html || die
103 - fi
104 -}
105 -
106 -multilib_src_install() {
107 - gnome2_src_install
108 -}
109 -
110 -multilib_src_install_all() {
111 - python_replicate_script "${ED}"/usr/bin/gsettings-schema-convert
112 -
113 - keepdir /etc/gconf/gconf.xml.mandatory
114 - keepdir /etc/gconf/gconf.xml.defaults
115 - # Make sure this directory exists, bug #268070, upstream #572027
116 - keepdir /etc/gconf/gconf.xml.system
117 -
118 - echo "CONFIG_PROTECT_MASK=\"/etc/gconf\"" > 50gconf
119 - echo 'GSETTINGS_BACKEND="gconf"' >> 50gconf
120 - doenvd 50gconf
121 - dodir /root/.gconfd
122 -}
123 -
124 -pkg_preinst() {
125 - kill_gconf
126 -}
127 -
128 -pkg_postinst() {
129 - kill_gconf
130 -
131 - # change the permissions to avoid some gconf bugs
132 - einfo "changing permissions for gconf dirs"
133 - find "${EPREFIX}"/etc/gconf/ -type d -exec chmod ugo+rx "{}" \;
134 -
135 - einfo "changing permissions for gconf files"
136 - find "${EPREFIX}"/etc/gconf/ -type f -exec chmod ugo+r "{}" \;
137 -}
138 -
139 -kill_gconf() {
140 - # This function will kill all running gconfd-2 that could be causing troubles
141 - if [ -x "${EPREFIX}"/usr/bin/gconftool-2 ]
142 - then
143 - "${EPREFIX}"/usr/bin/gconftool-2 --shutdown
144 - fi
145 -
146 - return 0
147 -}