pkgsrc/graphics/libggi/Makefile

56 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.40 2006/03/04 21:29:49 jlam Exp $
#
DISTNAME= libggi-2.1.1.src
Update to 2.0.3: New in libggi 2.0.3: * X-target: * Fixed a bug, where a ggiFlush() call was missed, which makes directbuffer content visible when releasing it. * Fixed a clipping bug, causing to let disappear characters or whole strings. * Fixed clipping on multiple frames. * Add -keepcursor option, which keeps the default cursor. * Fixed crash when used 8bit characters * Fixed endless loop when X11 server provides only and only the same sort of X visuals * Demo: Improved pageflip demo to test all primitives in a multi-frame environment * merged some compiler fixes from the OpenBSD ports tree * fixed a crash, when a drawing primitive (i.e. a line) crossed two borders of the clipping rectangle * added 64bit fixes to wrap and cube3d demos * minor improvements to checkmode and struct check tool (important for target developers though) * manpage fixes New in 2:2:0 (2.0.2): 2002-12-26 * Misc bugfixes (see ChangeLog) * Huge documentation updates * Major build system update - adds builds fixes for many platforms * memory-target - add -pixfmt option - added missing support for reporting physical screen sizes. * X-target - rewritten (x/xlib splitting is obselete now) - added dirty region management * xlib-target - disabled. Will be removed later * fbdev-target - DirectFB driver works with directfb 0.9.13 - added mach64 accelerator * KGI-target - big update (works with KGI-0.9 now) - added mach64 accelerator - added radeon accelerator - still experimental, thus disabled in configure New in 2:1:0 (2.0.1): 2001-08-26 * More documentation updates. * Prelimiary support for using DirectFB drivers under display-fbdev * Many corrections/improvements to build files * Started move towards using libtool versioning, as interface is stable. New in 2.0: 2001-08-11 * Huge documentation updates. * svgalib-target - added frame support - misc bug-fixes New in 2.0beta4: 2001-07-10 * Misc bugfixes (see ChangeLog). * Huge documentation updates. * finished support for reporting physical screen sizes. * splitted libggimisc off * New API: ggiDetachInput() * fbdev-target - Acceleration of Matrox G400 (matrox fb) * directX-target - Update - Highly experimental target for Win ... Use at your own risk ! * ipc-target - New target for interprocess communication (experimental) New in 2.0beta3: 2000-12-18 * Misc bugfixes (see ChangeLog). * Minor documentation updates. * Major rewrite of the internal sublib handling. * Some fixes for PowerPC compatibility. * preliminary support for reporting physical screen sizes. * Made all headers C++ compatible. * lcd823-target - Target for the Motorola MPC823 builtin LCD controler, using the /dev/lcd823 Linux kernel device. * fbdev-target - Better detection of kgicon-type fb-devices and old fb implementations. - Better usage of fbdev mode infos in fb.modes - Better acceleration for the Matrox fb. * glide-target - Added directbuffer support. * aalib-target - Better mode handling. * X-target - Propagated X dpi values to give physical screen dimensions. - Various fixes to properly init several values. * tele-target - Updated much to make it work again. * vgl-target - New target for FreeBSD's VGL library. * directX-target - Highly experimental target for Win ... Use at your own risk !
2003-04-02 14:05:25 +02:00
PKGNAME= ${DISTNAME:S/.src//}
PKGREVISION= 1
CATEGORIES= graphics
Update to 2.1.0: New in 2.1.0: 2004-11-30: - Documentation updates - removed obseleted Xlib target - added new GGIFLAG_TIDYBUF flag. It is intended for applications using directbuffer and having their own dirty-region management. Currently only supported by the X-target. - KGI target improvements - added Matrox Gx00 accelerator sublib - added devfs support - added multiple frame support - merged improvements from the FreeBSD ports tree - fbdev gammamap support - added the -fullscreen option to the X-target - added the -physz option to the ipc-target - Major DirectX target improvements - added -noinput and -physz options by Christoph Egger. Tested by Albert Graef. - fix cursor stuff, added -keepcursor and -nocursor options (patch from Albert Graef) - disable maximize button on GGI-on-DX window (patch from Albert Graef) - remove stuff in WindowProc made obselete by the above two items (patch from Albert Graef) - move the globals in ddinit.c into private data structure (patch from Albert Graef) - merge the two targets into one (directxnt has been renamed to directx and is now the *one* directx target) (patch from Albert Graf) - fix a couple of bugs and race conditions (patch from Albert Graef) - added -inwin option (patch from Albert Graef) - added support for virtual size != visible size. - added support for panning (ggiSetOrigin) - added support for up to 16 frames. - added support for asynchronous mode (no background updates when active). - added support for fullscreen and mode switching. - preliminary support for palettized modes. - display-auto has been added. It replaces the 5 years old linux specific target autodetection and handles it OS dependend - works on Windows using MinGW w/o requiring special Makefiles. - a pseudo-stubs target has been added by Peter Ekberg. It does effectively nothing, but gives extensions a way to have one target that stands for all targets that passes all operations to their parent visuals. libggiwmh and libggimisc make palemu and trueemu working with it w/o having a target for each of them. - display-mansync has been reworked by Peter Ekberg. It now uses the platform independent task scheduler. - added a new macro: GT_ByPPP which is basically GT_ByPP but for packed pixels and it takes two arguments. New in 2.0.7: 2004-11-30: * minor buildsystem update * eliminate lvalue assignments. Fixes problems with latest gcc versions * Use more length bounded string operations
2005-03-25 03:47:31 +01:00
MASTER_SITES= ftp://ftp.ggi-project.org/pub/packages/ggi/ggi/v2.1/ \
http://www.ggi-project.org/ftp/ggi/v2.1/ \
Update to 2.0.3: New in libggi 2.0.3: * X-target: * Fixed a bug, where a ggiFlush() call was missed, which makes directbuffer content visible when releasing it. * Fixed a clipping bug, causing to let disappear characters or whole strings. * Fixed clipping on multiple frames. * Add -keepcursor option, which keeps the default cursor. * Fixed crash when used 8bit characters * Fixed endless loop when X11 server provides only and only the same sort of X visuals * Demo: Improved pageflip demo to test all primitives in a multi-frame environment * merged some compiler fixes from the OpenBSD ports tree * fixed a crash, when a drawing primitive (i.e. a line) crossed two borders of the clipping rectangle * added 64bit fixes to wrap and cube3d demos * minor improvements to checkmode and struct check tool (important for target developers though) * manpage fixes New in 2:2:0 (2.0.2): 2002-12-26 * Misc bugfixes (see ChangeLog) * Huge documentation updates * Major build system update - adds builds fixes for many platforms * memory-target - add -pixfmt option - added missing support for reporting physical screen sizes. * X-target - rewritten (x/xlib splitting is obselete now) - added dirty region management * xlib-target - disabled. Will be removed later * fbdev-target - DirectFB driver works with directfb 0.9.13 - added mach64 accelerator * KGI-target - big update (works with KGI-0.9 now) - added mach64 accelerator - added radeon accelerator - still experimental, thus disabled in configure New in 2:1:0 (2.0.1): 2001-08-26 * More documentation updates. * Prelimiary support for using DirectFB drivers under display-fbdev * Many corrections/improvements to build files * Started move towards using libtool versioning, as interface is stable. New in 2.0: 2001-08-11 * Huge documentation updates. * svgalib-target - added frame support - misc bug-fixes New in 2.0beta4: 2001-07-10 * Misc bugfixes (see ChangeLog). * Huge documentation updates. * finished support for reporting physical screen sizes. * splitted libggimisc off * New API: ggiDetachInput() * fbdev-target - Acceleration of Matrox G400 (matrox fb) * directX-target - Update - Highly experimental target for Win ... Use at your own risk ! * ipc-target - New target for interprocess communication (experimental) New in 2.0beta3: 2000-12-18 * Misc bugfixes (see ChangeLog). * Minor documentation updates. * Major rewrite of the internal sublib handling. * Some fixes for PowerPC compatibility. * preliminary support for reporting physical screen sizes. * Made all headers C++ compatible. * lcd823-target - Target for the Motorola MPC823 builtin LCD controler, using the /dev/lcd823 Linux kernel device. * fbdev-target - Better detection of kgicon-type fb-devices and old fb implementations. - Better usage of fbdev mode infos in fb.modes - Better acceleration for the Matrox fb. * glide-target - Added directbuffer support. * aalib-target - Better mode handling. * X-target - Propagated X dpi values to give physical screen dimensions. - Various fixes to properly init several values. * tele-target - Updated much to make it work again. * vgl-target - New target for FreeBSD's VGL library. * directX-target - Highly experimental target for Win ... Use at your own risk !
2003-04-02 14:05:25 +02:00
${MASTER_SITE_SOURCEFORGE:=ggi/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.ggi-project.org/
COMMENT= General Graphics Interface library is a flexible drawing library
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_LIBTOOL= yes
2002-11-25 21:48:42 +01:00
GNU_CONFIGURE= yes
2002-11-25 21:48:42 +01:00
CONFIGURE_ARGS+= --disable-debug
CONFIGURE_ARGS+= --with-x
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
PKG_SYSCONFSUBDIR= ggi
EGDIR= ${PREFIX}/share/examples/ggi
CONF_FILES= ${EGDIR}/libggi.conf ${PKG_SYSCONFDIR}/libggi.conf
Update to 2.0.3: New in libggi 2.0.3: * X-target: * Fixed a bug, where a ggiFlush() call was missed, which makes directbuffer content visible when releasing it. * Fixed a clipping bug, causing to let disappear characters or whole strings. * Fixed clipping on multiple frames. * Add -keepcursor option, which keeps the default cursor. * Fixed crash when used 8bit characters * Fixed endless loop when X11 server provides only and only the same sort of X visuals * Demo: Improved pageflip demo to test all primitives in a multi-frame environment * merged some compiler fixes from the OpenBSD ports tree * fixed a crash, when a drawing primitive (i.e. a line) crossed two borders of the clipping rectangle * added 64bit fixes to wrap and cube3d demos * minor improvements to checkmode and struct check tool (important for target developers though) * manpage fixes New in 2:2:0 (2.0.2): 2002-12-26 * Misc bugfixes (see ChangeLog) * Huge documentation updates * Major build system update - adds builds fixes for many platforms * memory-target - add -pixfmt option - added missing support for reporting physical screen sizes. * X-target - rewritten (x/xlib splitting is obselete now) - added dirty region management * xlib-target - disabled. Will be removed later * fbdev-target - DirectFB driver works with directfb 0.9.13 - added mach64 accelerator * KGI-target - big update (works with KGI-0.9 now) - added mach64 accelerator - added radeon accelerator - still experimental, thus disabled in configure New in 2:1:0 (2.0.1): 2001-08-26 * More documentation updates. * Prelimiary support for using DirectFB drivers under display-fbdev * Many corrections/improvements to build files * Started move towards using libtool versioning, as interface is stable. New in 2.0: 2001-08-11 * Huge documentation updates. * svgalib-target - added frame support - misc bug-fixes New in 2.0beta4: 2001-07-10 * Misc bugfixes (see ChangeLog). * Huge documentation updates. * finished support for reporting physical screen sizes. * splitted libggimisc off * New API: ggiDetachInput() * fbdev-target - Acceleration of Matrox G400 (matrox fb) * directX-target - Update - Highly experimental target for Win ... Use at your own risk ! * ipc-target - New target for interprocess communication (experimental) New in 2.0beta3: 2000-12-18 * Misc bugfixes (see ChangeLog). * Minor documentation updates. * Major rewrite of the internal sublib handling. * Some fixes for PowerPC compatibility. * preliminary support for reporting physical screen sizes. * Made all headers C++ compatible. * lcd823-target - Target for the Motorola MPC823 builtin LCD controler, using the /dev/lcd823 Linux kernel device. * fbdev-target - Better detection of kgicon-type fb-devices and old fb implementations. - Better usage of fbdev mode infos in fb.modes - Better acceleration for the Matrox fb. * glide-target - Added directbuffer support. * aalib-target - Better mode handling. * X-target - Propagated X dpi values to give physical screen dimensions. - Various fixes to properly init several values. * tele-target - Updated much to make it work again. * vgl-target - New target for FreeBSD's VGL library. * directX-target - Highly experimental target for Win ... Use at your own risk !
2003-04-02 14:05:25 +02:00
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
.if !empty(OS_VERSION:M1.[56].*)
PLIST_SUBST+= COND_TERMINFO="@comment "
.else
PLIST_SUBST+= COND_TERMINFO=""
.endif
.else
PLIST_SUBST+= COND_TERMINFO=""
.endif
Update to 2.0.3: New in libggi 2.0.3: * X-target: * Fixed a bug, where a ggiFlush() call was missed, which makes directbuffer content visible when releasing it. * Fixed a clipping bug, causing to let disappear characters or whole strings. * Fixed clipping on multiple frames. * Add -keepcursor option, which keeps the default cursor. * Fixed crash when used 8bit characters * Fixed endless loop when X11 server provides only and only the same sort of X visuals * Demo: Improved pageflip demo to test all primitives in a multi-frame environment * merged some compiler fixes from the OpenBSD ports tree * fixed a crash, when a drawing primitive (i.e. a line) crossed two borders of the clipping rectangle * added 64bit fixes to wrap and cube3d demos * minor improvements to checkmode and struct check tool (important for target developers though) * manpage fixes New in 2:2:0 (2.0.2): 2002-12-26 * Misc bugfixes (see ChangeLog) * Huge documentation updates * Major build system update - adds builds fixes for many platforms * memory-target - add -pixfmt option - added missing support for reporting physical screen sizes. * X-target - rewritten (x/xlib splitting is obselete now) - added dirty region management * xlib-target - disabled. Will be removed later * fbdev-target - DirectFB driver works with directfb 0.9.13 - added mach64 accelerator * KGI-target - big update (works with KGI-0.9 now) - added mach64 accelerator - added radeon accelerator - still experimental, thus disabled in configure New in 2:1:0 (2.0.1): 2001-08-26 * More documentation updates. * Prelimiary support for using DirectFB drivers under display-fbdev * Many corrections/improvements to build files * Started move towards using libtool versioning, as interface is stable. New in 2.0: 2001-08-11 * Huge documentation updates. * svgalib-target - added frame support - misc bug-fixes New in 2.0beta4: 2001-07-10 * Misc bugfixes (see ChangeLog). * Huge documentation updates. * finished support for reporting physical screen sizes. * splitted libggimisc off * New API: ggiDetachInput() * fbdev-target - Acceleration of Matrox G400 (matrox fb) * directX-target - Update - Highly experimental target for Win ... Use at your own risk ! * ipc-target - New target for interprocess communication (experimental) New in 2.0beta3: 2000-12-18 * Misc bugfixes (see ChangeLog). * Minor documentation updates. * Major rewrite of the internal sublib handling. * Some fixes for PowerPC compatibility. * preliminary support for reporting physical screen sizes. * Made all headers C++ compatible. * lcd823-target - Target for the Motorola MPC823 builtin LCD controler, using the /dev/lcd823 Linux kernel device. * fbdev-target - Better detection of kgicon-type fb-devices and old fb implementations. - Better usage of fbdev mode infos in fb.modes - Better acceleration for the Matrox fb. * glide-target - Added directbuffer support. * aalib-target - Better mode handling. * X-target - Propagated X dpi values to give physical screen dimensions. - Various fixes to properly init several values. * tele-target - Updated much to make it work again. * vgl-target - New target for FreeBSD's VGL library. * directX-target - Highly experimental target for Win ... Use at your own risk !
2003-04-02 14:05:25 +02:00
.if exists(${X11BASE}/include/X11/extensions/xf86dga.h)
#
# it would be more logical to set PLIST_SRC to PLIST first and then add
# PLIST.dga to it, but @dirrm lib/ggi/display will fail while processing
# pkg/PLIST, because the directory still contains files (they are listed in
# PLIST.dga) and isn't empty, thus can't be removed
#
PLIST_SRC= ${PKGDIR}/PLIST.dga
PLIST_SRC+= ${PKGDIR}/PLIST
.endif
2000-06-27 05:18:03 +02:00
2004-04-16 19:39:32 +02:00
.include "../../devel/ncurses/buildlink3.mk"
.include "../../graphics/libgii/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"