Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 04-20-2007, 08:26 AM   #31
tororebelde
No es el toro que piensas
tororebelde began at the beginning.
 
tororebelde's Avatar
 
Posts: 44
Karma: 10
Join Date: Mar 2007
Device: iRex iliad
Quote:
Originally Posted by mtas
Last edited by Alexander Turcic : Today at 02:21 PM. Reason: attachments temporarily removed, see next post --alex
Doh, now I realize! I only was able to download the first attachment while Alexander moved them
tororebelde is offline   Reply With Quote
Old 04-20-2007, 08:28 AM   #32
Alexander Turcic
Fully Converged
Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.
 
Alexander Turcic's Avatar
 
Posts: 18,175
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
Quote:
Originally Posted by Adam B.
The first 2 were okay, it was only the third that would fill the root filesystem if the other was not run first.
OK, I added them back except for emelfm2_install.zip.
Alexander Turcic is offline   Reply With Quote
Advert
Old 04-20-2007, 10:56 AM   #33
mtas
Enthusiast
mtas doesn't littermtas doesn't litter
 
Posts: 42
Karma: 145
Join Date: Oct 2006
Device: iLiad
Quote:
Originally Posted by Adam B.
The first 2 were okay, it was only the third that would fill the root filesystem if the other was not run first.
This was my faulty instructions (I should not really try to write them running a fever. . . )

I didn't stress that the create_local script should be run first. It's now part of the ipkg package as a preinstall script.

Regarding my use of the directory name local instead of _local this was a deliberate choice, it makes it a bit easier to check that the wanted files have been created. In the future I will use the name _local instead.

The version of emelfm2_install.sh enclosed here includes the preinstall that creates the necessary symlink.
Attached Files
File Type: zip emelfm2_install.zip (3.60 MB, 378 views)
mtas is offline   Reply With Quote
Old 04-20-2007, 11:08 AM   #34
Alexander Turcic
Fully Converged
Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.
 
Alexander Turcic's Avatar
 
Posts: 18,175
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
Quote:
Originally Posted by mtas
This was my faulty instructions (I should not really try to write them running a fever. . . )
No problem, I just wanted to make sure that we don't have any unhappy faces today - this is why I removed the file.

Hope you'll get better fast!
Alexander Turcic is offline   Reply With Quote
Old 04-25-2007, 12:55 PM   #35
Alexander Turcic
Fully Converged
Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.
 
Alexander Turcic's Avatar
 
Posts: 18,175
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
Any progress on the standardization?

Now that iRex released firmware 2.9.5, it should be very soon possible to use a recovery software in case one bricks his device. Meaning more people willing to participate in running 3rd party software
Alexander Turcic is offline   Reply With Quote
Advert
Old 04-25-2007, 01:30 PM   #36
vranghel
Addict
vranghel began at the beginning.
 
vranghel's Avatar
 
Posts: 285
Karma: 10
Join Date: Apr 2006
Location: Vancouver, Canada
Device: Proud Iliad owner
Quote:
Originally Posted by Alexander Turcic
Any progress on the standardization?

Now that iRex released firmware 2.9.5, it should be very soon possible to use a recovery software in case one bricks his device. Meaning more people willing to participate in running 3rd party software

Whoo! Im sure that the unbricking utility will bring LOTS of programmers out of lurk mode. Many great things to come!
vranghel is offline   Reply With Quote
Old 04-25-2007, 01:34 PM   #37
TadW
Uebermensch
TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.
 
TadW's Avatar
 
Posts: 2,583
Karma: 1094606
Join Date: Jul 2003
Location: Italy
Device: Kindle
Quote:
Originally Posted by vranghel
Whoo! Im sure that the unbricking utility will bring LOTS of programmers out of lurk mode. Many great things to come!
I agree! After some startup hickups, iRex is finally listening to their customers and working hard to make our lives better
TadW is offline   Reply With Quote
Old 04-26-2007, 11:59 AM   #38
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
I agree, we need to make a decision... A poll maybe? There seems to be a lot of good ideas, and nobody is really disagreeing on them.

I like Henry's idea of /usr/local and ipkg.

We should have a preinstall script check for and create the following.

Quote:
/usr/local (real directory)
/usr/local/lib -> /media/*/_local/lib
/usr/local/bin -> /media/*/_local/bin
/usr/local/etc -> /media/*/_local/etc
/usr/local/var -> /media/*/_local/var
/usr/local/share -> /media/*/_local/share
/usr/local/include -> /media/*/_local/include
/usr/local/programs -> /media/*/Programs
After the program is installed /usr/local/programs should contain a folder with a launcher script, manifest, and icon.

For removing an application, we can create a simple script that will execute ipkg remove applicationame. We can put this script along with a manifest and icon in /usr/local/programs/Uninstall. From there, the user can simply navigate to that folder if they want to uninstall an appliation. They can select it, have a confirmation box pop up that says "Are you sure you want to remove $program?" that they will have to select, and the ipkg command will run.

Does anyone have any problems or disagreements with this? I think it solves almost every issue we would run into. The only problem I see is if a user swaps around memory cards of the same type.... but in that case, they should know that they have to reinstall all the applications.

Also, I agree that we should rename ipkg files to .iliad. This will avoid confusion and allow us to eventually put an entry in er_registry.txt.
Adam B. is offline   Reply With Quote
Old 04-26-2007, 12:53 PM   #39
Alexander Turcic
Fully Converged
Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.
 
Alexander Turcic's Avatar
 
Posts: 18,175
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
I agree a poll (in a new post on the frontpage) is probably a good idea to give every dev a last chance to think it over.
Alexander Turcic is offline   Reply With Quote
Old 04-26-2007, 01:01 PM   #40
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
I'll set it up.
Adam B. is offline   Reply With Quote
Old 04-26-2007, 01:36 PM   #41
nekokami
fruminous edugeek
nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.
 
nekokami's Avatar
 
Posts: 6,745
Karma: 551260
Join Date: Oct 2006
Location: Northeast US
Device: iPad, eBw 1150
I'm not getting something. All ipkg packages need to be matched to the OS in order to install, right? Why do we need to change the name to .iliad? Is there anything else in the package that can be used to identify the platform the package was compiled for?

I'm just generally wary of changing a standard file extension, I guess. But if there's a real need for it, then I wouldn't argue against it.
nekokami is offline   Reply With Quote
Old 04-26-2007, 01:40 PM   #42
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
AFAIK, they don't need to be matched to the OS, just the processor I believe. I'm afraid that once we start allowing users to download ipkg's that weren't made for the iLiad, that they could replace important files or fill up the file system. Changing the extension would prevent that.
Adam B. is offline   Reply With Quote
Old 05-09-2007, 11:54 AM   #43
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
I've been playing a bit more with ipkg, and it already has the option to create and delete symbolic links from root to the memory card... We should be able to use internal tools and create simple ipkg packages.

Add into /etc/ipkg.conf

Code:
dest cf /mnt/cf/_installed
To install:


Code:
root@ereader# ipkg -d cf install xournal_0.3.3-iliad.0.1_arm.ipk
Then:

Code:
root@ereader# ipkg-link add xournal
*** Command: add
*** Locating package
*** Found package on /mnt/cf/_installed
*** Adding xournal
*** Done.
Code:
root@ereader:/usr/local/bin# ls -la
drwxr-xr-x    2 root     root         1024 May  9 05:35 .
drwxrwxr-x    5 root     1000         1024 May  9 05:35 ..
lrwxrwxrwx    1 root     root           40 May  9 05:35 xournal -> /mnt/cf/_installed/usr/local/bin/xournal
Code:
# ipkg-link
Usage: 
    /usr/bin/ipkg-link add    packagename (links "packagename" to root filesystem)
    /usr/bin/ipkg-link remove packagename (unlinks "packagename" from root filesystem)
    /usr/bin/ipkg-link list   mountpoint  (lists packages on "mountpoint", e.g. '/mnt/card')
    /usr/bin/ipkg-link mount  mountpoint  (links all packages on "mountpoint", e.g. '/mnt/card')
    /usr/bin/ipkg-link umount mountpoint  (unlinks all packages on "mountpoint", e.g. '/mnt/card')
Adam B. is offline   Reply With Quote
Old 05-09-2007, 01:18 PM   #44
narve
iLiad fan
narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.
 
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
Quote:
Originally Posted by Adam B.
Code:
dest cf /mnt/cf/_installed
I guess we can then use
Code:
dest userrepo /mnt/cf/_installed
instead, so that MMC users can use
Code:
dest userrepo /mnt/card/_installed
Then all commands will be similar for both CF and MMC card users:

Code:
root@ereader# ipkg -d userrepo install xournal_0.3.3-iliad.0.1_arm.ipk
narve is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
3rd party applications for DR800S? martienne iRex 2 05-31-2010 06:28 AM
Question: Why iRex Digital Reader has way less 3rd party software than ILiad? alxwang iRex 10 04-14-2009 02:23 AM
3rd party software from iLiad to DR1000? Gogolo iRex 6 09-29-2008 05:36 PM
3rd party Iliad webbrowser? CommanderROR iRex 5 12-02-2007 05:58 PM
iLiad iLiad 3rd Party Viewers and Applications Adam B. iRex Developer's Corner 0 07-19-2007 08:20 AM


All times are GMT -4. The time now is 03:34 PM.


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