04-19-2007, 07:20 AM | #16 | |
Enthusiast
Posts: 28
Karma: 73
Join Date: Jul 2006
|
Quote:
Also, ipkg is already available on the iLiad, no need to put it on. When reading the responses, I see a clear pattern: (1) People tend to forget that the installation must be doable for everyone. This basically limits us to Drag&Drop on the PC side and Click-in-the-Content-Lister on the iLiad side. (2) Putting one or more symlinks onto the root directory seems to be consent. However, as vfat does not support symlinks (I forgot...), we'd better go with multiple symlinks, as this allows advanced users (that can use the command line) more flexibility. What about: /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/programs -> /media/*/programs Could someone check if "_local" or ".local" are hidden from the content lister? If both are not, we maybe should use "/media/*/programs/internalfiles" instead to prevent cluttering the card's root directory. (3) People seem to prefer scripts over ipgk. That apears strange to me. Most of the things, these scripts should do are already part of ipkg, in fact, it was created to do this. It should take care of duplicate libs, allow uninstallation (even if there are libs used by 2 or more programs), check disk space, etc. Google turned up this site: http://www.linkstationwiki.net/index...or_developers) Have a look. |
|
04-19-2007, 07:27 AM | #17 | ||
Enthusiast
Posts: 28
Karma: 73
Join Date: Jul 2006
|
Quote:
Quote:
|
||
Advert | |
|
04-19-2007, 07:53 AM | #18 | |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Quote:
Edit: Besides, I don't think that we should allow all ipkg files to be run anyway. I can see a user assuming all all ipkg files will work, install something that wasn't made for the iLiad, and fill up their root file system. If we force an iLiad specific script to install it, it will prevent such things from happening. |
|
04-19-2007, 08:04 AM | #19 | |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Quote:
|
|
04-19-2007, 08:59 AM | #20 | ||
Enthusiast
Posts: 28
Karma: 73
Join Date: Jul 2006
|
Quote:
Quote:
And BTW, someone could write a graphical ipkg frontend. With scripts that would be rather hard to do in a reliable way. I could imagine that iRex would be willing to add that frontend to the standard installation if it was well written and included a big enough warning message. Underscore works? Good, I'd prefer that to the dot, too. Last edited by Henry Loenwind; 04-19-2007 at 09:17 AM. |
||
Advert | |
|
04-19-2007, 09:34 AM | #21 |
That dude with the thing
Posts: 20
Karma: 1904
Join Date: Apr 2007
Device: iLiad
|
I like the idea of a .illiad file that we can use- especially with the mockup. Some standard uncompress in-place then setup in one bundle would be neat.
For uninstalling- what did you people think of my proposal to simply have them delete the folder? i.e. leaving dangling links. |
04-19-2007, 09:42 AM | #22 |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Well, here's a question, is it best to do a per-application install, or to install everything into a single directory eg: /usr/local/bin. Either way would technically work, and if you use ipkg, you could run an ipkg remove to delete it. But as you say, the average user isn't going to have access to the command line.
|
04-19-2007, 10:27 AM | #23 | |
Enthusiast
Posts: 28
Karma: 73
Join Date: Jul 2006
|
Quote:
ipkg remove could be included in the GUI frontend. But that's a feature for version 2 or so... --- PS: Just two examples of .ipkg contents: (1) Standalone application (e.g. emelFM2, go, xtetris, ...) /usr/local/programs/APP/manifest.xml /usr/local/programs/APP/app.sh /usr/local/programs/APP/app /usr/local/programs/APP/app.so depends: iliadx11 (2) Library package (e.g. patched X11 libs, GD, libxml) /usr/local/lib/lib.so -> lib.2.so /usr/local/lib/lib.2.so -> lib.2.0.3.so /usr/local/lib/lib.2.0.3.so /usr/local/etc/lib.conf (3) "indirect" application (e.g. fbreader, open office) /usr/local/lib/ipp.so /usr/local/bin/ipp /usr/local/etc/ipp.conf /usr/local/var/fonts/helv.ttf post-install script: add to content lister pre-deinstall script: remove from content lister Note: Type 3 depends on not-yet-existing feature of safely extendable content lister configuration. (4) command line application (e.g. screenshot utility, Perl) /usr/local/lib/cpp.so /usr/local/bin/cpp /usr/local/etc/cpp.conf /usr/local/lib/perl/lib/* Note: Type 4 applications are for power users. Last edited by Henry Loenwind; 04-19-2007 at 10:41 AM. |
|
04-19-2007, 11:00 AM | #24 | |
Enthusiast
Posts: 42
Karma: 145
Join Date: Oct 2006
Device: iLiad
|
Quote:
The first one does the following:
The other one is an ipkg file embedded in a shell script. In this way you can simply select this script with the content lister and the ipkg package will be installed in /usr/local and a directory will be created in additional_progs. This directory contains the usual manifest.xml, icon and a script to execute the installed program. The script also sources the file /usr/local/home/environment mentioned above so that DISPLAY and LD_LIBRARY_PATH is set correctly. So, now that I've stolen an hour of my employers time I'll go home and test it. If it works out OK I'll post it tomorrow. |
|
04-20-2007, 07:05 AM | #25 |
Enthusiast
Posts: 42
Karma: 145
Join Date: Oct 2006
Device: iLiad
|
A short update. I've tested the scripts I mentioned yesterday and they work for me.
I've attached them for those of you that feels adventurous . Basically there are three files attached, additional_progs.zip contains a directory that can be copied to /usr/share/contentlister/mode/(your_language). This one adds an entry to the contentlister menu that will point to the locally installed programs (/usr/local/additional_progs). The second one: create_local.zip will create the necessary directory structure needed in the root of the file system it is run from. I.e. if you place it somewhere on a CF card it will create needed directories/files on the top level of that card. It will also create a symlink from /usr/local to the directory local that the script has created. For a CF card the structure created will look like this: /usr/local -> /media/cf/local /media/cf/local /media/cf/local/additional_progs (this is where start-up scripts should go) /media/cf/local/home (contains the file environment that contains common environment variables) The last file, emelfm2_install.zip contains a single shell script which has an ipkg file embedded. When run the ipkg file will be extracted and installed. A post-install script is used to set up the start-up script for the application in /usr/local/additional_progs. Have fun Last edited by Alexander Turcic; 04-20-2007 at 08:27 AM. Reason: third attachment temporarily removed, see next post --alex |
04-20-2007, 08:19 AM | #26 |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
The emelfm2 install script fills up the root file system. I'm not sure how it was created, but it did not make /usr/local a symbolic link. Instead, it copied the files into that directory and filled my root file system to 100% I have SSH access, so that's not a problem. I don't know if it would cause issues if the system were restarted.
|
04-20-2007, 08:23 AM | #27 |
No es el toro que piensas
Posts: 44
Karma: 10
Join Date: Mar 2007
Device: iRex iliad
|
Hi, mtas. I was to give a try to your scripts but the second is not avaliable
Can you re-update them or check if are all right? TIA! |
04-20-2007, 08:23 AM | #28 | |
Fully Converged
Posts: 18,163
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
Quote:
Best, Alex |
|
04-20-2007, 08:24 AM | #29 | |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Quote:
Also, did you use that script in the preinstall for the emelfm2_install.sh ipkg? If you did, it did not run, or ran incorrectly. This should be a standard practice so users do not have problems with their filesystem. |
|
04-20-2007, 08:25 AM | #30 | |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Quote:
|
|
|
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 |