LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Humble Bundle 4 SlackBuilds (http://www.linuxquestions.org/questions/slackware-14/humble-bundle-4-slackbuilds-920333/)

kabamaru 12-24-2011 06:12 AM

Humble Bundle 4 SlackBuilds
 
Hi there,

I've uploaded some slackbuilds along with some instructions, for humble bundle 4 for anyone interested. You can grab them here :-)

disturbed1 12-24-2011 06:52 AM

Quote:

Two of them (Bit.Trip Runner and Jamestown) need a super recent version of a shared library (libstdc++.so) that comes with gcc 4.6.2 (!).
Jamestown works fine here on 64 and i486 current without the need to ugly up my lib directory. Though I extracted the mojo installer bundle, which is just a zip file. If you want to script extracting any of the games made with the Mojo installation bin, just put something like this in the SlackBuild -
Code:

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
unzip  $CWD/$SRCNAME.bin || true

You need to put || true, as unzip will cause a failure exit because of extra junk in the .bin file.

libstdc++.so is included in the archive.

Here's the tree output after unzipping JamestownInstaller_1_0_0-bin
Code:

JamestownInstaller_1_0_0$ tree
.
|-- JamestownInstaller_1_0_0-bin
`-- jamestown
    |-- data
    |  |-- Archives
    |  |  |-- Engine
    |  |  |  |-- multiple.ffg
    |  |  `-- Jamestown
    |  |      |-- multiple.ffg
    |  |-- Distribution.txt
    |  |-- Jamestown
    |  |-- Jamestown-amd64
    |  |-- Jamestown-x86
    |  |-- Jamestown_EULA.txt
    |  |-- LICENSES.TXT
    |  |-- README-linux-generic.txt
    |  |-- README-linux.txt
    |  |-- amd64
    |  |  |-- libSDL-1.2.so.0
    |  |  |-- libopenal.so.1
    |  |  `-- libstdc++.so.6

    |  |-- jamestown.png
   |  `-- x86
    |      |-- libSDL-1.2.so.0
    |      |-- libopenal.so.1
    |      `-- libstdc++.so.6

    |-- guis
    |  |-- libmojosetupgui_gtkplus2.so
    |  `-- libmojosetupgui_ncurses.so
    |-- meta
    |  |-- splash.bmp
    |  `-- xdg-utils
    |      |-- xdg-desktop-menu
    |      `-- xdg-open
    `-- scripts
        |-- app_localization.luac
        |-- config.lua
        |-- localization.luac
        |-- mojosetup_init.luac
        `-- mojosetup_mainline.luac

11 directories, 56 files


kabamaru 12-24-2011 07:49 AM

Interesting, the 64bit executable from the bin installer works. Obviously it uses the bundled libstdc++. The 32bit poses me a problem:

Code:

./Jamestown-x86: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./Jamestown-x86)
Edit: of course bit.trip runner (both architectures) fail with the same error message. bit.trip uses system libraries.

Code:

unzip  $CWD/$SRCNAME.bin || true
Great tip ! Thanks

I'll look into it further and update the blog post. Any suggestions appreciated ;-)

kabamaru 12-24-2011 09:19 AM

Update:

I'll upload a new working Jamestown slackbuild. Bit.trip will also work with the help of LD_LIBRARY_PATH and by putting the library inside the game folder, cause it doesn't come with its own. No need to "ugly up" /lib ;-)

I'll update the blog post soon enough

thanks disturbed1

kabamaru 12-24-2011 11:28 AM

New update: all packages work now without jumping through hoops. I'll reupload the blog post. Sorry for all the confusion... :-)

disturbed1 12-25-2011 08:00 AM

That's too bad about Bit Trip Runner. I wonder if they think everyone runs pacman -Syu in an hourly cron script on Arch Linux ;) :)
http://distrowatch.com/search.php?pk....6.2#pkgsearch

Perhaps if/when Desura keys are available they will get it sorted. Maybe no one has told the devs yet either?
Quote:

Please note that this is the initial release of seven Linux builds, so please be patient while we fix 1.0 issues as fast as we can.
Thanks kabamaru, for the work on these!

kabamaru 12-25-2011 09:27 AM

Yeah I know. Bit.Trip's slackbuild downloads libstdc++ for you, just make sure you have wget installed. I hope the slackbuilds work for everyone. More bundles (previous and future) will be added in the next weeks.

Munra 12-26-2011 08:32 PM

NightskyHD with the "nightskyhd-linux-1324519044" that is the late one, that can be download now (Mon Dec 26 20:36:05 COT) give this error.
Quote:

/usr/bin/nightsky: line 4: 12275 Segmentation fault ./NightSkyHD_64
But if i just untar the package and ./NightSkyHD_64 the thing works.

i am using Slackware64 13.37

kabamaru 12-26-2011 08:57 PM

Thanks Munra for notifying me, I'll have a look at it tommorow, it's pretty late over here :-)
I see they've updated other games too, I hope the didn't break anything new.

edit:
Quick question though... Have you added your user to 'games' group ? I've setup the slackbuilds this way because some games need write permissions for their folders, and for sake of consistency. If you haven't done this (I also mention this in my blogpost):

su -
usermod -a -G games yourusername

Munra 12-27-2011 12:23 AM

Quote:

Originally Posted by kabamaru (Post 4558924)
Thanks Munra for notifying me, I'll have a look at it tommorow, it's pretty late over here :-)
I see they've updated other games too, I hope the didn't break anything new.

edit:
Quick question though... Have you added your user to 'games' group ? I've setup the slackbuilds this way because some games need write permissions for their folders, and for sake of consistency. If you haven't done this (I also mention this in my blogpost):

su -
usermod -a -G games yourusername

Sorry. Now works.

I did that, but i forget to log out and enter again. (I edit the /etc/group)
Thank you again.

kabamaru 01-01-2012 04:54 PM

Hi everybody, happy new year :-)

I've uploaded some more humble bundle stuff (bundle no.3), for anyone interested. Cheers

I hope they work for you

kabamaru 01-06-2012 11:32 AM

Hello to all,

I added "The Humble Frozen Synapse Bundle" to the collection. Link

kabamaru 01-13-2012 01:02 PM

Added numero due to the collection. Cheers everyone.


All times are GMT -5. The time now is 03:56 AM.