Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 18 Apr 2014, 04:31
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Self Contained Mountable... applicaton extensions. SCM
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
nooby

Joined: 29 Jun 2008
Posts: 10520
Location: SwedenEurope

PostPosted: Mon 30 Jan 2012, 17:19    Post subject:  Self Contained Mountable... applicaton extensions. SCM  

Jason at TinyCore has come up with this thing.
Would be cool if the Puppy Developers commented
on if it could be implemented to Puppy of if SFS is
the same thing only under another name?

RobertS tells about it here
http://forum.tinycorelinux.net/index.php/topic,12455.msg67363.html#msg67363

and Jason himself tells about the basics of SCM here
http://forum.tinycorelinux.net/index.php/topic,12457.msg67393.html#msg67393
and read this one too or the whole thread.
http://forum.tinycorelinux.net/index.php/topic,12457.msg67403.html#msg67403
Quote:

the scm is just a simple putting back into practice
the compressed mountable image - .uci - that Robert
pioneered many years ago which I am personally getting
once again hooked on.
I like that it can be a safe playground where we can go
ahead and use gtk3, python3, other new things, etc,
without having to wait on a migration in the tcz area.

Don't get me wrong, I plan to maintain my tcz extensions,
and the tcz area remains of utmost importance as it is our
'system', whereas the scm's are self contained and
basically affect nothing else outside themselves.


I'm a noob so I have no idea what they talk about but
it sounds interesting so would be cool to get different views on it.

Is it like SFS and if it differs how does it differs? Smile

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3219

PostPosted: Mon 30 Jan 2012, 19:39    Post subject:  

Just create a pet where everything installs into it's own directory, with links to system directories. It looks way to cumbersome to me. I think a far better approach is just to make sure that core systems files aren't getting overwritten. I think we already have built in protections.




Jason's directions for building leafpad (typos left in)

Quote:
"When building an scm, you do not need to use a DESTDIR variable, just use the ./configure flag "--prefix=/apps/l3afpad"
Code: [Select]

export LDFLAGS="-L/apps/l3afpad/lib -L/apps/gtk3/lib"
export CPPFLAGS="-I/apps/l3afpad/include -I/apps/gtk3/include"
export PATH="/apps/l3afpad/bin:/apps/gtk3/bin:$PATH"
export PKG_CONFIG_PATH="/apps/l3afpad/lib/pkgconfig:/apps/gtk3/lib/pkgconfig:$PKG_CONFIG_PATH"
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 4980
Location: Arizona, U.S.A.

PostPosted: Tue 31 Jan 2012, 02:36    Post subject:  

This is the manner in which you make "non-unioned" Squash files.
I suggested this awhile back at the Tiny Core Linux forum to simplify T.C.
I suggested it here years ago to simplify Puppy Linux also.

So a Squash app. package is ready to use like an SFS, no install or removal.

One of the better things about SFS files, they don`t "over-write".
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4134

PostPosted: Wed 01 Feb 2012, 00:13    Post subject:  

Rox apps ... Amigo has a whole collection of them.

Keep in mind there are various dependencies on having things in certain places ... Fonts, icon sets... Do we really want to distribute all of these kinds of things in multiple packages?

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2167

PostPosted: Wed 01 Feb 2012, 02:30    Post subject:  

Somewhere here I have a thing which someone came up with, where packages are created like ROX AppDir, except the AppRun script is replaced with a small binary which mounts the rest of the content which is contained in an ISO image. Great idea which never cuaght on in a big way. The concept of AppDirs is really nice -especially for things which use non-standard paths. They fit perfectly within the usage of /opt. The manner of making them available and workable is a different matter -I mean union-mounting them, or simply installing them and creating links, etc.

To me there is nothing wrong with the concept of sfs. The problem as implemented by Puppians is the idea that all depedendencies should be included. This goes against the basic principles of system sanity and manageability as it means that system libs get overwritten (or over-mounted as the case may be), and that things get unnecessarily duplicated, and that updates (from the developers standpoint) are more difficult.

AppDirs for *applications* (not libraries) are a great way to achieve easy modularity without having to use package management. The method of making them easily and flexibly available is another matter.
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3219

PostPosted: Wed 01 Feb 2012, 03:30    Post subject:  

I like the idea of loading only what's needed, which varies depending on what's already loaded. Petcheck does that. The rest is theoretical. The user doesn't see any difference that I'm aware of.
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10520
Location: SwedenEurope

PostPosted: Wed 01 Feb 2012, 07:25    Post subject:  

I'm a poor reader. Doesn't Core almost always get a fresh
version so one are dependent on the repo to be available
online or offline.

Sure one can most likely place a lot of files on the HD
and load off line?

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0496s ][ Queries: 11 (0.0037s) ][ GZIP on ]