[Lunar-commits] r24773 - moonbase/trunk/video/mythtv

Auke Kok sofar at lunar-linux.org
Sun Jun 10 07:10:43 CEST 2007


Author: sofar
Date: 2007-06-10 07:10:42 +0200 (Sun, 10 Jun 2007)
New Revision: 24773

Modified:
   moonbase/trunk/video/mythtv/BUILD
   moonbase/trunk/video/mythtv/DETAILS
   moonbase/trunk/video/mythtv/POST_INSTALL
   moonbase/trunk/video/mythtv/mythfilldatabasecron
Log:
Mythtv is already on crack, please don't make lunar modules on crack either!

NEVER have a module modify or insert databases in mysql


Modified: moonbase/trunk/video/mythtv/BUILD
===================================================================
--- moonbase/trunk/video/mythtv/BUILD	2007-06-09 22:41:44 UTC (rev 24772)
+++ moonbase/trunk/video/mythtv/BUILD	2007-06-10 05:10:42 UTC (rev 24773)
@@ -1,28 +1,26 @@
 (
-	sedit "s:PREFIX = .*:PREFIX=/usr:" settings.pro
-	#if use alsa
-	sedit "s:#CONFIG += using_alsa:CONFIG += using_alsa:" settings.pro
-	sedit "s:#ALSA_LIBS = -lasound:ALSA_LIBS = -lasound:" settings.pro
-	#fi
-	sedit "s:QMAKE_CXXFLAGS_RELEASE = -O3 -march=pentiumpro -fomit-frame-pointer:QMAKE_CXXFLAGS_RELEASE = $CXXFLAGS:" settings.pro
-	sedit "s:DEFINES += MMX:DEFINES += MMX SSE"
-	./configure		\
-	--prefix=/usr		&&
-	qmake mythtv.pro	&&
-	make 			&&
-	# To enable parallel builds the librarys must be built in this order
-	#make -C libs/libavcodec		&&
-	#make -C libs/libavformat	&&
-	#make -C libs/libmyth		&&
-	#make -C libs/libmythtv		&&
-	#make			&&
-	prepare_install		&&
-	make install		&&
-	#copy other installable files to their locations
-	cp setup/setup /usr/share/mythtv/ &&
-	cp $SCRIPT_DIRECTORY/mythfilldatabasecron /usr/bin/	&&
-	chmod 755 /usr/bin/mythfilldatabasecron			&&
-	(test -d /var/lib/mysql/mythconverg || mysql -p < database/mc.sql)
 
-) > $C_FIFO 2>&1
+  sedit "s:PREFIX = .*:PREFIX=/usr:" settings.pro
+  #if use alsa
+  sedit "s:#CONFIG += using_alsa:CONFIG += using_alsa:" settings.pro
+  sedit "s:#ALSA_LIBS = -lasound:ALSA_LIBS = -lasound:" settings.pro
+  #fi
+  sedit "s:QMAKE_CXXFLAGS_RELEASE = .*:QMAKE_CXXFLAGS_RELEASE = $CXXFLAGS:" settings.pro
+  sedit "s:DEFINES += MMX:DEFINES += MMX SSE SSE2"
 
+  ./configure --prefix=/usr	&&
+
+  qmake mythtv.pro		&&
+
+  default_make			&&
+  make 				&&
+  prepare_install		&&
+  make install			&&
+
+  #copy other installable files to their locations
+  #cp setup/setup /usr/share/mythtv/ &&
+  cp $SCRIPT_DIRECTORY/mythfilldatabasecron /usr/bin/ &&
+  chmod 755 /usr/bin/mythfilldatabasecron &&
+  install database/mc.sql /usr/share/mythtv/
+
+) > $C_FIFO 2>&1

Modified: moonbase/trunk/video/mythtv/DETAILS
===================================================================
--- moonbase/trunk/video/mythtv/DETAILS	2007-06-09 22:41:44 UTC (rev 24772)
+++ moonbase/trunk/video/mythtv/DETAILS	2007-06-10 05:10:42 UTC (rev 24773)
@@ -1,12 +1,12 @@
           MODULE=mythtv
-         VERSION=0.17
+         VERSION=0.20
           SOURCE=$MODULE-$VERSION.tar.bz2
       SOURCE_URL=http://www.mythtv.org/mc/
-      SOURCE_VFY=md5:c996dc690d36e946396fc5cd4b715e3b
+      SOURCE_VFY=sha1:be6d2666a689340d40ca608f6a8a3af10f752a55
         WEB_SITE=http://www.mythtv.org
          ENTERED=20040304
-         UPDATED=20050309
-     SHORT="PVR program"
+         UPDATED=20070609
+           SHORT="PVR suite"
 cat << EOF
 MythTV is a PVR program that records video, pauses live tv, and through 
 the various add-ons, it can have:

Modified: moonbase/trunk/video/mythtv/POST_INSTALL
===================================================================
--- moonbase/trunk/video/mythtv/POST_INSTALL	2007-06-09 22:41:44 UTC (rev 24772)
+++ moonbase/trunk/video/mythtv/POST_INSTALL	2007-06-10 05:10:42 UTC (rev 24773)
@@ -1,17 +1,16 @@
 cat << EOF
-Please run /usr/share/mythtv/setup to configure MythTV.  The 
-database has been installed for you, but you may want to muck around 
-with the permissions a bit.
 
-After running /usr/share/mythtv/setup, you'll have to run 
-mythfilldatabase to fill the database with program listings for all the 
-video sources you defined in the setup program.
+Please install the mythtv database. You can do this with:
 
-mythfilldatabase should theoretically be run daily, something most 
-easily done from a cronjob.
+  mysql < /usr/share/mythtv/mc.sql
 
-Add the following to your personal crontab to accomplish this
-(crontab -e) to fill the database at 2:00am daily:
+You should set any permissions on it yourself. Afterwards, run:
+
+  mythtv-setup
+  mythfilldatabase
+
+Add the following to your crontab to update the database daily:
+
 00 02 * * * /bin/bash /usr/bin/mythfilldatabasecron
 
 EOF

Modified: moonbase/trunk/video/mythtv/mythfilldatabasecron
===================================================================
--- moonbase/trunk/video/mythtv/mythfilldatabasecron	2007-06-09 22:41:44 UTC (rev 24772)
+++ moonbase/trunk/video/mythtv/mythfilldatabasecron	2007-06-10 05:10:42 UTC (rev 24773)
@@ -1,3 +1,5 @@
 #!/bin/bash
-export QTDIR=/opt/lunar/qt/3
+
+. /etc/profile.d/qt3.rc
+
 /usr/bin/mythfilldatabase



More information about the Lunar-commits mailing list