LinHES Forums
http://forum.linhes.org/

Building 0.19 debs
http://forum.linhes.org/viewtopic.php?f=6&t=9042
Page 1 of 2

Author:  cecil [ Sat Mar 18, 2006 2:31 am ]
Post subject:  Building 0.19 debs

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.

Author:  mac [ Sat Mar 18, 2006 3:54 am ]
Post subject: 

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)

Author:  dartmanx [ Sat Mar 18, 2006 6:49 am ]
Post subject: 

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?

Author:  cesman [ Sat Mar 18, 2006 11:41 am ]
Post subject: 

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.

Author:  mac [ Sat Mar 18, 2006 5:59 pm ]
Post subject: 

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)

Author:  Greg Frost [ Sat Mar 18, 2006 6:22 pm ]
Post subject: 

Did you build and install mythtv before doing the plugins?

Author:  mac [ Sat Mar 18, 2006 6:44 pm ]
Post subject: 

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

Author:  cesman [ Sun Mar 19, 2006 12:43 am ]
Post subject: 

I wonder why my instruction state to install MythTV before compiling the plugins?

Author:  mac [ Sun Mar 19, 2006 1:07 am ]
Post subject: 

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

Author:  mac [ Sun Mar 19, 2006 2:57 am ]
Post subject: 

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!

Author:  red321 [ Sun Mar 19, 2006 4:34 am ]
Post subject: 

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 :-)

Author:  mac [ Sun Mar 19, 2006 4:48 am ]
Post subject: 

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 ;)

Author:  cesman [ Sun Mar 19, 2006 2:10 pm ]
Post subject: 

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.

Author:  sgtstadanko [ Sun Mar 19, 2006 8:49 pm ]
Post subject: 

sorry

Author:  cesman [ Mon Mar 20, 2006 2:11 am ]
Post subject: 

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.

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/