Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111648 - Removing gnome-panel default .entries causes binary problems.
Summary: Removing gnome-panel default .entries causes binary problems.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-05 18:53 UTC by Mike Gardiner (RETIRED)
Modified: 2005-11-05 19:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gardiner (RETIRED) gentoo-dev 2005-11-05 18:53:32 UTC
The gnome-panel pkg_postinst()

pkg_postinst() {

	local entries="/etc/gconf/schemas/panel-default-setup.entries"
	if [ -e "$entries" ]; then
		einfo "setting panel gconf defaults..."
		GCONF_CONFIG_SOURCE=`${ROOT}/usr/bin/gconftool-2 --get-default-source`
		${ROOT}/usr/bin/gconftool-2 --direct --config-source \
			${GCONF_CONFIG_SOURCE} --load=${entries}
		rm -f ${entries}
	fi

	# Calling this late so it doesn't process the GConf schemas file we already
	# took care of.
	gnome2_pkg_postinst

}

Removing the entries file here causes binary problems. For an example, see the
output of equery f gnome-panel | grep entries with ls /etc/gconf/schemas/*entries.

The rm -rf should be removed from the ebuilds (probably >= 2.10)
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2005-11-05 19:30:30 UTC
Committed now.