Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325889 - net-libs/xulrunner multilib compatibility: has arch-specific runtime config file
Summary: net-libs/xulrunner multilib compatibility: has arch-specific runtime config file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-06-27 21:48 UTC by ferret
Modified: 2010-07-18 15:07 UTC (History)
0 users

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 ferret 2010-06-27 21:48:23 UTC
e.g. xulrunner-1.9.2.4 installs a file called /etc/gre.d/1.9.2.4.system.conf containing:

[1.9.2.4]
GRE_PATH=/usr/lib64/xulrunner-1.9.2
xulrunner=true
abi=x86_64-gcc3

https://developer.mozilla.org/en/GRE_Registration and my own tests confirm apps will load any /etc/gre.d/*.conf file that has matching version/arch information inside.  Suggest something like this (borrowed from similarish lines in gtk+ and pango ebuilds):

if has_multilib_profile; then
	local config
	for config in "${D}"/etc/gre.d/*.system.conf ; do
		mv "${config}" "${config%.conf}.${CHOST}.conf"
	done
fi
Comment 1 Jory A. Pratt gentoo-dev 2010-07-18 15:07:33 UTC
Currently implemented in 1.9.2.6