Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : How to build Sunrise XP


codeb
04-25-2007, 09:58 PM
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 :2thumbsup

Laurens
04-26-2007, 05:52 AM
Note that Sunrise XP is not open-source, but Sunrise Java version is. You can download the source release here: http://sourceforge.net/project/showfiles.php?group_id=151061&package_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.

codeb
04-27-2007, 12:11 AM
Do you mean using only the source codes in the java folder of the source release I can build Sunrise?

Thank you.

Laurens
04-27-2007, 04:17 AM
Do you mean using only the source codes in the java folder of the source release I can build Sunrise?

Thank you.

Using Ant, yes.

codeb
04-28-2007, 01:42 AM
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.

Laurens
04-28-2007, 02:39 AM
C++ is for HotSync conduit, executable and some other support stuff. You don't strictly need them.

akfedux
07-04-2007, 08:04 AM
Do you mean using only the source codes in the java folder of the source release I can build Sunrise?

Thank you.

Hi, this is short instriction:

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