Living on the Edge

From XMLTV
Revision as of 12:56, 3 September 2010 by Dekarl (Talk | contribs) (draft guide for living on the edge)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

With rapidly changing grabbers you might want to run the development version of xmltv on your system. Here's how to do this on Unix/Linux. The instructions work on Windows / Mac OS X etc. if you have a suitable development environment installed. (e.g. Mingw on Windows)

Get the Source

Get the latest version of the source code, preferably by checking it out from the central repository (it's easier to stay up to date that way)

  • either download the source from INSERTLOCATION
  • or checkout via cvs as described over at sourceforge
% cvs -z3 -d:pserver:anonymous@xmltv.cvs.sourceforge.net:/cvsroot/xmltv co -P xmltv

Build from Source

As seen at http://xmltv.cvs.sourceforge.net/viewvc/xmltv/xmltv/README

Basic installation instructions (Linux/Unix):

% perl Makefile.PL
% make
% make test
% make install

To install in a custom directory, replace the first line with something like

% perl Makefile.PL PREFIX=/wherever/

Test your Grabber

If you just updated or change the grabber you can test it by running the following commands in the source tree.

% make
% grab/test_grabbers --only uk_rt

Prepare a Patch

If you changed the source code of the grabber you can sum up the changes to submit back.

% cvs -q diff > ~/a-nice-name-summarizing-your-changes.patch