Author Topic: Using debian-arm binaries  (Read 7053 times)

marc.oil

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • http://
Using debian-arm binaries
« 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!

omin0us

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://
Using debian-arm binaries
« Reply #1 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
pdaXrom Developer team member - http://www.pdaxrom.org
c760/X11 based ROM, sl-5500/OZ 3.3.5
Ambicom WL1100C-1 WiFi card, Targus CF 56k Modem.
Ericsson T610 phone. (still need a BT card though)
FreeBSD 4.8/Slackware 9.1

bvv

  • Newbie
  • *
  • Posts: 9
    • View Profile
    • http://
Using debian-arm binaries
« Reply #2 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?
Regards,
Vladimir, sl-c700 X11 pdaXrom 1.0

DnK

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • http://
Using debian-arm binaries
« Reply #3 on: March 30, 2004, 06:38:04 am »

marc.oil

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • http://
Using debian-arm binaries
« Reply #4 on: March 30, 2004, 12:31:25 pm »
That\'s great, thanks! I\'m flashing it right now

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
Using debian-arm binaries
« Reply #5 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/

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

Good Luck!

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

CoreyC

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
    • http://
Using debian-arm binaries
« Reply #6 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.

treke

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • http://
Using debian-arm binaries
« Reply #7 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.

omin0us

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://
Using debian-arm binaries
« Reply #8 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
pdaXrom Developer team member - http://www.pdaxrom.org
c760/X11 based ROM, sl-5500/OZ 3.3.5
Ambicom WL1100C-1 WiFi card, Targus CF 56k Modem.
Ericsson T610 phone. (still need a BT card though)
FreeBSD 4.8/Slackware 9.1

OpKnight

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • http://
Using debian-arm binaries
« Reply #9 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...  
==============================================================
C760 running pdaXrom 1.1.0 Kathrin RC5, SanDisk 512MB SD, Lexar 40X 1GB CF, 2.2GB Microstore CF, Pharos CF LAN, Socket CF Modem, Linksys WCF12 Wireless LAN, Cacko pdaXrom and Qtopia ROMs

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Using debian-arm binaries
« Reply #10 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
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

omin0us

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://
Using debian-arm binaries
« Reply #11 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.
pdaXrom Developer team member - http://www.pdaxrom.org
c760/X11 based ROM, sl-5500/OZ 3.3.5
Ambicom WL1100C-1 WiFi card, Targus CF 56k Modem.
Ericsson T610 phone. (still need a BT card though)
FreeBSD 4.8/Slackware 9.1

telemetric_au

  • Sr. Member
  • ****
  • Posts: 327
    • View Profile
    • http://www.tyrannozaurus.com/feed/contribs/telemetric/index.htm
Using debian-arm binaries
« Reply #12 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
Collie w/ pdaxrom & Puppy OS w/ cross-sdk
Hawking HCF686TX 10/100, Ambicom 802.11b (WL1100C-CF), Xircom 56K Global CF
Kingston CF Elite Pro & SD 1Gb & 128mb for flashing
$2 screen protector, collie.pdaxrom.feed : my collie pdaxrom site

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Using debian-arm binaries
« Reply #13 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...
« Last Edit: April 03, 2007, 10:37:49 pm by Meanie »
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

telemetric_au

  • Sr. Member
  • ****
  • Posts: 327
    • View Profile
    • http://www.tyrannozaurus.com/feed/contribs/telemetric/index.htm
Using debian-arm binaries
« Reply #14 on: April 03, 2007, 10:47:30 pm »
where is it ??
Collie w/ pdaxrom & Puppy OS w/ cross-sdk
Hawking HCF686TX 10/100, Ambicom 802.11b (WL1100C-CF), Xircom 56K Global CF
Kingston CF Elite Pro & SD 1Gb & 128mb for flashing
$2 screen protector, collie.pdaxrom.feed : my collie pdaxrom site