OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: marc.oil on March 27, 2004, 02:31:07 pm

Title: Using debian-arm binaries
Post by: marc.oil on March 27, 2004, 02:31:07 pm
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!
Title: Using debian-arm binaries
Post by: omin0us on March 29, 2004, 04:53:52 pm
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 (http://dtors.ath.cx/index.php?page=deb2ipk.php)
Title: Using debian-arm binaries
Post by: bvv on March 30, 2004, 04:12:00 am
Oh, that\'s great! But, where those debian packages, which can be converted and used for pdaXrom? are there any X11 applications?
Title: Using debian-arm binaries
Post by: DnK on March 30, 2004, 06:38:04 am
www.debian.org
Title: Using debian-arm binaries
Post by: marc.oil on March 30, 2004, 12:31:25 pm
That\'s great, thanks! I\'m flashing it right now
Title: Using debian-arm binaries
Post by: stupkid on March 30, 2004, 01:09:27 pm
Those looking for Debian packages can find them in alphabetical order for every architecture here:

http://ftp.us.debian.org/debian/pool/ (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!
Title: Using debian-arm binaries
Post by: CoreyC on March 30, 2004, 06:28:46 pm
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.
Title: Using debian-arm binaries
Post by: treke on March 30, 2004, 07:50:02 pm
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.
Title: Using debian-arm binaries
Post by: omin0us on March 31, 2004, 01:27:00 pm
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
Title: Using debian-arm binaries
Post by: OpKnight on April 23, 2004, 10:09:10 am
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...  
Title: Using debian-arm binaries
Post by: lardman on April 23, 2004, 10:42:44 am
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
Title: Using debian-arm binaries
Post by: omin0us on April 23, 2004, 12:45:29 pm
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...  

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.
Title: Using debian-arm binaries
Post by: telemetric_au on April 03, 2007, 10:30:28 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
Title: Using debian-arm binaries
Post by: Meanie on April 03, 2007, 10:36:19 pm
Quote
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=157909\"][{POST_SNAPBACK}][/a][/div]

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...
Title: Using debian-arm binaries
Post by: telemetric_au on April 03, 2007, 10:47:30 pm
where is it ??
Title: Using debian-arm binaries
Post by: Meanie on April 04, 2007, 02:59:47 am
Quote
where is it ??
[div align=\"right\"][a href=\"index.php?act=findpost&pid=157913\"][{POST_SNAPBACK}][/a][/div]

its part of my ipk-tools package
Title: Using debian-arm binaries
Post by: koen on April 04, 2007, 07:03:28 am
Quote
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...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=157910\"][{POST_SNAPBACK}][/a][/div]

You are totally ignoring the hardfpa vs softvfp problem.
Title: Using debian-arm binaries
Post by: ZDevil on April 04, 2007, 07:42:45 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.
Title: Using debian-arm binaries
Post by: telemetric_au on April 04, 2007, 08:38:39 pm
and some wont compile ones you start installing other hardfpa's likethe later  libc
Title: Using debian-arm binaries
Post by: radiochickenwax on April 05, 2007, 08:23:12 pm
Quote
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.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=157947\")


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).

[a href=\"https://www.oesf.org/forums/index.php?showtopic=16584&hl=debian&st=0]Chrooted Debian The Other Easier? Way[/url]

 It's twice the work for less than the same amount of payback as an x86 system.