Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: TechMonkey on November 15, 2013, 06:50:08 PM

Title: Can we submit extensions not built from source? (JasonW?)
Post by: TechMonkey on November 15, 2013, 06:50:08 PM
I thought I'd start with something simple that I use - ncdu. (http://dev.yorhel.nl/ncdu) Since a small pre-compiled binary is provided (that runs just fine, at least under 5) I thought I'd try that. Can I submit/maintain an extension that just says "grab this file", or do I need to actually figure out the compile steps?
Title: Re: Can we submit extensions not built from source? (JasonW?)
Post by: gerald_clark on November 15, 2013, 07:04:27 PM
You need to read the Core Concepts page.
Core does not load applications in the same way other distributions do.
Title: Re: Can we submit extensions not built from source? (JasonW?)
Post by: TechMonkey on December 05, 2013, 01:34:31 PM
Yes, I know. Which is why I wanted to create a .tcb package for others... So to re-ask the question:

For submitting extensions, can I reference a pre-compiled binary?
Title: Re: Can we submit extensions not built from source? (JasonW?)
Post by: bmarkus on December 05, 2013, 01:45:49 PM
Source code is available, licensed under MIT. What is the problem? Compile on TC and create a .tcz extension. It is simple and easy.
Title: Re: Can we submit extensions not built from source? (JasonW?)
Post by: gerald_clark on December 05, 2013, 01:50:16 PM
Please read http://wiki.tinycorelinux.net/wiki:creating_extensions
Title: Re: Can we submit extensions not built from source? (JasonW?)
Post by: TechMonkey on December 05, 2013, 01:51:21 PM
The problem is nobody will answer my question. The problem is endemic to many open-source projects - ask a question, get 5 "you don't want to do that" answers (without supporting arguments/explanations), and 2 replies that are completely orthogonal to the question, and one that technically pertains, but isn't particularly helpful.

And then the existing community sits around and complains to each other "why isn't this wonderful project getting more attention?"
Title: Re: Can we submit extensions not built from source? (JasonW?)
Post by: TechMonkey on December 05, 2013, 01:51:53 PM
Please read http://wiki.tinycorelinux.net/wiki:creating_extensions

I have.
Title: Re: Can we submit extensions not built from source? (JasonW?)
Post by: Rich on December 05, 2013, 02:00:46 PM
Hi TechMonkey
You should compile extensions you wish to submit. This is to ensure the correct gcc flags are used and that any packages
that need to be linked to match the versions in the Tinycore repo.
Title: Re: Can we submit extensions not built from source? (JasonW?)
Post by: tinypoodle on December 05, 2013, 02:08:14 PM
Code: [Select]
tc@box:~$ file -L $(which ncdu) 
/home/tc/.local/bin/ncdu: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped
Title: Re: Can we submit extensions not built from source? (JasonW?)
Post by: bmarkus on December 05, 2013, 02:10:01 PM
The problem is nobody will answer my question. The problem is endemic to many open-source projects - ask a question, get 5 "you don't want to do that" answers (without supporting arguments/explanations), and 2 replies that are completely orthogonal to the question, and one that technically pertains, but isn't particularly helpful.

And then the existing community sits around and complains to each other "why isn't this wonderful project getting more attention?"

I do not understand your position, specially your generic conclusion based on two responses when you lack underatzanding the place where yopu are shouting it. Do not start fighting.

Never mind, thanks for mentioning ncdu, a nice little toy.

And to give something more, TC applications are built so to run on i486 machines (at least x86 versions). For alien binaries there are no any guarantee. Just one argument.
Title: Re: Can we submit extensions not built from source? (JasonW?)
Post by: TechMonkey on December 05, 2013, 02:14:55 PM
Thank you all.

Yes, my frustration with other folks spilled over a bit to here, sorry.

I'll get see if I can get a compile recipe working and submit it soon.
Title: Re: Can we submit extensions not built from source? (JasonW?)
Post by: bmarkus on December 05, 2013, 02:15:40 PM
BTW it took 10 minutes to download and install in piCore on the Raspberry Pi where it works fine.
Title: Re: Can we submit extensions not built from source? (JasonW?)
Post by: bmarkus on December 05, 2013, 02:30:06 PM
Thank you all.

Yes, my frustration with other folks spilled over a bit to here, sorry.

I'll get see if I can get a compile recipe working and submit it soon.

It is really an easy to build application, good subject to learn extension creation while ncdu is a very useful to have in the repo :)