Fwd: Eclipse packaging

Pantelis Koukousoulas pktoss at gmail.com
Sat Dec 20 06:28:22 UTC 2008


I 'm starting to hate gmail ;-)

---------- Forwarded message ----------
From: Pantelis Koukousoulas <pktoss at gmail.com>
Date: Sat, Dec 20, 2008 at 8:26 AM
Subject: Re: Eclipse packaging
To: Ilya <conscious at mail.ru>


On Fri, Dec 19, 2008 at 10:27 PM, Ilya <conscious at mail.ru> wrote:
> Hello everybody,
>
> I'd also like to help with packaging Eclipse for Debian.

Hello llya,

You are most welcome :-)

>
> Bug 308652 [1] looks reasonably simple for me to work on. At the
> moment, I have eclipse.menu and eclipse.desktop files as well as
> several icons, but still have to figure out where to put what. There
> seems to be no postinst or prerm scripts in the current version (and
> there are some things to put in them), and I guess build.sh needs to be
> modified so that icons land in the right place. I'll try to research
> this on weekend, but if someone has a quick hint I'll appreciate that.
>
> [1] https://bugs.launchpad.net/eclipse-debian/+bug/308652

Yes, you will have to add an eclipse-full.postinst and eclipse-full.prerm
script with your desktop bits.

I think you should put the eclipse-full.menu file straight in debian/
and the rest in debian/extras.

You will most likely not have to touch anything in debian/scripts.

Testing that it works will be up to you though :-)

Btw, it would be wise to look at how this is handled in the current
debian package files in

svn co svn://svn.debian.org/pkg-java/trunk/eclipse

Also, hint:

Because the build process takes a loooong time it would be wise
if you can figure out a way to not have to repeat it every time you
change something.

So you might have a script for your personal use that does something
along the lines of:

apt-get remove eclipse-full &&
debian/rules install (or binary) &&
<whatever command actually builds a deb> &&
cd ..; sudo dpkg -i eclipse-full*.deb; cd -

If you figure this out, please post the script on the list for the benefit
of others with similar needs :-)

Cheers,
Pantelis



More information about the pkg-java-maintainers mailing list