Help - Search - Members - Calendar
Full Version: Using debian-arm binaries
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
marc.oil
Just one question on the pdaX ROM: Is it possible to use binaries from the Debian repository on it?

If not, would it be possible to implement some kind of dpkg system to allow it? Because that way we'd have access to lots of already-compiled apps, which are not easily usable on other ROMs due to lack of X server.

Right now I'm using the Xqt / pocketworkstation hack to use Debian repositories, but it's a little complicated mantaining the two systems.

Thanks!
omin0us
yes, you can use them. I have a program i wrote to convert the debian packages to IPK's. You can download the IPK for it on my website. http://dtors.ath.cx/index.php?page=deb2ipk.php
bvv
Oh, that's great! But, where those debian packages, which can be converted and used for pdaXrom? are there any X11 applications?
DnK
www.debian.org
marc.oil
That's great, thanks! I'm flashing it right now smile.gif
stupkid
Those looking for Debian packages can find them in alphabetical order for every architecture here:

http://ftp.us.debian.org/debian/pool/

There are many thousands of packages to sort through. So, it is best to know what you are looking for.

Good Luck!
CoreyC
bleh... looks like more trouble than it is worth. I converted the xvncviewer deb file and looked at the control file... 6 dependents. Converting 6 dependents is not what I am worried about, I'm worried about files that may be overwrote while installing those 6 dependents. You would basicly have to pic through each deb file, see what you already have installed with the base rom, and then restructure the ipk based on that info. Maybe I have picked a bad example to look at, but it still looks like to much trouble.
treke
QUOTE
yes, you can use them. I have a program i wrote to convert the debian packages to IPK's. You can download the IPK for it on my website.http://dtors.ath.cx/index.php?page=deb2ipk.php


Upgrade the ipkg release used in the X11 image. The more recent ipkgs ( last 6 months or so) support debs directly.
omin0us
QUOTE
QUOTE
yes, you can use them. I have a program i wrote to convert the debian packages to IPK's. You can download the IPK for it on my website.http://dtors.ath.cx/index.php?page=deb2ipk.php


Upgrade the ipkg release used in the X11 image. The more recent ipkgs ( last 6 months or so) support debs directly.


thanks treke
OpKnight
omin0us,

I downloaded and tried your deb2ipk script. It errors out at line 57 saying it can't find the "ar" program after it renames the ".deb" file to a ".ar" file? Should that program be "tar" not "ar" (spelling error)? If not, where do I find the "ar" program... must be doing something stupid. Please help... sad.gif
lardman
No a .deb is the same as an OZ ipk - an ar archive rather than the less efficient tar.gz archive which the Sharp based ROMs still use.

Therefore you'll need to find ar. It'd probably on killefiz in one of the multi pack tool tarballs.

Si
omin0us
QUOTE
omin0us,

I downloaded and tried your deb2ipk script.  It errors out at line 57 saying it can't find the "ar" program after it renames the ".deb" file to a ".ar" file?  Should that program be "tar" not "ar" (spelling error)?  If not, where do I find the "ar" program... must be doing something stupid.  Please help...   sad.gif


nope, its not an error. i wrote this back before pdaXrom came out and we were using X11 Cacko Linux. Back then the 'ar' command came with the zgcc image. if you can find that image somewhere, you can still use it if you just manually mount it.
telemetric_au
QUOTE
chrooted debian :

dpkg install package.deb

pdaX :

ar -x package.deb
tar czvf package.ipk ./control.tar.gz ./data.tar.gz ./debian-binary
ipkg install package.ipk

Note DEB packages may not work directly under pdaX, you may also need to tweak some files in control.tar.gz
Meanie
QUOTE(telemetric_au @ Apr 4 2007, 12:30 PM)
QUOTE
chrooted debian :

dpkg install package.deb

pdaX :

ar -x package.deb
tar czvf package.ipk ./control.tar.gz ./data.tar.gz ./debian-binary
ipkg install package.ipk

Note DEB packages may not work directly under pdaX, you may also need to tweak some files in control.tar.gz

*



deb2ipk perl script converts a .deb to a pdaXrom compatible ipk package and also strips the control file of unneeded stuff. it does not require ar but needs perl. of course the latest .deb wont work on pdaXrom since debian has moved to using glibc 2.3 while pdaXrom is using the more stable glibc 2.2.x
older debian packages prior to sarge should work fine provided you resolve all the library dependencies...
telemetric_au
where is it ??
Meanie
QUOTE(telemetric_au @ Apr 4 2007, 12:47 PM)
where is it ??
*


its part of my ipk-tools package
koen
QUOTE(Meanie @ Apr 4 2007, 02:36 AM)
of course the latest .deb wont work on pdaXrom since debian has moved to using glibc 2.3 while pdaXrom is using the more stable glibc 2.2.x
older debian packages prior to sarge should work fine provided you resolve all the library dependencies...
*


You are totally ignoring the hardfpa vs softvfp problem.
ZDevil
Yes... it seems the debian libraries are hardfpa, while what pdaX uses is softvfp. So some debian packages don't work.
Plus the debian apps run slower because they are not compiled for pdaX.
For me it is a last resort, if compilation fails.
telemetric_au
and some wont compile ones you start installing other hardfpa's likethe later libc
radiochickenwax
QUOTE(ZDevil @ Apr 4 2007, 11:42 AM)
Yes... it seems the debian libraries are hardfpa, while what pdaX uses is softvfp. So some debian packages don't work.
Plus the debian apps run slower because they are not compiled for pdaX.
For me it is a last resort, if compilation fails.
*



IMO, the difference in speed is not always that noticeable. The real problem (for me) is maintaining an entire operating system (debian) on top of another (pdaxrom). ( I use the chroot method).

Chrooted Debian The Other Easier? Way

It's twice the work for less than the same amount of payback as an x86 system.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.