maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Q: How to install .ipk, ipkg or convert them? (https://talk.maemo.org/showthread.php?t=18046)

2beers 2008-03-18 12:02

Q: How to install .ipk, ipkg or convert them?
 
Hi there,

I read about the possibility to install *.ipk files on the maemo plattform. Is this realy possible - if so, what do i need?

I was researching quite a bit & found out that:
"*.deb and *.ipk are very similar packages" - i even found an (old) guide on how to convert *.deb to *.ipk (written for a sharp zaurus).
Unfortunatley I allready have the IPK file - so i either need to directly install that one, or convert it to a deb & see if that works.

One other sollution might be to install from source. Yet - this maemo thing seems very very light to me. Meaning - i am (without having tried) almost certain it doesn't contain "build-essentials" or at least an "untar" function. Of course i could untar it on my desktop system - yet i still need to do make/make install on the N810 itself, don't i?

Desktop OS: Ubuntu 7.10 (gutsy)
PS:
I just thought about one other possible sollution:
Create a *.deb from source on my desktop PC. I'll try that later today - but i guess it wont work as too many dependencies will be unsolved on the N810 later on.

Btw - i try to get "Korganizer" (handheld version) installed, without having to install KDE.
The source is available on KDE.
Ipkg is available on openPMA as well as on KDE. Most interesting: openPMA's 2 year old release has version Nr. 2.x whereas KDE's version number (KO/Pi) has 1.5...

TA-t3 2008-03-18 12:07

Re: Q: How to install .ipk, ipkg or convert them?
 
AFAIK .ipk packages are all for ARM, not ARMEL (that is, a slightly older executable format, the format used for Sharp Zaurus and also the very first version of the operating system for the Nokia 770. Later OS'es use ARMEL).

So, even though it's technically possible to convert from .ipk to .deb package format the installed application won't be able to execute.

Installing from source is the way to go (and then you will have to tackle the problem of code written for the qtopia platform vs. the hildon/gtk2 platform used for Maemo - not an impossible problem though, as now there's apparently a qtopia (or at least qt) port for Maemo).

Johnx 2008-03-18 12:24

Re: Q: How to install .ipk, ipkg or convert them?
 
.ipk files for angstrom can be for armel. you'll have a lot of dependencies to handle, but they should act like .deb files, IIRC.

-John

2beers 2008-03-18 12:31

Re: Q: How to install .ipk, ipkg or convert them?
 
Installing from source:
Sounds like a good idea to me. Qt vs gtk shouldn't be a problem - as long as the necessary sources are available & the .deb is created on the N810, i think?
So the question remains: How can i create a .deb - or install from source - directly on the N810?

On ubuntuusers they talk about getting ubuntu on the N810 - a bit after the next desktop release... But that's actually more than a month from now & who knows what problems the programmers might run into before they can realy think of releasing an ubuntu version for the N8x0. Even if they manage to do so in time - they mostly talk about compatibility to intel based platform, but if i understand the tech. data on nokia's page correct, the N810 processor is produced by Texas Instruments?

TA-t3 2008-03-18 13:25

Re: Q: How to install .ipk, ipkg or convert them?
 
The N810 is an ARM CPU produced by Texas Instruments (called OMAP), i.e. not x86.

As for building from source, normally you do this by installing a scratchbox cross-compiling environment on your PC (Linux PC, or VMWARE image on Windows).

2beers 2008-03-18 18:30

Re: Q: How to install .ipk, ipkg or convert them?
 
Thanks - that's actually, what i was already thinking of.
Do you know what & especially where to download the necessary stuff to get a proper environment for maemo?

I found some promising guide on maemo - yet unfortunately the mentioned scripts
* maemo-scratchbox-install_4.0beta.sh
* maemo-sdk-install_4.0beta.sh
are not linked to any download location & the search for "scratchbox" doesn't give a result on maemo.org.

BTW:
ARMEL is the recent (N810) related hardware, if i understood your first post right? As in your second post you talk about ARM (which is the older hardware, if i understood you right).

Benson 2008-03-18 18:38

Re: Q: How to install .ipk, ipkg or convert them?
 
No, ARMEL vs. ARM is not hardware; it's a matter of binary format. The whole system basically has to be one way or the other, but it's entirely software.

qwerty12 2008-03-18 18:41

Re: Q: How to install .ipk, ipkg or convert them?
 
* maemo-scratchbox-install_4.0beta.sh
* maemo-sdk-install_4.0beta.sh

=

maemo-scratchbox-install_4.0.sh
maemo-sdk-install_4.0.sh

Or replace 4.0 with 4.0.1

2beers 2008-03-22 09:14

Re: Q: How to install .ipk, ipkg or convert them?
 
Hi qwerty
I did search for maemo-scratchbox-install on babylon/google (4 results)
I tried the ubuntu reps (multiverse, universe enabled) -> nothing useful.

So where can i find the mentioned files?
(maemo-scratchbox-install_4.0.sh
maemo-sdk-install_4.0.sh
)

Btw. Of course i meant software not hardware ;-)

Johnx 2008-03-23 13:37

Re: Q: How to install .ipk, ipkg or convert them?
 
http://tablets-dev.nokia.com/4.0.1/INSTALL.txt

stupkid 2008-03-25 22:40

Re: Q: How to install .ipk, ipkg or convert them?
 
Quote:

Btw - i try to get "Korganizer" (handheld version) installed, without having to install KDE.
The source is available on KDE.
Ipkg is available on openPMA as well as on KDE. Most interesting: openPMA's 2 year old release has version Nr. 2.x whereas KDE's version number (KO/Pi) has 1.5...
Just to set the record straight the PimPI project is a fork of the KDE PIM apps. The folks from the KDE project had nothing to do with it. A guy just took the KDE code and forked it to run on his Zaurus and some other platforms. The last release from a few years back was 2.7.7. It is a dead project.

2beers 2008-04-03 08:24

Re: Q: How to install .ipk, ipkg or convert them?
 
Oi!

I installed scratchbox - via the provided deb files (link mentioned in the "install.txt"), as the installscript didn't work.
The deb's installed just fine.

Problem:
When I try to start scratchbox
Code:

scratchbox
I get:
Code:

bash: /usr/bin/scratchbox: Permission denied
So i tried with sudo - wich brought:
Code:

Host kernel has port range under 10000... You can fix e.g. by running... echo "1024 65000" > /proc/sys/net/ipv4/ip_local_port_range
I edited /etc/rc.local
and inserted the echo line suggested right before "exit0", saved the document & tried to start scratchbox again:
Code:

ERROR: Not allowed to run this as root!
I tried
Code:

man scratchbox
=> No manuals available....

Maybe one can take my hand and show me what to try next?

I tried this on a system with Ubuntu feisty installed.

qwerty12 2008-04-03 14:34

Re: Q: How to install .ipk, ipkg or convert them?
 
Did you add your user account to the sbox group?

You can also use the vmware image too.

z2n 2008-04-03 15:22

Re: Q: How to install .ipk, ipkg or convert them?
 
Quote:

Originally Posted by stupkid (Post 160174)
Just to set the record straight the PimPI project is a fork of the KDE PIM apps. The folks from the KDE project had nothing to do with it. A guy just took the KDE code and forked it to run on his Zaurus and some other platforms. The last release from a few years back was 2.7.7. It is a dead project.

Please, if you're going to "set the record straight", get it correct.

The kdepimpi project as hosted on sourceforge does seem to be dead--though the Linux (x86) and Windows binaries there work just fine.

However, with a good deal of help, I've built kdepimpi for the Nokia tablet. Kopi (the calendar/to-do list) is functional right now, though it has some rough edges. I'm using it daily and sync'ing with my Linux desktop.

The executable and source code are available now on the Maemo Garage site: https://garage.maemo.org/projects/kdepimpi/

The project really could use the assistance of some more experienced developers to clean up some cosmetic issues on the Maemo platform.
I think that KDEPIMPI has the potential to be hugely successful package for the Nokia tablet--it's already stable on other platforms, has many features, synchronizes with many other PIM suites...it just needs some work to adjust fonts/menu sizing/icons/popup window sizes/etc. for the Nokia environment.


All times are GMT. The time now is 16:52.

vBulletin® Version 3.8.8