Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > Miscellaneous > Archive > Sunrise

Notices

 
 
Thread Tools Search this Thread
Old 04-25-2007, 11:58 PM   #1
codeb
Junior Member
codeb began at the beginning.
 
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
codeb is offline  
Old 04-26-2007, 07:52 AM   #2
Laurens
Jah Blessed
Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.
 
Laurens's Avatar
 
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.
Laurens is offline  
Old 04-27-2007, 02:11 AM   #3
codeb
Junior Member
codeb began at the beginning.
 
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.
codeb is offline  
Old 04-27-2007, 06:17 AM   #4
Laurens
Jah Blessed
Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.
 
Laurens's Avatar
 
Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
Quote:
Originally Posted by codeb
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.
Laurens is offline  
Old 04-28-2007, 03:42 AM   #5
codeb
Junior Member
codeb began at the beginning.
 
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.
codeb is offline  
Old 04-28-2007, 04:39 AM   #6
Laurens
Jah Blessed
Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.
 
Laurens's Avatar
 
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.
Laurens is offline  
Old 07-04-2007, 10:04 AM   #7
akfedux
Junior Member
akfedux began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2007
Device: NZ90
Quote:
Originally Posted by codeb View Post
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
akfedux is offline  
Old 09-25-2010, 05:53 PM   #8
niun
Junior Member
niun began at the beginning.
 
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:
Originally Posted by akfedux View Post
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
The Build process with ant compile and ant jar is working, but when I try to run sunrise-desktop.jar I get the following Error (the "no swt-win32-3206" part leads me to my assumption, that I should follow the quoted instruction from akfedux, but I do not know where to replace these gtk libs).

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)
niun is offline  
Old 09-26-2010, 06:56 AM   #9
GeoffC
Chocolate Grasshopper ...
GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.
 
GeoffC's Avatar
 
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
GeoffC is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 06:38 PM.


MobileRead.com is a privately owned, operated and funded community.