Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 149841 Details for
Bug 217542
media-tv/freevo Version bump Request 1.8.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild for freevo 1.8
freevo-1.8.0.ebuild (text/plain), 6.87 KB, created by
Mark Doughty
on 2008-04-15 19:56:18 UTC
(
hide
)
Description:
ebuild for freevo 1.8
Filename:
MIME Type:
Creator:
Mark Doughty
Created:
2008-04-15 19:56:18 UTC
Size:
6.87 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/media-tv/freevo/freevo-1.8.0.ebuild,v 1.1 2008/03/14 11:59:59 rbu Exp $ > >inherit distutils > >DESCRIPTION="Digital video jukebox (PVR, DVR)." >HOMEPAGE="http://www.freevo.org/" >SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" > >IUSE="directfb doc dvd fbcon gphoto2 ivtv lirc matrox minimal mixer nls sqlite tv X" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~x86 ~ppc" > >RDEPEND=">=dev-python/pygame-1.5.6 > >=dev-python/pyxml-0.8.2 > >=dev-python/imaging-1.1.3 > >=dev-python/twisted-2.4 > >=dev-python/twisted-web-0.6 > >=media-video/mplayer-0.92 > >=media-libs/freetype-2.1.4 > >=media-libs/libsdl-1.2.5 > >=sys-apps/sed-4 > >=dev-python/elementtree-1.2.6 > >=dev-python/beautifulsoup-3.0 > >=dev-python/kaa-base-0.4.0 > >=dev-python/kaa-metadata-0.7.3 > >=dev-python/kaa-imlib2-0.2.3 > dvd? ( >=media-video/xine-ui-0.9.22 >=media-video/lsdvd-0.10 ) > gphoto2? ( media-gfx/gphoto2 ) > lirc? ( app-misc/lirc >=dev-python/pylirc-0.0.3 ) > matrox? ( >=media-video/matroxset-0.3 ) > mixer? ( media-sound/aumix ) > sqlite? ( ~dev-python/pysqlite-1.0.1 ) > tv? ( !ivtv? ( media-tv/tvtime ) > !minimal? ( media-tv/xmltv ) )" > >pkg_setup() { > if use directfb ; then > use dvd && ! built_with_use media-libs/xine-lib directfb \ > && ewarn "media-libs/xine-lib was not built with directfb support" > ! built_with_use media-video/mplayer directfb \ > && ewarn "media-video/mplayer was not built with directfb support" > if ! built_with_use media-libs/libsdl directfb ; then > eerror "media-libs/libsdl was not built with directdb support" > eerror "Please re-emerge libsdl with the directfb use flag" > die "directfb use flag specified but no support in libsdl and others" > fi > fi > > if use fbcon ; then > use dvd && ! built_with_use media-libs/xine-lib fbcon \ > && ewarn "media-libs/xine-lib was not built with fbcon support" > ! built_with_use media-video/mplayer fbcon \ > && ewarn "media-video/mplayer was not built with fbcon support" > if ! built_with_use media-libs/libsdl fbcon ; then > eerror "media-libs/libsdl was not built with fbcon support" > eerror "Please re-emerge libsdl with the fbcon use flag" > die "fbcon use flag specified but no support in media-libs/libsdl and others" > fi > fi > > if ! { use X || use directfb || use fbcon || use matrox ; } ; then > echo > ewarn "WARNING - no video support specified in USE flags." > ewarn "Please be sure that media-libs/libsdl supports whatever video" > ewarn "support (X11, fbcon, directfb, etc) you plan on using." > echo > fi > > if ! built_with_use -a media-libs/sdl-image jpeg png ; then > eerror "media-libs/sdl-image needs more image format support (USE=\"png jpeg\")" > die "re-emerge media-libs/sdl-image with the given USE flags" > fi >} > >src_install() { > distutils_src_install > > insinto /etc/freevo > newins local_conf.py.example local_conf.py > > if [ "${PROFILE_ARCH}" == "xbox" ]; then > sed -i -e "s/# MPLAYER_AO_DEV.*/MPLAYER_AO_DEV='alsa1x'/" "${D}"/etc/freevo/local_conf.py > newins "${FILESDIR}"/xbox-lircrc lircrc > fi > > if use X; then > echo "#!/bin/bash" > freevo > echo "/usr/bin/freevoboot startx" >> freevo > exeinto /etc/X11/Sessions/ > doexe freevo > > #insinto /etc/X11/dm/Sessions > #doins "${FILESDIR}/freevo.desktop" > > insinto /usr/share/xsessions > doins "${FILESDIR}/freevo.desktop" > fi > > exeinto /usr/bin > newexe "${FILESDIR}/freevo.boot" freevoboot > newconfd "${FILESDIR}/freevo.conf" freevo > > rm -rf "${D}/usr/share/doc" > > dodoc ChangeLog FAQ INSTALL PKG-INFO README TODO \ > Docs/{CREDITS,NOTES,*.txt,plugins/*.txt} > use doc && > cp -r Docs/{installation,html,plugin_writing} "${D}/usr/share/doc/${PF}" > > use nls || rm -rf "${D}"/usr/share/locale > > # Create a default freevo setup > cd "${S}/src" > if [ "${PROFILE_ARCH}" == "xbox" ]; then > myconf="${myconf} --geometry=640x480 --display=x11" > elif use matrox && use directfb; then > myconf="${myconf} --geometry=768x576 --display=dfbmga" > elif use matrox ; then > myconf="${myconf} --geometry=768x576 --display=mga" > elif use directfb; then > myconf="${myconf} --geometry=768x576 --display=directfb" > elif use X ; then > myconf="${myconf} --geometry=800x600 --display=x11" > else > myconf="${myconf} --geometry=800x600 --display=fbdev" > fi > sed -i "s:/etc/freevo/freevo.conf:${D}/etc/freevo/freevo.conf:g" setup_freevo.py || die "Could not fix setup_freevo.py" > python setup_freevo.py ${myconf} || die "Could not create new freevo.conf" >} > >pkg_postinst() { > echo > ewarn "Please check /etc/freevo/freevo.conf and" > ewarn "/etc/freevo/local_conf.py before starting Freevo." > ewarn "To rebuild freevo.conf with different parameters," > ewarn "please run:" > ewarn " # freevo setup" > > ewarn "To update your local configuration, please run" > ewarn " # freevo convert_config /etc/freevo/local_config -w" > > echo > ewarn "To build a freevo-only system, please use the freevoboot" > ewarn "wrapper to be run it as a user. It can be configured in /etc/conf.d/freevo" > > echo > ewarn "A significant change to the TV recording has been the replacement of the" > ewarn "record_schedule.xml with two files, schedule.pickle and favorites.pickle" > echo > ewarn "To convert the favorites to the new format do the following:" > > echo > ewarn " # cp /var/lib/freevo/record_schedule.xml ~ (or cp ~/.freevo/lib/record_schedule.xml ~)" > ewarn " # freevo recordserver stop" > ewarn " # freevo convert_favorites ~/record_schedule.xml" > ewarn " # freevo schedulefavorites" > ewarn " # freevo recordserver start" > > if use X ; then > echo > ewarn "If you're using a Freevo-only system with X, you'll need" > ewarn "to setup the autologin (as user) and choose freevo as" > ewarn "default session. If you need to run recordserver/webserver" > ewarn "at boot, please use /etc/conf.d/freevo" > echo > ewarn "Should you decide to personalize your freevo.desktop" > ewarn "session, keep the definition for '/usr/bin/freevoboot startx'" > else > echo > ewarn "If you want Freevo to start automatically,you'll need" > ewarn "to follow instructions at :" > ewarn "http://freevo.sourceforge.net/cgi-bin/doc/BootFreevo" > echo > ewarn "*NOTE: you can use mingetty or provide a login" > ewarn "program for getty to autologin as a user with limited privileges." > ewarn "A tutorial for getty is at:" > ewarn "http://ubuntuforums.org/showthread.php?t=152274" > fi > > if [ -e "${ROOT}/etc/init.d/freevo" ] ; then > echo > ewarn "Please remove /etc/init.d/freevo as it is a security" > ewarn "threat. To set autostart read above." > fi > > if [ -e "${ROOT}/opt/freevo" ] ; then > echo > ewarn "Please remove ${ROOT}/opt/freevo because it is no longer used." > fi > if [ -e "${ROOT}/etc/freevo/freevo_config.py" ] ; then > echo > ewarn "Please remove ${ROOT}/etc/freevo/freevo_config.py." > fi > if [ -e "${ROOT}/etc/init.d/freevo-record" ] ; then > echo > ewarn "Please remove ${ROOT}/etc/init.d/freevo-record" > fi > if [ -e "${ROOT}/etc/init.d/freevo-web" ] ; then > echo > ewarn "Please remove ${ROOT}/etc/init.d/freevo-web" > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 217542
:
149594
|
149595
|
149596
| 149841