Lazy-Newb-Pack / Lazy-Newb-Pack-Linux

A Lazy Newb Pack for Linux
http://lazynewbpack.com/
150 stars 12 forks source link

Add Sabayon linux, a gentoo based, noob friendly distribution #30

Closed tychota closed 8 years ago

tychota commented 8 years ago

Sabayon linux (https://www.sabayon.org/) is a noob freiendly distrib based on gentoo linux. This PR add support for it in distro_fixes.sh.

Tested on my sabayon it produces:

[distro_fixes] INFO Checking whether any ARCH/distro specific fixes are required...
[distro_fixes] INFO OS: Sabayon
[distro_fixes] INFO ARCH: x86_64
[distro_fixes] INFO VER: n/a
[distro_fixes] INFO DF_ARCH: 32-bit
[distro_fixes] INFO DF_BIN_LOCATION: /home/tychota/.bin/dwarf_fortress/df_linux/libs/Dwarf_Fortress
[distro_fixes] INFO 32 bit df on Sabayon/64bit detected
[distro_fixes] INFO Setting LD_PRELOAD to /lib32/libz.so.1
[distro_fixes] INFO Done
Gtk-Message: Failed to load module "pk-gtk-module"
Sound devices available:
OpenAL Soft
Picking OpenAL Soft. If your desired device was missing, make sure you have the appropriate 32-bit libraries installed. If you wanted a different device, configure ~/.openalrc appropriately.
Perfect OpenAL context attributes GET
Loading bindings from data/init/interface.txt
Resetting textures
lethosor commented 8 years ago

Was DF working before this (assuming you had the latest version of the script)? It looks to me like it should have searched /lib32 before, although it would have given a warning.

tychota commented 8 years ago

I, sorry for delay, forgot to answer.

I was using http://lazynewbpack.com/linux/. I first modifiate the script then wanted to contribuate back. While forking this repo and editing the script, i noticed it wasn't exacly the same (more switch case in the fork than in compiled linux pack) so i think the script in compiled pack is outdated. Since there were no sabayon switch I contribute.

Thus I tested with github modified script, but never did with github untouched one.

Hope I did it right, and sorry for not testing the untouched one first.

lethosor commented 8 years ago

Oh, it's fine - this gets rid of the warning in the newer script too. I just wanted to make sure it wasn't the newer script that was failing on sabayon.