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

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex

Notices

Reply
 
Thread Tools Search this Thread
Old 04-27-2010, 07:01 PM   #1
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 711
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, in love with iRex DR800S. Also a K4NT. Now a Kobo Aura
Lightbulb Core runtime libs package for iRex DRs

EDIT 20101214: new release: v4

Read message #6 for more information about zenity and hpdf.


Hi again,

some of the DR developers/porters are thinking on a common core to build our apps on top.

This package is the basis for it (on the eReader side), some common libraries and tools already compiled for the DR800 and DR1000 that many apps could share, instead of including their own copies. Personally, my ports (FBReader, Osmo, Xournal, lua, etc) will require this package installed on your DR to run from now on.


Included libs in this package:
  • fribidi 0.10.9
  • liblinebreak 2.0
  • libbz2
  • libical 0.44
  • gtkhtml 2.6.3
  • gtkspell 2.0.16
  • libart_lpgl 2.3.21
  • libgnomecanvas 2.30.1
  • poppler 0.10.7
  • goocanvas 0.15
  • gtksourceview 2.6.2
  • gtksourcecompletion 0.7.0
  • vte 0.17.4
  • libglade 2.6.4
  • libharu [hpdf] 2.2.1

There are also some useful applications in the "bin" directory:
  • fbshot 0.3: take screenshots as .png files
  • zile 2.3.21: tiny emacs-like file editor
  • zenity 2.20.1: run simple gtk+ dialogs from command line
They are useful when working from a terminal on the emulator or from within the DR using usbnet in a ssh connection.


Steps to install:
1. enable SD card folders browsing
2. connect device to your computer using the USB cable
3. create a folder "/Programs" in SD card root
4. copy the contents of this compressed file there.
You should have something like:
Code:
       SD card
           /Programs
               _base               (directory)

Changes:
Spoiler:
Code:
v4 - 2010/12/12 01:06
. updated apps:
  - zile 2.3.21
. updated libs:
  - libharu (hpdf) 2.2.1

v3 - 2010/09/06 23:23
. new apps:
  - zenity 2.20.1
. new libs:
  - libharu (hpdf) 2.2.0
. updated apps:
  - zile 2.3.19
. updated libs:
  - poppler 0.10.7 (compiled with --enable-splash-output)

v2 - 2010/05/16 22:07
. new apps:
  - fbshot 0.3
  - zile 2.3.16
. new libs:
  - libglade 2.6.4        galculator

v1 - 2010/04/27 21:47
. new building procedure: based on .ipk packages for the devel env
. dropped locale files
. new libs:
  - goocanvas 0.15        lua-lgob
  - gtksourceview 2.6.2      lua-lgob
  - gtksourcecompletion 0.7.0    lua-lgob
  - vte 0.17.4          lua-lgob
  - gtkhtml 2.6.3      osmo
. updated libs:
  - libgnomecanvas 2.30.1 xournal

v0 - 2010/04/17 00:27
. initial release
. included libs:
  - fribidi 0.10.9        fbreader
  - liblinebreak 2.0	  fbreader
  - libbz2                fbreader
  - libical 0.44          osmo
  - gtkspell 2.0.16	  osmo
  - libart_lpgl 2.3.21    xournal
  - libgnomecanvas 2.26.0 xournal
  - poppler 0.10.7        xournal


Hope you find it useful,
Iņigo
Attached Files
File Type: gz base-dr-v4.tar.gz (3.18 MB, 488 views)

Last edited by Iņigo; 12-14-2010 at 06:21 PM. Reason: New release: v4
Iņigo is offline   Reply With Quote
Old 04-28-2010, 03:27 PM   #2
SplogSplog
Connoisseur
SplogSplog has a complete set of Star Wars action figures.SplogSplog has a complete set of Star Wars action figures.SplogSplog has a complete set of Star Wars action figures.SplogSplog has a complete set of Star Wars action figures.
 
Posts: 52
Karma: 336
Join Date: Jul 2009
Location: Prague
Device: Irex DR1000S
Thanks for this. I have been thinking of doing some development on the DR1000, but have never really looked into it. Please forgive me for asking a trivial question, but is there a place I should look on how to "get started" (e.g. some source for the firmware, or at least some examples of using firmware APIs?).
SplogSplog is offline   Reply With Quote
Old 04-28-2010, 04:48 PM   #3
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 711
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, in love with iRex DR800S. Also a K4NT. Now a Kobo Aura
Quote:
Originally Posted by SplogSplog View Post
Thanks for this. I have been thinking of doing some development on the DR1000, but have never really looked into it. Please forgive me for asking a trivial question, but is there a place I should look on how to "get started" (e.g. some source for the firmware, or at least some examples of using firmware APIs?).
Look into http://developer.irexnet.com/pub/iOn/SDK/
You should read the .pdf file there. The 3.0 directory contains an example as well.

Firmware sources are in http://developer.irexnet.com/pub/iOn/Sources/3.0/

There is also some interesting information scattered around some threads in this forum.

Some of us will publish some hacking resources in a few weeks.
Iņigo is offline   Reply With Quote
Old 04-29-2010, 03:48 AM   #4
SplogSplog
Connoisseur
SplogSplog has a complete set of Star Wars action figures.SplogSplog has a complete set of Star Wars action figures.SplogSplog has a complete set of Star Wars action figures.SplogSplog has a complete set of Star Wars action figures.
 
Posts: 52
Karma: 336
Join Date: Jul 2009
Location: Prague
Device: Irex DR1000S
Quote:
Originally Posted by Iņigo View Post
Look into http://developer.irexnet.com/pub/iOn/SDK/
You should read the .pdf file there. The 3.0 directory contains an example as well.

Firmware sources are in http://developer.irexnet.com/pub/iOn/Sources/3.0/

There is also some interesting information scattered around some threads in this forum.

Some of us will publish some hacking resources in a few weeks.
Fantastic. Thank you!
SplogSplog is offline   Reply With Quote
Old 05-16-2010, 05:41 PM   #5
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 711
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, in love with iRex DR800S. Also a K4NT. Now a Kobo Aura
New release: v2

v2 - 2010/05/16 22:07
. new apps:
- fbshot 0.3
- zile 2.3.16
. new libs:
- libglade 2.6.4

Download from first message.
Iņigo is offline   Reply With Quote
Old 09-06-2010, 05:50 PM   #6
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 711
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, in love with iRex DR800S. Also a K4NT. Now a Kobo Aura
New release: v3

Code:
v3 - 2010/09/06 23:23
. new apps:
  - zenity 2.20.1
. new libs:
  - libharu (hpdf) 2.2.0
. updated apps:
  - zile 2.3.19
. updated libs:
  - poppler 0.10.7 (compiled with --enable-splash-output)
Download from first message.


About zenity:
This is a command line program that shows simple gtk+ dialogs from shell scripts.
It can be quite useful to show some messages or to ask the user questions, for example in installation scripts.

Documentation: http://library.gnome.org/users/zenity/stable/index.html
Note included version is 2.20.1 so maybe some of the options showed above are not valid.

And lot of examples at:
http://linux.byexamples.com/archives...og-examples-1/
http://linux.byexamples.com/archives...og-examples-2/


About hpdf:
A fascinating C library to build .pdf files.

Homepage: http://libharu.sourceforge.net/
Examples: http://libharu.sourceforge.net/examples.html

I expect to provide lua bindings in a near future.


Hope you enjoy this new release,
Iņigo
Attached Thumbnails
Click image for larger version

Name:	zenity-1.png
Views:	226
Size:	45.5 KB
ID:	57794   Click image for larger version

Name:	zenity-2.png
Views:	214
Size:	44.8 KB
ID:	57795   Click image for larger version

Name:	zenity-3.png
Views:	216
Size:	44.9 KB
ID:	57796   Click image for larger version

Name:	hpdf-1.png
Views:	235
Size:	133.6 KB
ID:	57797   Click image for larger version

Name:	hpdf-2.png
Views:	217
Size:	98.8 KB
ID:	57798  

Last edited by Iņigo; 09-06-2010 at 06:05 PM.
Iņigo is offline   Reply With Quote
Old 09-07-2010, 02:18 AM   #7
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 998
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Quote:
Originally Posted by Iņigo View Post
[CODE]
Documentation: http://library.gnome.org/users/zenity/stable/index.html
Note included version is 2.20.1 so maybe some of the options showed above are not valid.
Seems like a great tool. The documentation of older versions is also available I saw.
Mackx is offline   Reply With Quote
Old 09-07-2010, 02:40 AM   #8
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 711
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, in love with iRex DR800S. Also a K4NT. Now a Kobo Aura
Quote:
Originally Posted by Mackx View Post
Seems like a great tool.
I'm going to write a new installation script for DR800+ using zenity tonight, so people with no shell skills (ok, I don't know much about shell programming myself either) could use it as example.

Quote:
Originally Posted by Mackx View Post
The documentation of older versions is also available I saw.
Well, zenity hasn't changed so much since then, but I was to lazy to find the proper url...

Anyway, the manual for the version packaged here is: http://library.gnome.org/users/zenity/2.20/zenity.html

But I don't think there are any user changes at all


Btw, don't you like hpdf? I don't know f it would be useful for anything but it's so beautiful!

Last edited by Iņigo; 09-07-2010 at 02:46 AM.
Iņigo is offline   Reply With Quote
Old 09-07-2010, 05:41 AM   #9
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 998
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Quote:
Originally Posted by Iņigo View Post
Btw, don't you like hpdf? I don't know f it would be useful for anything but it's so beautiful!
Maybe it can be used to extend the notepad-application with pdf write capability?
Mackx is offline   Reply With Quote
Old 09-07-2010, 01:31 PM   #10
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 711
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, in love with iRex DR800S. Also a K4NT. Now a Kobo Aura
zenity example

Hello,

I've attached an example of an eventual installer/restorer for DR800+.

Note that although the script expects zenity binary to be included with the package to install, that wouldn't be possible in real world because zenity needs libglade and libgnomecanvas libraries and some helper files in $PREFIX/share.

libglade is used in scale, calendar, file_selection and entry widgets, so it's not easily dropped from zenity in order to compile a zenity light version.

It's a pity because we would get an GUI helper for only 66 KB... Anyway, require people install "_base" package and problem solved .

Iņigo
Attached Files
File Type: gz dr800+.sh.gz (749 Bytes, 121 views)
Iņigo is offline   Reply With Quote
Old 09-07-2010, 03:01 PM   #11
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 711
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, in love with iRex DR800S. Also a K4NT. Now a Kobo Aura
Quote:
Originally Posted by Mackx View Post
Maybe it can be used to extend the notepad-application with pdf write capability?
uhmmm... ... ideally this notepad+ could export to .svg and .pdf formats.
If I've read correctly, svg support is already included in the the version of the cairo library installed on the device (1.6.x)...

Anyway, with your fabulous port of Xournal, I don't think this notepad+ idea is worth the effort.
Iņigo is offline   Reply With Quote
Old 12-14-2010, 06:23 PM   #12
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 711
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, in love with iRex DR800S. Also a K4NT. Now a Kobo Aura
New release: v4

Code:
v4 - 2010/12/12 01:06
. updated apps:
  - zile 2.3.21
. updated libs:
  - libharu (hpdf) 2.2.1
Download from first message.
Iņigo is offline   Reply With Quote
Reply

Tags
core, libs, runtime

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ended ended sale bokjeid Flea Market 4 10-14-2010 10:21 PM
runtime error when converting html AngrySpoon Calibre 4 01-09-2010 04:57 PM
Runtime Error: Windows 7 ZacWolf Sigil 16 01-07-2010 11:54 PM
Have finally recieved my DRS sianon iRex 1 03-15-2009 02:11 PM
iLiad Possible to add libs to iLiad SDK? ericshliao iRex Developer's Corner 0 12-25-2007 04:37 AM


All times are GMT -4. The time now is 12:58 AM.


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