WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: I vote for ... (see the post) as scm ->  (Read 21993 times)

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
I vote for ... (see the post) as scm ->
« on: February 22, 2012, 12:56:55 PM »
- gparted
- skype-oss
- minefield
- wxcam
(I dont want to buy 3x 1GB RAM for my new HP DC7100..)
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10960
Re: I vote for ... (see the post) as scm ->
« Reply #1 on: February 23, 2012, 06:47:20 AM »
Quote
(I dont want to buy 3x 1GB RAM for my new HP DC7100..)

I don't see how this is related, scms use more RAM than tcz in the usual case.
The only barriers that can stop you are the ones you create yourself.

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 550
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: I vote for ... (see the post) as scm ->
« Reply #2 on: February 25, 2012, 02:54:51 PM »
tcl 4.4 works perfect on my compaq evo d500 with 512mb ram
and frankly, for me not hot nor cold when scm is present or not
nothing has changed except mount point and unmount features
then it would be simpler to add unmount features to appbrouser
i still don't understand the general prospects of scm separation
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: I vote for ... (see the post) as scm ->
« Reply #3 on: February 25, 2012, 04:06:11 PM »
Standard extensions have their files scattered all over the place, and may have or be deps.
Umounting them safely is not a trivial matter.
Self Contained Modules on the other hand have all their files in one place, and should not depend on or be dependents of other scms.

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 550
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: I vote for ... (see the post) as scm ->
« Reply #4 on: February 25, 2012, 05:53:18 PM »
i see that all tcz are mounted separately from each other to /tmp/tcloop as well as scm to /apps
of course they depend on each other as well by the way, and scm also so far have dependencies
but the problem of dependencies as i see has been solved by roberts in the script tce-audit
if execute
Code: [Select]
tce-audit builddb
tce-audit delete /path/to/tcedir/extension.tcz
gets the file /tmp/audit_marked.lst with extension dependencies which should be removed (or unmounted)
i understand that the tce-unload creation is not a trivial task given that the tce-load is about 300 lines of code
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: I vote for ... (see the post) as scm ->
« Reply #5 on: February 25, 2012, 07:09:11 PM »
Hi AbNoRMiS
Removing a tcz sounds like a simple task. Have a script check the extensions dependencies, see if they are
required by any other installed extensions, and simply remove them if they are not required, right? Wrong.
What if one of the dependencies is a stand alone application that you want to keep. Here's an example:
You install gcc.tcz to compile some programs you are working on. You decide to try an IDE so you install
codeblocks.tcz. Then you decide codeblocks isn't right for you so you uninstall it. Since gcc is a dependency
of codeblocks, your compiler will be removed. Without human intervention, the script has no way of knowing
you want to keep this application. No tool could know this. That's why AppsAudit shows you a list of which
dependencies will be removed and gives you the opportunity to modify that list. Although not with those
particular two extensions, that is exactly what happened to me once. That is one of the problems an SCM
can potentially solve. Another thing an SCM addresses is when an application needs a specific version of
a library that might otherwise conflict with the default library installed on the system.

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 550
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: I vote for ... (see the post) as scm ->
« Reply #6 on: February 25, 2012, 09:00:51 PM »
sorry, Rich, i talking about only unloading tcz but not about removing them
any unloaded tcz even by mistake can be downloaded again if needed
the more so the AppsAudit could provide a choice which tcz not to unload
here i don't see the problem and don't see the potential advantages from scm
i agree about some programs which working with specific libraries versions
this applies to some non-free programs, for example avast4workstation
but why should duplicate the entire repo of tcz with open source code?
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: I vote for ... (see the post) as scm ->
« Reply #7 on: February 25, 2012, 09:33:43 PM »
Hi AbNoRMiS
As I said, AppsAudit does provide a choice to remove individual items from the list of items to remove. My
point was that you still need to look at it. There also the matter removing links that are created.

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: I vote for ... (see the post) as scm ->
« Reply #8 on: February 25, 2012, 11:00:49 PM »
Removing a tcz sounds like a simple task. Have a script check the extensions dependencies, see if they are
required by any other installed extensions, and simply remove them if they are not required, right? Wrong.
What if one of the dependencies is a stand alone application that you want to keep. Here's an example:
You install gcc.tcz to compile some programs you are working on. You decide to try an IDE so you install
codeblocks.tcz. Then you decide codeblocks isn't right for you so you uninstall it. Since gcc is a dependency
of codeblocks, your compiler will be removed. Without human intervention, the script has no way of knowing
you want to keep this application. No tool could know this[...]

I see the others advantages from scm extensions, but I believe that can be done with tcz extensions with some kind of 'reference counting'.

Example:
tce-load could store how extension was loaded (0:manually or 1:from dep file). So only extensions loaded from dep file will be unmounted.

Also it should check that extensions from dep files are not needed by other extensions that are still mounted.

It's not trivial but technically possible, I believe.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: I vote for ... (see the post) as scm ->
« Reply #9 on: February 25, 2012, 11:20:12 PM »
Hi AmatCoder
While that would probably work, I don't think it's worth adding the complexity of trying to keep track of how every
extension was installed for a few reasons. Most users don't (hopefully) spend all their time installing and uninstalling
extensions. While my example was real, I don't know how many other instances like that there are. I was just trying
to point out that there are possible pitfalls to consider. Also, based on past history, there will be individuals who
insist on bypassing the system and installing/removing things manually, and breaking that mechanism in the
process.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: I vote for ... (see the post) as scm ->
« Reply #10 on: March 01, 2012, 04:50:13 AM »
I woluld like to have gftp2 or filezilla as scm.
Thanx
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: I vote for ... (see the post) as scm ->
« Reply #11 on: March 01, 2012, 05:06:34 PM »
I will look into those soon.

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: I vote for ... (see the post) as scm ->
« Reply #12 on: March 02, 2012, 12:38:34 AM »
How about gnome-mplayer? 
http://sites.google.com/site/kdekorte2/gnomemplayer
Despite its name:
Quote
Gnome MPlayer is not dependent on any Gnome libraries.
I have only used the GTK2 version. When used as an audio player it makes the fewest demands for CPU of the many GUI audio players I have tried (also some command line ones).

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: I vote for ... (see the post) as scm ->
« Reply #13 on: March 02, 2012, 11:41:34 AM »
DeVeDe (http://www.devede.org/) would be nice.  ;D

Last time I installed in on TC it needed the following extensions:

Mplayer-xorg.tcz
mencoder-svn.tcz
dvdauthor.tcz
vcdimager.tcz
mkisofs-tools.tcz
python.tcz
pygtk-2.7.tcz
libiconv.tcz

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: I vote for ... (see the post) as scm ->
« Reply #14 on: March 02, 2012, 05:37:48 PM »
I have a fully self contained devede with deps almost complete, more of a prototype, we will see how it works.