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

Collapse All | Expand All

(-)splashutils-1.5.4.3-r3.ebuild (-3 / +9 lines)
Lines 46-51 Link Here
46
	>=sys-apps/baselayout-1.9.4-r5
46
	>=sys-apps/baselayout-1.9.4-r5
47
	app-arch/cpio
47
	app-arch/cpio
48
	media-gfx/fbgrab
48
	media-gfx/fbgrab
49
	media-gfx/splash-themes-gentoo
49
	!sys-apps/lcdsplash"
50
	!sys-apps/lcdsplash"
50
DEPEND="${RDEPEND}
51
DEPEND="${RDEPEND}
51
	>=dev-libs/klibc-1.5
52
	>=dev-libs/klibc-1.5
Lines 185-190 Link Here
185
	sed -i -e "s#/lib/splash#/${LIB}/splash#" "${D}"/sbin/splash-functions.sh
186
	sed -i -e "s#/lib/splash#/${LIB}/splash#" "${D}"/sbin/splash-functions.sh
186
	keepdir /${LIB}/splash/{tmp,cache,bin}
187
	keepdir /${LIB}/splash/{tmp,cache,bin}
187
	dosym /${LIB}/splash/bin/fbres /sbin/fbres
188
	dosym /${LIB}/splash/bin/fbres /sbin/fbres
189
	
190
	# Genkernel uses "default" theme when --splash option is used.
191
	# If no "default" theme exists it fails to put splashutils in img.
192
	# So we do symlink the gentoo theme as default.
193
	# That is why we RDEPEND on "media-gfx/splash-themes-gentoo"
194
	dosym /etc/splash/gentoo /etc/splash/default
188
}
195
}
189
196
190
pkg_preinst() {
197
pkg_preinst() {
Lines 230-241 Link Here
230
		elog ""
237
		elog ""
231
	fi
238
	fi
232
239
233
	if ! has_version 'media-gfx/splash-themes-livecd' &&
240
	if ! has_version 'media-gfx/splash-themes-livecd' ; then
234
		! has_version 'media-gfx/splash-themes-gentoo'; then
235
		elog "The sample Gentoo themes (emergence, gentoo) have been removed from the"
241
		elog "The sample Gentoo themes (emergence, gentoo) have been removed from the"
236
		elog "core splashutils package. To get some themes you might want to emerge:"
242
		elog "core splashutils package. To get some themes you might want to emerge:"
237
		elog "  media-gfx/splash-themes-livecd"
243
		elog "  media-gfx/splash-themes-livecd"
238
		elog "  media-gfx/splash-themes-gentoo"
244
		elog "  media-gfx/bootsplash-themes"
239
	fi
245
	fi
240
246
241
	elog "Please note that the 'fbsplash' kernel patch has now been renamed to"
247
	elog "Please note that the 'fbsplash' kernel patch has now been renamed to"

Return to bug 354157