04-25-2007, 11:58 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Apr 2007
Device: iPod Nano 4Gb / Sony Clie PEG S360
|
How to build Sunrise XP
Hi Laurens: I have looked everywhere but there is no place where I can find info on how to build Sunrise XP. I have some idea and would like to customize Sunrise XP. So it would be really appreciated if you can tell me your development enviroment for Sunrise XP.
Thank you very much for creating this great freeware |
04-26-2007, 07:52 AM | #2 |
Jah Blessed
Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
|
Note that Sunrise XP is not open-source, but Sunrise Java version is. You can download the source release here: http://sourceforge.net/project/showf...kage_id=166933. Unfortunately I don't have the time to write any instructions. There's an Ant build file in the source release from which you can at least build the binary.
|
04-27-2007, 02:11 AM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Apr 2007
Device: iPod Nano 4Gb / Sony Clie PEG S360
|
Do you mean using only the source codes in the java folder of the source release I can build Sunrise?
Thank you. |
04-27-2007, 06:17 AM | #4 | |
Jah Blessed
Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
|
Quote:
|
|
04-28-2007, 03:42 AM | #5 |
Junior Member
Posts: 3
Karma: 10
Join Date: Apr 2007
Device: iPod Nano 4Gb / Sony Clie PEG S360
|
Sorry for being such a newbie :-) but why are there C++ codes and others in the source release? Do I also need the C++ codes to build Sunrise?
Just to really make sure. Thank you. |
04-28-2007, 04:39 AM | #6 |
Jah Blessed
Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
|
C++ is for HotSync conduit, executable and some other support stuff. You don't strictly need them.
|
07-04-2007, 10:04 AM | #7 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Jun 2007
Device: NZ90
|
Quote:
I build on my 64bit os etch. /tmp/sunrise-source-0.42j/java# ant compile Buildfile: build.xml compile: [javac] Compiling 352 source files to /tmp/sunrise-source-0.42j/java/classes [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [copy] Copying 63 files to /tmp/sunrise-source-0.42j/java/classes [copy] Copied 1 empty directory to 1 empty directory under /tmp/sunrise-source-0.42j/java/classes BUILD SUCCESSFUL Total time: 30 seconds /tmp/sunrise-source-0.42j/java# ant jar Buildfile: build.xml compile: jar: [mkdir] Created dir: /tmp/sunrise-source-0.42j/java/build [jar] Building jar: /tmp/sunrise-source-0.42j/java/build/sunrise.jar [jar] Building MANIFEST-only jar: /tmp/sunrise-source-0.42j/java/sunrise-desktop.jar [jar] Building MANIFEST-only jar: /tmp/sunrise-source-0.42j/java/sunrisecl.jar BUILD SUCCESSFUL Total time: 7 seconds Replace old gtk libs with newer and it will be workin. libswt-atk-gtk-3235.so libswt-gtk-3235.so libswt-pi-gtk-3235.so |
|
09-25-2010, 05:53 PM | #8 | |
Junior Member
Posts: 1
Karma: 10
Join Date: Sep 2010
Device: Sony Clié PEG-NR70V/U
|
This thread is old, but maybe, the user akfedux or some java/linux crack is reading this: I think, I have problems with this step:
Quote:
Code:
:/tmp/sr/java$ java -jar sunrise-desktop.jar java.lang.UnsatisfiedLinkError: no swt-win32-3206 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1681) at java.lang.Runtime.loadLibrary0(Runtime.java:840) at java.lang.System.loadLibrary(System.java:1047) at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source) at org.eclipse.swt.internal.win32.OS.<clinit>(Unknown Source) at org.eclipse.swt.widgets.Widget.<clinit>(Unknown Source) at com.distantchord.swt.Window.<init>(Unknown Source) at com.distantchord.sunrise.ui.MainWindow.<init>(Unknown Source) at com.distantchord.sunrise.apps.Desktop.run(Unknown Source) at com.distantchord.sunrise.apps.Desktop.main(Unknown Source) Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.swt.internal.win32.OS at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source) at com.distantchord.swt.SWTUtil.showExceptionInfo(Unknown Source) at com.distantchord.sunrise.apps.Desktop.run(Unknown Source) at com.distantchord.sunrise.apps.Desktop.main(Unknown Source) |
|
09-26-2010, 06:56 AM | #9 |
Chocolate Grasshopper ...
Posts: 27,599
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
|
niun
Welcome to mobileread .... The thread is very old, and the user you have mentioned hasn't been on the forum for equally the same amount of time. Hopefully someone will look in, but have a look in other threads to see if there is a solution elsewhere .. Good luck |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] build issues | troymc | Calibre | 13 | 04-15-2011 02:26 AM |
Mac Build | pdurrant | Sigil | 1 | 08-10-2009 12:31 PM |
0.6.0b1 build help | WayneD | Calibre | 5 | 06-01-2009 09:00 PM |
Does someone still have Mobigen 6.01 build 37? | IceHand | Kindle Formats | 7 | 03-03-2008 06:04 PM |
iLiad Trying to build Thunderbird | Adam B. | iRex Developer's Corner | 3 | 04-25-2007 05:33 AM |