Building mythtv
Submitted by stga on Tue, 2006-06-06 11:47. Build mythtvWhen building mythtv I set the configuration --prefix to the release/branch and then I have a symbolic link to the active mythtv.
In these sampels I have built the mythtv-0.19-fixes branch. When building different releases just change the --prefix to your release/branch and change the symbolic link /usr/local/mythtv to point to the release.
If it's the first time you will build mythtv, then you has to first prepare mythtv build enviroment
Build in this order. If you rebuild some parts then rebuild all following parts also.
- mythtv
- mythplugins
Update mythtv to release 0.20
Submitted by stga on Tue, 2006-09-12 00:33. Build mythtvBefore upgrading shut down the backend on the server.
Backup the database
Download the packages from mythtv.org download page. Make sure that you have your system prepared for building myth.
Unpack the tar archive
tar xjf mythplugins-0.20.tar.bz2
Change to mythtv directory, configure and build the version.
Ubuntu as an wireless access point
Submitted by stga on Mon, 2006-09-11 20:07. networkingI have a PCI wireless netgear card that I wan't to use to extend the server with wireless accesspoint function.
We need the hostapd daemon for the access point functionallity
Edit /etc/hostapd/hostapd.conf, delete everything and put this in the file:
driver=madwifi
auth_algs=1
wpa=1
wpa_passphrase=put_a_password_here
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
Now we make the wireless access point. Do this by typing the following;
Prepare mythtv build enviroment
Submitted by stga on Mon, 2006-09-11 14:32. Build mythtv | mythtv build environmentBefore we can build mythtv on ubuntu we has to prepare the enviroment with:
- Update sources.list
- Get mythtv and mythplugins required programs and libraries
- Get linux-headers (for dvb support)
- Get subversion
Update your sources.list
Uncomment the lines with universe repositories (lines 17 and 18, 32 and 33) by removing the initial "#" mark. Make sure that the lines (17, 18, 32, 33) has the keyword "multiverse" at the end; if not, put it there. You can download my version of sources.list.
Create a diskless ubuntu (dapper) with a mythtv client on AMD 64bit
Submitted by stga on Thu, 2006-09-07 19:58. mythtv configurationI have an AMD64 AM2 sockel Asus Pundit that I want to use as a diskless client with mythtv frontend. I'm quite curiouse about the performans gain with 64 bit platform, I don't think mythtv has any 64 bit optimisations yet but other programs might have. I will first install the system on a small spare disk (20G) and when I'm satisfied with the configuration I will move it to the server and setup a PXE boot.
- Install ubuntu dapper
- Prepare mythtv build environment
- Build mythtv, plugins and themes
- Install other programs
- Configure mythtv
mythtv doesn't build on upgraded ubuntu dapper
Submitted by stga on Mon, 2006-09-04 20:43. Build mythtv | mythtv build environmentAfter upgrading ubunto to dapper from breezy mythtv get some compiler errors. You must reinstall mesa-common-dev packages to get it to work again.
Errors:
...snipp...
/usr/include/GL/glu.h:331: error: "GLenum" has not been declared
/usr/include/GL/glu.h:331: error: "GLdouble" has not been declared
/usr/include/GL/glu.h:332: error: "GLdouble" has not been declared
/usr/include/GL/glu.h:332: error: "GLvoid" has not been declared
/usr/include/GL/glu.h:333: error: "GLint" does not name a type
/usr/include/GL/glu.h:334: error: "GLint" does not name a type
/usr/include/qt3/qsqldatabase.h:63: varning: "class QSqlDriverCreatorBase" has virtual functions but non-virtual destructor
Byte av myth versioner
Submitted by stga on Mon, 2006-09-04 19:53.Utgångsläget är att jag har tidigare hämtat aktuell version från subversion. Här är ett exempel där jag byter från trunk versionen och återgår till release-0.19-fixes branchen.
Jag börjar med att uppdatera källkoden.
Efter att koden har uppdaterats tar jag bort föregående versionen och bygger om de komponenterna jag använder (mythtv, myththemes, mythplugins).
** bara om du vill tvinga ett ombygge
sudo make install
När allt är ombyggt och installerat så tar jag en backup av den aktuella databasen (trunk).
mythtv och cardsh
Submitted by stga on Mon, 2006-09-04 09:44.http://www.oldskools.org/
http://mythtv.pbwiki.com/DVBochKortdelning
XSolvo html2xml
Submitted by stga on Sat, 2006-04-08 16:01.
XSolvo html2xml is a free program that converts HTML data to XML.
The HTML format is a loose format that makes it quite a difficulty in parsing and processing data from HTML files. It is much simpler to have it in XML instead.
With the file in XML you can use common utilities and tools to process the data.
So, get rid of the HTML parsing problem with html2xml and convert your HTML pages to XML. Then you can process it as you want with XML parsers, XSLT etc...