| View previous topic :: View next topic |
| Author |
Message |
cecil Site Admin
Joined: 19 Sep 2003 Posts: 2643 Location: Fontana, Ca
|
Posted: Sat Mar 18, 2006 12: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.
Last edited by cecil on Thu Nov 02, 2006 1:15 pm; edited 1 time in total |
|
| Back to top |
|
 |
mac
Joined: 21 Feb 2006 Posts: 396 Location: Dushanbe, Tajikistan
|
Posted: Sat Mar 18, 2006 1: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) |
|
| Back to top |
|
 |
dartmanx
Joined: 15 Feb 2006 Posts: 47
|
Posted: Sat Mar 18, 2006 4: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? |
|
| Back to top |
|
 |
cesman
Joined: 19 Sep 2003 Posts: 5044 Location: Fontana, Ca
|
Posted: Sat Mar 18, 2006 9: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. _________________ cesman
When the source is open, the possibilities are endless! |
|
| Back to top |
|
 |
mac
Joined: 21 Feb 2006 Posts: 396 Location: Dushanbe, Tajikistan
|
Posted: Sat Mar 18, 2006 3: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) |
|
| Back to top |
|
 |
Greg Frost
Joined: 10 May 2004 Posts: 1888 Location: Adelaide, Australia
|
Posted: Sat Mar 18, 2006 4:22 pm Post subject: |
|
|
| Did you build and install mythtv before doing the plugins? |
|
| Back to top |
|
 |
mac
Joined: 21 Feb 2006 Posts: 396 Location: Dushanbe, Tajikistan
|
Posted: Sat Mar 18, 2006 4: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 |
|
| Back to top |
|
 |
cesman
Joined: 19 Sep 2003 Posts: 5044 Location: Fontana, Ca
|
Posted: Sat Mar 18, 2006 10:43 pm Post subject: |
|
|
I wonder why my instruction state to install MythTV before compiling the plugins? _________________ cesman
When the source is open, the possibilities are endless! |
|
| Back to top |
|
 |
mac
Joined: 21 Feb 2006 Posts: 396 Location: Dushanbe, Tajikistan
|
Posted: Sat Mar 18, 2006 11:07 pm 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 |
|
|
| Back to top |
|
 |
mac
Joined: 21 Feb 2006 Posts: 396 Location: Dushanbe, Tajikistan
|
Posted: Sun Mar 19, 2006 12: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!
Last edited by mac on Mon Mar 20, 2006 8:12 am; edited 6 times in total |
|
| Back to top |
|
 |
red321
Joined: 07 Mar 2004 Posts: 116 Location: UK
|
Posted: Sun Mar 19, 2006 2: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  |
|
| Back to top |
|
 |
mac
Joined: 21 Feb 2006 Posts: 396 Location: Dushanbe, Tajikistan
|
Posted: Sun Mar 19, 2006 2: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 ;) |
|
| Back to top |
|
 |
cesman
Joined: 19 Sep 2003 Posts: 5044 Location: Fontana, Ca
|
Posted: Sun Mar 19, 2006 12: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. _________________ cesman
When the source is open, the possibilities are endless! |
|
| Back to top |
|
 |
sgtstadanko
Joined: 05 May 2005 Posts: 9
|
Posted: Sun Mar 19, 2006 6:49 pm Post subject: |
|
|
sorry
Last edited by sgtstadanko on Mon Mar 20, 2006 5:37 am; edited 1 time in total |
|
| Back to top |
|
 |
cesman
Joined: 19 Sep 2003 Posts: 5044 Location: Fontana, Ca
|
Posted: Mon Mar 20, 2006 12: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. _________________ cesman
When the source is open, the possibilities are endless! |
|
| Back to top |
|
 |
|