D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Deb file for Ubuntu

 

On Wed, 6 Jan 2010 11:04:31 +0000 (GMT)
Peter Lloyd-Jones <peter@xxxxxxxxxxxxxxxxxxxx> wrote:

> I have manually made a deb file for Ubuntu (Give the  boy a pat on
> the back) (and thanks for the advice).  I think it broke all the
> rules but having made it on my lappy and transferring it to my test
> machine I could run a train!

http://www.uk.debian.org/devel/ is your friend
 
> Part of my problem is (I think) that most instructions are aimed at
> compiling from C.  Obviously JMRI uses Java.  Though I occasionally
> compile my own version (when asked to by the developers or when I am
> impatient to get a new feature) I normally just download the tarball.
 
http://www.uk.debian.org/doc/packaging-manuals/java-policy/

> What I did do, and intend doing, is building a directory branch in my
> home folder, and then use comman tools to build when I have it
> populated correctly.  (ar and tar).

Yuk. Use debhelper and take a look at how other packages build in
standard Debian.
 
> However my first of many questions, could some one give me a pointer
> to how I get items on the Application Menu.  I think I can do it by
> putting "stuff" in /usr/share/applications
> and /usr/share/application-registry but am not sure if that is the
> "official way". 

Not sure how best to do it for Java stuff but it just means creating a
foo.desktop.in.in file and tying that in with your $(MAKE) process to
include translation support etc. and then listing that in the install
file for the package.

Also, use the debian-mentors site and mailing list for help on
questions about any part of Debian packaging.

http://mentors.debian.net/

http://lists.debian.org/debian-mentors/

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.linux.codehelp.co.uk/
http://e-mail.is-not-s.ms/

Attachment: pgpZ4gzpOWKrY.pgp
Description: PGP signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html