summaryrefslogtreecommitdiff
path: root/devel/allegro
AgeCommit message (Collapse)AuthorFilesLines
2008-06-12Add DESTDIR support.joerg1-1/+3
2008-04-12Convert to use PLIST_VARS instead of manually passing "@comment "jlam2-6/+6
through PLIST_SUBST to the plist module.
2008-02-20Don't install the library stripped when the pkgsrc user saysrillig3-3/+23
INSTALL_UNSTRIPPED=yes.
2007-11-29Update to 4.2.2:wiz5-40/+17
===================================================================== ============ 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.
2007-03-23Sync buildlink3 includes with buildlink3.mk.wiz1-1/+3
2007-03-23Remove unused patch.wiz1-16/+0
2007-03-15Update to 4.2.1:wiz5-27/+25
========================================================================= ============ Changes from 4.2.1 RC1 to 4.2.1 (November 2006) ============ ========================================================================= Peter Wang made the Unix ports query the memory page size with sysconf() when necessary, instead of using the PAGE_SIZE constant, which seems to be Linux-specific. Matthew Leverton gave the STATICRUNTIME builds of MSVC new names by appending _crt (c run time) to the libraries. He also fixed the problem of incorrectly setting the EMBED_MANIFEST variable when using the STATICRUNTIME. Andrei Ellman fixed an inverted test in pack_fopen_chunk on Windows. Peter Hull made 32-bit icon generation by fixbundle endian-independent (colours were incorrect on Intel Macs). Peter Wang fixed a long standing bug where some compressed packfiles would not be read back properly (premature EOF). Reported by jman2050. Andrei Ellman spotted a free() of an internal buffer returned by tmpnam(). Peter Hull fixed a problem with mouse-related deadlock on MacOS X as reported by Mike Farrell. Peter Hull implemented simulation of video bitmaps on MacOS X, so that page flipping will work. Peter Hull fixed an endian problem in the digital sound driver on MacOS X. Elias Pschernig and Chris Robinson fixed problems with UTF-8 filenames under Unix, as reported by Grzegorz. Non-ASCII non-UTF-8 filenames remain broken. Chris Robinson fixed some problems with non-ASCII filenames under Windows. Elias Pschernig made the X11 driver call XInitThreads, to make Mesa-OpenGL work together with Allegro. It can be disabled at runtime through a config variable. Andrei Ellman fixed a bug in datedit.c that could crash the grabber. Elias Pschernig added file_size_ex(), which returns a 64 bit integer to handle large files. Ron Novy made improvements to the test program. Peter Hull fixed problems with set_mouse_sprite() on Intel Macs. Peter Hull added universal binary support to the MacOS X port. Peter Wang and Evert Glebbeek independently fixed a problem with dependency generation for MacOS X on non-Mac systems. Many smaller fixes and updates by Peter Hull, Elias Pschernig, Peter Wang and Milan Mimica. ==================================================================== ============ Changes from 4.2.0 to 4.2.1 RC1 (May 2006) ============ ==================================================================== Michal Molhanec made msvchelp.exe work on Cygwin, where there was a problem with the case-insensitivity of environment variables. Reported by Milan Mimica. Peter Hull fixed a bug where Allegro detected keypresses on KEY_MINUS_PAD as KEY_PLUS_PAD. Peter Hull made OSX work correctly with Logitech sticks, as discussed with Ultio. Milan Mimica fixed some spin loops in the test program. Chris Robinson added UTF8/Unicode support for filenames in Windows. Milan Mimica made the Linux console driver more robust: set_gfx_mode used to get stuck in a infinite loop when there wasn't a console available. Evert Glebbeek made the C blitter use memmove for normal blits, with a bugfix by Milan Mimica. This can be disabled by removing a #define USE_MEMMOVE at the top of cblit.h so that it can easliy be tested against the older versions of the code. Christer Sandberg worked around a problem where one-line high bitmaps would crash with Electric Fence. Chris Robinson fixed a crash that occurred if the sound mixer quality level was set to 0 after the mixer was already initialised. Evert Glebbeek fixed the window title under X11, which was broken by a previous change. Peter Hull updated the endian detection under OSX as recommended by Apple. Miguel A. Gavidia and Jay Bernardo made qtmidi.m work on both PPC and Intel. Milan Mimica fixed a crash when vsync() on certain drivers. Elias Pschernig replaced the ALLEGRO_USE_C define with ALLEGRO_NO_ASM. Peter Wang restored the JACK driver to compiling state. Milan Mimica made the new transparent fonts be recognized as color fonts with is_color_font. Elias Pschernig made the modules path WIP version specific, for enhanced binary compatibility. Stijn Wolters clarified the documentation of init_dialog. Hans de Goede fixed a problem with dynamically generated stretcher code not being properly marked as executable on Linux (esp. SELinux). Hans de Goede fixed a busy wait in the X11 vsync simulation. Elias Pschernig makde it so modules under Unix are now searched in libdir as passed by the build machinery. Closes bug #1401840 from SF, reported by Paul Eipper. Milan Mimica added a get_volume and a get_hardware_volume function, to work as pendants to set_volume and set_hardware_volume. Milan Mimica corrected a case where a wrong structure on the stack was being cleared in the DirectSound input driver. Hans de Goede added a fullscreen driver for X11 which does not need XVidMode extension, and instead simply centers the window on the desktop and draws a black border around. Hans de Goede fixed a problem where switching to fullscreen mode under X11. Serge Semashko added Enter as a fire key in the demo game. Serge Semashko added fixed problems with Allegro working on Nokia 770. Peter Wang fixed some problems with binary compatibility checking in the 4.2 branch. Catatonic Porpoise added OpenBSD detection (in addition to FreeBSD and NetBSD) and fixed an issue with executable rights not set on the memory for the i386 stretcher on UNIX systems. Hans de Goede fixed a bug preventing the ALSA driver to work on big endian systems. Elias Pschernig and Chris Robinson fixed binary compatibility checking in allegro_init and install_allegro. Catatonic Porpoise fixed the example in the documentation of stretch_sprite. Hans de Goede made DIGMID work with absolute paths in the patches.cfg file. Peter Hull added code to make Allegro work better with user-supplied Nibs under OSX, as discussed with Thomas Harte. Matthew Leverton added embedding of manifests to the MSVC 8 build process. Neil Walker and Thomas Harte implemented a hardware accelerated stretch_blit() for the Windows DX port. Evert Glebbeek corrected a bug when destroying sub-bitmaps under Windows. Evert Glebbeek fixed a bug in pack_fopen_chunk() where a temporary file would be created in a non-writable location. Peter Wang changed a "/lib" option to MSVC's link utility to "-lib" as reported to be problematic by Karthik Kumar. Peter Wang fixed a crash in dat and grabber due to the return value of pack_fopen_chunk() not being checked. Elias Pschernig added support for anti-aliased bitmap fonts. Dennis Busch fixed the short description of add_clip_rect. Thomas Harte and Neil Walker fixed a problem with draw_sprite() and sub-bitmaps. Peter Wang fixed scancode_to_name(KEY_NUMLOCK) returning "PAUSE" in Windows. Peter Wang fixed page flipping and triple buffering in the demo game. Elias Pschernig added list_config_sections and list_config_entries functions. Hrvoje Ban added create_datafile_index and load_datafile_object_indexed functions. Peter Hull allowed use of "mingw" instead of "mingw32" in fix.bat and fix.sh. Peter Wang fixed a bug with SWITCH_BACKAMNESIA mode with the fbcon graphics driver. Peter Wang made the svgalib driver save and restore the palette on VT switches. Peter Wang fixed a problem with the fbcon driver and VT switching. Milan Mimica delayed Linux console initialisation until it is required. This way the user can write command-line programs using timers without needing a real console. Chris Jones fixed behavior of numeric keys when NumLock is on. Vincent Penecherc'h worked around a problem with 24-bit bitmaps in the assembler code. Tobias Dammers fixed a problem with the DirectSound input driver. Matthew Leverton fixed Ctrl-Alt-Del mistakenly being captured by Allegro under Windows Vincent Penecherc'h improved the implementation of set_ramp_cmap in the fbcon driver. Vincent Penecherc'h implemented get_refresh_rate for the fbcon driver. Vincent Penecherc'h fixed problems with the fbcon driver not restoring the original video mode when the driver exits. Victor Williams Stafusa da Silva made OS type detection handle Windows 2003 and Windows Vista. Chris Jones and Vincent Penecherc'h fixed load_wav to handle degenerate stereo wave files with an odd length. Annie Testes fixed all sorts of problems with the linux evdev mouse driver when using a tablet as the mouse. Annie Testes made the linux evdev mouse driver use the correct device files. Vincent Penecherc'h made the linux fbcon driver set a ramp colourmap for directcolor modes, otherwise colours in those modes were all wrong. Vincent Penecherc'h fixed a problem with the linux fbcon driver, where it would keep using the old pitch after changing resolutions. Serge Semashko fixed a typo causing crashs in _linear_draw_trans_rgba_rle_sprite24. Annie Testes fixed cursor speed and incorrect mickey computation bugs in the Linux evdev mouse driver. Vincent Penecherc'h made the Linux PS/2 mouse driver try /dev/input/mice by default, in addition to /dev/mouse. Warnings, code formatting and minor changes to code and build system by Milan Mimica, Evert Glebbeek, Elias Pschernig, Peter Wang, Peter Hull, Thomas Harte, Vincent Penecherc'h and Chris Robinson. Documentation updates by Tore Halse, Elias Pschernig, Milan Mimica, Peter Wang, Physics Dave, Ryan Patterson, Grzegorz Adam Hankiewicz, Andrei Ellman and Evert Glebbeek.
2007-02-20Stop maintaining this, I do not use it.wiz1-2/+2
2007-01-20Modular Xorg support.joerg2-3/+16
2007-01-04Look for config files and esd module in pkgsrc path. From Tatsuyawiz4-21/+32
Kobayashi in PR 31236. Bump PKGREVISION.
2006-10-12Fixed "test ==".rillig2-4/+13
2006-09-09Rename variable MAKEFILE to MAKE_FILE.obache1-2/+2
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-07-04pkglint: INFO_FILES=YES.wiz1-2/+2
2006-07-04Better fix for assembler problem from mrg@.wiz2-11/+22
2006-07-01Add patch for gcc-4.1, provided by mrg@.wiz2-1/+52
2006-04-12Aligned the last line of the buildlink3.mk files with the first line, sorillig1-2/+2
that they look nicer.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-3/+3
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-03-23Fix typo in message.wiz1-2/+2
2006-03-22* Fix PLIST in the "esound" PKG_OPTION case.jlam6-41/+39
* Avoid hardcoding paths with sed when using the preprocessor is much nicer. * We don't need to explicitly add ${LIBOSSAUDIO} to LIBS since the configure script already knows to search for -lossaudio. * Directly list the info files in the PLIST. Bump PKGREVISION to 2.
2006-03-09Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk.jlam1-2/+2
Remove deprecated ossaudio.buildlink3.mk.
2006-03-05* Teach the tools framework how to supply the pkgsrc version ofjlam1-3/+2
makeinfo if no native makeinfo executable exists. Honor TEXINFO_REQD when determining whether the native makeinfo can be used. * Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo. * Get rid of all the "split" argument deduction for makeinfo since the PLIST module already handles varying numbers of split info files correctly. NOTE: Platforms that have "makeinfo" in the base system should check that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are correct.
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg2-2/+4
2006-01-22Update to 4.2.0:wiz8-60/+34
======================================================================== ============ Changes from 4.2.0 RC2 to 4.2.0 (October 2005) ============ ======================================================================== Peter Wang made fixmul() detect overflows as it used to do in the 4.0.x branch. Dennis Busch found a bug where d_clear_proc would not work properly if the GUI target bitmap is different from screen. Grzegorz Adam Hankiewicz made Allegro log all TRACE output with a prefix in the format "al-system level: ". This makes it easier to grep debug logs. Grzegorz Adam Hankiewicz made dialogs with MSG_CHAR/MSG_UCHAR handlers honor a D_CLOSE return flag without a D_USED_CHAR. Peter Hull fixed problems with the mouse position as reported by Allegro and the mouse position as known to OS X. Peter Hull made Command-Q not close the application if no exit-button callback is registered. Peter Hull fixed problems with joysticks under MacOS X as reported by Thomas Harte. Peter Hull fixed a bug preventing more than one Allegro application from being run at a time on Mac OS X. Reported by Thomas Harte. Peter Hull did a lot of other things for the MacOS X port too. Jiri Gabriel fixed loading of multiple ranges in a single bitmap with txt fonts. Milan Mimica and Jiri Gabriel fixed several bugs in extract_font_range. Dennis Busch fixed a Unicode bug in the mode selector. Evert Glebbeek added FA_ALL and FA_NONE file attribute flags. Peter Hull fixed a deadlock in OS X when calling vsync() while the screen was acquired. Robert Alfonso fixed a grabber crash when importing a new font range into an existing font. Reported by Milan Mimica. Chris Robinson fixed the fileselector in UNIXnot properly recognising filenames containing UTF-8 characters. Hrvoje Ban and Peter Wang wrote a documentation section that explains several common mistakes. Elias Pschernig disabled DGA auto-detection under X11 i_am_drv added support for .rmi midis to the midi reader Elias Pschernig fixed a fix-point overflow in pivot_sprite. Michal Molhanec fixed several problems with the Watcom compiler. Peter Hull fixed an error with 'make uninstall' on MacOS X. Matthew Leverton added a programs: makefile target. Many small fixes and improvements by Michal Molhanec, Peter Hull, Chris Robinson, Peter Wang and Elias Pschernig. Documentation improvements by Grzegorz Adam Hankiewicz, Tore Halse and Peter Hull. =========================================================================== ============ Changes from 4.2.0 RC1 to 4.2.0 RC2 (August 2005) ============ =========================================================================== Grady Martin made the grabber consider deleting object properties as a change to the datafile. Milan Mimica fixed numerous bugs in extract_font_range(). Peter Hull moved the 'magic chdir' in the MacOS X port to earlier in the startup process, so that the config file will be looked for in the resource directory if is present. Chris Robinson made create_bitmap(0,0) not return a bitmap that would later crash destroy_bitmap(). Zero-sized bitmaps are still not allowed so the assertions for debug mode have not changed. Elias Pschernig patched the Windows keyboard driver to get key_shifts working again with KB_SHIFT_FLAG, KB_CTRL_FLAG, KB_ALT_FLAG on Win98. Peter Wang changed hline and vline into aliases for internal symbols to avoid a conflict with the curses API. This change should be transparent for users. Matthew Leverton and Michal Molhanec updated the build system for MSVC 8. Grzegorz Adam Hankiewicz prevented make_relative_filename() from crashing with malformed parameters. Hrvoje Ban made ASSERT() actually abort in Windows. Chris Robinson made GUI menus work with gui_screen. Evert Glebbeek fixed reading of 32 bit Windows .bmp files, which was not supported. These files seem to be not very standard though, so it's unclear if it will always do the right thing. Alpha channels also seem not to be standard in 32 bit BMP files, so it's possible they're not read in correctly. Peter Wang and Peter Hull updated the ABI compatibility document. This documents our policy for the 4.2.x series. Extensive documentation updates from Grzegorz Adam Hankiewicz and minor updates due to Michael Faerber, Robert Ohannessian and Milan Mimica. ============================================================================== ============ Changes from 4.2.0 beta 4 to 4.2.0 RC1 (August 2005) ============ ============================================================================== Peter Hull fixed the MacOS X port to avoid an issue with the dead bootstrap context and cleaned up the dock notification. This means command line apps (with SYSTEM_NONE) run without the dock being notified. Peter Wang Added a COLORCONV_KEEP_ALPHA flag, as suggested by Gideon Weems. Peter Wang fixed issues with OSS in OpenBSD and made the configure script print a warning if Allegro is compiled without X11 support. Peter Hull set the compatibility version to 4.2.0 for MacOS X and added a MacOS X help file. Peter Wang made the Mode-X and VBE/AF drivers fail if Allegro is compiled as a C-only library in Linux and made the Unix port install liballeg*.so and the alleg-*.so modules with the execute permission enabled. Grady Martin standardised some of the grabber dialog boxes and added a `move' command to the grabber. Evert Glebbeek fixed a bug when loading some old datafiles containing monochrome fonts. Evert Glebbeek fixed a bug that prevented system cursors from working correctly in Windows. Olivier Blin fixed compilation problems for the ModeX driver with newer binutils. Shawn Walker fixed a bug in get_executable_name under some UNIX systems. Shawn Walker worked around a problem with some versions of GNU AS and fixed some errors in the configure script when not using GCC. Elias Pschernig made create_sample not unnecessarily clear the sample to 0. Bobby Ferris fixed the makedoc SciTE API output. Elias Pschernig fixed a too strict assert that prevented set_volume from working in debug mode. Paavo Ahola helped fix a problem with BCC and the C implementations of fixmul. Elias Pschernig fixed a cosmetic bug where the listbox was drawing a too big selection rectangle, reported by dthompson. Documentation and example updates by Grzegorz Adam Hankiewicz, Peter Wang, Elias Pschernig Michal Molhanec and Evert Glebbeek. =============================================================================== ============ Changes from 4.2.0 beta 3 to 4.2.0 beta 4 (June 2005) ============ =============================================================================== Matthew Leverton changed the default behavior of the grabber: default color depth is now the desktop, default mode is windowed and if fullscreen is specified, then desktop resolution is used by default. Peter Wang fixed compilation problems related to get_modex_screen() on UNIX and deprecated it. Robert Ohannessian fixed compilation problems for the assembler code with newer binutils. Peter Wang, Thomas Harte and Evert Glebbeek optimised fixmul() for different platforms. Robert Alfonso fixed a couple of warnings that with DJGPP. Grzegorz Adam Hankiewicz made the FLIC player yield. Miran Amon fixed an arbitrary limit in get_config_argv(). Evert Glebbeek fixed a memory leak in same. Thomas Klausner fixed a problem in allegro.m4 and automake 1.8+. Charles Wardlaw fixed some warnings with gcc 4 on MacOS X. Elias Pschernig removed the `256 items' limit from the dat utility. Julien Cugniere fixed a crash in the GUI if a new dialog was opened while a menu was still open. Shawn Walker fixed crashes with the keyboard driver under Solaris. Elias Pschernig split the demo game into multiple files and made the makefile handle a multi-file demo game. Evert Glebbeek fixed a bug where the hardware mouse wasn't displayed in Windows until the mouse was moved. J.P. Morris fixed rest_callback() under UNIX. Shawn Walker and Evert Glebbeek fixed get_executable_name() under Solaris and OpenBSD. Peter Hull fixed compilation problems with setAppleMenu under Tiger. Peter Hull fixed a deadlock on MacOS X related to mouse updating. Peter Wang fixed a problem with compiling the VBE/AF driver using newer binutils. Evert Glebbeek fixed a bug with colour conversions when loading a font from a datafile. Many code, example and documentation updates by Grzegorz Adam Hankiewicz, Elias Pschernig, Peter Wang, Evert Glebbeek, Andrei Ellman, Victor Williams Stafusa da Silva, Matthew Leverton, AJ, Michal Molhanec and Hrvoje Ban. ============================================================================== ============ Changes from 4.2.0 beta 2 to 4.2.0 beta 3 (May 2005) ============ ============================================================================== Grzegorz Adam Hankiewicz did several documentation updates. Evert Glebbeek cleaned up some of the global namespace pollution in the Windows port. Chris Robinson made improvements to the Windows sound driver. Chris Robinson made the GUI multi-selection box behave a bit nicer. Grzegorz Adam Hankiewicz added a bunch of ASSERTs to the code to check for out-of-range arguments. Jakub Wasilewski fixed a bug when loading greyscale TGA images. Evert Glebbeek fixed a bug where the bottom and right line of pixels was not updated on show_video_bitmap, as pointed out by Thomas Harte. Evert Glebbeek documented JOY_TYPE_* defines for Windows and Linux. Dark Nation restored the ability to read old-style encrypted packfiles, i.e. those produced before Allegro 3.9.30. This was silently removed from 4.1.18 when custom packfile support / decoupled compression routines were added. Evert Glebbeek made the grabber and dat utilities now use Allegro's builtin load_font() function and made datafiles properly store truecolour fonts and added a datedit_select() callback to datedit. Evert Glebbeek fixed some unsafe assumptions on the size of integer datatypes. Arthur Huillet fixed a typo in the docs. Elias Pschernig restored Alt+key = ASCII code 0 behavior for the Windows keyboard driver Evert Glebbeek fixed a bug that caused a crash when loading Allegro 1.x datafiles containing 4 bit bitmaps. Peter Wang clarified the mode select documentation and made the mode selector clear the input variables before passing them on to the filter. Peter Wang fixed a bug in the mode selector where disabled drivers were still shown with empty resolution lists. Pointed out by Hrvoje Ban. Elias Pschernig fixed Allegro's internal multithreading in Windows. This fixes a deadlock on exit. Robert Alfonso made the MSVC makefile call `link /lib' rather than `lib', which doesn't work for the free toolkit. Peter Hull fixed a problem with hardware cursors not working properly in MacOS X. Peter Hull added a missing enable_hardware_cursor vtable entry and added OS native cursors for the MacOS X port. Grzegorz Adam Hankiewicz documented the online Allegro patch generator. Evert Glebbeek renamed datafiles._tx -> datafile._tx StApostol updated the FAQ to use rest(0) instead of the deprecated yield_timeslice(). Evert Glebbeek silenced some GCC4 warnings in MacOS X. Peter Wang fixed warnings and errors with gcc 4.0.0 on the Unix port; reported by Milan Mimica. Peter Wang added the preprocessor symbol ALLEGRO_NO_FIX_CLASS that the user can define to not pull in the `fix' class in C++ programs. Peter Wang removed the exdodgy example. Elias Pschernig fixed another X11 async reply bug. Elias Pschernig made the seek in expackf test work with CR/LF line endings. Evert Glebbeek fixed a small bug that prevented the Allegro template for Project Builder from installing correctly on MacOSX. Elias Pschernig enabled warnings about unused variables with --enable-strictwarn in unix. Peter Wang fixed a warning with Watcom 1.3. ================================================================================ ============ Changes from 4.2.0 beta 1 to 4.2.0 beta 2 (April 2005) ============ ================================================================================ Daniel Schlyder fixed a problem with the makefile in Windows. Evert Glebbeek fixed a bug that prevented true colour fonts from working. Peter Wang fixed a possible deadlock in dialog_message. Elias Pschernig fixed a bug where the DJGPP version would choke on a missing variable. Peter Hull made makedoc return an error code if it failed to build the SciTE documentation. Evert Glebbeek fixed a problem with incorrect dependencies being generated for MacOS X. Tobi Vollebregt fixed a problem in X11 if the XRGBACursor extension was missing. Evert Glebbeek made configure use k8 rather than athlon64 as a compiler switch on AMD64. Peter Wang and Elias Pschernig added a packfile example. Michal Molhanec fixed a problem in the MSVC makefile. Evert Glebbeek removed void*-arithmetic from the colour converter. Evert Glebbeek fixed a bug where hardware cursors would stop working. Elias Pschernig, Andrew Chew fixed and Tobi Vollebregt fixed several problems with the Windows keyboard driver. Elias Pschernig fixed bug in unix dependency generation. Elias Pschernig made the GUI not mess up the hardware cursor. Elias Pschernig removed pckeys.c and keyconf from the windows port, since the dinput driver no longer needs pckeys.c nor uses keyboard.dat. Daniel Schlyder fixed a problem with the -mtune switch on older gcc based compilers. Matthew Leverton figured out which versions of Watcom have inttypes.h and stdint.h. V Karthik Kumar added a password to the Windows screensaver example. Cosmetic fixes, example bugfixes and spelling corrections by Jon Rafkind, Evert Glebbeek, Peter Wang, StApostol and Elias Pschernig. ======================================================================== ============ Changes from 4.1.18 to 4.2.0 beta (March 2005) ============ ======================================================================== Peter Wang fixed many problems on AMD64 in Linux - it should now work fine. Peter Hull added CPU detection to the MacOS X port. Peter Hull fixed some problems related to /usr/local/bin not existing in recent versions of MacOS X. Elias Pschernig and Peter Wang rewrote the Windows keyboard driver so it no longer needs keyboard.dat. Elias Pschernig added a show_os_cursor function as an alternative to show_mouse() for system cursors. Evert Glebbeek and Peter Wang added an example programme for system cursors. Elias Pschernig fixed a deadlocks in X11 related to scare_mouse() and keyboard repeats and fixed async replies. Daniel Schlyder fixed the gcc -mcpu is deprecated warnings. Peter Wang added an astdint.h, which provides C99 typedefs for pre-C99 compilers. AJ added detection for DirectX 8 and 9 to the Windows port. Evert Glebbeek added detection for AMD64 to the UNIX port and test programme. Elias Pschernig added a get_midi_length function and a midi_time variable. Elias Pschernig fixed a problem where Allegro would ignore a user-specified configuration file if set_config_file() was called before allegro_init(). Evert Glebbeek added a transpose_font function. Evert Glebbeek added support for true colour fonts and a font example. Elias Pschernig fixed a problem in shutdown_dialog() reported by Tobi Vollebregt. Marcio Fialho fixed some issues with displaying author names in the demo game. Andrei Ellman fixed a problem in the MSVC makefile when building Allegro with Cygwin. Daniel Schlyder fixed (again) problems with creating directories in different setups in Windows. Elias Pschernig added documentation for the custom packfile functions. Jeff Mitchell fixed the location of grabber.txt in the spec file. Harshavardhana Reddy added a Kannada greeting to exunicod. Elias Pschernig cleaned up the example programmes. Peter Wang made it possible to disable the hardware cursor in X by passing an option to the configure script. AJ and Michal Molhanec added an MSVC 7 configure option and added an msvc7 switch to fix.bat. Karthik Kumar did the same for the Intel compiler icl. Mr_Bones fixed compilation of setup.c when --disable-ossdigi is used AJ fixed a beep being generated in Windows when alt+character was pressed in Windowed mode. Peter Wang fixed many oversights and problems in the library and examples and allowed the code to be build with stricter warnings. Peter Wang fixed problems compiling the Windows port with WARNMODE=1 Tore Halse fixed compilation problems in Windows related to TITLEBARINFO. Daniel Schlyder made the Windows port use TITLEBARINFO if it is available. Grzegorz Adam Hankiewicz made many improvements to the documentation.
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-3/+5
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-09-11PR 31268 by Tatsuya Kobayashi:wiz4-3/+63
* The search paths for allegro's cfg files and modules are hardcoded, add the proper pkgsrc paths to them. * allegro uses 'ps' internally with '-f'. NetBSD doesn't have a '-f'. Remove it from the ps flags on NetBSD. Bump PKGREVISION.
2005-06-01Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.jlam1-2/+2
Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
2005-06-01Convert to options framework.wiz2-12/+16
2005-06-01Do not pull in esound/bl3.mk regardless of the settingwiz1-7/+1
of USE_ESOUND, because the esound library is only used in a dynamically loaded module. Noted by tv@.
2005-05-23Fix autoconf argument quoting.wiz2-3/+17
2005-05-23regen with correct offsetswiz2-6/+6
2005-05-23Removed trailing white-space.rillig1-4/+4
2005-05-22Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:jlam1-2/+2
USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-23Add RMD160 digests.agc1-1/+2
2005-02-09Update to 4.1.18:wiz3-6/+7
Changes from 4.1.17 to 4.1.18 (Januari 2005) Peter Hull fixed a bug that caused rest() to wait too long on MacOS X. Tore Halse made the Allegro window always appear centred in Windows. Peter Wang fixed a lot of warnings in the code and did a lot of cosmetic fixes as well. Grzegorz Adam Hankiewicz added short description support to the MAN and HTML documentation. Milan Mimica fixed a bug in the keyconf utility. Peter Hull fixed some issues compiling Allegro for MacOS X. Marcio Fialho fixed a warning when compiling Allegro with DJGPP. Evert Glebbeek fixed a bug that prevented system cursors from working in Windows, as pointed out by Peter Johanson. Evert Glebbeek added font loading routine and various other font functions to the library. Peter Wang added custom packfile functions and packfile vtables. Peter Wang decoupled the packfile compression code from the packfile routines. Daniel Schlyder fixed some problems with the font loading code. AJ added 64 bit, SSE2 and SSE3 detection code. Daniel Schlyder fixed some warnings with MinGW gcc 3.4.2 Peter Hull made the file selector work properly with directories that have more than 2048 entries. Marcio Afonso Arimura Fialho fixed some problems with the DJGPP version and the VBE/AF driver. Phil Shenk clarified the MSVC build docs. Michal Molhanec fixed a problem with long filenames in the MSVC build process and added a --msvcpaths flag to the fix.bat script. Grzegorz Adam Hankiewicz made a lot of improvements to the documentation. Peter Wang made some modifications to allegro_message() in X11. Evert Glebbeek added blender mode defines and activated the gfx_vtable set_blender_mode() function in the source. Evert Glebbeek added gui_set_screen and gui_get_screen functions and a set_mouse_cursor_bitmap function. Peter Wang made scancode_to_name never return NULL. Peter Wang fixed some problems if the Linux joystick driver. Grzegorz Adam Hankiewicz added a lot of ASSERTions to the code. Elias Pschernig added special Ctrl-Alt-End and Pause key handlers to the X11 keyboard driver. Elias Pschernig fixed a problem with the mouse acceleration in Windows. ======================================================================= ============ Changes from 4.1.16 to 4.1.17 (December 2004) ============ ======================================================================= Sven Sandberg fixed a few problems with the sprite rotation code. Sven Sandberg optimized blitting between different colour depths. Evert Glebbeek added support for the use of native window manager cursors. Chris Robinson made install_allegro() check if the library version matches the version of the headerfiles installed. Peter Wang fixed some problems with rest() on UNIX systems. Evert Glebbeek added an is_windowed_mode() function. Elias Pschernig added the scancode_to_name function. Elias Pschernig made rest use usleep() on MacOSX. Chris Robinson fixed the incorrect use of -export-dynamic on UNIX Elias Pschernig, Chris Robinson and Peter Wang fixed XOR mode leaving droppings in X11. Elias Pschernig fixed several dependency issues. James Lohr fixed a problem with mouse acceleration in fullscreen modes under Windows. Peter Wang fixed a problem in the TGA loader. Lennart Steinke contributed keyboard layout detection code for Windows. Peter Wang fixed a bug that caused Allegro to crash if it failed to initialize. Peter Wang fixed a deadlock related to X vsync emulation. Daniel Schlyder fixed make uninstall with mingw make. Elias Pschernig fixed QNX issue of not including utimer.c Angelo Mottola fixed compilation problems on BeOS and fixed the detection of VRAM. Evert Glebbeek fixed compilation problems on *BSD. Elias Pschernig made the X11 window hidden in GFX_TEXT mode. Peter Wang removed remapping of numpad keys when NumLock was off in Linux David A. Capello made override_config_file also be used for writing to the config file. Julien Cugniere added an X11 message box for allegro_message under X11. Vitaliy Chetverikov a small bug in the GUI where the return value of MSG_IDLE was ignored. Peter Wang made several improvements to the examples. Grzegorz Adam Hankiewicz made a lot of improvements to the documentation. Elias Pschernig made make-install not build examples. Peter Wang fixed several instances of symbols not declared static that should have been. Elias Pschernig replaced the X11 keyboard driver with a new XIM driver. Peter Wang fixed a problem with Linux headers and Allegro headers both declaring KEY_ constants, as pointed out by David A. Capello. Elias Pschernig fixed X11 async reply in DGA2 mode detection due to missing XLOCK/XUNLOCK Peter Wang fixed problems in ex3buf, which was trying to lock symbols which had been removed. Elias Pschernig cleaned up grabber/dat documentation. Daniel Schlyder added ALLEGRO_LIB_BUILD flag for gcc variants not using configure. Elias Pschernig fixed bugs in matrix_to_quat and get_align_matrix. Evert Glebbeek fixed a problem with the X11 port when ALLEGRO_MULTITHREADED was not defined. Matthew Leverton added support for a fourth mouse button to the Windows port. Michal Molhanec added a faq section about the giftware license. Elias Pschernig added the license disclaimer to the docs. Evert Glebbeek added missing vtable entries for AllegroGL, as requested by Robert Ohannessian. Dustin Dettmer spotted a typo in save_bitmap. Sam Hocevar removed deprecated use of init_read_test, test_byte_read, etc. Peter Wang fixed a bug in the Windows keyboard driver.
2004-12-03Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.wiz1-2/+2
Suggested by Roland Illig, ok'd by various.
2004-11-22Add a missing include to make this pkg build on NetBSD 1.6.kristerw2-1/+17
2004-11-09Changes 4.1.16:adam6-13/+48
* Fixed two problems with the keyboard driver on Windows. * Added a set_allegro_resource_path() function. * Added hardware cursor support to the X11 and DirectX window drivers. * Fixed a crash when initializing, deinitializing and reinitializing Allegro on Windows. * New MIDI input driver for the Windows port. * Improved the speed of drawing primitives on X11 and implemented locking/unlocking for video bitmaps. * Fixed bugs in set_palette() and remove_int(). * Fixed a bug where the X11 fullscreen driver would fail if no virtual screen was reported. * Many fixes to source, examples and documentation.
2004-11-08Fix PLIST in case USE_ESOUND is YES, which it is by default.wiz2-3/+7
Bump PKGREVISION.
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv1-1/+2
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-06-03Update devel/allegro to 4.1.14.xtraeme5-74/+16
Changes: # Fixed a couple of problems in dat2c. # Polished the MacOS X package builder script. # Added a Jack sound driver to the Unix port. # Added support for debugging with DMalloc under Unix. # Fixed detection of the ALSA 1.0 MIDI driver. # Fixed compilation with --enable-color8=no under Unix. # Now it is possible to link against the Allegro framework with the allegro-config script under MacOS X. # Fixed a bug in fixbundle with 32bpp icons and alpha channel under MacOS X. # Restored the compensation code for end-of-frame in the FLI player.
2004-04-05Correct typo in .include statement.kristerw1-2/+2
2004-04-05Initial import of allegro-4.1.13 from pkgsrc-wip, Initial work byxtraeme8-0/+277
Thomas Klausner plus minor changes by me. Allegro is a portable library mainly aimed at video game and multimedia programming, originally started by Shawn Hargreaves for the DJGPP compiler in a mixture of C and assembler. According to the Oxford Companion to Music, Allegro is the Italian for "quick, lively, bright". It is also a recursive acronym which stands for "Allegro Low LEvel Game ROutines". Cross-platform support o Dos (DJGPP, Watcom) o Unix (Linux, *BSD, Irix, Solaris, Darwin) o Windows (MSVC, MinGW, Cygwin, Borland) o BeOS o QNX o MacOS X