[Ubuntu] How do i get Geopublisher in ?
Alan Boudreault
aboudreault at mapgears.com
Mon Jan 18 11:49:31 EST 2010
I see. Perhaps you can create a "source package" with ant.... but I don't know
ant at all. The proper and clean way is to create a real debian source package
, or find someone to do it :) :
http://www.debian.org/doc/maint-guide/
Of course, it needs a some time to learn the procedure.
Alan
On January 18, 2010 10:19:36 am Stefan Krüger wrote:
> Hi Alan
>
> On Monday 18 January 2010 15:35:46 you wrote:
> > I'm not sure to understand how you got a .deb binary package without
> > having made the source package before. What's build.xml file?? How are
> > you creating your deb files ?
>
> A deb file is just an archive containing some .tar.gz files. I create them
> using an ant-task (http://code.google.com/p/ant-deb-task/)
>
> build.xml is the configuration file for the ant tool
> (http://ant.apache.org/) which is often used to automatically create jars
> for java applications.
>
> > To answer to your question, no. It is not possible to just add a .deb
> > file in a launchpad PPA. The reason is simple, you cannot compile a deb
> > package and expect it will work on all ubuntu releases and different
> > architectures by simply copying it. I know that it's a java application
> > and theorically we are supposed to be able to copy the application easily
> > between different platforms. But the deb packages are there to ensure
> > that all dependencies (including java, java modules etc...) with the
> > proper version are on the system and that the application will work.
> > Dependending on the java version or a module version, the application
> > could also use different part of the code, who knows?
>
> Well.. my application just has one dependency "sun-java6-jre".. and i use
> the same .deb to install the application successfully on i386 and amd64...
>
> OK.. thanks for the answer... i will try to find a solution...
>
> greetings,
> steve
>
> > regards,
> > Alan
> >
> > On January 18, 2010 09:18:57 am Stefan Krüger wrote:
> > > Hi Alan
> > >
> > > On Monday 18 January 2010 14:51:44 you wrote:
> > > > Hi Steve,
> > > >
> > > > Yes it would be very useful to have a personal PPA to test your
> > > > packages. If you have a launchpad account, you can easily create a
> > > > ppa. On the main page of your account, you should have a link named
> > > > "Create a new PPA". To upload a package, see the procedure below:
> > > >
> > > > https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage
> > > > https://help.launchpad.net/Packaging/PPA/Uploading
> > >
> > > Thanks for the links, but i did and read that all... It doesn't help
> > > with my problem. I have a PPA, but i have nothing to upload...
> > >
> > > > about the java packaging, I guess you could ask on the Debian GIS
> > > > mailing list:
> > > >
> > > > http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-general
> > >
> > > I will have to try then, but i don't see a clean solution. Ubuntu PPAs
> > > don't accept .deb packages, they accept source code packages and build
> > > instructions and then they build .debs for all platforms. That A)
> > > makes not much sense for Java applications, and B) is my build.xml
> > > about 1000 lines long and based on many extra ant tasks.
> > >
> > > I suppose it would take me a few full days of work to get this working
> > > with an ubuntu ppa. if at all...
> > >
> > > >Yes it would be very useful to have a personal PPA to test your
> > > > packages
> > >
> > > I have a public Ubuntu repository where Ubuntu .deb packages are lying.
> > > (described at http://en.geopublishing.org/Download) You could test it
> > > from there.
> > >
> > > Let me ask more exact: Is it technically possible that a .deb is added
> > > to the UbuntuGIS repository without having it stored in an UbuntuPPA?
> > >
> > > Thanks
> > > Steve
> > >
> > > > regards,
> > > > Alan
> > > >
> > > > On January 18, 2010 05:13:47 am Stefan Krüger wrote:
> > > > > Hi
> > > > >
> > > > > Do I need an Ubuntu PPA to get my .deb into UbuntuGIS repository?
> > > > >
> > > > > Because my project is in Java and my build-process is pretty
> > > > > complicated (Geopublisher is a JavaWebStart and/or offline
> > > > > application that creates signed and pack200'ed JavaWebStart online
> > > > > or offline applications). I have no idea how to tell the Ubuntu PPA
> > > > > how to build the .deb for me and AFAIK it is not possible to just
> > > > > upload .debs to an Ubuntu PPA.
> > > > >
> > > > > But i managed to add .deb creation to my build process. So there is
> > > > > a public and signed repository described here:
> > > > > (http://en.geopublishing.org/Download) that provides the
> > > > > Geopublisher and AtlasStyler stable releases.
> > > > >
> > > > > Otherwise i would really need help on how to create the Debian
> > > > > source package for my application. The best i found was
> > > > > http://wiki.debian.org/Java/Packaging , but i have no idea how to
> > > > > implement stuff like jar signing or pack200 compression with that.
> > > > >
> > > > > Greetings,
> > > > > Steve
> > > > >
> > > > > On Friday 30 October 2009 17:04:48 Alex Mandel wrote:
> > > > > > Stefan Krüger wrote:
> > > > > > > Hi
> > > > > > >
> > > > > > > I would like to add AtlasStyler[1] and Geopublisher[2]
> > > > > > > applications to the repository. Besides creating a .deb (i will
> > > > > > > google that up), which organizational steps to i have to
> > > > > > > undertake?
> > > > > > >
> > > > > > > Greetings,
> > > > > > > Steve
> > > > > > >
> > > > > > > [1] http://en.geopublishing.org/AtlasStyler
> > > > > > > [2] http://en.geopublishing.org/Geopublisher
> > > > > >
> > > > > > You'll need a launchpad account, a key to sign your packages with
> > > > > > and approval from at least Alan the keeper of the Gates to upload
> > > > > > it. I look forward to giving those apps a try.
> > > > > >
> > > > > > Creating a deb you'll want to follow:
> > > > > > https://wiki.ubuntu.com/PackagingGuide/Complete
> > > > > >
> > > > > > Thanks,
> > > > > > Alex
> > > > > > _______________________________________________
> > > > > > Ubuntu mailing list
> > > > > > Ubuntu at lists.osgeo.org
> > > > > > http://lists.osgeo.org/mailman/listinfo/ubuntu
>
--
Alan Boudreault
Mapgears
http://www.mapgears.com
More information about the Ubuntu
mailing list