Sat, 14 May 2005

JavaHMO Debian Package

JavaHMO is an application that allows you to use the Tivo Home Media Option to access music and photos stored on your Java-supported computer (Linux is a good choice) via your Tivo. I previously created a Debian init script for JavaHMO. Dave posted a comment on that page saying that he was having problems getting JavaHMO to start. It looks like the init script doesn't work with newer version of JavaHMO.

So I've started working on a more proper Debian package for JavaHMO. Rather than simply using alien to convert the RPM, I've tried to make it more of a proper Debian package. I've removed all the capital letters from directory and file names, so the config directory is /etc/javahmo rather than /etc/javaHMO, for example. It also creates the javahmo user and sets up the init script links.

I'm quite new to Debian packaging, and I haven't made it through the whole Policy Manual yet. Suggestions for improvements to the package are welcome.

Installation Instructions

You'll need to have a JVM installed. I recommend using make-jpkg with Sun's JRE.

Add the following line to /etc/apt/sources.list:
deb http://packages.pinkhamster.net/ unstable main
and run apt-get install javahmo. The JavaHMO configuration file, /etc/javahmo/configure.xml, is writable by group javahmo. Add any users who should be able to configure JavaHMO to this group. Run jhmo gui to start up the gui configuration tool and enable the plugins that you would like to use.

tech | Permanent Link

The state is that great fiction by which everyone tries to live at the expense of everyone else. - Frederic Bastiat