Permalink
Please sign in to comment.
Showing
with
160 additions
and 0 deletions.
- +65 −0 README.txt
- BIN bin/rsdl
- BIN ffi-0.5.1-x86-darwin-9.gem
- +77 −0 install.sh
- BIN lib/libFLAC.8.0.1.dylib
- BIN lib/libFLAC.8.2.0.dylib
- +1 −0 lib/libFLAC.8.dylib
- +1 −0 lib/libFLAC.dylib
- BIN lib/libSDL-1.2.0.dylib
- +1 −0 lib/libSDL.dylib
- BIN lib/libSDL_gfx.13.dylib
- +1 −0 lib/libSDL_gfx.dylib
- BIN lib/libSDL_image-1.2.0.dylib
- +1 −0 lib/libSDL_image.dylib
- BIN lib/libSDL_mixer-1.2.0.dylib
- +1 −0 lib/libSDL_mixer.dylib
- BIN lib/libSDL_ttf-2.0.0.6.3.dylib
- +1 −0 lib/libSDL_ttf-2.0.0.dylib
- +1 −0 lib/libSDL_ttf.dylib
- BIN lib/libfreetype.6.dylib
- +1 −0 lib/libfreetype.dylib
- BIN lib/libmikmod.2.0.4.dylib
- +1 −0 lib/libmikmod.2.dylib
- +1 −0 lib/libmikmod.dylib
- BIN lib/libogg.0.5.3.dylib
- +1 −0 lib/libogg.0.dylib
- +1 −0 lib/libogg.dylib
- BIN lib/libsmpeg-0.4.0.dylib
- +1 −0 lib/libsmpeg.dylib
- BIN lib/libvorbis.0.3.0.dylib
- +1 −0 lib/libvorbis.0.dylib
- +1 −0 lib/libvorbis.dylib
- BIN lib/libvorbisfile.3.1.0.dylib
- +1 −0 lib/libvorbisfile.3.dylib
- +1 −0 lib/libvorbisfile.dylib
65
README.txt
@@ -0,0 +1,65 @@ | ||
+ | ||
+Rubygame Intel Mac Library Pack README GO! | ||
+ | ||
+This library pack contains all the libraries and extras you need to | ||
+run Rubygame on an Intel Mac using the Ruby version installed by | ||
+default with Mac OS X. | ||
+ | ||
+These libraries are only compiled for Intel Mac. If you are using a | ||
+PowerPC Mac, this pack won't help you at all, sorry. I hope to | ||
+put together a Universal pack sometime in the future. | ||
+ | ||
+For an automated install, double-click on "install.sh". | ||
+The install script will do 5 things: | ||
+ | ||
+ 1. Ask for your password (actually, it's the sudo command asking). | ||
+ You must provide your password to sudo so that the script can | ||
+ install all the files. | ||
+ | ||
+ 2. Copy the files in the "lib/" directory to "/usr/local/lib/". | ||
+ | ||
+ 3. Copy "bin/rsdl" to "/usr/local/bin/rsdl". | ||
+ | ||
+ 4. Install the gem using "sudo gem install ffi-0.5.1-darwin.gem". | ||
+ | ||
+ 5. Install Rubygame with "sudo gem install rubygame". | ||
+ | ||
+If there were no errors, you can now run Rubygame apps, using rsdl | ||
+instead of the normal ruby command. So, instead of this: | ||
+ | ||
+ ruby my_game.rb | ||
+ | ||
+Type this: | ||
+ | ||
+ rsdl my_game.rb | ||
+ | ||
+Remember, you *must* use rsdl to run Rubygame apps! Regular ruby will | ||
+not work, you would only get a bunch of errors. | ||
+ | ||
+(By the way, if you are using a Ruby version other than the default | ||
+installed with Mac OS X, you must compile rsdl yourself. You should | ||
+compile and install SDL 1.2.14 from the source before compiling rsdl.) | ||
+ | ||
+The following software is included in this pack: | ||
+ | ||
+* flac-1.2.1 | ||
+* freetype-2.3.9 | ||
+* libmikmod-3.1.11 | ||
+* libogg-1.1.3 | ||
+* libvorbis-1.1.0 | ||
+* SDL_image-1.2.8 | ||
+* SDL_mixer-1.2.9 | ||
+* SDL_ttf-2.0.9 | ||
+* SDL-1.2.14 | ||
+* smpeg-r389 | ||
+* ffi-0.5.1 (with gemspec tweaks) | ||
+* rsdl (http://github.com/knu/rsdl) | ||
+ | ||
+Equivalent source code is available online: | ||
+ | ||
+ http://download.rubygame.org/files/extras/source/ | ||
+ | ||
+ | ||
+Enjoy! | ||
+ | ||
+- John Croisant, jacius@gmail.com |
Binary file not shown.
77
install.sh
@@ -0,0 +1,77 @@ | ||
+#!/bin/sh | ||
+ | ||
+bindest="/usr/local/bin/" | ||
+libdest="/usr/local/lib/" | ||
+ | ||
+function wait_for_user { | ||
+ echo | ||
+ echo "-- Press Return to close this window --" | ||
+ read | ||
+} | ||
+ | ||
+trap wait_for_user EXIT | ||
+ | ||
+echo '======================================================================' | ||
+echo '|| Rubygame Intel Mac Library Pack Install Time GO! ||' | ||
+echo '======================================================================' | ||
+echo | ||
+ | ||
+# Check processor architecture. | ||
+case `uname -p` in | ||
+ i386) | ||
+ # Good, it's the correct architecture for these libs. We can continue. | ||
+ ;; | ||
+ *) | ||
+ echo "Sorry, this pack only works for Intel Macs. :(" | ||
+ exit 1 | ||
+ ;; | ||
+esac | ||
+ | ||
+echo "This script will help you install the files in this pack." | ||
+echo "It will do 5 things:" | ||
+echo | ||
+echo " 1. Ask for your password (actually, it's the sudo command asking)." | ||
+echo " You must provide your password to sudo so that the script can" | ||
+echo " install all the files." | ||
+echo | ||
+echo " 2. Copy the files in the \"lib/\" directory to \"/usr/local/lib/\"." | ||
+echo | ||
+echo " 3. Copy \"bin/rsdl\" to \"/usr/local/bin/rsdl\"." | ||
+echo | ||
+echo " 4. Install the gem using \"sudo gem install ffi-*.gem\"." | ||
+echo | ||
+echo " 5. Install Rubygame with \"sudo gem install rubygame\"." | ||
+echo | ||
+echo "You will be asked before any files are overwritten by steps 2 or 3." | ||
+echo "If you prefer, you can cancel this script and install the files yourself." | ||
+echo | ||
+echo "Enter your password to begin, or close this window to cancel." | ||
+echo | ||
+ | ||
+sudo -v # prompt for password | ||
+ | ||
+# Did sudo fail? | ||
+if [ $? != 0 ] | ||
+then | ||
+ echo | ||
+ echo "You must provide your password to use this installer." | ||
+ exit 1 | ||
+fi | ||
+ | ||
+thisdir=`dirname $0` | ||
+ | ||
+echo "Installing libs..." | ||
+sudo cp -Rvi $thisdir/lib/* $libdest | ||
+ | ||
+echo "Installing rsdl..." | ||
+sudo cp -Rvi $thisdir/bin/* $bindest | ||
+ | ||
+echo "Installing ffi gem..." | ||
+sudo gem install --local $thisdir/ffi-*.gem | ||
+ | ||
+echo "Installing rubygame..." | ||
+sudo gem install --remote rubygame | ||
+ | ||
+echo | ||
+echo "That's all, folks. If there were no errors above, installation is complete\!" | ||
+echo "Remember to run 'rsdl my_game.rb', not 'ruby my_game.rb'\!" |
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@ | ||
+libFLAC.8.2.0.dylib |
@@ -0,0 +1 @@ | ||
+libFLAC.8.2.0.dylib |
Binary file not shown.
@@ -0,0 +1 @@ | ||
+libSDL-1.2.0.dylib |
Binary file not shown.
@@ -0,0 +1 @@ | ||
+libSDL_gfx.13.dylib |
Binary file not shown.
@@ -0,0 +1 @@ | ||
+libSDL_image-1.2.0.dylib |
Binary file not shown.
@@ -0,0 +1 @@ | ||
+libSDL_mixer-1.2.0.dylib |
Binary file not shown.
@@ -0,0 +1 @@ | ||
+libSDL_ttf-2.0.0.6.3.dylib |
@@ -0,0 +1 @@ | ||
+libSDL_ttf-2.0.0.6.3.dylib |
Binary file not shown.
@@ -0,0 +1 @@ | ||
+libfreetype.6.dylib |
Binary file not shown.
@@ -0,0 +1 @@ | ||
+libmikmod.2.0.4.dylib |
@@ -0,0 +1 @@ | ||
+libmikmod.2.0.4.dylib |
Binary file not shown.
@@ -0,0 +1 @@ | ||
+libogg.0.5.3.dylib |
@@ -0,0 +1 @@ | ||
+libogg.0.5.3.dylib |
Binary file not shown.
@@ -0,0 +1 @@ | ||
+libsmpeg-0.4.0.dylib |
Binary file not shown.
@@ -0,0 +1 @@ | ||
+libvorbis.0.3.0.dylib |
@@ -0,0 +1 @@ | ||
+libvorbis.0.3.0.dylib |
Binary file not shown.
@@ -0,0 +1 @@ | ||
+libvorbisfile.3.1.0.dylib |
@@ -0,0 +1 @@ | ||
+libvorbisfile.3.1.0.dylib |
0 comments on commit
ef425e7