Slack Puppy 100

01micko has used the latest Woof (April 16, 2011) to build his ongoing Spup project, see Forum thread:

http://murga-linux.com/puppy/viewtopic.php?t=62750

If you want compatibility with Slackware packages, then Spup is the one for you!

Spup 100 is using the 2.6.34.1 kernel.


Posted on 17 Apr 2011, 9:06


Comments:

Posted on 17 Apr 2011, 13:07 by 01micko
Games
Hi Barry,
Games in Linux, (especially openGL type games) have come a long way in recent years, still have a long way to go but were getting there.
In Lupu we have access to heaps of games in the Ubuntu repos. I was IRC one day and a fellow Queenslander (extreeme is his handle)approached me about games not running and he had to hack $PATH. This is because many of their executables install to /usr/games. With that I put a rough hack into lupu that symlinks those execs into /root/my-applications/bin at startup (if /usr/games exists). Of course $PATH should probably be altered in /etc/profile. Here's my proposal:
Near the top of /etc/profile:
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R7/bin:/root/my-applications/bin"

[ -d /usr/games ] && PATH="${PATH}:/usr/games"

I just tested with an SFS that installs the execs to /usr/games and no problem. On unloading the SFS $PATH returns to normal. Tested in spup-100, which doesn't have the lupu hack.
I'm sure this will please sc0ttman, sickgut, 666philb and the other gamer devs and users.
BTW, thanks for the plug!
Cheers


Posted on 17 Apr 2011, 15:20 by BarryK
Re Games
Normally, that would require a reboot after the game has been installed, for it to work.

How about if I just put /usr/games directory permanently into rootfs-skeleton, and include /usr/games permanently in PATH?



Posted on 17 Apr 2011, 15:23 by BarryK
Re Games take2
Um, but wouldn't those games need something like /usr/games/bin for the PATH? I would have thought there would be sub-directories under /usr/games.



Posted on 17 Apr 2011, 15:43 by 01micko
games again
The game dirs are most often in /usr/share, or /usr/local, AFAIK just the execs are in /usr/games. As a matter of fact I have a really old CD of tuxracer (sunspire) that defaults to /usr/local/games, but with an option at install time to choose prefix=/usr. Runs just fine in any Puppy, includes all deps in it's own special folder. There are numerous other games I have tried that have execs in /usr/games, TORCS (car racer) springs to mind.
I can't see any harm in having /usr/games in $PATH permanently and having the dir /usr/games.
I'm not a huge gamer so I might ask the game devs, sc0ttman et al if there is anything else, I think amigo knows too.


Posted on 18 Apr 2011, 18:46 by 01micko
more games
Ok, been doing some resaerch.
Ubuntu definitely has /usr/games in the default $PATH. Seems slackware too. Mandriva and Fedora don't, but the directory /usr/games exists by default and they symlink execs into $PATH.
Now, there is plenty of moaners in Ubuntuland about /usr/games being in $PATH, "security" they say. Ok, what about my code in the above post but include the directory in the tree. That way, if some user doesn't want /usr/games in their executable path all they have to do is delete /usr/games.
Oh, all the puppy gamers vote "aye" :D


Posted on 20 Apr 2011, 10:12 by 01micko
4babybuild
A baby build of spup-100 is also uploaded, see link in Barry's top post. It's 101 MB and the 'zdrv' is 17 MB. I haven't hacked the sfsget script to recognise my repo so the zdrv needs to be downloaded manually. I was able to get online with wireless rt73usb, with sound, no issues. It still contains the full Xorg drivers.


Posted on 1 May 2011, 20:41 by 01micko
13.37 based spup
Well I got a working 13.37 spup. Took some Xorg hacking and there is a way to go too. The hack I mentioned awhile ago (for natty) running
"gdk-pixbuf-query-loaders --update-cache"
is necessary too, I put it in /etc/rc.d/rc.update, works well.
Found some new repos from the Salix people too, their PACKAGES.TXT files include dependency info as well, and they have updated for 13.37 (both the official PACKAGES.TXT and their 3rd party repo PACKAGES.TXT) Stabellini and Slacky.eu have not updated as yet. Plenty of cool stuff in the Salix 3rd party repo anyway.



Posted on 2 May 2011, 9:15 by 01micko
Auto xorg
Hi Barry
I finally fathomed how you set up the DISTRO_XORG_AUTO variable... manually!!!
Can we have a line in 0setup...
echo "DISTRO_XORG_AUTO='no'" >> ./DISTRO_SPECS
or something to that effect?
Thanks


Posted on 2 May 2011, 9:18 by 01micko
auto xorg again
...hmmmm... I guess if I had of updated by the woof gui my DISTRO_SPECS it would have been the .. doh!