Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 106774 | Differences between
and this patch

Collapse All | Expand All

(-)rox.eclass.orig (-2 / +10 lines)
Lines 16-21 Link Here
16
16
17
# For examples refer to ebuilds in rox-extra/
17
# For examples refer to ebuilds in rox-extra/
18
18
19
# need python to byte compile modules, if any
20
21
inherit python
19
22
20
if [ -z "$ROX_VER" ]; then
23
if [ -z "$ROX_VER" ]; then
21
	ROX_VER="2.1.0"
24
	ROX_VER="2.1.0"
Lines 54-61 Link Here
54
	insinto /usr/lib/rox
57
	insinto /usr/lib/rox
55
	doins -r ${APPNAME}
58
	doins -r ${APPNAME}
56
	#set correct permisions on files, in case they are wrong
59
	#set correct permisions on files, in case they are wrong
57
	chmod 755 ${D}/usr/lib/rox/${APPNAME}/AppRun
60
	#include all subdirectories in search, just in case
58
	chmod 755 ${D}/usr/lib/rox/${APPNAME}/AppletRun
61
	find ${D}/usr/lib/rox/${APPNAME} -name 'AppRun' | xargs chmod 0755 	>/dev/null 2>&1
62
	find ${D}/usr/lib/rox/${APPNAME} -name 'AppletRun' | xargs chmod 0755 >/dev/null 2>&1
59
63
60
	# set permisions for programms where we have libdir script
64
	# set permisions for programms where we have libdir script
61
	if [ -f ${D}/usr/lib/rox/${APPNAME}/libdir ]; then
65
	if [ -f ${D}/usr/lib/rox/${APPNAME}/libdir ]; then
Lines 87-92 Link Here
87
	echo "#!/bin/sh" > "${D}/usr/bin/${APPNAME}"
91
	echo "#!/bin/sh" > "${D}/usr/bin/${APPNAME}"
88
	echo "exec /usr/lib/rox/${APPNAME}/AppRun \"\$@\"" >> "${D}/usr/bin/${APPNAME}"
92
	echo "exec /usr/lib/rox/${APPNAME}/AppRun \"\$@\"" >> "${D}/usr/bin/${APPNAME}"
89
	chmod a+x ${D}/usr/bin/${APPNAME}
93
	chmod a+x ${D}/usr/bin/${APPNAME}
94
95
	#now compile any and all python files
96
	python_mod_optimize $D/usr/lib/rox/${APPNAME}
97
	
90
}
98
}
91
99
92
rox_pkg_postinst() {
100
rox_pkg_postinst() {

Return to bug 106774