Commit graph

55 commits

Author SHA1 Message Date
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
joerg
8f3be13709 Add DragonFly support. 2005-10-10 16:54:22 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
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-01 18:02:37 +00:00
wiz
67f87dc96e Update to 2.1.1:
- display-x(7): Perform correct overflow check when setting up the
  backbuffer.
- display-x(7): 8bit palettized mode now works
- mode regression fix: allow testcase3 to also test on other targets than
  display-memory
- mode regression: add testcases to test mode re-setting and for
  braindamaged physical size
- ggiOpen(3): do not call va_end() twice.
- display-sub(7): Add a warning/important paragraph to the manual:
  GGI_DEFMODE env.
  variable may override the top,left corner when it is (0,0).
- display-dga(7): make it work again. Patch from urz (IRC).
- display-fbdev(7): fix crash/hang-on-exit. Fixes SF Bug #1097754. Patch
  from urz (IRC).
- display-directx(7): fix checking and setting a mode with braindamaged
  physical mode size
- documentation: move deprecated ggiSet*Mode(3) functions to their own
  manpage
- display-tele(7): various bugfixes, update manpage
2005-04-18 15:54:18 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
5c5b30eebc 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 02:47:31 +00:00
agc
6a7b384635 Add RMD160 digests 2005-02-24 08:45:01 +00:00
hubertf
9a981bcfbe Sign over maintainership to tech-pkg@ 2005-02-21 20:26:08 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
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-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
wiz
9e0b156e17 Update to 2.0.6:
New in 2.0.6: 2004-09-14:
* build system:
  - Prepend with GII include path when --with-uninst-gii is specified via configure
  - disable vgagl helper when not building the svga target
* X-target:
  - Bugfix: Ensure aligned memory access. Fixes crash on NetBSD/sparc64
  - Bugfix: Perform correct clipping in ggiFillscreen(3).
* display-memory: Bugfix: Free directbuffer completely.
* display-monotext: Bugfix: ggiCheckMode() returns actual error code than always success.
* documentation update:
  - add manual page for display-mansync
  - do not document not-existing GGIFLAG_TIDYBUF flag. It is a new feature in devel tree.

New in 2.0.5: 2004-05-29:
* X-target:
  - Fix over-allocation of win y dimension.
  - Forward expose events to the application when -nobuffer is used.
  - Fix "strange colored pixels when re-exposing backbuffer"-Bug.
  - Focus pulling fix. Key focus should no longer get lost,
    when the mouse is NOT over the window. Note: Don't forget to
    update libgii's input-xwin and input-x before as libggi now
    passes some additional information to libgii.
* build system: It checks for buildable demos. Fixes compiling breakage on some platforms.
* other build system updates
* libtool update. Fixes Debian bug #208288.
* documentation updates

Hi Christoph!
2004-09-20 22:39:03 +00:00
he
193cd55b22 Contrary to what I stated previously, the terminfo library is
installed on 2.0_BETA.  Based on a tip from Thomas Klausner, make
the PLIST entries for the terminfo library conditional, and they're
then effectively commented out on NetBSD 1.6.* (tested/verified)
and 1.5.* (so far untested).
2004-09-17 07:57:51 +00:00
he
51b3a197a1 Remove terminfo from PLIST. Yes, it's conditionally compiled, depending
on tests in the configure script, but it is not installed in either
of NetBSD 1.6.2_STABLE or 2.0_BETA.
2004-09-16 22:29:10 +00:00
snj
59223b534d No longer used. 2004-04-18 01:03:23 +00:00
xtraeme
e00ad928b9 bl3ify 2004-04-16 17:39:32 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
xtraeme
85f6d45ff8 Update to 2.0.4, closes PR pkg/23820.
Changes:

	o build fix: cygwin has no sys/shm.h and sys/ipc.h, so configure
	  disables all targets requiring them, if not present.
	o cbconsist demo: sync with devel tree
	o gcc 3.3 compiling fix for default/linear_16/crossbuild.c
	  (fixes Debian bug #197214)
	o merged build fix from FreeBSD's ports tree to make the xf86dga
	  target compile on FreeBSD (fixes FreeBSD PR ports/52380)

	o X-target
        	+ minor mode initialization fix from Argo Vessmann
        	+ shm helper checks return code, when setting up the
		  directbuffer
        	+ release locking on failure. (Threadsafety fix)
        	+ fixed geometry check. Opening (very) small windows is now
		  possible.
2004-01-05 00:27:24 +00:00
jlam
a9f08159c4 Back out last change related to moving ncurses/buildlink2.mk to
curses.buildlink2.mk.  This was wrong because we _really_ do want to
express that we want _n_curses when we include the buildlink2.mk file.

We should have a better way to say that the NetBSD curses doesn't
quite work well enough.  In fact, it's far better to depend on ncurses
by default, and exceptionally note when it's okay to use NetBSD curses
for specific packages.  We will look into this again in the future.
2003-09-28 09:13:55 +00:00
grant
7a71199b50 move ncurses/buildlink2.mk to mk/curses.buildlink2.mk, as it provides
support for base system curses/ncurses as well as ncurses itself.

suggested by wiz.
2003-09-27 17:07:34 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
wiz
938c902624 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 12:05:25 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
wiz
acd19bd6f4 Does not seem to use ncurses specific stuff -- builds fine on 1.6L with native curses.
Remove USE_NCURSES.
2003-01-24 13:33:52 +00:00
jmmv
a006d9d821 Make this package install its configuration files under the examples tree
and use bsd.pkg.install.mk to copy them to PKG_SYSCONFDIR.
Bump PKGREVISION to 1.
2003-01-02 23:54:55 +00:00
jlam
b8ed027b8c buildlink2.mk file for graphics/libggi. Closes PR 19118. 2002-11-25 20:50:26 +00:00
jlam
a54977ed47 Use buildlink2. 2002-11-25 20:48:42 +00:00
skrll
81e0ebac47 Actually remove the autoconf BUILD_DEPENDS 2002-02-13 22:38:42 +00:00
wiz
8ed07e63df Fix PLIST. 2002-01-17 01:13:46 +00:00
skrll
0b3bc0ef86 Various tidy ups:
o Use pkgsrc libtool not internal one - we caught up with the
	  internal one ages ago.

	o Remove BUILD_DEPENDS on autoconf - the configure{,.in} hacks
	  will probably disappear if someone buildlinkifies this pkg.

	o Sort PLIST
2002-01-11 11:47:54 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
tron
a68a277b43 Use wildcard dependence on "autoconf" package. 2001-08-27 14:35:04 +00:00
wiz
a4f21a5507 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 09:54:06 +00:00
agc
fb467f5ac2 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:22:34 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
wiz
a2a4d06c6f Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 15:22:13 +00:00
tron
f2d262e0be Use full pathname "${LOCALBASE}/bin/auto..." in dependences and make
targets. This includes a fix for PR pkg/12125 by Tomasz Luchowski.
2001-02-05 09:00:54 +00:00
hubertf
2353d3ca57 Back out previous - all these dirs are removed by libgii.
Hinted at by Thomas Klausner.
2001-01-16 12:59:48 +00:00
hubertf
4ff801aa95 Make this pkg work on ELF (I wonder if autoconf is the right place to
fix this...)
2001-01-15 23:01:34 +00:00
hubertf
baa6006f85 add a few @dirrms 2001-01-15 22:30:50 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
wiz
2547c005ce Fix PLIST on alpha (and other non-DGA architectures). 2000-12-27 04:29:10 +00:00
rh
a6361d0a69 Add runtime library search patch.
Make this compile under NetBSD-1.4.x by moving conflicting definition in
#include <unistd.h> upfront.
2000-10-01 14:03:27 +00:00
wiz
9f3a0274a2 remove trailing whitespace; use ${CP} instead of cp 2000-09-03 10:14:39 +00:00
hubertf
460be0b680 fix ELF lib paths 2000-06-27 03:18:03 +00:00
mycroft
1ca9ef409e Don't try to remove directories created by libgii either. 2000-04-16 17:42:26 +00:00
mycroft
e0a3b162c1 Don't forget the sum file... 2000-04-16 16:58:03 +00:00
mycroft
356cb4bf9a Make DGA mode work. 2000-04-16 16:54:54 +00:00