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 19 Dec 2014, 22:34
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
pUPnGO - 6Mb ISO - Basic Building Block Puplet
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 43 of 58 [868 Posts]   Goto page: Previous 1, 2, 3, ..., 41, 42, 43, 44, 45, ..., 56, 57, 58 Next
Author Message
starhawk

Joined: 22 Nov 2010
Posts: 3208
Location: Everybody knows this is nowhere...

PostPosted: 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 Rolling Eyes 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 Laughing

I'll take a look at the original *.pet and see what I can do.

_________________

Back to top
View user's profile Send private message 
starhawk

Joined: 22 Nov 2010
Posts: 3208
Location: Everybody knows this is nowhere...

PostPosted: 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?

_________________

Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4424

PostPosted: 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 Laughing
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)

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

Joined: 07 Dec 2008
Posts: 784

PostPosted: 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
View user's profile Send private message Visit poster's website 
starhawk

Joined: 22 Nov 2010
Posts: 3208
Location: Everybody knows this is nowhere...

PostPosted: 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! Laughing )
(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.

_________________

Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 784

PostPosted: 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
View user's profile Send private message Visit poster's website 
starhawk

Joined: 22 Nov 2010
Posts: 3208
Location: Everybody knows this is nowhere...

PostPosted: Sat 05 May 2012, 14:44    Post subject:  

"strip-program"...? What program? Where do I get it?

I want to learn this stuff too Surprised

_________________

Back to top
View user's profile Send private message 
Ibidem

Joined: 25 May 2010
Posts: 527
Location: State of Jefferson

PostPosted: 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
View user's profile Send private message 
Ibidem

Joined: 25 May 2010
Posts: 527
Location: State of Jefferson

PostPosted: Sun 06 May 2012, 23:04    Post subject:  

starhawk wrote:
"strip-program"...? What program? Where do I get it?

Code:
strip --help

You should have it already if you can compile anything--it's part of binutils.
Back to top
View user's profile Send private message 
RetroTechGuy


Joined: 15 Dec 2009
Posts: 2673
Location: USA

PostPosted: 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 Surprised


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.

_________________
Add swapfile
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 784

PostPosted: Mon 07 May 2012, 14:54    Post subject:  

Cool I wonder...if I stripped goingnuts...would it be the going or the nuts that got smaller..?
Back to top
View user's profile Send private message Visit poster's website 
starhawk

Joined: 22 Nov 2010
Posts: 3208
Location: Everybody knows this is nowhere...

PostPosted: Mon 07 May 2012, 16:24    Post subject:  

Probably it would just take out the vowels and you'd be gngnts Laughing
_________________

Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4424

PostPosted: Mon 07 May 2012, 23:30    Post subject:  

goingnuts wrote:
Cool 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
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
RetroTechGuy


Joined: 15 Dec 2009
Posts: 2673
Location: USA

PostPosted: Tue 08 May 2012, 00:45    Post subject:  

goingnuts wrote:
Cool I wonder...if I stripped goingnuts...would it be the going or the nuts that got smaller..?


From coconuts, down to pine nuts... Wink

_________________
Add swapfile
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 784

PostPosted: Sun 13 May 2012, 16:23    Post subject:  

Thank you for your support for the above strictly hypothetic question about stripping and goingnuts... Laughing
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
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 43 of 58 [868 Posts]   Goto page: Previous 1, 2, 3, ..., 41, 42, 43, 44, 45, ..., 56, 57, 58 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.1016s ][ Queries: 13 (0.0184s) ][ GZIP on ]