Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Instant Coffee - Packaging Java Applications for Fremantle

    Reply
    Page 1 of 4 | 1   2     3   | Next | Last
    Wonko | # 1 | 2010-05-04, 19:07 | Report

    Hi,

    I started to package some Java applications to put these up in the repository.
    The idea is to write scripts which allow the easy and reproducible creation of *.deb files for upload to the repository.
    The scripts are available at https://garage.maemo.org/projects/instant-coffee/

    So far I uploaded the Cambridge Software Labs version of the OpenJDK to extras-devel non-free (package name icedtea6) and Ant to extras-devel.
    Reason for calling the OpenJDK version "icedtea6" is that the output of "java -version" reports it as "icedtea6".

    I hope that everything is correct so far.
    Especially licensing issues are not that easy to grasp.

    Every feedback/support is highly appreciated.


    Best regards

    Wonko

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 24 Users Say Thank You to Wonko For This Useful Post:
    AlMehdi, antoarts, atnnn, Bundyo, conny, Corwin, Cue, ezmendriz, fcrochik, Higgsboson, jcharpak, MaddogG, mece, mikec, MohammadAG, noobmonkey, NvyUs, Omkar, Patola, qole, rariss, shiny, uppercase, vkv.raju

     
    Wonko | # 2 | 2010-05-04, 20:58 | Report

    Added jline and clojure to extras-devel.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to Wonko For This Useful Post:
    jcharpak, mikec, noobmonkey, NvyUs

     
    atnnn | # 3 | 2010-05-04, 21:45 | Report

    That's a great initiative, thanks.

    Did you upload the binaries from the website or were you able to get the source and recompile it?

    Specifically, it would be great to compile the browser plugin with a compatible version of libc++.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    smoku | # 4 | 2010-05-04, 22:02 | Report

    Why OpenJDK and non-free?
    Isn't Sun Java fully open now?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Wonko | # 5 | 2010-05-04, 22:22 | Report

    Originally Posted by atnnn View Post
    That's a great initiative, thanks.

    Did you upload the binaries from the website or were you able to get the source and recompile it?

    Specifically, it would be great to compile the browser plugin with a compatible version of libc++.
    I used the binaries from http://camswl.com

    Originally Posted by smoku
    Why OpenJDK and non-free?
    Isn't Sun Java fully open now?
    I uploaded the JDK to non-free because only non-free allows to upload *.deb files directly.
    I built all the packages using py2deb but for some reason the autobuilder did not like the package I set up for the JDK.
    You can see the relevant build log here https://garage.maemo.org/builder/fre...log.FAILED.txt
    As you can see in the control file I specified libpulse0 (>= 0.9.15~test5) as dependency but somehow the autobuilder did not pick up the .so file correctly.
    Also specifying libpulse-dev did not help. So I decided to build the deb here in Scratchbox and go the way via non-free.

    As for "really" compiling the whole thing from source: I simply don't have the time to figure this out at the moment. Afaik this involves quite some work to get even the "buildchain" required for building icedtea right.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    MohammadAG | # 6 | 2010-05-04, 22:26 | Report

    Originally Posted by Wonko View Post
    I used the binaries from http://camswl.com


    I uploaded the JDK to non-free because only non-free allows to upload *.deb files directly.
    I built all the packages using py2deb but for some reason the autobuilder did not like the package I set up for the JDK.
    You can see the relevant build log here https://garage.maemo.org/builder/fre...log.FAILED.txt
    As you can see in the control file I specified libpulse0 (>= 0.9.15~test5) as dependency but somehow the autobuilder did not pick up the .so file correctly.
    If you're sure the package works you might be able to remove dpkg-shlibdeps from debian/rules and see if it works in free.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to MohammadAG For This Useful Post:
    Patola, Wonko

     
    mrebanza | # 7 | 2010-05-05, 08:16 | Report

    Could adding Java Support to Maemo lead to running Android Apps Natively on the n900????

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to mrebanza For This Useful Post:
    cashclientel

     
    shiny | # 8 | 2010-05-05, 08:23 | Report

    Many thanks! I'm most interested in this (as a fairly regular Java programmer when I'm not doing client-side work) and it'd be great to see Java stuff easily portable. There's another thread somewhere where someone has ported SWT, too. An installable combination of those two would be ideal from my perspective.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    kevloral | # 9 | 2010-05-05, 08:38 | Report

    Originally Posted by mrebanza View Post
    Could adding Java Support to Maemo lead to running Android Apps Natively on the n900????
    Not so easy. Android applications are written using the Java language syntax, but most of the API is different, as well as the bytecode format.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to kevloral For This Useful Post:
    cashclientel

     
    Wonko | # 10 | 2010-05-05, 08:41 | Report

    Originally Posted by MohammadAG
    If you're sure the package works you might be able to remove dpkg-shlibdeps from debian/rules and see if it works in free.
    Thanks, I will try this.

    Originally Posted by mrebanza
    Could adding Java Support to Maemo lead to running Android Apps Natively on the n900????
    I have no clue what is necessary to run Android Apps.
    Maybe you find an answer in the following thread:
    http://talk.maemo.org/showthread.php?t=37405
    Or, if you are sure there is no other thread about that yet, open a thread about running Android Apps on the N900 yourself.
    This thread has the focus on packaging Java applications.

    Originally Posted by shiny
    There's another thread somewhere where someone has ported SWT, too. An installable combination of those two would be ideal from my perspective.
    That someone would be me
    I'm working on packaging that one too.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 4 | 1   2     3   | Next | Last
vBulletin® Version 3.8.8
Normal Logout