| Author |
Message |
starhawk
Joined: 22 Nov 2010 Posts: 1808 Location: Everybody knows this is nowhere...
|
Posted: Fri 04 May 2012, 16:47 Post subject:
|
|
Got the *.tar.gz working -- apparently 7zip was flagging the .tar file as a directory in Windows (or Windows was making a very incorrect assumption!). I un-*.gz'd it using GZip (found on the 'net) and did the untarring with 7zip and it worked.
Gaah another reason to switch, albeit a small one. Either way: not your archive, my extracting methods.
I'll take a look at the Xorg pet you provided, as I've too little knowledge of how things work to know safely what to strip from a package.
EDIT: *.pet does not work. Install from within GUI = black screen, X cursor, nothing useful present. I think you cut out a little too much
I'll take a look at the original *.pet and see what I can do.
_________________ siht daer nac uoy fi uoy od os dna skcor yppup 
|
|
Back to top
|
|
 |
starhawk
Joined: 22 Nov 2010 Posts: 1808 Location: Everybody knows this is nowhere...
|
Posted: Fri 04 May 2012, 22:23 Post subject:
|
|
I installed xorg 7.3-1 base, server, and drivers-full from the Puppy4 ibiblio repository, and "stole" (borrowed) the shell scripts xorgwizard, xrandrshell, xserverwizard, and input-wizard, from Puppy 412 not-retro.
I try to run xorgwizard and it doesn't work -- crashes instantly. xserverwizard says that gtkdialog2 is missing. My guess (although I can't read that fast) is that xorgwizard needs the same.
Is this something I can fix with a symlink, or do I need to learn to code something here?
_________________ siht daer nac uoy fi uoy od os dna skcor yppup 
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sat 05 May 2012, 01:01 Post subject:
|
|
| starhawk wrote: | EDIT: *.pet does not work. Install from within GUI = black screen, X cursor, nothing useful present. I think you cut out a little too much | That means it works but you need a window manager ... jwm is the best supported and highly configurable
this is my hacky way to get X up without adding extra tools
| Code: | | Xorg & sleep 5 && jwm -display :0 |
feel free to adjust the sleep value (some start in <1s others take up to 10s ... or you can use my static waitfordisplay that I posted some pages back)
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
goingnuts
Joined: 07 Dec 2008 Posts: 626
|
Posted: Sat 05 May 2012, 03:09 Post subject:
|
|
I haven't tested the xorg-pet in all the past pupngo versions but it works here in my test bench.... Try running xorgwizard from outside X (command prompt) that way you wont get the missing gtkdialog2 stuff. xorgwizard need some helpers to function (ddcprobe and dmidecode) although you can configure xorg via xorgwizard without if. Also some long options are used for grep and sort which the busybox version does not understand.
The xorg pet contains a xorgwizard modified to use gtkdialog1 (you can use the static versions provided in the programming area) - and with the described changes mentioned above.
After installing the xorg pet try starting X from command prompt with "xinit". If Xorg is symlinked to X and jwm startup is described in /root/.xinitrc - Xorg and jwm should start up ...
|
|
Back to top
|
|
 |
starhawk
Joined: 22 Nov 2010 Posts: 1808 Location: Everybody knows this is nowhere...
|
Posted: Sat 05 May 2012, 12:18 Post subject:
|
|
Thanks, I'll try that.
BTW, a couple of general questions probably better for the Programming forum...
(1) what does it mean to "statically" compile something? (I know you don't rub it with Cling Wrap! )
(2) when you strip things down, how is that done? Do you delete unnecessary files out of *.pets, or do you actually rewrite lines of code? or both?
I'm a total n00b with this stuff.
EDIT: might want to take a look at the referred thread -- the two *.gz files (of which I need one) won't gunzip. I posted my troubles in that thread.
_________________ siht daer nac uoy fi uoy od os dna skcor yppup 
|
|
Back to top
|
|
 |
goingnuts
Joined: 07 Dec 2008 Posts: 626
|
Posted: Sat 05 May 2012, 14:41 Post subject:
|
|
1. static linked executables hold everything needed for it to run as a stand alone binary - that is: No external shared libraries needed. Many of the younger pUPnGO versions are composed of totally static linked binaries - that means the main sfs has no need for any shared libraries.
2. strip in the compiling sense - is removing everything unneeded for the binary to run (comments in the code, bypassed code-snippets etc.). Normally done by using the strip-program.
When I speak of stripping the xorg-packages for all unneeded stuff its a removal (delete) of files from the packages which is something different. Other names it "cut-the-fat"...
|
|
Back to top
|
|
 |
starhawk
Joined: 22 Nov 2010 Posts: 1808 Location: Everybody knows this is nowhere...
|
Posted: Sat 05 May 2012, 14:44 Post subject:
|
|
"strip-program"...? What program? Where do I get it?
I want to learn this stuff too
_________________ siht daer nac uoy fi uoy od os dna skcor yppup 
|
|
Back to top
|
|
 |
Ibidem
Joined: 25 May 2010 Posts: 245
|
Posted: Sun 06 May 2012, 23:02 Post subject:
|
|
| technosaurus wrote: | I will try to provide a patch for those (either by adapting from a bsd or bionic) if/as soon as rich changes this: http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob_plain;f=COPYING;hb=HEAD
Sounds like Rob (or someone on his behalf) put a bee in his bonnet ... it really wasn't filling any unfilled niche as a smaller lgpl licensed c library, but as BSD it could really gain some steam...
If all goes well with musl that will render most of my idea to combine all of the essential lgpl libraries into a single shared library moot (though I still may combine v1.2.x of glib,gtk* & gdk*) |
Technosaurus:
The time is now.
| Rich Felker wrote: | Hi everyone,
OK, here it is: the first release in the 0.9.0 series:
Milestone release covering all interfaces in ISO C99 and POSIX 2008
base. Relicensed under standard MIT license. New configure script
for easy build setup. Full stack protector and PIE support on i386
and x86_64 targets. Major floating-point math improvements and
fixes, application compatibility improvements (mostly legacy header
details), and additional bug fixes in dlerror and several wide
character functions.
http://www.etalabs.net/musl/releases/musl-0.9.0.tar.gz
|
|
|
Back to top
|
|
 |
Ibidem
Joined: 25 May 2010 Posts: 245
|
Posted: Sun 06 May 2012, 23:04 Post subject:
|
|
| starhawk wrote: | "strip-program"...? What program? Where do I get it?
|
You should have it already if you can compile anything--it's part of binutils.
|
|
Back to top
|
|
 |
RetroTechGuy

Joined: 15 Dec 2009 Posts: 2298 Location: USA
|
Posted: Mon 07 May 2012, 11:41 Post subject:
|
|
| starhawk wrote: | "strip-program"...? What program? Where do I get it?
I want to learn this stuff too  |
It should be in the bundle with your compiler. Typically strips out all the un-needed junk (debugging info, etc) -- it makes the compiled program smaller.
So you just compiled a program called "starhawk" (the binary). Try this:
| Code: | ls -la starhawk
strip starhawk
ls -la starhawk |
You should see that the binary is smaller afterwards.
_________________ Wellminded Search
Add swapfile
|
|
Back to top
|
|
 |
goingnuts
Joined: 07 Dec 2008 Posts: 626
|
Posted: Mon 07 May 2012, 14:54 Post subject:
|
|
I wonder...if I stripped goingnuts...would it be the going or the nuts that got smaller..?
|
|
Back to top
|
|
 |
starhawk
Joined: 22 Nov 2010 Posts: 1808 Location: Everybody knows this is nowhere...
|
Posted: Mon 07 May 2012, 16:24 Post subject:
|
|
Probably it would just take out the vowels and you'd be gngnts
_________________ siht daer nac uoy fi uoy od os dna skcor yppup 
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Mon 07 May 2012, 23:30 Post subject:
|
|
| goingnuts wrote: | I wonder...if I stripped goingnuts...would it be the going or the nuts that got smaller..? | before you do, you should set up a paypal account for tips
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
RetroTechGuy

Joined: 15 Dec 2009 Posts: 2298 Location: USA
|
Posted: Tue 08 May 2012, 00:45 Post subject:
|
|
| goingnuts wrote: | I wonder...if I stripped goingnuts...would it be the going or the nuts that got smaller..? |
From coconuts, down to pine nuts...
_________________ Wellminded Search
Add swapfile
|
|
Back to top
|
|
 |
goingnuts
Joined: 07 Dec 2008 Posts: 626
|
Posted: Sun 13 May 2012, 16:23 Post subject:
|
|
Thank you for your support for the above strictly hypothetic question about stripping and goingnuts...
Hard to pickup with some boring stuff but I will give it a try:
Some time ago I made a mcb holding the following programs | Code: | | cdrecord genisoimage growisofs mkisofs mksquashfs3.0 mksquashfs4.0 wodim | (the cdrecord and mkisofs being symlinks to wodim and genisoimage)
I later found that mksquashfs4.0 is not needed if you have mksquashfs3.0.
When trying to rebuild it failed - as I have later changed my uclibc - from buildroot environment to standalone uclibc.
The problem is the cdrkit which is a pain to build. So looked at alternatives and got an interesting tour in history with the cdrkit versus cdrtool. Found an early source of mkisofs (mkisofs-1.12b5) giving a clear build with uclibc only 78K static. But it misses some functions. So looked at the cdrtools (cdrtools-1.10) but as with cdrkit the build is a pain. I guess those build systems that seems to haunt the cd-packages has a purpose but I wish they also was shipped with an ordinary configure&make opportunity. Btw. cdrtools-1.10 gave me a 180K cdrecord and a 286K mkisofs static build (versus cdrkits wodim 322K and genisoimage 618K). No doubt some newer features is missing but I only need it for the save-pup-to-cd/dvd...
Update: I was a little to quick above: The 1.10 cdrecord wont support my writer and a build from the 2.01 version only supports cdrw and not dvd. But at least the mkisofs works and saves some 300K...
|
|
Back to top
|
|
 |
|