Commit Graph

451 Commits

Author SHA1 Message Date
oga
73527bc941 *sigh* ioctls do not copyout when they return an error. DRM developers
need to learn this.

When set_tiling fails, keep tiling type at the type we already had, do
NOT use the parameters that we passed to the ioctl.

Noticed when i botched a kernel diff (locally) so that that ioctl failed
more often.

ok matthieu@
2010-04-25 14:35:49 +00:00
matthieu
1be894c1f4 Unlink libXp, libXprintAppUtil and libXprintUtil from the build.
Required ports updates and wantlib fixes handled by naddy@. Thanks a lot.
2010-04-24 20:13:07 +00:00
matthieu
5f5463b013 Update libXaw to version 1.0.7.
This version removes support for Xprint.
2010-04-23 19:37:47 +00:00
matthieu
a88f24fd32 Add libxcb/libxcb-dri2 here too. 2010-04-18 22:28:20 +00:00
matthieu
852acd6263 Update to libxcb 1.6. Mostly for new dri2 helper lib, requested by oga@. 2010-04-18 20:06:18 +00:00
matthieu
57a2ac348a regen for xcb-proto 1.6 2010-04-18 19:58:53 +00:00
oga
d0eeea4b45 don't allocate an array of pointers to structs when you want an array of
structs. Fixes cases where you need a lot of relocs so you overflow the
array.

Commited upstream about ten minutes ago. ok matthieu@
2010-04-11 18:04:04 +00:00
matthieu
479aed07ee Unlink deprecated xtrap, xevie and lbxutil libs and protos from the X build.
ok oga@, deraadt@.
2010-04-10 21:26:00 +00:00
oga
c7b8df8024 update libdrm to 2.4.15.
This diff seems larger than it is since upstream reindented some
sources.  This updates libdrm_intel to -current (which only affect the
GEM code) and libdrm to 2.4.15.  bumping both minor versions.

Discussed with matthieu@
2010-03-31 06:31:45 +00:00
matthieu
d346a77813 Update to pixman 0.16.6. Tested on a full ports build by naddy@. 2010-03-25 21:58:52 +00:00
matthieu
e248f65664 Update to fontconfig 2.8.0. Tested on a full ports build by naddy@. 2010-03-25 21:45:57 +00:00
matthieu
54193b0f27 Missing resurected files in freetype 2.3.12 2010-03-25 20:53:34 +00:00
matthieu
1be5fe96c1 Update to freetpe 2.3.12. Tested against ports by naddy@. 2010-03-25 20:49:53 +00:00
matthieu
df0647377b Update to freetpe 2.3.12. Tested against ports by naddy@. 2010-03-25 20:32:36 +00:00
matthieu
1ef4920a5b Remove a workaround for a gcc ICE on mips64 that was fixed
by a recent gcc commit.
2010-02-03 12:44:10 +00:00
matthieu
09d4825f0e Use DejaVu TrueType fonts as replacement for the Adobe bitmaps.
While here also provide a replacement for Courier New.
ok oga@
2010-01-21 19:57:57 +00:00
matthieu
9b4b09eb28 regen 2010-01-17 20:49:46 +00:00
matthieu
2dda0f8061 Use the new XORG_WITH_XMLTO macro in configure scripts and explicitely
disable it during Xenocara builds. Problem reported by kili@ who also
tested this patch with an earlier version of the macro.
2010-01-17 20:48:49 +00:00
oga
dc5950e7a9 typo in the !privsep path, from David Coppa (dcoppa at mail dot com);
thanks.

ok matthieu@
2009-12-09 16:57:37 +00:00
oga
b29bbd29c1 Some improvements from upstream for the GEM buffer object cache to stop the
cache growing stupidly big (like it used to).

ok matthieu@ ages ago.
2009-11-22 20:16:03 +00:00
naddy
c31a69de88 install xtrans.pc into the right directory 2009-11-01 00:25:29 +00:00
matthieu
ac420781e2 missed files during libXfont 1.4.1 update. 2009-10-31 21:03:28 +00:00
matthieu
ea581f5459 File missed in libXvMC 1.0.5 update. 2009-10-31 20:37:15 +00:00
matthieu
7e22364ad4 Update to xtrans 1.2.5 2009-10-31 20:34:07 +00:00
matthieu
d6f9ab8d4c update to libfontenc 1.0.5 2009-10-31 19:05:27 +00:00
matthieu
70416822d3 update to libXvMC 1.0.5 2009-10-31 18:59:06 +00:00
matthieu
03c653d165 update to libXv 1.0.5 2009-10-31 18:54:56 +00:00
matthieu
32b6dba0b2 update to libXt 1.0.7 2009-10-31 18:47:41 +00:00
matthieu
a5210f52a0 missed files in libXrender 0.9.5 update. 2009-10-31 18:42:41 +00:00
matthieu
e03850b02d update to libXrender 0.9.5 2009-10-31 18:41:19 +00:00
matthieu
139377e246 update to libXpm 3.5.8 2009-10-31 18:33:17 +00:00
matthieu
c06fd4db3a Update to libXmu 1.0.5 2009-10-31 18:29:37 +00:00
matthieu
fbfe310e31 Update to libXft 2.1.14 2009-10-31 18:23:14 +00:00
matthieu
6ac962e3d1 Update to libXfontcache 1.0.5 2009-10-31 17:58:21 +00:00
matthieu
c1572e04e6 Update to libXfont 1.4.1 2009-10-31 17:57:11 +00:00
matthieu
4a77a82c79 update to libXfixes 4.0.4 2009-10-31 17:55:07 +00:00
matthieu
659895ccf0 Update to libXdmcp 1.0.3 2009-10-31 17:53:31 +00:00
matthieu
4fbf34305a Update to libXdamage 1.1.2 2009-10-31 17:48:41 +00:00
matthieu
6a2eaba1d6 Update to libXcursor 1.1.10 2009-10-31 17:47:06 +00:00
matthieu
f043957069 Update do libXcomposite 0.4.1 2009-10-31 17:45:46 +00:00
matthieu
a9500da24b Update to libXau 1.0.5 2009-10-31 17:44:36 +00:00
matthieu
731fd0ecd0 Update to libXRes 1.0.4 2009-10-31 17:40:00 +00:00
matthieu
31a261e9a7 Update to libICE 1.0.6 2009-10-31 17:38:48 +00:00
matthieu
b929394cd1 Don't build profiled libs. No other X lib does. 2009-10-03 13:57:56 +00:00
matthieu
86fe704ca5 update to xcb-util 0.3.6. Tested on a packages bulk build by naddy@. 2009-09-05 15:55:46 +00:00
matthieu
7771e1d22c update to libXt 1.0.6 2009-08-23 15:56:08 +00:00
matthieu
b821fafa65 update to libSM 1.1.1 2009-08-23 14:08:00 +00:00
matthieu
3e1072ee96 update to libFS 1.0.2 2009-08-23 14:00:11 +00:00
oga
9997d7a073 backport some code from mesa current (and 7.5) so that the dri2 protocol
is correctly handled. without fixes to mesa and the ddx, the so-called
backwards compat goop that was added just plain does not work and ends
up with rendering bullshit.
2009-08-06 15:50:02 +00:00
matthieu
7edc2b5a56 Enable XCB on architectures with shared libs.
requested by sthen@.
2009-08-04 15:45:41 +00:00
matthieu
b9575da0ef OpenBSD's gcc 3.3 is capable of handling the MMX code of pixman.
Change the configure test so that it gets enabled.

Tested by marco@ ajacoutot@ ckuethe@ and others.
2009-07-28 19:01:29 +00:00
matthieu
8ab3717763 add -I${XCBUTIL}/${SUBLIB} to CPPFLAGS for gcc 2.95 2009-07-20 20:57:57 +00:00
matthieu
0d63acfc0e Fix build when XSRCDIR is not defined in /etc/mk.conf.
Problem reported by Chris Kuethe. Thanks.
2009-07-18 20:54:10 +00:00
matthieu
386cb73aae Add XCBPROTO_VERSION substitution for xcb.pc.
Problem reported by David Coppa. Thanks.
2009-07-18 20:06:46 +00:00
oga
6e3e5abe72 Fix libdrm for the buffer mapping strategy our GEM implementation will use
We always map through the gtt, never using the cpu mapping (this decreases
complexity a lot). Keep use of the original ioctl for this. Also don't bother
with userland domain setting, the kernel handles this correctly.

Finally, don't persist mapping across calls to unmap and remapping, this aids
with debugging, but may change later.

ok matthieu@.
2009-07-18 14:54:42 +00:00
matthieu
9e42493983 Use the bsd.xorg.mk rules to install the pkgconfig file and
add the libdrm_intel.pc. with oga@.
2009-06-27 10:02:53 +00:00
oga
c976b8a8ee Add support to the fake (non GEM) bufmgr for pinning and unpinning objects.
Makes overlay XV work with intel 2.7.1. ok matthieu@, tested by naddy@,
sturm@, matthieu@ and myself. This is most important for the x40 and
other 8xx chipset which lack textured video.
2009-06-21 17:39:53 +00:00
matthieu
406f757488 regen with autoconf 2.62p0. Fixes xserver build on macppc. 2009-06-12 19:33:24 +00:00
matthieu
546574439d unbreak arm builds by disabling simd and neon support for now. 2009-06-12 09:16:54 +00:00
todd
48a5587e8a fix gcc2ism, collaboration with matthieu 2009-06-11 16:32:52 +00:00
matthieu
9ff179ce74 Update to pixman 0.15.8. 2009-06-05 20:14:27 +00:00
matthieu
1793e9a798 Fix building without xcb. Found by david@. Thanks. 2009-06-04 16:36:07 +00:00
matthieu
9f4b406944 Fix build for system that don't set XSRCDIR explicitely.
Problem noticed by ckuethe@. Thanks.
2009-06-04 16:11:25 +00:00
matthieu
4d2e193a43 Use XENOCARA_HAVE_SHARED_LIBS and remove duplicate lines. 2009-06-04 00:40:05 +00:00
matthieu
72b4e41b8f if XENOCARA_BUILD_XCB is set, build the XCB version of libX11. 2009-06-04 00:13:56 +00:00
matthieu
be2770bef1 Use XENOCARA_HAVE_SHARED_LIBS from bsd.xconf.mk instead of hard-coding
the list here.
2009-06-03 23:56:07 +00:00
matthieu
ced3b52794 Don't use != to call pkg-config in Makefiles. It's slow and generates
tons of warnings if stuff isn't installed yet.
2009-05-31 18:01:28 +00:00
matthieu
8e91f6fca8 update to libxcb 1.3 2009-05-31 16:44:43 +00:00
matthieu
528fed7c9d regen for xcb-proto 1.5 2009-05-31 16:43:12 +00:00
matthieu
c4a03b3069 This is Mesa 7.4.2. from Brad. 2009-05-25 18:40:11 +00:00
matthieu
f9906a079e explicitely addt inter-library dependencies. 2009-05-23 15:08:50 +00:00
matthieu
123fa779a7 Add xcb-util subdirs and zap one level of recursive make by lising
libxcb subdirs here directly.
2009-05-23 15:07:17 +00:00
matthieu
23b4afe997 Replace autotools with a simpler BSD Makefile. 2009-05-23 15:04:34 +00:00
matthieu
a1e101f1b6 missing space 2009-05-23 14:44:52 +00:00
matthieu
96974b0e5b build system for xcb-util 2009-05-23 14:43:12 +00:00
matthieu
e0f9b43451 Fix main libxcb. There are some builtin extensions that were left out. 2009-05-23 08:44:32 +00:00
matthieu
351d96bb86 use .PATH.in to specifically look for unprocessed pkg-config files. 2009-05-22 21:39:17 +00:00
matthieu
f16e502a89 Add a Makefile that rebuilds sources from xml. 2009-05-22 20:27:21 +00:00
matthieu
4ea25686e6 remove one more junk file 2009-05-22 20:26:45 +00:00
matthieu
0f92e39028 Add support for building xcb (disabled for now). 2009-05-22 17:58:45 +00:00
matthieu
64717e7f32 Regen with OpenBSD's version of GNU autotools. 2009-05-22 17:52:38 +00:00
matthieu
4670eb975d use the code in bsd.xorg.mk to install headers. 2009-05-22 16:53:05 +00:00
matthieu
fc61d47eda OpenBSD stuff for libpthread-stubs:
- add a Makefile wrapper
- fix pthread_self() prototype.
2009-05-22 16:29:39 +00:00
matthieu
56772b1b3d finish replacing PC= with PKGCONFIG= in all Makefiles. 2009-05-22 16:22:47 +00:00
matthieu
b98d91aef9 remove crap that I forgot to clean before import. 2009-05-22 16:16:04 +00:00
matthieu
8e879d90d1 Xenocara build infrastructure for libxcb.
This includes a set of pre-generated sources files in src/ so that
python and xslt are not needed to build.
2009-05-22 16:09:01 +00:00
matthieu
713e291cb6 import libpthread-stubs 0.1 2009-05-22 15:50:33 +00:00
matthieu
4be2d14bbe Update build infrastructure for Mesa 7.4. 2009-05-17 20:20:23 +00:00
oga
9ac48f3cd2 fontconfig update didn't merge in the addition of 31-nonmst.conf, fix it up.
ok kettenis@
2009-05-03 21:13:54 +00:00
oga
54ef134d1f update libdrm to 2.4.9 (actually to -current, but the only real changes
are to some assertions and a small change to modesetting code).

bump libdrm_intel minor due to added symbols, libdrm doesn't get bumped,
no change to symbol list.

ok matthieu@.
2009-05-03 19:43:26 +00:00
matthieu
8bb5fd8a8f update to libX11 1.2.1 2009-05-03 12:59:09 +00:00
matthieu
0624b5db7f update to libXi 1.2.1 2009-05-02 15:23:04 +00:00
matthieu
40a10a14cb update to libXrandr 1.3.0 2009-05-02 15:20:43 +00:00
matthieu
164d06ad38 Fixes for CVE-2009-0946 from freetype2 git repository:
Multiple integer overflows in FreeType 2.3.9 and earlier allow remote
attackers to execute arbitrary code via vectors related to large values
in certain inputs in (1) smooth/ftsmooth.c, (2) sfnt/ttcmap.c,
and (3) cff/cffload.c.
Plus one additional fix for malformed compressed data.
2009-04-27 07:11:16 +00:00
oga
76b1ece233 Use the correct size when mapping the legacy vga rom.
fixes errors (and probably bugs) on intel hardware (at the least).

ok matthieu@
2009-04-17 09:03:14 +00:00
matthieu
c1e1a9267a Merge libpciaccess 0.10.5. No functionnal change on OpenBSD. 2009-04-14 20:14:23 +00:00
matthieu
2b54a7b79e Remove git file that should not have been imported initially. 2009-04-14 19:47:28 +00:00
matthieu
4db85dc6bb regen 2009-04-09 20:30:25 +00:00
matthieu
6a4a9fe60e Update to libICE 1.0.5.
Main change: ansification.
Bumped major since some symbols which were not part of the public API
have been changed to 'static'.
2009-04-09 20:29:45 +00:00
matthieu
6cd6a1d6f1 Update to fontconfig 2.6.0. ok naddy@
this uses a patched version of libtool to fix linking on vax.
2009-04-05 16:43:35 +00:00