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 Sun 25 Jun 2017, 06:59
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
xwoaf - rebuild
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [43 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
goingnuts

Joined: 07 Dec 2008
Posts: 884

PostPosted: Tue 20 Dec 2016, 01:20    Post subject:  

Thanks Barry! They are nice findings - especially if the mdesk source "at last" is released. It's like Christmas - lot of presents Very Happy
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4718

PostPosted: Tue 20 Dec 2016, 03:50    Post subject:  

although many of these have been lost to the interwebs, it is still possible to build most of them. We have preserved tinyX on github; jwm is still maintained and we now have alternatives to rxvt (st). In my experiments with nanosaurus, I built a kernel image with a builtin initramfs that included jwm, rxvt and a basic "init" in under 1MB. Since then I have produced patches to allow jwm to use stb_image instead of libjpeg and libpng and nanosvg instead of cairo ... and suckless terminal is now as good as if not better than rxvt. Netsurf now has basic javascript support and can be buiilt using using xcb (and linux framebuffer) backend which would allow using something like what slitaz uses for configuration dialogs instead of gtkdialog (it uses busybox httpd and html forms - no javascript technically required). I briefly experimented with nuklear (see github) as a replacement for gtk+ GUIs and though it seems to be on par with gtk+, I would need to find/write a glib replacement to fully replace gtk+. I should have some development time after the new year, so let me know what you would like to see in the new year (and hopefully a new laptop for development)... more jwm improvements? replace gtk/gtkdialog? minimal init system? GUI multicall binary(ies)? porting X11 apps to xcb?

I have done a ton of experiments over the years, but I don't do a lot of "marketing", so I really don't know what people want/like. The only projects that got much interest seemed to be the stuff the end users actually see like my jwm-tools and simple icon tray or small SVG icons; however I would have expected more interest in my DNS caching experiment that significantly improved browsing speed (up to 30000%) or my sysvinit replacement scripts that improved boot speed by 2000%.

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


Joined: 09 May 2005
Posts: 8053
Location: Perth, Western Australia

PostPosted: Tue 20 Dec 2016, 07:38    Post subject:  

technosaurus wrote:
although many of these have been lost to the interwebs, it is still possible to build most of them. We have preserved tinyX on github; jwm is still maintained and we now have alternatives to rxvt (st). In my experiments with nanosaurus, I built a kernel image with a builtin initramfs that included jwm, rxvt and a basic "init" in under 1MB. Since then I have produced patches to allow jwm to use stb_image instead of libjpeg and libpng and nanosvg instead of cairo ... and suckless terminal is now as good as if not better than rxvt. Netsurf now has basic javascript support and can be buiilt using using xcb (and linux framebuffer) backend which would allow using something like what slitaz uses for configuration dialogs instead of gtkdialog (it uses busybox httpd and html forms - no javascript technically required). I briefly experimented with nuklear (see github) as a replacement for gtk+ GUIs and though it seems to be on par with gtk+, I would need to find/write a glib replacement to fully replace gtk+. I should have some development time after the new year, so let me know what you would like to see in the new year (and hopefully a new laptop for development)... more jwm improvements? replace gtk/gtkdialog? minimal init system? GUI multicall binary(ies)? porting X11 apps to xcb?

I have done a ton of experiments over the years, but I don't do a lot of "marketing", so I really don't know what people want/like. The only projects that got much interest seemed to be the stuff the end users actually see like my jwm-tools and simple icon tray or small SVG icons; however I would have expected more interest in my DNS caching experiment that significantly improved browsing speed (up to 30000%) or my sysvinit replacement scripts that improved boot speed by 2000%.


Yes, I see so many interesting projects, that have been forgot or lost, bits and pieces that could be put together to build a new kind of radically small, lean-and-mean Puppy.

That is very good news about netsurf!

A new pup built with xlib apps, tinyx, and gtk 1.2, would be great. There were such nice gtk1.2 apps that we abandoned. Also there were some very interesting projects, such as xft support in gtk1.2, for antialiased fonts -- there was a git site for that.

A suppose a good start would be to collect everything we can find and put it into a repository somewhere, somewhere that is not going to go away.
Unfortunately, I had a huge collection of old stuff on a usb hard drive that got stolen -- my place got burgled several years ago.

Then setup a build environment, which is not the easy part. Personally, I favour being very conventional and use glibc -- it avoids so many hassles.

Maybe a project like OpenEmbedded or Yocto would be a good tool to use.
I mention those two, as I had very good experiences with them:
http://barryk.org/news/?viewDetailed=00361
http://barryk.org/news/?viewDetailed=00367

Regarding T2, I give up. The problem is, only Rene, the maintainer, is the only one maintaining it, and only just barely. It has been like this for years. Rene compiles for a mips target, arm is totally neglected.
EDIT: no, haven't really given up on T2. Keep saying I will, but then go back and play with it some more.

I'm just "thinking out loud" here.

_________________
http://barryk.org/news/

Last edited by BarryK on Fri 23 Dec 2016, 07:11; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
ally


Joined: 19 May 2012
Posts: 1449
Location: lincoln, uk

PostPosted: Tue 20 Dec 2016, 10:17    Post subject:  

I have archived goingnuts efforts here:

http://archive.org/details/puppylinux?and[]=goingnuts

I can upload anything you want saving to the archive

Smile
Back to top
View user's profile Send private message Visit poster's website 
goingnuts

Joined: 07 Dec 2008
Posts: 884

PostPosted: Tue 20 Dec 2016, 13:08    Post subject:  

BarryK wrote:
BarryK wrote:
goingnuts,
On your xwoaf webpage, you wrote that 1diskx cannot be found anymore.

You can get it from this most unlikely URL:

http://soundproofingforum.co.uk/soundproofing/soundproofing.htm

I have just now run "unrar x mungdev20100301.rar"

It has image files for using in qemu.


It has 'hda.img' and 'hdb.img' in it, intended to be used in vmware.
I wonder how we could open those files, without having vmware?

Here is how to "easy" access the content of hda.img:
Code:
#create a directory to unpack the mungdev20100301.rar
mkdir mungdev
#and move mungdev20100301.rar to this directory
#then run
unrar e mungdev20100301.rar
#convert hda.img to raw image for qemu
qemu-img convert -O raw hda.img hda.raw      #the -O is -O as in Oliphant
#now you can boot qemu with this command:
qemu -m 128 -boot c -hda hda.raw
#or mount the disk and access the content via your file browser
mkdir mnt
mount -o loop,offset=32256 hda.raw mnt

#hdb.img seems to be an empty harddisk

BUT: I find no source for mdesk. In /home/mungkie you find 1diskxwin-soundproofing.tar.bz2 and after extraction you can find the bin mdesk in /home/mungkie/1diskwin-soundproofing/mdesk-1.2.0 but no source. I might have overlooked it though...

technosaurus: You really have contributed with many unique solutions and your nanosaurus was great inspiration! The gtk-1.2 road is well documented but if one aims for 1.44Mb floppy its still too large. I thought of gtkdialog-1 reduced to xpm-graphics and with some features removed - then scripting all apps - but it seem still to be too big...
XawPlus gives smaller bins than Xaw (and they look better) but they drag in Xt and friends - and Xaw is not always stable or user-friendly.
The McTools widget set is smaller than GTK-1.2 and use only X11, Xau and Xpm - but until now I have not been able to do a single app with it myself. That could be a new project for very tiny (but advanced) GUI apps.

ally: Thanks a lot!

Add: If you choose to run the hda.raw within qemu cd to home/mungkie and run ./createsystem.sh
It will build most things but when it comes to mdesk it stops and says "You need to upgrade". It should be possible to get it running though by manually creating the rest of the root - but I still havent seen any of the apps in mdesk running. It seems to hold Xvesa, mterm, xawterm, game, calc, paint, gifr, pty, mdesk, menu, dial, cscript, rxvt, xhost, wm, usk, vncviewer, fspanel, rdesktop, ssh, xpmroot and xfm - impressive...
snap0017.png
 Description   
 Filesize   85.41 KB
 Viewed   305 Time(s)

snap0017.png

Back to top
View user's profile Send private message Visit poster's website 
foxpup

Joined: 29 Jul 2016
Posts: 167
Location: europa

PostPosted: Tue 20 Dec 2016, 16:14    Post subject: menu.lst  

Keef wrote:

The iso would not boot with Qemu, but did a manual frugal install to HDD (ext2 partition) and it booted fine with grub4dos.

I would like to try it out this way to see what it is all about.
What's in your menu.lst? I can't get it right.
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 828
Location: Staffordshire

PostPosted: Tue 20 Dec 2016, 18:43    Post subject:  

foxpup

Here it is:
Code:
title xwoaf
  find --set-root --ignore-floppies --ignore-cd /xwoaf/bzImage
  kernel /xwoaf/bzImage root=/dev/ram0
  initrd /xwoaf/Image.gz
Back to top
View user's profile Send private message 
foxpup

Joined: 29 Jul 2016
Posts: 167
Location: europa

PostPosted: Tue 20 Dec 2016, 19:21    Post subject:  

Thanks Keef!

Works very well. xwaof boots very fast on my P3 (amd palomino). It's faster than anything Smile

I put it on ext3, next to several frugal puppies. So it does not have to be ext2.

However 2 issues for now:
my keyboard is azerty (be-latin1)
I have no internet, normally it is a network connection, ethernet, eth0

How can I set up these?
Where can I find this kind of info, or even what is or is not possible?
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8053
Location: Perth, Western Australia

PostPosted: Tue 20 Dec 2016, 21:33    Post subject:  

goingnuts wrote:

BUT: I find no source for mdesk. In /home/mungkie you find 1diskxwin-soundproofing.tar.bz2 and after extraction you can find the bin mdesk in /home/mungkie/1diskwin-soundproofing/mdesk-1.2.0 but no source. I might have overlooked it though...



Hmmm, the website says it is in that .rar file, quoting:

full source of the mdesk desktop tools added

That's a shame if he hasn't actually put it in.

_________________
http://barryk.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8053
Location: Perth, Western Australia

PostPosted: Tue 20 Dec 2016, 21:44    Post subject:  

technosaurus wrote:
although many of these have been lost to the interwebs, it is still possible to build most of them. We have preserved tinyX on github; jwm is still maintained and we now have alternatives to rxvt (st). In my experiments with nanosaurus, I built a kernel image with a builtin initramfs that included jwm, rxvt and a basic "init" in under 1MB..


Have you actually called it "nanosaurus" anywhere? I just tried a google on "nanosaurus puppy" and came up with this:

http://nanosaurus.tumblr.com/post/50293601365/puppy-3

What forum threads are best to see your work in the gtk 1.2 nanosaurus category?

_________________
http://barryk.org/news/
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4718

PostPosted: Tue 20 Dec 2016, 21:46    Post subject:  

actually my "microsaurus" image was less than 1mb with the jwm+xvesa+rxvt initramfs built into the kernel and the gtk1 multicall binary with dillo, rox, asound and gtkdialog1 was well under half a megabyte compressed, so it would probably work... iguleder has patched version of a lot of gtk1 programs on his GitHub repo (dimkr i believe), but they would need to be combined into one repo to make a multicall binary.

unfortunately microsaurus is no longer available since the forum reduced the file size limit, i would post clickable links but i am traveling and using my phone to post.

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

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

Joined: 07 Dec 2008
Posts: 884

PostPosted: Wed 21 Dec 2016, 02:05    Post subject:  

BarryK wrote:

Hmmm, the website says it is in that .rar file, quoting:

full source of the mdesk desktop tools added

That's a shame if he hasn't actually put it in.

In /root/create we get a direct link to where it should be and the naming:
Code:
cd 1diskxwin-soundproofing
./make remake n
./installX

cd ..
tar xjf mdesk.tar.bz2
cd mdesk
./make_all.sh uclibc
cp apps/mdesk /usr/X11R6/bin/

If one use strings on the mdesk bin we get some information directly from the source to search for (ex:"Text Widget: The multiply action's argument" - thats Xaw). Xaw is nowhere else - so I guess this is from a static linked Xawlib in mdesk.

mungkie seems to like obfuscation so source might be in the download but hidden...
Could it be deleted? Then recovery tools should be used...
Could it be renamed/replaced (and maybe afterwards deleted)?
Can we find it?
Do we bother...?
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8053
Location: Perth, Western Australia

PostPosted: Wed 21 Dec 2016, 10:49    Post subject:  

goingnuts,
Do you know about this:

https://sourceforge.net/projects/sf-xpaint/files/xaw3dxft-progs/

It is very interesting. xlib apps can use freetype fonts, with anti-aliasing and utf-8.

It states that apps can be modified quite easily to use libxaw3dxft.

That would be a very good enhancement for xwoaf!

_________________
http://barryk.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8053
Location: Perth, Western Australia

PostPosted: Wed 21 Dec 2016, 10:55    Post subject:  

technosaurus wrote:
actually my "microsaurus" image was less than 1mb with the jwm+xvesa+rxvt initramfs built into the kernel and the gtk1 multicall binary with dillo, rox, asound and gtkdialog1 was well under half a megabyte compressed, so it would probably work... iguleder has patched version of a lot of gtk1 programs on his GitHub repo (dimkr i believe), but they would need to be combined into one repo to make a multicall binary.

unfortunately microsaurus is no longer available since the forum reduced the file size limit, i would post clickable links but i am traveling and using my phone to post.

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


Yes, if you could upload microsaurus sometime, I would like to play with it.

Right now i am downloading all of Iguleder's (dimkr) source packages, that he used for his 'rlsd' distro:

http://dimkr.insomnia247.nl/sources/

_________________
http://barryk.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8053
Location: Perth, Western Australia

PostPosted: Wed 21 Dec 2016, 13:25    Post subject:  

goingnuts,
Just popped in to the forum to let you know what a pleasant experience I had, compiling xwoaf-rebuild!

Very simple, "just works'.

It would probably be quite easy to port to the Pi3. I would have to populate xwoafchain with armv7 binaries.

_________________
http://barryk.org/news/
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 3 [43 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
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.1524s ][ Queries: 14 (0.0144s) ][ GZIP on ]