Commits

Anonymous committed 3a42465

Added SDL_gfx pkg-config support.

  • Participants
  • Parent commits d4368b6
  • Branches pgreloaded

Comments (0)

Files changed (4)

File config/config_modules.py

         'sdl_gfx' : dep(
             ['SDL_framerate.h'], 'SDL_gfx',
             config_program='sdl-config',
-            pkgconfig_name='sdl',
+            pkgconfig_name='SDL_gfx',
             extra_include_dirs = [pygame_sdl_path]),
 
         'sdl_image' : dep(

File config/config_unix.py

         self.lflags += pkgconfig.get_lflags(pkg)
         return True
 
-    _configure_pkgconfig.priority = 1
+    _configure_pkgconfig.priority = 2
 
     def _configure_libconfig(self):
         """
         self.lflags += libconfig.get_lflags(lc)
         return True
 
-    _configure_libconfig.priority = 2
+    _configure_libconfig.priority = 1
 

File doc/src/sdlevent.xml

       +--------------------+--------------------------+
     </desc>
     <attr name="name"><desc>Gets the name of the Event.</desc></attr>
-    <attr name="type"><desc>Gets type id of the Event.</desc></attr>
+    <attr name="type"><desc>Gets the type id of the Event.</desc></attr>
   </class>
 
   <func name="clear">

File src/sdl/pixelformat.c

     if (!Uint8FromObj (value, &bpp))
     {
         PyErr_SetString (PyExc_ValueError,
-            "bpp must be an integer in the range 0-255");
+            "bytes must be an integer in the range 0-255");
         return -1;
     }
     fmt->BytesPerPixel = bpp;