From: cthulhuology Date: Mon, 10 Aug 2009 18:36:58 +0000 (-0400) Subject: moving some things around X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8c726daf5ae59ecc396152b9cb30a01df4cc911a;p=sdlgit%2FSDL_perl.git moving some things around --- diff --git a/MANIFEST b/MANIFEST index e2fec81..fdac3d0 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,6 +1,7 @@ BUGS Build.PL CHANGELOG +CONTRIBUTORS COPYING lib/SDL/App.pm lib/SDL/Cdrom.pm @@ -39,6 +40,10 @@ make/lib/SDL/Build/Linux.pm make/lib/SDL/Build/MSWin32.pm make/lib/SDL/Build/Netbsd.pm make/lib/SDL/Build.pm +MacOSX/Info.plist +MacOSX/launcher.h +MacOSX/launcher.m +MacOSX/SDLPerl.icns MANIFEST META.yml README @@ -47,6 +52,17 @@ src/OpenGL.xs src/SDL.xs src/SFont.h src/SFont.xs +src/support/darwin_support.h +src/support/darwin_support.m +src/support/win32.c +scripts/README +scripts/const.pl +scripts/gl_const.pl +scripts/opengl_words.txt +scripts/sdl_const.pl +scripts/sdl_words.txt +scripts/OpenGL/Constants.pm +scripts/SDL/Constants.pm t/apppm.t t/cdrompm.t t/colorpm.t @@ -100,8 +116,11 @@ test/OpenGL/tutorial/lesson05.pl test/OpenGL/tutorial/lesson06.pl test/OpenGL/tutorial/lesson07.pl test/OpenGL/tutorial/lesson08.pl +test/OpenGL/tutorial/lesson18.pl test/README +test/64encode.pl test/testcolor.pl +test/testcolor.spl test/testfonttool.pl test/testgfxprim.pl test/testgfxroto.pl diff --git a/META.yml b/META.yml index 0e83a56..cdb7a5f 100644 --- a/META.yml +++ b/META.yml @@ -2,9 +2,11 @@ name: SDL_Perl version: 2.2.0 author: - - David J. Goehrig + - 'David J. Goehrig ' abstract: Simple DirectMedia Layer for Perl license: lgpl +resources: + license: http://opensource.org/licenses/lgpl-license.php build_requires: Module::Build: 0.22 Test::Simple: 0.47 @@ -46,6 +48,8 @@ provides: file: lib/SDL/Sound.pm SDL::Surface: file: lib/SDL/Surface.pm + SDL::TTFont: + file: lib/SDL/TTFont.pm SDL::Timer: file: lib/SDL/Timer.pm SDL::Tool::Font: @@ -62,12 +66,11 @@ provides: file: lib/SDL/Tutorial/Drawing.pm SDL::Video: file: lib/SDL/Video.pm - SDL:TTFont: - file: lib/SDL/TTFont.pm SDL_perl: file: lib/SDL_perl.pm Walker: file: lib/SDL/Tutorial/Images.pm - main: - file: lib/SDL/Tutorial/Images.pm -generated_by: Module::Build version 0.2611 +generated_by: Module::Build version 0.33 +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: 1.4 diff --git a/README b/README index cd87cf5..f839889 100644 --- a/README +++ b/README @@ -34,12 +34,20 @@ Installation: perl Build.PL ./Build ./Build test + ./Build bundle # MacOS X only! ./Build install The build process will use the new Module::Build facility to autodetect and build SDL Perl for your platform. If the build fails please forward bugs to sdl-devel@perl.org. +For MacOS X users there is a new experimental bundle, +that is called SDLPerl.app. You can use this bundle +to run perl scripts with a .spl extension, you know, +SDL Perl files. We will work on brining this style +launcher and an integrated development environment to +all platforms shortly. + Documentation: Each module now includes its own documentation, and diff --git a/lib/SDL/Config.pm b/lib/SDL/Config.pm deleted file mode 100644 index 241e3ba..0000000 --- a/lib/SDL/Config.pm +++ /dev/null @@ -1,72 +0,0 @@ -package SDL::Config; - -my $sdl_config; -$sdl_config = { - 'OpenGL' => { - 'GL' => [ - '/System/Library/Frameworks/OpenGL.framework/Headers', - '/System/Library/Frameworks/OpenGL.framework/Libraries' - ], - 'SDL' => [ - '/opt/local/include/SDL', - '/opt/local/lib' - ], - 'GLU' => [ - '/System/Library/Frameworks/OpenGL.framework/Headers', - '/System/Library/Frameworks/OpenGL.framework/Libraries' - ] - }, - 'SDL' => { - 'png' => [ - '/opt/local/include', - '/opt/local/lib' - ], - 'SDL' => [ - '/opt/local/include/SDL', - '/opt/local/lib' - ], - 'SDL_ttf' => [ - '/opt/local/include/SDL', - '/opt/local/lib' - ], - 'SDL_net' => [ - '/opt/local/include/SDL', - '/opt/local/lib' - ], - 'SDL_image' => [ - '/opt/local/include/SDL', - '/opt/local/lib' - ], - 'SDL_gfx' => [ - '/opt/local/include/SDL', - '/opt/local/lib' - ], - 'jpeg' => [ - '/opt/local/include', - '/opt/local/lib' - ], - 'smpeg' => 0, - 'SDL_mixer' => [ - '/opt/local/include/SDL', - '/opt/local/lib' - ] - }, - 'SFont' => { - 'SDL_image' => [ - '/opt/local/include/SDL', - '/opt/local/lib' - ], - 'SDL' => [ - '/opt/local/include/SDL', - '/opt/local/lib' - ] - } - }; - -sub has -{ - my ($class, $define) = @_; - scalar grep { $$sdl_config{$_}{$define} } keys %$sdl_config; -} - -1; diff --git a/test/OpenGL/.DS_Store b/test/OpenGL/.DS_Store deleted file mode 100644 index 5b88d05..0000000 Binary files a/test/OpenGL/.DS_Store and /dev/null differ diff --git a/test/OpenGL/tutorial/.DS_Store b/test/OpenGL/tutorial/.DS_Store deleted file mode 100644 index c2cd56c..0000000 Binary files a/test/OpenGL/tutorial/.DS_Store and /dev/null differ