The time now is Wed 19 Jun 2013, 13:18
All times are UTC - 4 |
| Author |
Message |
technosaurus

Joined: 18 May 2008 Posts: 3845
|
Posted: Thu 24 Sep 2009, 13:01 Post subject:
|
|
RE: pet-be gone and ldconfig -background info FYI when you compile a program, and use new2dir to remove the bloat, the script uses installwatch, sed, grep etc... to copy files to the appropriate directories main, DEV, DOC and NLS one of the strings the script looks for is "config" (assuming that the developer would setup the package before distribuition and it would not be neeeded) Also when a pet is created in this way, you should get a package_name.files that lists all of the files. These files could be used in Pet-be-gone. We could even keep them in a small repository to save space.
This brings up another point. It would be nice if .pet posts also had the CFLAGs, CXXFLAGs, LDFLAGs and ./configure settings used (where applicable) and package database entry... otherwise I will probably end up recompiling it. I will probably do the same thing if the packages aren't split into DEV, DOC and NLS as well. This is mainly a quality control issue and a quick pet for testing is still fine for submission, but if you spend hours tweaking the perfect combo of FLAGs and hand editing the makefiles or something please let me know. I just don't want to end up having a devx docx or nls sfs that is missing stuff, packages that are missing dependency lists or bloated/broken packages Publishing the flags and setting will allow others to reproduce the package if a new version comes out and you are busy. I will try to address most of these with Pcompile as it progresses, but if all of this sounds like a foreign language to you, don't be afraid to post a pet, suggestions or feedback.
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
esmourguit
Joined: 17 Nov 2006 Posts: 1162 Location: Sur l'ile aux oiseaux.
|
Posted: Thu 24 Sep 2009, 13:54 Post subject:
|
|
Bonjour à tous,
What about localizing scripts like xorgwizard, chooselocale etc.?
Cordialement
_________________ Toutou Linux - Pets francisés
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Thu 24 Sep 2009, 15:22 Post subject:
|
|
| esmourguit wrote: | Bonjour à tous,
What about localizing scripts like xorgwizard, chooselocale etc.?
Cordialement  |
That could be a good job for you
If you started with French, maybe others could follow your lead after and use your examples.
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
Bert

Joined: 30 Jun 2006 Posts: 740
|
Posted: Thu 24 Sep 2009, 16:14 Post subject:
|
|
| ttuuxxx wrote: | | esmourguit wrote: | Bonjour à tous,
What about localizing scripts like xorgwizard, chooselocale etc.?
Cordialement  |
That could be a good job for you
If you started with French, maybe others could follow your lead after and use your examples.
ttuuxxx |
O common, not again. How much longer can Puppy be blind to the real world? Please have a look at how the bigger Linux distros are handling localization. There have been truly heroic Puppy-translators, like MU, esmourguit, magerlab, hacao and many others, but just how long can a human being continue that kind of endless work?
What's needed, yes I said it before, is a standardized, unified, teamwork-enabling localization system.
To return to Technosaurus's topic, I was very pleased to see this as the first point on his wishlist:
| Quote: | | On the fly sfs mounting: Choicepup style or symlink style |
Yes, dynamic sfs mounting, a dream come true. I do not understand what the "symlink style" means, but if it works as well as choicepup, I'm a happy end-user
Thanks to all of you great guys!
_________________

|
|
Back to top
|
|
 |
Jim1911
Joined: 19 May 2008 Posts: 2353 Location: Texas, USA
|
Posted: Thu 24 Sep 2009, 17:21 Post subject:
Subject description: gparted-0.4.5-486.pet |
|
This pet file installs and the new Gparted 4.6 appears to work fine in the present pup430. Also shows up properly in the ppm.
|
|
Back to top
|
|
 |
Caneri
Joined: 04 Sep 2007 Posts: 1567 Location: Canada
|
Posted: Thu 24 Sep 2009, 17:31 Post subject:
|
|
I support Choicepup's point of using a small core with additional sfs of the users choice.
Modular is very good and long overdue.
Loop or union is of no matter to me but whatever works for new users...at least, just look at this for a very interesting and may I add a cool way to build a small fast and full featured fork/distro..Eric
_________________ Be not afraid to grow slowly, only be afraid of standing still.
Chinese Proverb
|
|
Back to top
|
|
 |
Caneri
Joined: 04 Sep 2007 Posts: 1567 Location: Canada
|
Posted: Thu 24 Sep 2009, 17:43 Post subject:
|
|
to add, like jrb has done with his naming of the "ch" in front of his sfs files...
If sfs packages are built with a corresponding version number to a main core version number the package manager will be able to tell what package goes to the proper version of the modular core by default from any repo.
If it's not already built I would think there are enough coders that can make it a reality and work for us dumb guys...just a thought...Eric
_________________ Be not afraid to grow slowly, only be afraid of standing still.
Chinese Proverb
|
|
Back to top
|
|
 |
T_Hobbit

Joined: 27 May 2006 Posts: 400 Location: Portugal - Lisbon
|
Posted: Thu 24 Sep 2009, 18:16 Post subject:
|
|
Hi
whislist: subtitles support from video player!
Portuguese translation here, if necessary.
_________________ T_Hobbit
Rebuilding old DOS Machine for Wing Commander Privateer and Puppy Old spare parts to give away - anyone interested 
|
|
Back to top
|
|
 |
raffy
Joined: 25 May 2005 Posts: 4639 Location: Manila
|
Posted: Thu 24 Sep 2009, 19:36 Post subject:
sfs mounting |
|
Some discussion about sfs mounting here. Rexterd has been rejoicing about sfs mounting on the fly with aufs.
_________________ Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3845
|
Posted: Thu 24 Sep 2009, 21:45 Post subject:
|
|
I compiled vim and will be uploading it soon.
theses are the standard CFLAGS/CXXFLAGS that have been working for the majority of packages
-Os -combine -fbranch-target-load-optimize2 -fgcse-lm -fgcse-sm \
-fgcse-las -fgcse-after-reload -ffunction-sections -fdata-sections \
-pipe -momit-leaf-frame-pointer -fomit-frame-pointer \
-fmerge-all-constants -fmodulo-sched -mpreferred-stack-boundary=2 \
-march=i386 -mtune=i686
and LDFLAGS
-Wl,-O1,-relax,--gc-sections,--sort-common,--no-keep-memory,--as-needed,-s
(--as-needed doesn't always work but it can significantly improve startup times)
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3845
|
Posted: Thu 24 Sep 2009, 22:11 Post subject:
|
|
As long as we are rewriting init...
zdrv.sfs as standard (does anyone know why Barry didn't use it?)
additionally load sfs files from same dir as the pupXXX
browser.sfs if found
pluspack.sfs if found
userdefined.sfs if found
also eliminate the crazy amount of time it takes to "search for puppy files"- only look in the the the dir specified in menu.lst entry by phome= which can be set automatically when you make your save file
add something like this to the save file script
| Code: | sed -i 's/\n#phome/ phome=$HOMEDIR /' /mnt/home/boot/grub/menu.lst
|
such that if grub was like this
<puppy's menu.lst entry here>
#phome
it would then look like this after setting up a save file
<puppy's menu.lst entry here> phome=sdaX/mypuppyhome
just thinking out loud right now - wondering what else seems to take the most time during boot ... building the kernel module maps? copying to ram?
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
Sonsum
Joined: 15 Jul 2009 Posts: 14
|
Posted: Thu 24 Sep 2009, 22:40 Post subject:
|
|
Sorry technosaurus, I'm kind of a linux noob.
I can find my way around fine and do basic stuff, but can you maybe post an example of what this modified grub file would look like?
I'd love to reduce the amount of time puppy takes trying to find it's self on this old computer.
Thanks,
Sonsum.
*EDIT: Oh, and I tested the abiword-2.7.9-i486.pet package on the base 4.3 install. It installed lightning fast (almost too fast?) but abiword still works. Oddly, the about abiword section now doesn't list a version number.
Is there a PET-Be-Gone for 4.3 yet? Cause I think you may need to uninstall the original Abiword first...
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3845
|
Posted: Fri 25 Sep 2009, 00:17 Post subject:
|
|
It is more likely that I got carried away with cutting abiword down to try and fit it on the forum - you shouldn't need to uninstall the original (2.7 has its own directories and the /usr/bin/abiword will overwrite the old one)
I have been playing with using xz compression in petget - had to recompile a later version of tar (bonus - it's smaller too). I am going to upload a tarball of the files I changed so someone can do an idiot check on me. This includes the scripts that make and convert pets - the new format will be .pxt
xz should reduce some bandwidth and server space requirements and allow for quicker downloads - install speed is basically unchanged
| Description |
|

Download |
| Filename |
petget2.tar.gz |
| Filesize |
110.22 KB |
| Downloaded |
755 Time(s) |
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3845
|
Posted: Fri 25 Sep 2009, 00:25 Post subject:
|
|
here is my grub entry
| Code: | title pup43 frugal
rootnoverify (hd0,4)
kernel /pup43/vmlinuz pmedia=atahd psubdir=pup43
initrd /pup43/initrd.gz |
most of the parameters already exist - we just have to use them
SLAX has an example of an init that can load multiple different user defined sfs (just a different extension) & here is the puppy thread for init hacks
http://www.murga-linux.com/puppy/viewtopic.php?t=40958
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
Sonsum
Joined: 15 Jul 2009 Posts: 14
|
Posted: Fri 25 Sep 2009, 00:38 Post subject:
|
|
| technosaurus wrote: | here is my grub entry
| Code: | title pup43 frugal
rootnoverify (hd0,4)
kernel /pup43/vmlinuz pmedia=atahd psubdir=pup43
initrd /pup43/initrd.gz |
most of the parameters already exist - we just have to use them
SLAX has an example of an init that can load multiple different user defined sfs (just a different extension) & here is the puppy thread for init hacks
http://www.murga-linux.com/puppy/viewtopic.php?t=40958 |
Okay, thanks. Got my menu.lst up to snuff
If there's anything simple you'd like me to test, feel free to ask, I'd love to help in any way possible!
|
|
Back to top
|
|
 |
|
|
|
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
|