WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to port binary packages from Debian/Ubuntu to Tinycore?  (Read 5396 times)

Offline ankushkale1

  • Newbie
  • *
  • Posts: 12
How to port binary packages from Debian/Ubuntu to Tinycore?
« on: January 28, 2012, 02:55:37 AM »
Hi friends  ;D
Well i never ported any application before.. how can i port applications to tinycore from binary packages of Ubuntu/Debian?
Getting Sources & compiling them is long & network intensive task (coz i dont get much download capacity). How to resolve dependencies? Is there any program that does this?
I used deb2tcz but always has problem of dependencies or incompatible file versions..

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: How to port binary packages from Debian/Ubuntu to Tinycore?
« Reply #1 on: January 28, 2012, 03:30:08 AM »
Quote
I used deb2tcz but always has problem of dependencies or incompatible file versions..

That's always going to happen if you use binaries from elsewhere...
The only barriers that can stop you are the ones you create yourself.

Offline ankushkale1

  • Newbie
  • *
  • Posts: 12
Re: How to port binary packages from Debian/Ubuntu to Tinycore?
« Reply #2 on: January 28, 2012, 04:29:38 AM »
thx for ans curaga.
Well whts about the Gentoo packages? Gentoo always compiles packages frrom source. Then can i use gentoo sources and compile them unter Tinycore?
 & How others make packages for tinycore?
What linux distribution is most likely compatible to tinycore's current version?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14798
Re: How to port binary packages from Debian/Ubuntu to Tinycore?
« Reply #3 on: January 28, 2012, 04:57:09 AM »
Probably the easiest way to make packages for tinycore is to take the latest stable source version from the original site and compile that.

Offline ankushkale1

  • Newbie
  • *
  • Posts: 12
Re: How to port binary packages from Debian/Ubuntu to Tinycore?
« Reply #4 on: January 28, 2012, 05:39:21 AM »
thx for replay. but basic q. remains same As I know Gentoo downloads source packages with dependencies & then compiles them.
So instead of downloading only one package from original author's site & resolving its dependencies manually, can i use Gentoo downloaded sources,to compile them for Tinycore package? (portage will resolve dependencies i just need to compile them under Tinycore)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: How to port binary packages from Debian/Ubuntu to Tinycore?
« Reply #5 on: January 28, 2012, 07:47:23 AM »
deb2tcz is meant for simple packages and was made in a different day when there were far less extensions already built and available.  In fact, the first solid working gtk2 I used on Tinycore was that from Debian Etch, before we had polished our own.  But today, deb2tcz is basically a relic.

Now, there is very little that is not available in the repo, and for what is not there is a good foundation for building.  While I often if not usually use Arch or Gentoo's build scripts as a guide when building a package, portage or Arch's abs build system does not plug into Tinycore. 

Though there is one use for the deb2tcz script, and that is for commercial stuff that often only comes in RPM or DEB format, so it is not totally historical or deprecated.
« Last Edit: January 28, 2012, 10:39:35 AM by Jason W »