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, 09:28
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Firefox 23.0.1
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [40 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
koulaxizis


Joined: 17 Jul 2011
Posts: 423
Location: Greece

PostPosted: Tue 20 Aug 2013, 13:23    Post subject:  

I converted most of my packages into SFS and i added some new ones. Dive in people! Smile

Puppy Stuff

_________________
Christos Koulaxizis
Woof woof from Greece...

[ Puppy packages | Puppy search ]
Back to top
View user's profile Send private message Visit poster's website 
bruno

Joined: 08 Mar 2012
Posts: 60
Location: Belgium

PostPosted: Thu 22 Aug 2013, 12:14    Post subject: don't stop making PET's  

Please don't stop making PET's
I never use frugal install, I always run puppy from live CD, with a savefile on USB.
PET is so easy to install, and it can update onto itself, like this one FF.
I have read about SFS, but it seems very complicated, I have never used it.
Back to top
View user's profile Send private message 
koulaxizis


Joined: 17 Jul 2011
Posts: 423
Location: Greece

PostPosted: Thu 22 Aug 2013, 12:17    Post subject: Re: don't stop making PET's  

bruno wrote:
Please don't stop making PET's
I never use frugal install, I always run puppy from live CD, with a savefile on USB.
PET is so easy to install, and it can update onto itself, like this one FF.
I have read about SFS, but it seems very complicated, I have never used it.


SFS files are very easy to use! But i like PET files too! Wink So there is no chance to stop making them... Smile

_________________
Christos Koulaxizis
Woof woof from Greece...

[ Puppy packages | Puppy search ]
Back to top
View user's profile Send private message Visit poster's website 
sunburnt


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

PostPosted: Thu 22 Aug 2013, 18:09    Post subject:  

bruno; SFS work with CD-DVD, USB, and HD, both Full-Install and Frugal-Installs.

Pet is the legacy style package, it adds files to the file system, AND takes up Save file space.!

SFS are read-only Squash files, so they stay compressed and they can`t be easily virused.
They`re added with the union file system. So they take very little room in the Save file.
.
Back to top
View user's profile Send private message 
bruno

Joined: 08 Mar 2012
Posts: 60
Location: Belgium

PostPosted: Thu 22 Aug 2013, 18:29    Post subject: pets and SFS  

Oh I thought SFS were only for frugal installs.
I will look into it again, and try it out.
But if it's a read-only file, can it "update" by itself?
Like with a FF pet, I just always install the pet, and then it always updates itself to the newest version, from inside FF.
Back to top
View user's profile Send private message 
sunburnt


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

PostPosted: Wed 27 Nov 2013, 03:23    Post subject:  

Hi koulaxizis; I`ve been doing 3 or 4 things at once, so it took awhile to get to this.

Here`s a no-install "Virtual AppPkg" using your Firefox-23 SFS file.
# Notice the small download size of: 21 KB.
It downloads your SFS file at first run, after that it mounts and runs it without a union.

There are no links that need to be made, or paths that have to be set for it to run.
What a wonderfully built application.!!! All apps should be made like this.

I intend the Virtual Package idea for the Ubuntu or Slackware repositories.
So there would be multiple downloads to build most apps.

### New revised file uploaded.

http://www.murga-linux.com/puppy/viewtopic.php?p=741061#741061
.

Last edited by sunburnt on Mon 02 Dec 2013, 23:16; edited 6 times in total
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 562
Location: Staffordshire

PostPosted: Wed 27 Nov 2013, 18:13    Post subject:  

sunburnt,

I think the script is missing - directory is empty.
You've still got that:
/root/0_sda3/AppPkg/apps_virtual/Firefox-23.AppPkg
thing going on.
Back to top
View user's profile Send private message 
sunburnt


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

PostPosted: Wed 27 Nov 2013, 21:17    Post subject:  

Thanks Keef; Try the new one with the fixed path. It should work.
I`ve run it a number of times and it worked all of them ( Precise-5.4 ).

Really need to setup a Rox desktop icon to Zip stuff properly..!
### Have done this... Made a nice utility: "zipdrop" + a nice filer icon.


koulaxizis;
Quote:
SFS files are very easy to use! But i like PET files too!

Yes, unfortunately both formats are used by many people.
Settling on just one, like AppDir would solve a lot of work for you guys.
AppDir / RoxApp / AppPkg are all no-install like SFS, but don`t need a union.
No-install so they can be anywhere, CD-DVD, USB, HD, RAM, LAN, and Web too.
I`ve mounted & unioned SFS files over Samba before, but it`s more stuff to go wrong.
.
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 562
Location: Staffordshire

PostPosted: Thu 28 Nov 2013, 15:51    Post subject:  

sunburnt,

Sorry to be a pain, but still had a few problems. It looks like it depends on xdlg.dnldprogress and it needs to be in the directory. Copied it in, but still no joy.
Then changed this line:
Code:
${Path%/*}/0/xdlg.dnldprogress $SFS $URL

to
Code:
${Path%/*}/xdlg.dnldprogress $SFS $URL

(removed the none existant directory '0')
Worked fine after that.
Back to top
View user's profile Send private message 
sunburnt


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

PostPosted: Thu 28 Nov 2013, 17:52    Post subject:  

Keef; Worked for me.
$Path = /(path).AppPkg/firefox-23.0.1-en_5.6.0
So ${Path%/*} = /(path/.AppPkg with the /0 dir. in it.
So ${Path%/*}/0/xdlg.dnldprogress should be good.

Generic files are in .AppPkg/0
App specific files are in .AppPkg/(App)


### Has anybody else tried it.? ... koulaxizis ?
.
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 562
Location: Staffordshire

PostPosted: Thu 28 Nov 2013, 18:03    Post subject:  

Bizarre, it works now.
Ignore me from now on.
Back to top
View user's profile Send private message 
sunburnt


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

PostPosted: Thu 28 Nov 2013, 20:29    Post subject:  

My thought was... Yep, now it works, and now it doesn`t. Strangely my "file" quit working.
This is about right, a decade ago I`d write a diddy and take it next door to show the neighbor.
It`d immediately crash his PC and a hard reboot was all that`d get it back. So I wasn`t surprised.

I thought about making the line: ${Path%/*}/0/xdlg.dnldprogress $SFS $URL
Into this relative path for clarity: ../0/xdlg.dnldprogress $SFS $URL
But I tend to like full paths for test echos. Otherwise you need to echo a pwd for relative paths.

# If the download url list is say, Ubuntu binary files, then the Ubuntu mirror pays the IP bill.

# I made a note to setup some way for an option to load the SFS file to RAM before mounting.
Maybe if > 300MB of free ram. ( Code to get truly free ram.? ) OR... A config. file setting.

I think loading apps to ram is stupid, it just gets swapped back to the HD. But many like it.
mikeb points out that a fatal crash exits better with fewer mounts, and no FS corruption.


koulaxizis; Are you still here buddy.? Haven`t heard from you and this is your thread.
If you get a chance let me know what you think of Virtual Apps.
.
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3860
Location: Kiel,Germany

PostPosted: Thu 28 Nov 2013, 20:58    Post subject:  

sunburnt wrote:
Keef; Worked for me.
$Path = /(path).AppPkg/firefox-23.0.1-en_5.6.0
So ${Path%/*} = /(path/.AppPkg with the /0 dir. in it.
So ${Path%/*}/0/xdlg.dnldprogress should be good.

Generic files are in .AppPkg/0
App specific files are in .AppPkg/(App)


### Has anybody else tried it.? ... koulaxizis ?
.

I would suggest to post in the cutting edge section with a link here and
after the bugolettis are out, post in the internet section with a link here and a link to the cutting edge section.

Some people think that this is scattering, but posts here should be made in regards of the internals of the pkg made by koulaxizis .

Add-ons deserve a separate thread .

Looking for the script, though, because that might work to load it into a full installation .
Back to top
View user's profile Send private message Visit poster's website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3860
Location: Kiel,Germany

PostPosted: Thu 28 Nov 2013, 21:44    Post subject:  

Code:
#####           Terence Becker          SunBurnt                Nov. 24  2013
#####           No Warranty...          Use at your own risk.!

Path=`realpath $0`
Path=${Path%/*}
PKG='firefox-23.0.1-en_5.6.0'


#*** changes by KRG ***
PKG='firefox-16.0a2.en-US.linux-i686'
#*** changes by KRG ***


SFS="$Path/$PKG.sfs"
MNT="/tmp/AppPkg/$PKG.mnt"

dlhandler=${Path%/*}/0/xdlg.dnldprogress
dlhandler=wget

#####   SFS file made by:  koulaxizis
URL='http://sourceforge.net/projects/puppystuff/files/Internet/Firefox/firefox-23.0.1-en_5.6.0.sfs/download'


#*** changes by KRG ***
busybox tcpsvd -vE 0.0.0.0 21 ftpd /mnt/sda2/load_sfs/ &
sleep 2s
URL='ftp://0.0.0.0:21/firefox-16.0a2.en-US.linux-i686.sfs'
#*** changes by KRG ***


if [ ! -f $SFS ];then                                                                   # dnld. firefox SFS file
        #${Path%/*}/0/xdlg.dnldprogress $SFS $URL
        $dlhandler $SFS $URL
        [ $? -gt 0 ]&& exit 3
        msg="\n   #>>  NOTICE:  Ready to Run.\n\n   Click on AppPkg Folder:\n\n   ${Path%.AppPkg*}\n "
        echo -e "$msg"
        xmessage -center "`echo -e $msg`"
        exit 0
fi

#########       Could Copy SFS File to RAM ( If there`s Lots of it...).

if [ ! "`mount |grep '$SFS'`" ];then                                    # mount firefox SFS file
        mkdir -p "$MNT"
        mount -r -t squashfs -o loop "$SFS" "$MNT"
        if [ $? -gt 0 ];then
                msg="$0:  ERROR:  Failed to Mount Firefox SFS File."
                echo -e "$msg"
                xmessage -center "`echo -e $msg`"
                exit 3
fi ;fi

#$MNT/usr/bin/firefox
#/tmp/AppPkg/firefox-16.0a2.en-US.linux-i686.mnt/lib/firefox/firefox-16.0a2.en-US.linux-i686/firefox                                                                  # run firefox-23


#*** changes by KRG ***
$MNT/lib/firefox/firefox-16.0a2.en-US.linux-i686/firefox
#*** changes by KRG ***


#umount -d "$MNT"                                                                                        # unmount firefox SFS
#if [ $? -gt 0 ];then
#        msg="$0:  ERROR:  Failed to Unmount Firefox SFS File."
#        echo -e "$msg"
#        exit 5
#fi

Worked for me !
Needed older ff for 23 wants glibc-2.7,
so I setup busybox tcpsvd -vE 0.0.0.0 21 ftpd /mnt/sda2/load_sfs/ & for my local repo and changed the dlhandler to wget . Also the path to exec ff is different at mine .
But overall : really nice for PUPMODE 2 Full installation ! Have some problems with /tmp dir as mountpoint directory though, but changing /tmp to /mnt might not that bad problem.

_________________
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal Razz
Back to top
View user's profile Send private message Visit poster's website 
sunburnt


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

PostPosted: Fri 29 Nov 2013, 00:14    Post subject:  

Karl; I suppose /mnt could be used for files, I think it`s for partitions, so Barry put them in initrd.
I like /tmp because it`s not unioned with the Save file which would require resolving the union.
Most Save files are on a partition, so are slow to resolve of course. And /tmp cleans itself up.
Anywhere else in the FS is covered by the Save file and the union. Only /tmp and /shm aren`t.

# I have a generic download script that reads a file with a url list ( repository packages ),
and can contain script commands to modify the pkg. and do any setup that`s needed.


It`s a simple idea, if used with Debian, Ubuntu, and Slackware repositories it has great potential.
Build scripts can assemble binary files, or source files and compile them ala amigo`s AppDirs.
If a std. Puppy base distro can be settled on, binary files are the easiest of course ( bloated ).
.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [40 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
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.0898s ][ Queries: 12 (0.0047s) ][ GZIP on ]