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 22 Aug 2014, 13:51
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Xvesa - minimal static uclibc version
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
technosaurus


Joined: 18 May 2008
Posts: 4335

PostPosted: Sat 20 Nov 2010, 13:10    Post subject:  Xvesa - minimal static uclibc version  

I wanted to have a fallback Xserver that worked regardless of any problems with system libs, so I compiled this static version against a μclibc toolchain
I used amigo's X11-tiny version here:
ftp://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/AmigoProjects/X11-tiny-1.2.61
Xvesa-1.2.61.pet
Description 
pet

 Download 
Filename  Xvesa-1.2.61.pet 
Filesize  318.92 KB 
Downloaded  543 Time(s) 

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


Joined: 18 May 2008
Posts: 4335

PostPosted: Sat 20 Nov 2010, 22:37    Post subject:  

I did one small patch to change the ugly background to plain black:

the patch is here

This one is a upx'd binary in a gzipped tarball (as /bin/Xvesa for easy inclusion in an initramfs)
Xvesa-1.2.61.tar.gz
Description 
gz

 Download 
Filename  Xvesa-1.2.61.tar.gz 
Filesize  264.53 KB 
Downloaded  516 Time(s) 

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

Joined: 02 Apr 2007
Posts: 2233

PostPosted: Sun 21 Nov 2010, 06:42    Post subject:  

Nice to see someone getting some use out of that! Dou you know about the history/origin of that?

The original work was done by 'monkie' for his 1diskx distro -that was a small distro with X on a single floppy! The creation of 1diskx was wrapped in mystery, but later someone (now defunct: modest-proposals.com) else created the Xwoaf (X windows on a floppy) distro and retraced monkies steps to create 1diskx and providing sources. He still left some of the process in the dark, though, by only describing the changes made to the Xlib code -leaving it to the reader to learn it (on a pretty steep curve). I found the way and de-mystified it by creating the fully-altered sources and automated build.

I also have there oxelmo, retawk and txplor sources which I was able to build against the tiny-X libs. xwoaf had also included some toher progs which I was unable to get to compile, at the time. Most of the work needed gcc-2.95 to be able to compile.

As I said, 1diskx was very 'murky'. It was a read-only system so you could never do any saves or add/remove programs. monkie had very ingeniously compiled the kernel, libs and executables into a single-binary. Since the kernel was a pre-2.6 version it could be booted directly without any bootloader and used an internal-offset to jump to the initrd which contained the rest of the system. There was a tiny bit of room left in the system so you could create a couple of small files, but they were lost on shutdown. Really great work -I hope he got a nice job out of promoting himself that way -it's not likely he did, though, as he was a royal PITA on his website...
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4335

PostPosted: Sun 21 Nov 2010, 19:51    Post subject:  

You have some good stuff there amigo - I "discovered" desklaunch the other day and am thinking about hacking it into jwm. I didn't build those other apps because Xvesa didn't actually require it and imake was having issues - I think because of bad tr calls, so I just hacked up the makefiles with sed and geany.

I tested a few floppy distros a while back, but I have been primarily using a laptop for the last five years or so. I still do like the _idea_ of a single binary system, but maybe more like 3 separate main binaries: kernel + CLI=busybox + X=todo(see_vala/geany_thread for my template) ... and 1 multicall script too - in progress see my bashbox work.

The 2.6 kernel _can_ include the other files inside of it within an initramfs for the _appearance_ of a single file and doesn't need a bootloader if you have coreboot (formerly linux bios) So far the only distro I have seen use this method is xPUD - (he has some extremely innovative ideas).

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

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

PostPosted: Wed 12 Jan 2011, 15:23    Post subject:  

technosaurus wrote:
I tested a few floppy distros a while back, but I have been primarily using a laptop for the last five years or so. I still do like the _idea_ of a single binary system, but maybe more like 3 separate main binaries: kernel + CLI=busybox + X=todo(see_vala/geany_thread for my template) ... and 1 multicall script too - in progress see my bashbox work.

The 2.6 kernel _can_ include the other files inside of it within an initramfs for the _appearance_ of a single file and doesn't need a bootloader if you have coreboot (formerly linux bios) So far the only distro I have seen use this method is xPUD - (he has some extremely innovative ideas).

And Quirky, as I recall.
But a tiny X server does sound interesting...pts-tcc might be interesting to throw in there, too (a 1MB static C compiler that creates static binaries, linked against the included uclibc)
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 780

PostPosted: Thu 01 Sep 2011, 14:28    Post subject: mouse reverse patch (?)  

I have been trying to fix the reverse mouse scroll problem - might have found a solution:
Replacing the /programs/Xserver/hw/kdrive/linux content with the attached content before compile seems to fix it...
I am not able to compile the xvesa as "hard" as you but also attached the possible fixed version (632Kb)...if anyone should want to test.
Update 230911: Removed the Xvesa build as it turned out to be unstable. Also removed the patched directory, a more simple patch for the mouse scroll further down this thread.

Last edited by goingnuts on Fri 23 Sep 2011, 13:32; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4335

PostPosted: Thu 01 Sep 2011, 23:23    Post subject:  

I have a project on the backburner to sanitize xvesa as a standalone package with just a build script (no make files or weird config files)
not sure whether to go with amigo's tiny X, the latest Xfree86, or some version of Xorg before it was removed

is this patch from one of those versions?

it would be a lot easier if it had a comment or two and its a PITA to navigate ... almost as bad as the mozilla source, but with out all the Ghost Busters references

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

Joined: 07 Dec 2008
Posts: 780

PostPosted: Fri 02 Sep 2011, 01:53    Post subject:  

Found a tc xvesa-build script by searching for "mouse.patch xvesa" - and used that with the tinyXlib. Used ulibc build root - but it also compiles with older ulibc. I have considered trying to apply the tinyxlib to the tc version. I fully agree that the source and build script is kind of messy and a clean up/simplification + include all needed stuff to the source would be nice. I haven't been able to use the tinyXlib to compile other X-progs yet - that was my original purpose for messing with tinyXlib. BTW the mungdev project compiles a static vesa using tinyxlib+ulibc that is below 400Kb - but havent been able to get it running in Puppy...
Update 050911: Might be that the above patch makes display freeze - not sure though. A minor patch that seems to fix the revers scroll problem (only) attached.
mousescrollpatch.tar.gz
Description 
gz

 Download 
Filename  mousescrollpatch.tar.gz 
Filesize  623 Bytes 
Downloaded  319 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
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.0641s ][ Queries: 12 (0.0036s) ][ GZIP on ]