Subject: CVS commit: pkgsrc/devel/allegro
To: None <pkgsrc-changes@NetBSD.org>
From: Thomas Klausner <wiz@netbsd.org>
List: pkgsrc-changes
Date: 11/29/2007 22:45:23
Module Name:	pkgsrc
Committed By:	wiz
Date:		Thu Nov 29 22:45:23 UTC 2007

Modified Files:
	pkgsrc/devel/allegro: Makefile PLIST distinfo
	pkgsrc/devel/allegro/patches: patch-aa
Removed Files:
	pkgsrc/devel/allegro/patches: patch-ab

Log Message:
Update to 4.2.2:

=====================================================================
============ Changes from 4.2.2 RC1 to 4.2.2 (July 2007) ============
=====================================================================

   Matthew Leverton added build instructions for DMC and updated the MSVC
   project files and instructions.

   Matthew Leverton added a shell script wrapper around gcc to build universal
   binaries (i386 + PPC) on Mac OS X and made the Allegro makefile use it.

   Peter Hull reenabled the Quit menu option on Mac OS X when
   set_close_button_callback is used.

   Rikard Peterson fixed the Mac OS X joystick driver so that
   HID_ELEMENT_STANDALONE_AXIS axes correctly got the flag JOYFLAG_UNSIGNED
   and not JOYFLAG_DIGITAL.

   Matthew Leverton fixed a problem with the GDI driver blitting a rectangle
   smaller than the bitmap's height that touches the bottom left corner of a
   bitmap.

   Some minor changes.

=====================================================================
============ Changes from 4.2.1 to 4.2.2 RC1 (July 2007) ============
=====================================================================

   Matthew Leverton added project files for MSVC 6/7/8 (see the build
   directory and Allegro Wiki for instructions).

   Matthew Leverton added initial support for the Digital Mars C compiler
   (for the Windows port).  It only works with the C-only port and
   obj\dmc\plugins.h needs to be built by hand.

   Peter Wang cleaned up most of the autoconf namespace pollution.

   Matthew Smith made a fix for C locking code in GDI.

   Trent Gamblin made the fullscreen DirectX driver save and restore the
   palette when switching away and back in 8-bit video modes.

   Elias Pschernig added missing documentation for pack_ungetc().

   Trent Gamblin fixed the C version of stretch_blit so it now draws
   correctly. He also made it about 20% faster along the way.

   orz and Matthew Leverton made the ALLEGRO_USE_C=1 option to work under
   MinGW and MSVC.

   Erno Schwetter fixed a long-standing bug in polygon() where the
   bottom-most pixels would not be drawn.

   Anthony 'Timorg' Cassidy made d_menu_proc fill up its assigned area with
   the gui_bg_color.

   Phil Krylov fixed a bug that prevented load_bios_font() from loading 8x16
   fonts.

   Etienne Vouga fixed a bug with the reset_controllers MIDI command.

   Milan Mimica fixed a double SWITCH_IN event callback bug when
   de-minimizing an Allegro program in Windows.

   Erno Schwetter fixed a bug where __al_linux_console_fd was used in
   display_switch_lock() without the console being initialized first.

   Erno Schwetter fixed an unbalanced __al_linux_console_graphics() call.

   Ryan Patterson fixed a crash in free_config_entries.

   Elias Pschernig added support for horizontal wheel mice (so far, only the
   X11 driver reports any horizontal wheel movement though). Also increased
   the number of supported mouse buttons from 3 to 5 for the X11 driver.

   Jon Rafkind and Karthik Kumar fixed a problem where allegro-config would
   respect neither --libdir nor --includedir.

   Peter Wang fixed some problems with the ALSA MIDI driver in the case of
   failure.

   torhu fixed a bug in akaitest where an array was indexed with -1.

   Trent Gamblin implemented set_mouse_speed under X11.  Peter Wang made
   setting stick only while the cursor is in the Allegro window.

   Evert Glebbeek added desktop_color_depth and get_desktop_resolution to the
   Linux fbcon driver.

   Matthew Leverton fixed building of universal binaries on MacOS X. This
   currently requires OS X 10.4 on both PPC and Intel.

   Milan Miminca made the fbcon driver initialization fail if an unsupported
   color depth was set.

   Michal Molhanec and Milan Mimica simplified the MSVC build process
   and updated the documentation.

   Andrei Ellman made the MSVC makefile compatible with cygwin port of
   make-3.81 (and newer?). makefile.vc now uses cygpath tool to convert DOS
   8.3 paths to unix-style paths.

   Daniel Schlyder added a functions is_trans_font, font_has_alpha.

   Daniel Schlyder made load_txt_font() additionally search for files
   referenced in the font script in the same directory as the script itself.
   It still searches in the current working directory first (for relative
   paths).

   Daniel Schlyder documented that register_assert_handler() and
   register_trace_handler() can be called before initialising Allegro.

   Daniel Schlyder prevented the Windows port from registering its default
   trace handler on initialisation if the user had previously registered a
   custom trace handler.

   Andrei Ellman modified the 6-to-8 bit value scaling tables to be more
   evenly distributed, and changed the implementation of
   create_blender_table() to create a more evenly distributed distribution of
   the lower 2 bits.  It should be faster as well.

   Other minor bug fixes and documentation updates.


To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 pkgsrc/devel/allegro/Makefile
cvs rdiff -r1.7 -r1.8 pkgsrc/devel/allegro/PLIST
cvs rdiff -r1.15 -r1.16 pkgsrc/devel/allegro/distinfo
cvs rdiff -r1.7 -r1.8 pkgsrc/devel/allegro/patches/patch-aa
cvs rdiff -r1.7 -r0 pkgsrc/devel/allegro/patches/patch-ab

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.