Commit Graph

381 Commits

Author SHA1 Message Date
matthieu
1199942381 Implement pci_device_read_rom() for arbitrary PCI cards, including
secondary VGA. With help from kettenis@. ok kettenis@, miod@.
2008-12-07 17:42:21 +00:00
matthieu
63f16983cf Fix a logic error in pci_device_openbsd_write() that actually
prevented it to write anything.
2008-11-25 11:40:56 +00:00
todd
5fe2c4cd47 add -fPIC for sparc
ugly, but ok matthieu@
2008-11-05 07:18:25 +00:00
oga
4cd1a7a593 When trying to map a piece of device memory with a cacheability attribue
(e.g.  the graphics aperture on most video cards), don't error if we
failed to set the mtrr but the map succeeded. Instead print a warning (other
osen handle this case similarly).

Libraries shouldn't use fprintf(stderr, ...); but libpciaccess is really
quite poorly designed.

This diff means that mine and drahn's laptops work with xserver 1.5.

ok kettenis@
2008-11-03 23:22:37 +00:00
matthieu
811bfaa46d This is now Mesa 7.2. Noticed by brad@. Thanks. 2008-11-02 16:45:34 +00:00
matthieu
b4cc3aa54b Build fix. There were symlinks hiding in the git repository... 2008-11-02 16:07:40 +00:00
matthieu
1f0bb4e239 Build libpciaccess for xserver 1.5. 2008-11-02 15:18:49 +00:00
matthieu
8baeee737f Update build infrastructure for libGL after Mesa 7.2 update. 2008-11-02 15:01:32 +00:00
matthieu
065e5e702a - Add a method to read the legacy BIOS region on alpha/amd64/i386
- Restrict MTRR calls to amd64/i386.
ok kettenis@
2008-10-13 21:08:13 +00:00
matthieu
b65cb15bba provide a pciutils style pci.ids file for libpciaccess.
ok todd@ deraadt@
2008-10-05 08:06:06 +00:00
matthieu
5a48aa5db0 pixman 0.12.0. Tested on a full ports build by naddy@. 2008-09-23 19:11:40 +00:00
matthieu
3f497bc04d allow 2 successives calls to pci_system_init() and fix pci_system_cleanup()
to make it possible to call pci_system_init() again.
ok kettenis@.
2008-09-20 16:35:17 +00:00
matthieu
2252cd2bcd Fix clean target. 2008-09-14 19:47:42 +00:00
todd
588fc7f022 enable pixman for landisk now that it builds, from brad@ 2008-09-08 12:20:47 +00:00
matthieu
5e5620f8d4 libXau 1.0.4 (no binary change on OpenBSD) 2008-08-27 19:42:20 +00:00
oga
5c3f5f1a24 update libdrm to 2.3.1 preserving local changes. This was tested by
several before lock.

ok matthieu.
2008-08-26 16:36:24 +00:00
matthieu
f8e0dbd0cd Update to Freetype 2.3.7. This is a bug fix release. No API change. 2008-08-21 05:09:08 +00:00
brad
8a571d626f Bump MESA_TINY (2 -> 3) after the last update of Mesa to 7.0.3
so that the pkgconfig files have the correct version.

ok okan@
2008-07-16 20:24:39 +00:00
matthieu
6f11b80c67 Update to freetype 2.3.6.
Contains security fixes for CVE-2008-1806, CVE-2008-1807 and CVE-2008-1808.
Tested by many.
2008-06-22 17:37:35 +00:00
matthieu
bb20080d18 Fix build on systems with getpwuid_r(). 2008-06-21 17:49:12 +00:00
matthieu
9fb72336cb Bump OpenBSD's libpciacces revision to be at least the version
generated by the unpatched one. (libpciaccess is not currently linked
to xenocara builds)
2008-06-15 04:56:00 +00:00
matthieu
f4e34ed34a update to libpciaccess 0.10.3. 2008-06-15 04:50:02 +00:00
matthieu
657fa78569 XF86VidModeGetMonitor: don't return static strings to the caller when
the man page says it's dynamically allocated memory. Just leave the
NULL there (after discusion with Adam Jackson from X.Org).
also remove the RCS keyworks while there to ease future merge.
2008-06-13 17:30:58 +00:00
oga
4b526e486b change /dev/dri/card0 to /dev/drm0. Subdirs in /dev considered
irritating.
2008-06-12 22:20:24 +00:00
oga
e21a353dbc Enable privsep support. Finally!
ok matthieu@.
2008-06-12 18:52:07 +00:00
matthieu
8d46f8e4f0 Update to libX11 1.1.4. I've carefully checked that there's no API/ABI
change in this version. Only small bug fixes, manual page fixes and
some more data in the i18n tables.
2008-06-11 20:55:41 +00:00
matthieu
f01cdd7229 - actually zero the memory returned by realloc().
- set the return value for the pthread_once() stub.
2008-06-10 22:01:31 +00:00
oga
eb88ad3f01 Include stdlib.h so we have the prototype for realloc. This means that we don't
assume realloc returns an int. This causes problems...

This took me hours to find.

Ok matthieu@.
2008-06-10 21:24:16 +00:00
matthieu
80656e86d4 Update to Mesa 7.0.3. tested my oga@ and johan@ 2008-05-31 16:36:47 +00:00
matthieu
cae2cf16df Update to libxtrans 1.2 2008-05-24 15:44:21 +00:00
matthieu
d8808c0da2 Update to libxkbfile 1.0.5 2008-05-24 14:21:56 +00:00
matthieu
b9c810fd57 Merge libpciaccess 0.10.2, including kettenis@ OpenBSD port. 2008-05-24 14:14:00 +00:00
matthieu
a8393f0f0c update to libXv 1.0.4 2008-05-24 13:46:47 +00:00
matthieu
b40a014ccf update to libXinerama 1.0.3 2008-05-24 13:31:12 +00:00
matthieu
b6e6f0b4c0 merge libXfont 1.3.2. bump major since some symbols were removed. 2008-05-24 13:29:07 +00:00
matthieu
28676ec1c9 Update to libXext 1.0.4 2008-05-24 09:29:33 +00:00
matthieu
c17f6cf0ff update to libXScrnSaver 1.1.3 2008-05-24 09:17:11 +00:00
matthieu
d8ac6b7b37 update to libFS 1.0.1 2008-05-24 09:02:48 +00:00
matthieu
27ae5db2a9 dri libs depend on libmesa_pic.a 2008-04-19 07:15:17 +00:00
matthieu
42f2fadde6 pthread_key_create(3) explicitely says that the value associated
with a new key is NULL. So set the allocated memory to zero.
2008-04-17 20:25:05 +00:00
matthieu
9c8d91fa20 Add back a real ChangeLog. automake requires it. 2008-04-10 21:04:35 +00:00
matthieu
52cd517993 remove empty file 2008-04-08 19:49:13 +00:00
matthieu
520b0cd455 Update to pixman 0.10, with one small fix to the sse2 test in configure.ac. 2008-04-08 19:06:14 +00:00
matthieu
ba51a4b66c Update to pixman 0.10, with one small fix to the sse2 test in configure.ac. 2008-04-08 19:00:25 +00:00
matthieu
5021df1c2f Unconditionnaly build libdrm on i386 since the via driver needs some
bits of it. Noticed by naddy@.
2008-04-02 20:05:35 +00:00
matthieu
08aaed925b - get rid of recalloc() that got introduced here.
- while there fix the computation of the new allocated size.
Issue reported by naddy@, ok naddy@.
2008-03-30 15:54:33 +00:00
matthieu
bbc31bf586 Introduce bsd.xconf.mk to set default config variables used
at several places in the Xenocara build in a central place instead
of duplicating the checks all over the place. ok oga@.
2008-03-25 23:41:50 +00:00
oga
223fbde840 Fix libmesa build on amd64 with XENOCARA_BUILD_DRI enabled.
Initial fix from phessler, help from matthieu. Thanks to both!
2008-03-23 16:43:25 +00:00
oga
aad4718a0c Install libdrm before libGL. That way if we're building X on a clean system
with dri, libGL doesn't fail due to drm.h being missing.

ok matthieu@. Patch from Peter Hessler, thanks!
2008-03-21 21:07:48 +00:00
naddy
e4bcb354a2 Fix segfaults if you use XDM-AUTHORIZATION-1 authorization keys for
remote X11 clients over IPv6.  ok matthieu@
2008-03-18 15:50:38 +00:00
matthieu
7830df18ed Regen with autoconf 2.59-p2, with AM_SANITY check zapped. 2008-03-15 18:08:24 +00:00
matthieu
6869a2ba6e dri drivers need too be linked against libX11 for AIGLX (for threads stubs).
Problem found by oga@. Thanks.
2008-02-20 22:41:51 +00:00
matthieu
e4ccaa70a5 Include /usr/local/lib/X11/icons in the default cursor search path. 2008-02-20 22:23:07 +00:00
miod
c6e9e7751a Disable loadable cursor on m88k systems (no shared libraries). 2008-02-14 20:28:10 +00:00
matthieu
e3881499cc - remove stuff that we don't want from drmOpenDevice()
- prepare for privilege separation support.
ok oga@.
2008-02-12 21:27:14 +00:00
matthieu
b139abf7aa Update to Mesa 7.0.2. Tested by naddy@ (full ports build), simon@
and oga@ (with dri enabled).
2008-02-12 21:09:25 +00:00
matthieu
15c0627981 regen 2008-02-09 18:15:52 +00:00
matthieu
10f4ae5e83 Stop linking libXaw7.so.<n-1> to libXaw.so.7.<n-1>
Bump majors (needed but forgotten after previous libX11 bump).
After discussion with kettenis@
2008-02-09 18:08:49 +00:00
oga
e571581c1f Fix the linkage and CFLAGS of the dri libs. they don't segfault immediately
on startup now.

still a little sketchy though.
2008-02-07 00:09:01 +00:00
matthieu
098b2a2a58 Don't change the libGL linkage when not using dri. 2008-02-02 17:38:56 +00:00
matthieu
e4f12cdae7 remove extra white space 2008-02-02 17:36:48 +00:00
matthieu
f872674912 stuff for building libGL with dri support. Also includes clean-up
of the regular libGL build. bump major because some symbols were
removed. ok oga@
2008-02-02 17:24:30 +00:00
matthieu
e6e77f8eea remove useless rules for .cpp files. 2008-01-30 21:21:35 +00:00
matthieu
4ca84ce6c5 Fix from X.Org for CVE-2008-0006 - PCF Font parser buffer overflow. 2008-01-17 15:44:49 +00:00
matthieu
da301e0d8a Better support for recursive make. 2008-01-06 18:34:38 +00:00
matthieu
4ff8d6b770 Fix build with gcc 2.95. 2007-12-14 07:31:35 +00:00
matthieu
b39707c5ac Merge pixman 0.9.6. Valery Masiutsin and other report that it fixes some
X crashes on amd64. Bump major since one function was removed.
2007-12-10 21:30:21 +00:00
matthieu
ae131499c7 pixman 0.9.6 2007-12-10 21:10:19 +00:00
matthieu
594ab30bdc remove emacs droppings that were not ignored by cvs 2007-12-04 22:23:50 +00:00
matthieu
b33b8154a6 Build infrastructure for libGL dri modules.
Work in progress, not connected to the build yet.
2007-12-04 22:00:27 +00:00
matthieu
5eb7bbe722 I did not intend to commit the XENOCARA_BUILD_DRI bit at all. 2007-11-27 09:55:06 +00:00
todd
25382573c6 default to not building DRI for now to permit x snaps to build, found by
Johan Lindman, thanks
2007-11-26 20:47:35 +00:00
matthieu
bfba922c91 Re-enable pthread support in libGL, by providing proper weak stubs in
libX11 (together with other pthread stubs, already there for libX11).
ok kurt@, art@, kettenis@
2007-11-26 15:10:19 +00:00
matthieu
afad917171 make libGL config closer to what was in the previous version:
- disable threads support
- link against libXext and libX11
2007-11-25 10:18:21 +00:00
matthieu
733e3c4fff Update to Mesa 7.0.1. For now only indirect GLX is enabled in libGL. 2007-11-24 17:46:55 +00:00
matthieu
fb5a8daf22 merge libXi 1.1.3 2007-11-24 17:03:34 +00:00
matthieu
3d6019abca libXi 1.1.3 2007-11-24 16:45:12 +00:00
matthieu
f68d10dc1f merge libXrandr 1.2.2 2007-11-24 16:42:56 +00:00
matthieu
49085abc0f libXrandr 1.2.2 2007-11-24 16:38:43 +00:00
matthieu
1969f0b7b1 Don't hard-code sizeof(long) in ftconfig.h. Fixes 64bit architectures.
Problem noticed by sturm@.
2007-11-24 15:48:33 +00:00
matthieu
ab927dd41b merge libXfont 1.3.1 2007-11-24 14:38:25 +00:00
matthieu
9a72b78842 libXfont 1.3.1 2007-11-24 14:31:47 +00:00
matthieu
b66e17dd2f Add a '-c' option to fc-cache to do a chroot before (re)building the
font cache. Useful for builds with $DESTDIR set, to prepare a binary
distribution.
2007-10-27 20:00:20 +00:00
matthieu
a12489dbfe Enable pixman on all architectures but sh (triggers a compiler error) in
preparation for xserver 1.4.
2007-10-27 19:57:48 +00:00
matthieu
8f07cc07fd Use buils/unix/ftsystem.c instead of the generic ANSI C one, which
doesn't set CLOSE_ON_EXEC on files descriptors opened by freetype.
Fixes a fd leak reported by kurt@. Tested by naddy@ and others.
2007-10-27 07:09:48 +00:00
matthieu
2031f13b92 regen 2007-10-20 20:30:29 +00:00
matthieu
5223801460 force HAVE_GTK=no. 2007-10-20 20:30:06 +00:00
matthieu
08de65f206 Sync initial shared lib number with the one computed by libtool. 2007-10-20 20:24:01 +00:00
matthieu
a8a2c41542 expat is now in base, xmlwf in ports 2007-10-20 12:49:39 +00:00
matthieu
38811c7475 Don't build expat here anymore. 2007-10-20 12:36:29 +00:00
matthieu
c86602f862 regen 2007-10-08 19:42:58 +00:00
matthieu
3594557781 Linuxism crept back in recent merge. Noticed by todd@ 2007-10-08 19:38:03 +00:00
matthieu
eb3008a9ee library is called libpixman-1 for some reason. 2007-10-03 20:58:49 +00:00
matthieu
eb1585bab0 - Add BSD makefile
- regen autotools files with OpenBSD tools.
2007-10-03 20:53:30 +00:00
matthieu
bd3d6b5e70 import pixman 0.9.5 2007-10-03 20:48:33 +00:00
matthieu
da60e93d5f merge libXaw 1.0.4 2007-09-30 13:42:29 +00:00
matthieu
d46f1bdbe7 libXaw 1.0.4 2007-09-30 13:33:41 +00:00
matthieu
5f86a80368 Merge libX11 1.1.3
bump major
2007-09-30 10:35:10 +00:00
matthieu
a72daf0a1a libX11 1.1.3 2007-09-30 10:11:57 +00:00
matthieu
6e574b582f merge libICE 1.0.4 2007-09-30 09:26:40 +00:00
matthieu
e51f0a8397 libICE 1.0.4 2007-09-30 09:23:08 +00:00
matthieu
a200e32164 merge xtrans 1.0.4 2007-09-30 09:12:03 +00:00
matthieu
521c91785b xtrans 1.0.4 2007-09-30 08:56:08 +00:00
matthieu
5c97d72158 merge libXpm 3.5.7 2007-09-30 08:42:34 +00:00
matthieu
3fa7de0f34 libXpm 3.5.7 2007-09-30 08:38:09 +00:00
matthieu
6261cdbe9e merge libXrender 0.9.4 2007-09-30 07:51:53 +00:00
matthieu
d4ca04b2e7 libXrender 0.9.4 2007-09-30 07:47:05 +00:00
matthieu
03e0686d13 merge libXdamage 1.1.1
bump minor library revision
2007-09-30 06:49:16 +00:00
matthieu
4cf606b741 libXdamage 1.1.1 2007-09-30 06:44:10 +00:00
matthieu
61f62dde55 merge libXcomposite 0.4.0 2007-09-30 06:17:20 +00:00
matthieu
4ecaca7a17 libXcomposite 0.4.0 2007-09-30 06:12:46 +00:00
matthieu
072724c014 merge libXxf86dga 1.0.2 2007-09-29 20:15:41 +00:00
matthieu
8fcba43e55 libXxf86dga 1.0.2 2007-09-29 20:10:34 +00:00
matthieu
385ccfe82e merge libXtst 1.0.3 2007-09-18 21:28:04 +00:00
matthieu
22d7fc382f libXtst 1.0.3 2007-09-18 21:23:49 +00:00
matthieu
1c51a6393f merge libXcursor 1.1.9 2007-09-18 21:12:55 +00:00
matthieu
84194b92f1 libXcursor 1.1.9 2007-09-18 21:09:33 +00:00
matthieu
9587a0640f merge libXinerama 1.0.2 2007-09-18 21:04:16 +00:00
matthieu
3b41279aab libXinerama 1.0.2 2007-09-18 20:59:18 +00:00
matthieu
3c28b922f5 More bits for freetype 2.3.5 2007-09-08 16:59:03 +00:00
matthieu
f4cb73c397 Merge freetype 2.3.5. Tested by naddy@ and mbalmer@. 2007-09-08 16:39:54 +00:00
matthieu
f731f6acb5 import freetype 2.3.5 2007-09-08 16:28:30 +00:00
matthieu
a39960ebe1 Merge libXfont 1.3.0. Tested by naddy@ and mbalmer@. 2007-09-08 16:24:20 +00:00
matthieu
82525649d2 import libXfont 1.3.0 2007-09-08 16:13:41 +00:00
matthieu
f950121973 One RCSid is enough. 2007-08-25 17:56:54 +00:00
matthieu
f4ec91f36f merge expat 2.0.1. Tested by simon@ 2007-08-25 17:35:23 +00:00
matthieu
3ca542d749 import expat 2.0.1 2007-08-25 17:32:07 +00:00
matthieu
a5c9dfc57e regen 2007-08-07 10:13:27 +00:00
matthieu
9ddea66c88 Don't install symlinks to non-existent shared libs on architectures
without shared libraries.
2007-08-07 10:08:36 +00:00
matthieu
8370179c25 regen 2007-07-29 10:50:16 +00:00
matthieu
280de4f507 remove -DUSE_XM_STUBS. I didn't not intend to commit this. 2007-07-29 08:32:45 +00:00
matthieu
99503146e2 Bring in GLw from XF4, to replace the Mesa version. This version
has Motif support enabled using a couple of hacks that Mesa didn't
pick up. ok mbalmer@
2007-07-28 13:50:48 +00:00
matthieu
495882d9db remove unneeded files 2007-06-16 16:34:59 +00:00
matthieu
9411e2c68c merge libpciaccess 2007/06/16 2007-06-16 16:22:09 +00:00
matthieu
ed93913cf1 Import libpciaccess from git as of today.
Changes: solaris support added.
2007-06-16 16:13:55 +00:00
matthieu
050c62ce96 sync 2007-06-06 21:02:47 +00:00
matthieu
64125c3e0e skeleton OpenBSD port of libpciaccess 2007-06-06 21:01:25 +00:00
matthieu
75cf712a68 I didn't intend to add this file. 2007-06-06 20:22:07 +00:00
matthieu
2632487b54 build infrastructure 2007-06-05 20:13:58 +00:00
matthieu
90b5879678 import libpciaccess 070327 2007-06-05 20:08:56 +00:00
matthieu
991b09817c merge 2007-05-31 23:08:21 +00:00
matthieu
0771eca1a4 import libSM 1.0.3 2007-05-31 23:05:27 +00:00
matthieu
cd8ca82527 Don't strip this library. 2007-05-31 21:18:47 +00:00
matthieu
2492fc4c5f Don't run fc-cache while running make install there. It's just a waste
of time.
2007-05-31 15:53:10 +00:00
matthieu
e51592142f fix two instances XORG_PREFIX that escaped renaming to X11BASE. 2007-05-29 15:37:57 +00:00
matthieu
15235d0d22 Fix for CVE-2007-2754: integer overflow that can lead to an heap overflow.
Discovered by Victor Stinner. Patch from Freetype repository.
2007-05-25 01:23:29 +00:00
matthieu
5e3d3f0c72 regen 2007-05-17 09:48:54 +00:00
matthieu
d603235ce2 Remove extraneous dependency on libXt 2007-05-17 09:48:27 +00:00
matthieu
987805ed7b - Disable OpenGL parts on vax and sgi
- Disable Xprt on vax and landisk
Xenocara now builds on vax
2007-05-12 14:24:59 +00:00
matthieu
a6079ffe8c Fix build on systems with static libs only. 2007-05-08 21:07:55 +00:00