Commit graph

237 commits

Author SHA1 Message Date
wiz
f9403f57e9 Remove some chunks that should not be necessary any longer. 2006-02-07 18:15:50 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
d9e0d07fc9 Update BUILDLINK_RECOMMENDED for aalib dependency change.
Noted by reed@.
2005-12-23 16:37:12 +00:00
wiz
7e1c5bfbc9 Convert aalib to options framework, adding an 'x11' option, and remove
aalib-x11 and aview-x11.
SDL dependencies change, so bump PKGREVISION (and BUILDLINK_RECOMMENDED)
for affected packages.

Addresses PR 32046 by Leonard Schmidt.
2005-12-11 09:40:37 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
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-12-05 20:49:47 +00:00
adam
05bc5ada2b Changes 1.2.9:
* Added support for direct color 8-bpp surfaces
* Altivec optimized blitters
* SDL.dll works on Windows 95 again
* Dropping a document onto an SDL app passes it as a command line parameter in MacOS X
* Fixed crash trying to allocate hardware surfaces on MacOS X
* Fixed short read problem with SDL_RWFromMem()
* Fixed gcc parse errors in SDL_audio.h on Windows
* Added support for Tru64 UNIX 4.X
* Improved RISC OS support
* Numerous improvements to the Atari port
* SDL_OPENGLBLIT is officially obsolete
2005-09-07 10:15:39 +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
7319db0a4e Better DragonFlyBSD support from Joerg Sonnenberger.
. find USB headers
. fix joystick support
2005-05-31 17:37:50 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
wiz
76785f1db5 Support for DragonFlyBSD, based on patches from Joerg Sonnenberger. 2005-05-20 20:08:40 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
67b834a329 Bump PKGREVISION for removal of glut dependency. 2005-03-27 14:45:47 +00:00
wiz
6b3ee63145 Use MesaLib/bl3 and glu/bl3 instead of Mesa/bl3, which
also pulls in an unnecessary dependency on glut.
Addresses PR 29799 by Richard Rauch.
2005-03-27 14:43:47 +00:00
uebayasi
71960dee9e Fix quoting. 2005-03-07 09:41:45 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
kristerw
81d15a073e GCC 2 does not understand the MMX asm core. Fall back to the C source
for GCC 2.
2005-01-12 22:58:19 +00:00
drochner
1031ae2e10 The "+" constraint modifier was yoo much. While it seems correct to me, it
caused gcc complaints in some cases. Pointed out by Nicolas Joly.
PR pkg/28882 should be fixed now.
2005-01-06 16:32:01 +00:00
drochner
9711cbfc62 tighten an inline asm constraint for amd64 2005-01-06 12:25:23 +00:00
adam
f94bbda334 Changes 1.2.8:
* Fixed compiling under newer versions of gcc
* Fixed floating point exception with Linux 2.6 joysticks
* Added 4/6 channel surround sound support on ALSA (not 3D audio)
* Fixed mouse coordinate inversion on MacOS X
* Added a CoreAudio sound driver for MacOS X
* Added MacOS X Xcode build environment support
* Updated QNX support for QNX6
* Improved Atari port, including OSMesa support
* Numerous other bug fixes and platform support improvements
2005-01-05 12:05:19 +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
hubertf
1a9aac4eaf Document why we don't need Mesa on Irix.
If more pkgs like this are found that work fine with Irix'
native GL, the Mesa buildlink3.mk file should take care of this.
2004-08-24 21:07:04 +00:00
hubertf
e9c00e23b6 Don't pull in Mesa on IRIX - patch by Staffan Thomén (duck@IRC) 2004-08-23 23:57:20 +00:00
dillo
a0e044de84 Reduce audio delay in the *BSD audio driver (by configuring audio
device with shorter block size and lower water marks).
PKGREVISION++
2004-07-26 20:42:27 +00:00
wiz
207ea645b6 Patch to make audio work on IRIX 5, from Georg Schwarz. 2004-07-19 10:48:46 +00:00
kristerw
c192ecf95f Make this package build on NetBSD ports that do not have
<machine/joystick.h>.
2004-07-13 20:51:58 +00:00
drochner
9a99283870 apply some patches from SDL CVS which fix inline assembler to compile
with gcc-3.4.x
left out a part which requires support for the "named parameter"
syntax which is not present on NetBSD-1.6.x/gcc-2.95.x
This is obviously not needed because the real variable names and
the abstract parameter names are identical.
(see PR pkg/25855 by John R. Shannon for details)
The next SDL release will probably require to install gcc-3.3.x
on NetBSD-1.6.x.
2004-07-09 18:19:09 +00:00
dillo
e815167d6c fix HATs on USB joysticks that don't report up as 0.
bump PKGREVISION
2004-06-22 09:10:12 +00:00
dillo
a4c6706b7f USB joystick: number axes in usual order (X, Y, ...), not in order
returned by device.  Makes joysticks that return Z before X usable.
2004-06-05 14:04:21 +00:00
snj
961db477a7 Convert to buildlink3. 2004-05-05 03:36:22 +00:00
grant
3d0129ec64 indentation fix, drop unneeded parens. 2004-05-04 21:58:43 +00:00
grant
a0a08bd7a1 add the Cocoa framework directories to BUILDLINK_PASSTHRU_DIRS on
Darwin.

fixes build problem reported and confirmed fixed by Randy Beaudreault.
2004-05-04 21:58:07 +00:00
snj
c1f46e5893 Update to SDL-1.2.7.
Changes:
* SDL no longer sets a fatal signal handler for SIGPIPE
* Fixed modifier key state on MacOS X
* Added support for remote XVideo
* Fixed static linking on MacOS X
* Fixed compiling with broken Linux 2.6 headers
* Fixed mouse cursor visibility and focus events on MacOS X
* Added support for /dev/joy* on Free/Net/OpenBSD
* Fixed problems with CD-ROM audio playback on MacOS X 10.1
* Added dynamic GL library loading to MacOS Carbon support
* Added function to create RWops from const memory: SDL_RWFromConstMem()
* Fixed build problems with newer versions of automake
* Fixed MacOS X libtool framework support
* Added CPU feature detection functions to SDL_cpuinfo.h
* Fixed illegal instruction crash using 3DNow on Intel processors
* Fixed asm issues with mmx.h and gcc 3.3
* Fixed crash calling app defined window proc
* Fixed long long constant warnings in GCC 3.3.1
* Fixed joystick open problems on BSD
* Fixed X11 mode line crash with only one video mode

Fixes PR pkg/22462.

Okayed by wiz@.
2004-04-17 00:15:21 +00:00
snj
a97936193d SDL/SDL_opengl.h includes GL/glu.h, so we need to use
graphics/Mesa/buildlink[23].mk to pull in glu.
2004-03-23 04:37:38 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +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
jlam
19e040b6dc CONFIG_STATUS_OVERRIDE is the default in bsd.pkg.mk, so no need for these
definitions here.
2004-02-14 13:55:19 +00:00
jlam
f1d09febbf Override config.status so that it doesn't run again during the build and
overwrite our libtool replacement.  Fixes PR 24407.
2004-02-13 17:29:20 +00:00
jlam
0e2d98c903 Just use Mesa/buildlink3.mk if we need MesaLib & glut. 2004-02-13 17:15:02 +00:00
abs
a1d0b1b68b USE_LANGUAGES=c c++ 2004-02-11 01:46:30 +00:00
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
2004-01-24 03:26:45 +00:00
grant
f49bdea710 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 08:24:28 +00:00
recht
b4dc7ac829 replace the SDL mmx gcc3 compile-fix with the one that went into
SDL CVS
provided by Stephane Marchesin
2004-01-10 13:57:12 +00:00
jlam
88b7405a35 Again, include buildlink3.mk files when using buildlink3. 2004-01-10 05:46:44 +00:00
jlam
2bef6db58f bl3ify 2004-01-05 22:44:04 +00:00
jlam
d279e6f535 Use S/+$// instead of C/\+$// to save a backslash. Very highly
recommended by seb :)
2004-01-05 11:05:44 +00:00
jlam
47bb2aae5f Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. 2004-01-04 23:34:04 +00:00
jlam
339cd13cb2 Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
2004-01-03 23:06:43 +00:00
reed
53ea1a0253 Revert my change so sdl-config is not buildlinked. Like, imlib-config
this caused a problem where now smpeg-config had the "buildlink"
directory hard-coded in the smpeg-config script.
(Instead smpeg's Makefile can define SDL_CONFIG in the CONFIGURE_ENV
to make sure it uses correct sdl-config. I haven't made that change yet.)
2003-12-08 20:25:51 +00:00
reed
010c66156c Make sure the *-config scripts are buildlinked too.
(As discussed on tech-pkg in late October; okay'd by wiz then.)
2003-12-03 01:37:57 +00:00
heinz
a8ebc7d8cd On i386, depend on devel/binutils. Makes SDL compile on NetBSD 1.5.x
again (fix from PR pkg/23121, thanks to Ian.Fry at sophos com)"
2003-10-29 20:54:58 +00:00
kristerw
515369e600 Make SDL compile with gcc 3.3 too, by applying patches provided by
Marc Recht in response to PR pkg/23268.
2003-10-27 23:19:46 +00:00
drochner
8699a220f1 look for a CDROM also at /dev/cd?d; should fix PR pkg/22803 by
Peter Seebach
2003-09-16 17:03:44 +00:00
wiz
799b62e91e regen (for patch-aj change) 2003-09-04 09:57:41 +00:00
drochner
372b2ef84b oops - one modification was just in the generated "configure", not in
"configure.in", so it got lost during regen
2003-09-04 09:53:33 +00:00
wiz
5783c343a7 Replace configure patch with one generated by the same version of
autoconf as the original, reducing the size of the patch by 500k.
Ok'd by drochner.
2003-09-04 07:31:50 +00:00
drochner
7a10834052 update to 1.2.6
There are many bug fixes and improvements in this release,
including MMX and 3DNow! optimized alpha blending,
MMX optimized audio mixing, support for OpenGL FSAA,
and official QNX support!
2003-09-03 19:30:49 +00:00
jmmv
8652d9835b Let the NAS audio driver be a plugin too, to get rid of the SDL_USE_NAS build
definition.  Bump revision again, to 6, for better dependancy handling.
2003-07-26 23:05:34 +00:00
jmmv
84a38e30b2 Implement loadable plugin support for arts and esound output. This is to
avoid using build variable definitions, and to allow optional use of these
daemons on machines where binary packages are used.  esound is no longer
needed in this package by default.  OSS is kept in the package as it was
before, beeing the default output driver.  Bump PKGREVISION to 5.

The patch has been reviewed by wiz@, the maintainer.  It has also been sent
back to SDL authors in the hope that they will implement this functionality.

Closes PR pkg/21774 by Marc Recht, which requested the addition of arts as
an optional dependancy (not done).
2003-07-26 21:38:22 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
salo
2a3647d05e Depend on nasm only on i386, it's ignored otherwise by configure anyway. 2003-06-23 10:34:29 +00:00
abs
3eb6d37c78 Correctly escape newlines in strings, to pacify gcc-3.3.
No change to generated package, so no version bump.
2003-06-04 17:53:11 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
jschauma
556dfd66a9 More updates from Mesa:
As with the Makefiles, only include Mesa's buildlink when necessary,
otherwise include MesaLib's and/or glu's buildlink.
2003-03-12 22:07:27 +00:00
jschauma
77dbcbc11a Bump PKGREVISION due to upgrade of Mesa and friends.
Only include Mesa/buildlink2.mk if the package requires all three of
MesaLib, glu and glut - else only include the necessary buildlink2s.
2003-03-09 19:10:35 +00:00
atatat
5822301974 Place a defined(__NetBSD__) near a defined(__OpenBSD__) so that the
avifile-devel pkg (among other things) can build again.
2002-11-06 19:02:55 +00:00
jlam
9227f61970 Re-add lines accidentally removed in previous commit. Thanks wiz! 2002-11-05 19:25:07 +00:00
wiz
025ed1fe6b Add USE_X11=YES. Approved by jlam. 2002-11-04 14:51:16 +00:00
jlam
c261e8807c Fix the sdl-config script to return the correct libraries for linking
against libaa by querying the aalib-config script.  Bump the PKGREVISION
since this change is user-visible.
2002-10-31 22:19:49 +00:00
kristerw
84ca00410a Oops. Forgot to add patch-aa in previous commit. 2002-10-13 19:31:13 +00:00
kristerw
39c4d3ac7d Update SDL to version 1.2.5.
This update consists of numerous bugfixes. See
   http://www.libsdl.org/release/changes-1.2.html
for a full list.
2002-10-13 19:28:56 +00:00
jlam
50e873b45d Use pthread.buildlink2.mk instead of pth/buildlink.mk. 2002-08-31 03:06:37 +00:00
jlam
a36f1836ae Remove buildlink.mk files that aren't used by any other files in pkgsrc. 2002-08-28 08:05:31 +00:00
jlam
4c962884ad buildlink1 and buildlink2 can't be mixed at all. 2002-08-27 18:21:18 +00:00
jlam
32341d5bcc buildlink1 -> buildlink2. 2002-08-27 18:19:44 +00:00
martti
fab15e1423 Use ../../graphics/aalib-x11/buildlink2.mk 2002-08-27 08:25:52 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
jlam
27cae62d46 These packages install libraries that differ from previous versions if they
are built using the hard-syscall-enabled pth.  Bump the PKGREVISION so we
can distinguish these packages from the previous ones.
2002-08-08 16:17:04 +00:00
jlam
6114321176 Convert to use pthread.buildlink.mk. 2002-08-01 06:40:50 +00:00
kristerw
938a09509a SDL configure checks if libusb or libusbhid is present on the system, but
it tried to use both if both was found (which caused conflicts.)

Solves PR 17602.
2002-07-15 23:04:20 +00:00
kristerw
3eea6e5501 Add USB joystick support (and bump version to 1.2.3nb1). The implementation
is taken from the SDL development repository, with some bugfixes from me.

Solves PR 17374.
2002-07-14 07:28:39 +00:00
wiz
da709ece99 Remove build dependency on automake by providing patches.
Requested and tested by Nick Hudson.
2002-07-13 16:17:33 +00:00
tron
902f07db37 Back out last change on request by Thomas Klausner and Nick Hudson:
Setting "USE_PTHREADS" in a buildlink file will cause problems if the
package which includes it wants to use different POSIX threads libraries.
2002-06-25 06:54:43 +00:00
tron
36dd4c1f2a Use native POSIX threads if operating system provides them. This fixes
PR pkg/17177 by Julio Merino and PR pkg/17259 by Lubomir Sedlacik.
2002-06-24 20:25:25 +00:00
wiz
4aa068ea11 Remove BUILDLINK_DEPENDS.pth line, since it's the same as in pth's
buildlink.mk.
2002-06-15 21:33:50 +00:00
wiz
afd6822248 Update to 1.2.3; based on pkg/15580 by Ben Wong.
Relevant changes for NetBSD:
* 1.2.3: Added X11 Xinerama support - fullscreen starts on screen 0
* 1.2.3: Added platform independent OpenGL Header - SDL_opengl.h
* 1.2.3: Fixed crash when using double-buffering with DGA
* 1.2.3: Fixed XVideo on GeForce by using last available adaptor
* 1.2.3: Added 640x480 as a scaled resolution for NTSC/PAL output
2002-02-14 00:39:45 +00:00
agc
8e1a5e022a Use the new aalib-x11 package in preference to the "no X11" aalib package.
Fix provided by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 15271
2002-01-31 13:53:41 +00:00
tron
99d5373aa9 Include buildlink glue code for "aalib" package. This fixes build problems
in e.g. the "avifile-devel" package.
2002-01-03 19:11:40 +00:00
hubertf
21d59dcead 1.2.2nb1 for AAlib support 2002-01-03 01:32:12 +00:00
hubertf
41c4cdf91c add support for graphics/aalib
Contributed by Lubomir Sedlacik <salo@xtrmntr.org> in PR 15115
2002-01-03 01:31:46 +00:00
jlam
4b27fb2df8 Pass in LDFLAGS via SYSTEM_LIBS as it's used as the linker options for
finding various libraries.  This ensure that any unusual -Wl,-R options
are noted correctly in the generated sdl-config.  This should fix problems
noted by various people that building packages that depend on SDL bomb out
with this error:

checking for SDL - version >= 1.0.1... no
*** Could not run SDL test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding SDL or finding the wrong
*** version of SDL. If it is not finding SDL, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: *** SDL version 1.0.1 not found!
*** Error code 1

Stop.

In particular, it fixes pkg/14833 and pkg/14912 by Robert Elz.
2001-12-11 16:30:45 +00:00
jlam
4c38713d7b A dependency on automake implies a dependency on autoconf; there's no need
to list them both when we listing just automake will do.
2001-11-29 19:46:10 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
jlam
a4bc16d30c I am a triple idiot. The only relevant variable that x11.buildlink.mk
redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR,
which points to the location of the X11R6 hierarchy used during building.
If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to
${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use.  Remove
the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and
revert changes to move x11.buildlink.mk before the other buildlink.mk files.
2001-10-24 22:10:43 +00:00
jlam
dff59f9ec3 x11.buildlink.mk needs to be included before any buildlink.mk files that
use X11_BUILDLINK_MK as a test value.  Generally just reordering the
inclusions so that x11.buildlink.mk comes before the other buildlink.mk
files will make everthing work.
2001-10-23 13:14:43 +00:00
jlam
f25f9d2824 bsd.buildlink.mk will automatically handle the REPLACE_BUILDLINK stuff, so
we can remove REPLACE_BUILDLINK settings containing *-config, *Conf.sh, and
*.pc.
2001-10-03 22:36:37 +00:00
jlam
f0a4fcd3e4 Substitute the real config script for the config wrapper script in
installed files.  We don't want buildlink references to escape into the
install directory.
2001-10-03 20:56:40 +00:00
rh
0c0bf65c68 Add patch missing in previous commit 2001-09-24 14:29:39 +00:00
rh
024804d8b4 Update SDL to 1.2.2. Changes include:
* Native NetBSD audio support
    * Now gets correct keyboard state when starting up on X11
    * Improved the DGA 2.0 and framebuffer console drivers
    * Improved OSS audio driver support, thanks to 4Front Tech.
    * Improved X11 fullscreen support, works better with KDE
2001-09-24 14:28:55 +00:00
jlam
63fc151cb9 Use x11.buildlink.mk instead of USE_X11. Also convert hard-coded references
to ${X11BASE} in the header and library search paths into references to
${LOCALBASE}/share/x11-links.  These packages should now be strongly-
buildlinked regardless of whether xpkgwedge is installed.

Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and
lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge.
2001-08-29 22:41:00 +00:00
jlam
7bba3453dc If USE_CONFIG_WRAPPER is defined (implied by USE_BUILDLINK_ONLY), then
set FOO_CONFIG=${BUILDLINK_CONFIG_WRAPPER.foo} in both CONFIGURE_ENV and
MAKE_ENV.  We remove the check for GNU_CONFIGURE because if a package
Makefile includes the buildlink.mk file, then it most likely wants to use
the config script wrappers as well.  Change suggested by Hubert Feyrer
(hubertf) and Tomasz Luchowski (zuntum).
2001-08-17 21:14:00 +00:00
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00
jlam
7b1d3cb465 Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>.  This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed.  Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-20 01:54:31 +00:00
jlam
7bb7d15273 Missing closing " 2001-07-14 15:51:47 +00:00
jlam
99646439a3 Reliably detect NAS headers when NAS is enabled, and remove references to
/usr/pkg/{include,lib} from the configure script.  SDL now really meets
the criteria for USE_BUILDLINK_ONLY.
2001-07-14 15:45:34 +00:00
jlam
765714a6a8 Didn't need to bump dependencies on SDL to >=1.2.1. >=1.2.0 is sufficient
for all the apps in pkgsrc.
2001-07-14 13:17:00 +00:00
rh
3077aa755a Update SDL to 1.2.1. Changes include:
* Added Linux PlayStation 2 Graphics Synthesizer support
    * Added an audio driver that writes to disk
    * Mouse wheel sends mouse button (4/5) events on Windows
    * Added MacOS X Project Builder projects
    * Added initial support for Quartz video
    * Disabled Linux /dev/event joystick interface by default
    * Added native OpenBSD audio driver
    * Added detection of Open Sound System on Solaris x86
    * Added initial support for Nano-X
    * Fixed endian detection on IA64 architectures
    * Added --disable-dga configure option to disable DGA
    * Fixed stuck keys when changing the video mode
    * Fixed double-mouse event bug on Windows using OpenGL
    * Fixed 320x200 video mode on framebuffer console
    * Improved robustness for the ELO touchpad
    * Added support for building under Cygwin on Windows
    * Added a dummy video driver for benchmarking
    * Fixed fullscreen cursor offset bug on BeOS
2001-07-03 06:17:32 +00:00
jlam
9943bc93db Allow overriding of *_CONFIG variables in a package Makefile when using
USE_BUILDLINK_ONLY.
2001-07-02 05:33:56 +00:00
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
jlam
cb19604bda Invoke autoreconf with --foreign so that automake won't complain about
missing "GNU-required" files like NEW, AUTHORS, etc.
2001-07-01 20:13:14 +00:00
jlam
3b65bde2f7 USE_CONFIG_WRAPPER is automatically set if USE_BUILDLINK_ONLY is defined,
so remove it from package Makefiles.  Also move the inclusion of the
buildlink.mk files to the end of the Makefile to just before bsd.pkg.mk
to ensure that any Makefile settings occur before the buildlink.mk files.
2001-06-29 04:54:49 +00:00
jlam
3129c05fce Replace for location of sdl-config in other packages' config scripts. 2001-06-28 21:41:21 +00:00
jlam
31d1b3af60 Use REPLACE_BUILDLINK instead of repeating the post-build same code over
and over again in the pkgsrc tree.
2001-06-26 16:30:55 +00:00
jlam
df32277c4a Add buildlink.mk file for use by other package Makefiles. 2001-06-26 03:57:29 +00:00
jlam
680f6c1e65 Remove patch to hermes/Makefile.in as we already patch Makefile.am
Also patch src/Makefile.am instead of the Makefile.in file as automake
will destroy the changes otherwise.
2001-06-26 03:49:24 +00:00
jlam
46288bd12e Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. 2001-06-26 03:29:17 +00:00
jlam
c4e71c5e7a CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, so
adapt by moving CPPFLAGS settings to top-level, and removing explicit
inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-11 06:34:17 +00:00
rh
681044f11d Don't let SDL randomly pick up NAS support. Add SDL_USE_NAS variable that,
if present, causes SDL to depend on NAS.  Disable NAS support if
SDL_USE_NAS is not defined.  Fixes PR 12784 by Eric Mumpower
<nocturne@arepa.co>
2001-05-06 12:48:56 +00:00
rh
4a00add4e6 Make SDL compile under a.out systems: only use "-f elf" on ELF systems. 2001-05-05 13:47:12 +00:00
rh
b3cbe0924f Add '--tag' for hermes nasm statements to Makefile.am as well. This should
fix bulk building and PR 12746.
2001-04-28 14:27:34 +00:00
wiz
dfb2d5edc6 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 00:44:09 +00:00
rh
418eec88e3 Update SDL to 1.2.0. This closes PR 12684 by Tomasz Luchowski
<zuntum@netbsd.org>

Changes include:

1.2.0: Added initial support for HP-UX (thanks Stephanie)
1.2.0: Added initial support for BSDI (thanks Kurt)
1.2.0: Fixed blitting 32-bit ARGB images to SDL_OPENGLBLIT screens
1.2.0: Fixed automake build dependencies (thanks Markus!)
1.2.0: Added 24 bpp support to software YUV display functions
1.2.0: Don't bomb trying to get DGA mouse on XFree86 4.0
1.2.0: Added initial support for OSF/Tru64 (thanks Anders)
1.1.8: Fixed joystick hat motion on MacOS
1.1.8: Don't detect mouse and keyboard as joystick on MacOS
1.1.8: Check for OpenGL 1.2 before using 16-bit SDL_OPENGLBLIT
1.1.8: Added support for /dev/sound/* in Linux 2.4
1.1.8: Fixed crash when blitting to RLE encoded surfaces
1.1.8: Fixed 8-bit audio on MacOS X
1.1.8: Fixed keyboard handling on MacOS X and MacOS classic
1.1.8: Fixed mouse cursor visibility when switching apps on MacOS
1.1.8: Implemented semaphore support on MacOS X
1.1.8: Worked around broken sem_getvalue() on MacOS X
1.1.8: Fixed 16-bit big-endian audio on MacOS X and MacOS classic
1.1.8: Fixed mutex locking on Linux glibc 2.0
1.1.8: SDL_Quit() removes the parachute signal handlers
1.1.8: Added NAS audio server support (thanks Erik!)
1.1.8: Added SDL_NOFRAME for frameless windows (thanks Andreas)
1.1.8: Added support for resizable windows on MacOS
1.1.8: Added a function to query the surface clip rectangle
1.1.8: Added a function to query the current event filter
1.1.8: The X11 XVideo adapter is now locked (thanks Jeffrey)
1.1.8: Improved the speed of fullscreen OpenGL on Windows
1.1.8: Added ELO touchscreen support for fbcon (thanks Alex)
1.1.8: Added accelerated MacOS X OpenGL support
1.1.8: Surface lock and unlock operations can now be nested
1.1.8: Optimized fillrect for PPC video memory (thanks Mattias)
1.1.8: Work around "blackout" problem with XVideo acceleration
1.1.8: Obtain correct key state on X11 focus (thanks Mattias)
1.1.8: Fixed keyboard handling on the framebuffer console
1.1.8: Added basic support for VGA16 framebuffer console
1.1.8: Open a new virtual terminal if possible on fbcon
1.1.8: Fixed default audio driver on FreeBSD (thanks Maxim)
1.1.8: Fixed joystick crash on Windows (thanks Pete)
1.1.7: Expanded documentation from the SDL Documentation Project
1.1.7: Report X11 client message events if SYSWMEVENTS enabled
1.1.7: Added support for a single hat on Windows joysticks
1.1.7: The gamma ramp routines now take arrays of Uint16 values
1.1.7: Added initial support for QNX RTP (thanks Patrick)
1.1.7: Added ALSA sound driver (thanks Patrick Trainor)
1.1.7: Added aRts UNIX sound driver (thanks Neil Stevens)
1.1.7: Get keyboard modifier state on input focus on Win32
1.1.7: SDL_ConvertSurface() now accepts SDL_RLEACCEL as a flag
1.1.7: Added initial UnixWare 7 support (thanks rr)
1.1.7: Added working YUY -> RGB conversion code (thanks Eugene)
1.1.7: Fixed video initialization crash on IRIX
1.1.7: Fixed MacOS fullscreen palette code (thanks Darrell)
1.1.7: Fixed background brush flicker on Win32 (thanks Gautier)
1.1.7: Fixed incorrect pitch when switching to window on Win32
1.1.7: Fixed memory leak when switching video modes on Win32
1.1.7: Init of fbcon shouldn't automatically set graphics mode
2001-04-17 16:27:20 +00:00
agc
d7d36b3561 + 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 10:57:56 +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
94dc65fbec Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:38:16 +00:00
fredb
f8363e87f7 Fix a few more paste-o's. 2001-02-07 05:16:39 +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
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
hubertf
b9fa279bce Make sdl-config --libs find libX11. 2000-12-27 11:54:32 +00:00
wiz
e8838ef323 Update to 1.1.6. Changes are bugfixes only. 2000-12-03 04:33:10 +00:00
rh
51057f7f58 Fix several severe problems that prevented this package from passing its
own tests.
Bump version to 1.1.5nb1

Changes include:
	- make multithreading actually work
	- activate esound backend
	- /dev/dsp -> /dev/audio
	- /dev/cdrom -> /dev/cd?a
	- tons of bugfixes
2000-10-22 16:55:19 +00:00
rh
1d8820934c Use new USE_MESA variable to depend on the correct Mesa packages 2000-10-15 12:06:32 +00:00
wulf
179a4b1f67 Updated to SDL-1.1.5 and bugfixes 2000-10-15 07:39:43 +00:00
skrll
ae5849c8bb Hack build so that automake doesn't use CXX for link stage in libjoystick. 2000-10-13 20:43:33 +00:00
dmcmahill
daa4c98202 do not list ELF shared lib links in PLIST. 2000-08-22 13:46:13 +00:00
wiz
e0f058e5ad Initial import of SDL, a multimedia library mainly for games.
Currently using pth instead of 'real' pthreads, and some parts (mainly
audio and obviously thread support) don't work correctly because of
that (unproven-pthreads misses pthread_cancel & friends to make it
work), but there are some programs that do.
2000-06-26 01:09:08 +00:00