jm3 ppa for ubuntu

Hi everybody. Congratulations for the the good work. jme3 is very exciting. and the websites are great!



Are planned to create repositories for linux distributions “oficially” to add the jmonkeyplatform to programs list?

If not I would like to create a ppa “jmonkeyengine” for Ubuntu in launchpad with jmonkeyplatform.

thus appear as a separate program in design or development category

I’ve been wanting to do this for a long time, especially when I upgraded to the Maverick Meerkat 10.10 and saw the “Developer Tools” section in the software center. Somehow though this has always fallen short to other priorities. The brief times of looked into it the process did not look all that straight forward, so you’re welcome to take the lead on this one.



Is there any maintenance involved? Like when we set jMP up in launchpad, can we sync it with our own SVN, or will we have to regularly upload our newest releases?



Do you know if we can be in different categories? Thing is, I’d really like us to be in both “Java” and “IDE”, preferably also “Libraries” as I noticed that’s where most of the game tools are at.



Meanwhile I’ll be reading through this: https://help.launchpad.net/

(teams, maintainers and drivers are what interest me the most)

I agree on what Erlend says, it would be a cool chance but It would either have to be super-easy to synchronize with our svn or we should wait until next release at least…

In any instance we should add the whole SDK (jMP) as a standalone application. This way the user can update the libraries through our update center and we just have to add the complete new release versions to the ubuntu repo, not every single svn commit…

So, we’ll need some info on how to package APT packages here I guess :slight_smile:

Cheers,

Normen

Hi

launchpad have a lot of things, but I say in create only a repository and don’t use the other stuff. The svn sincronizations sounds good but i think too is better only update the major releases. Then we don’t need svn sicronization, or we do the sincro with a cron task in the server or bash script.

To do this we only need to push the files to ppa with a command I think

To create a deb package we have various programs to do this.

Also we need a user because the ppa is ppa:user/program. I vote for ppa:JMETeam/JME

I don’t know how categories works. I’ll look.

My current plan:



The biggest problem I see with the file publishing is that "Each individual file must be no more than 60 MB". Any ideas how we can get around this?

I think publish files and ppas are different.

publish file may be a download link in project site in launcpad (right side)

ppas only work with package manager.

PPAs has 2 GB max size → https://help.launchpad.net/Packaging/PPA?action=show&redirect=PPA



The big problem I see is we need to upload a source tarball (i don’t know if can compile java based programs) and launchpad make the debs

We need to edit some files (MAKEFILES and others) to make this. This link explains how https://wiki.ubuntu.com/PackagingGuide/Complete



I’m testing about how works

We dont need to upload the source… It should be possible to write just a small “fake” make script that just extracts the installer for the SDK or runs it when a GUI is available.

Uh, I just now get what a “PPA” is. I dont think we need that. Automatic updates are provided in a cross-platform manner via the jMP update center. What I meant was getting into the “real” list of official Ubuntu packages with a jMP version, updating it only when the main application changes / full releases are made.

Well, NetBeans 6.9 is available through the software center, which is all we’re interested in doing here. Maybe we could just figure out how they did it. I’ll look into it. Or rather, @zathras any chance you could nudge one of your NetBeans buddies to figure this one out? :slight_smile: I noticed NetBeans platform is in there too.

sorry, missed the thread completely. I contacted them and will try to find out who they worked with and what they did to get netbeans up into the software cehnter. should be a similar process for jme.

erlend_sh said:
Well, NetBeans 6.9 is available through the software center, which is all we're interested in doing here. Maybe we could just figure out how they did it. I'll look into it. Or rather, @zathras any chance you could nudge one of your NetBeans buddies to figure this one out? :) I noticed NetBeans platform is in there too.


OK, my "NetBeans connection" :) says:
  • We should take our source and binary packages and make them satisfy these rules: http://www.debian.org/doc/debian-policy/ (insert 100 pages of instructions here) :-o

  • After that, we upload the packages via http://revu.ubuntuwire.com

  • Then we have to find two Masters of the Universe (MOTUs) to review and upload jme3 into the Universe repo.



If we turn it into a debian package, they can include it in Ubuntu and others, so that is recommended. But I don't know how difficult that is.

Erlend, do you wan to do you magic and chat up the MOTUs to support our cause?

Links:
https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages
https://wiki.ubuntu.com/PackagingGuide/Complete
1 Like

Much appreciated Ruth :slight_smile:



Sure I can talk to them. First off though, don’t we have to figure out how to make .deb packages, and whether or not someone will be able to keep making them?



Update: A bit later today I should have the time to look around for a prospective contributor on the Ubuntu Packaging Board.

erlend_sh said:
First off though, don't we have to figure out how to make .deb packages, and whether or not someone will be able to keep making them?

I guess when we get the hang of it it would just be an addition to our existing build script. So as long as they dont change the file format we should be good. If someone could do the base research and compile concise info on whats to be done (I dont want to read 100 pages oO ) I can give it a whack.

JDEB is a Ant task and a Maven plugin to create Debian packages from Java builds.

I don’t know if this is helpful.

2 Likes
pau said:
JDEB is a Ant task and a Maven plugin to create Debian packages from Java builds.
I don't know if this is helpful.

Cool, thanks, I think it might be very helpful.

Thanks pau, based on that project I found some related resources.



A seemingly related project that is more up to date:

http://code.google.com/p/ant-deb-task/



Two interrelated pages on Debian/Ubuntu packaging:

http://wiki.debian.org/Java/Packaging

http://packages.ubuntu.com/lucid/java-package



Also I finally got around to making the support request on the Ubuntu Forums last night:

http://ubuntuforums.org/showthread.php?p=10036977#post10036977

I used the ant-deb-task to make an ant task in jMP that creates a deb package from the current installer and I think this could work…

Can somebody please try if this deb package works and report back any errors if it doesn’t or any strangeness if it does: jme3-sdk_0.6.1_all.deb



Also please tell me where jMP installs itself by default on Ubuntu and the location of the uninstall script as well as any installer leftover folders (in user.home?).



Cheers,

Normen

OMG!!

goes fine in Ubuntu 10.04 , that use gdebi to install, but in 10.10 fails. I think is Software centre problem, that it can’t shows the java installer.

Would be a way to don’t use the java installer? The installation of netbeans don’t use it.

I tested it on ubuntu 8.0.4 and it worked well. (I already sent more feedback in IM)

pau said:
Would be a way to don't use the java installer? The installation of netbeans don't use it.

Thing is that a) I cannot use pack200 compression then and the size will be bigger and b) it would be a separate install type which means we have to maintain that too instead of just using the default installer. But I will see if I can come up with a deb package w/o the installer..