[SCM] SDL (Simple DirectMedia Layer) bindings for Perl branch, master, updated. upstream/2.533-16-gb392f82

Dominique Dumont dod at debian.org
Fri Sep 23 11:59:48 UTC 2011


The following commit has been merged in the master branch:
commit ad1c92424022b687073d3d2c72df25ca13b718eb
Author: Dominique Dumont <dod at debian.org>
Date:   Fri Sep 23 13:55:27 2011 +0200

    fix API spelling

diff --git a/debian/patches/fix_api_spelling b/debian/patches/fix_api_spelling
new file mode 100644
index 0000000..262447d
--- /dev/null
+++ b/debian/patches/fix_api_spelling
@@ -0,0 +1,24 @@
+Description: Fix spelling error in API and documentation
+ Spelling errors in API are bad because they confuse users. This patch makes the API accept correct spelling and also accept bad spelling to preserve backward compatibility
+--- a/lib/SDLx/App.pm
++++ b/lib/SDLx/App.pm
+@@ -61,7 +61,7 @@
+ 	$f |= SDL::Video::SDL_OPENGL if ( $options{gl} || $options{opengl} );
+ 	$f |= SDL::Video::SDL_FULLSCREEN
+ 		if ( $options{fullscreen} || $options{full} );
+-	$f |= SDL::Video::SDL_RESIZABLE if ( $options{resizeable} );
++	$f |= SDL::Video::SDL_RESIZABLE if (  $options{resizable} || $options{resizeable} );
+ 	$f |= SDL::Video::SDL_DOUBLEBUF if ($db);
+ 	$f |= SDL::Video::SDL_ASYNCBLIT if ($async);
+ 
+--- a/lib/pods/SDLx/App.pod
++++ b/lib/pods/SDLx/App.pod
+@@ -74,7 +74,7 @@
+ =item * flags
+ Any flags you want to pass to L<SDL::Video> upon initialization. Defaults to SDL_ANYFORMAT. Flags should be I<or'ed> together if you're passing more than one (flags => FOO|BAR). Shortcut: 'f'.
+ 
+-=item * resizeable
++=item * resizable
+ Set this to a true value to make the window resizable by the user. Default is off.
+ 
+ =item * exit_on_quit
diff --git a/debian/patches/series b/debian/patches/series
index 712cad3..d5069d6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ do_not_ship_ttf_font
 install_man_pages_correctly
 fix_whatis_entries
 fix_spelling
+fix_api_spelling

-- 
SDL (Simple DirectMedia Layer) bindings for Perl



More information about the Pkg-perl-cvs-commits mailing list