View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 22 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Building 0.19 debs
PostPosted: Sat Mar 18, 2006 2:31 am 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
For those that don't want to upgrade...

1. Get the MythTV source.
2. Get the diff you want.
3. Patch the source w/ the diff.
4. Build the deb.
5. Install the deb.
6. Enjoy!

The following diffs are available.
MythPlugins i586
MythPlugins i686
MythTV i586
MythTV i686
No, there is no 0.19 MythThemes diff, just build source.

Example:
Code:
mythtv@sbe:~$ svn co http://svn.mythtv.org/svn/branches/release-0-19-fixes/mythtv && svn co http://svn.mythtv.org/svn/branches/release-0-19-fixes/mythplugins && svn co http://svn.mythtv.org/svn/branches/release-0-19-fixes/myththemes
mythtv@sbe:~$ wget ftp://ftp.knoppmyth.net/R5/diffs/knoppmyth_plugins-0.19.0-6-i586.diff && wget ftp://ftp.knoppmyth.net/R5/diffs/knoppmyth_tv_0.19.0-4_i586.diff
mythtv@sbe:~$ cd mythtv
mythtv@sbe:~/mythtv$patch -p1 < ../knoppmyth_tv_0.19.0-4_i586.diff
[snip]
mythtv@sbe:~/mythtv$ chmod +x debian/rules 
mythtv@sbe:~/mythtv$ fakeroot dpkg-buildpackage -us -uc -b
[snip]
mythtv@sbe:~/mythtv$ su
root@sbe:/home/mythtv/mythtv#dpkg -i ../*.deb
root@sbe:/home/mythtv/mythtv#exit
mythtv@sbe:~/mythtv$ cd ../mythplugins/
mythtv@sbe:~/mythplugins$ patch -p1 < ../knoppmyth_plugins-0.19.0-6-i586.diff
[snip]
mythtv@sbe:~/mythplugins$ chmod +x debian/rules
mythtv@sbe:~/mythplugins$ fakeroot dpkg-buildpackage -us -uc -b
mythtv@sbe:~/mythplugins$ su
root@sbe:/home/mythtv/mythplugins# dpkg -i ../mythplugins_0.19.0-4_i586_i386.deb
root@sbe:/home/mythtv/mythplugins# exit
mythtv@sbe:~/mythplugins$ cd ../myththemes/
mythtv@sbe:~/myththemes$ ./configure --prefix=/usr
mythtv@sbe:~/myththemes$ qmake myththemes.pro
mythtv@sbe:~/myththemes$ su
root@sbe:/home/mythtv/myththemes# make install


Ensure you backup first. You'll also want to stop the backend. To install the debs on a slave backend or frontend, you'll have to change you mysql.txt. The DBHostName must be localhost.
Quote:
DBHostName=localhost
By sure you change it back after installing.


Last edited by cecil on Thu Nov 02, 2006 3:15 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 18, 2006 3:54 am 
Offline
Joined: Tue Feb 21, 2006 7:24 am
Posts: 396
Location: Dushanbe, Tajikistan
thank you!

This is something has been in the back of my mind for a bit and I don't think I'am the only
one that has this question.. that is -

For someone with a reasonable amount mythtv/linux knowledge is the Get,Patch,Build,Enjoy
(GPBE ;) route of getting to 0.19 from a knoppmyth box at mythtv 0.18 (R5A16 in my case)
a better way to go than popping in CD telling it to go to town and upgrade and tweeking
things back to normal at the end. --

Also, it would be cool if people could post back there experences from taking this path
to 0.19. (I will)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 18, 2006 6:49 am 
Offline
Joined: Wed Feb 15, 2006 7:16 am
Posts: 47
I'm not overly concerned about items that don't load down the CPU overly much, but what about ffmpeg and mplayer? Anyone got instructions/links for building those on a higher architecture?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 18, 2006 11:41 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
This thread is about building the MythTV debs. If you search the forum, you'll find instructions on MPlayer. I'd even suggest the most excellent MPlayer docs.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 18, 2006 5:59 pm 
Offline
Joined: Tue Feb 21, 2006 7:24 am
Posts: 396
Location: Dushanbe, Tajikistan
My build of mythplugins is failing with these errors. I take it I am missing something!

main.cpp: In function `int mythplugin_init(const char*)':
main.cpp:106: error: `ActivateSettingsCache' undeclared (first use this function)
main.cpp:106: error: (Each undeclared identifier is reported only once for each function it appears in.)
main.cpp: In function `void runGames()':
main.cpp:126: error: `addCurrentLocation' undeclared (first use this function)
main.cpp:129: error: `removeCurrentLocation' undeclared (first use this function)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 18, 2006 6:22 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Did you build and install mythtv before doing the plugins?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 18, 2006 6:44 pm 
Offline
Joined: Tue Feb 21, 2006 7:24 am
Posts: 396
Location: Dushanbe, Tajikistan
I did build mythtv it completed successfuly. I didn't do the install yet..

I guess that I should have at least installed the dev stuff :)

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 12:43 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
I wonder why my instruction state to install MythTV before compiling the plugins?

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 1:07 am 
Offline
Joined: Tue Feb 21, 2006 7:24 am
Posts: 396
Location: Dushanbe, Tajikistan
Once I followed instructions, it worked. Thank you. This was on a R5A16 machine.

One small hitch below -- doing a "dpkg -r libmyth-0.18-dev" fixed the problem.

Code:
dpkg: regarding libmyth-0.19-dev_0.19.0-4_km_i586_i386.deb containing libmyth-0.19-dev:
 libmyth-0.19-dev conflicts with libmyth-dev
  libmyth-0.18-dev provides libmyth-dev and is installed.
dpkg: error processing libmyth-0.19-dev_0.19.0-4_km_i586_i386.deb (--install):
 conflicting packages - not installing libmyth-0.19-dev
Errors were encountered while processing:
 libmyth-0.19-dev_0.19.0-4_km_i586_i386.deb


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 2:57 am 
Offline
Joined: Tue Feb 21, 2006 7:24 am
Posts: 396
Location: Dushanbe, Tajikistan
All said and done, this process came off great.

============================================
[revised] its getting ugly for me! --
I have an unknown problem where mythfront end starts spinning on something
the disk light goes solid... nothing in logs as to what is going on.
strace fills the screen with a read command, the same one over and over.

schedule recording are not working, just giving a blank file.. mythweb is just
giving a directory listing. I am going backup what I can and break down do the
auto-upgrade.. oh well. It was worth a shot. btw.. Live-Tv was working..
** next day **
the auto upgrade came off without a hitch! Great job :)
================================================

I built and installed the deb's rebooted and bingo.. back up and running at .19.

my lirc is not working, but its not big deal. I can work through that fairly quickly.

I am also getting these in /var/log/messages --

mythtv kernel: ivtv0 warning: IRQ: IVTV_IRQ_DEC_DMA_ERR
mythtv last message repeated 18 times

It does not appear to be causing problems. I am going to try the noacpi option in
lilo to see if that fixes it.

thanks again for posting this thread, for me it was a better solution. The reason is that
our mythtv machine quickly evolved into a general purpose linux desktop.
I have already spent a lot of time upgrading and installing packages, fixing up my
kernel and adding custom scripts. Even if knoppmyth had dropped me at the same
spot with regard to the mythtv side of my machine, I would have still had to spend time
getting things back to the way I wanted with everything else.

Great work on knoppmyth it is great way to bring new folks in contact with linux.
And as a painless PVR solution, it can't be beat!


Last edited by mac on Mon Mar 20, 2006 10:12 am, edited 6 times in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 4:34 am 
Offline
Joined: Sun Mar 07, 2004 5:34 am
Posts: 116
Location: UK
When I try to build using fakeroot dpkg-buildpackage -us -uc -b

I keep getting distcc errors.

As I am not trying to use distcc can I turn it off using a flag ?

Or am I doing somthing really dumb :-)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 4:48 am 
Offline
Joined: Tue Feb 21, 2006 7:24 am
Posts: 396
Location: Dushanbe, Tajikistan
I had that problem as well, but since both my and my wifes laptops use linux, I just
setup distcc and speeded up the compile. Didn't bother looking for a flag to turn off distcc
or anything it was easier to just setup distcc..

You can get it to make on a standalone machine with little effort:

apt-get install distcc
distccd -allow 127.0.0.1
echo localhost > /root/.distcc/hosts

(yes, I compiled it as root ;)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 2:10 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
distcc is already installed. You can ignore those errors. The flag is in debian/rules. Take a look at http://www.debian-administration.org/articles/112 for details on using it.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 8:49 pm 
Offline
Joined: Thu May 05, 2005 8:29 pm
Posts: 9
sorry


Last edited by sgtstadanko on Mon Mar 20, 2006 7:37 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 20, 2006 2:11 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
This thread is solely about build 0.19 debs. If you have issues unrelated to building those debs, then please post in the appropriate area of the forum.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu