Commit Graph

749 Commits

Author SHA1 Message Date
matthieu
1064b1a62a Ugly fix for libXi on sparc64.
May change if upstreams fix it differently.
Still broken on cross-endian remote connections though.
2011-03-27 20:17:17 +00:00
naddy
a17d3bcc89 Force alignment with sizeof(Atom) for XIButtonClassInfo.
From upstream; ok matthieu@
2011-03-18 20:08:27 +00:00
matthieu
7ae39052df xcb is no longer optional. 2011-03-08 20:48:59 +00:00
matthieu
cf9b06cfa2 Bug-fix upgrade to pixman 0.20.2. No API/ABI change.
tested by shadchin@, ajacoutot@, krw@, ok miod@
2011-01-22 08:32:55 +00:00
miod
47b6998e0f Enable weak symbols under OpenBSD on non-ELF platforms, too.
ok matthieu@ todd@
2011-01-20 21:43:47 +00:00
kettenis
3ff4e178c2 Indicate that devices need access to legacy VGA resources. Makes sure xserver
disables DRI if the VGA arbiter is in use.

ok matthieu@
2011-01-12 21:49:21 +00:00
matthieu
cc84c83945 Do not remove(3) the device entry if open fails. ok oga@ 2010-12-22 21:34:51 +00:00
matthieu
21087514c1 Update to freetype 2.4.4. Tested by shadchin@, ajacoutot@, krw@. 2010-12-19 16:08:12 +00:00
matthieu
52cf0a800d Update to pixman 0.20.0.
tested by ajacoutot@, krw@ and on a bulk ports build by landry@.
2010-11-14 13:42:49 +00:00
matthieu
23853009c8 Explicitely disable build of specs. 2010-11-11 10:54:03 +00:00
matthieu
9a4e11a14a Update to libXi 1.4.0. small bug fixes plus doc/spec/autotools churn. 2010-11-11 10:49:21 +00:00
matthieu
2514f2c1df Update to xtrans 1.2.6. Only a small bug fix in addition to the
usual doc/autotools churn.
2010-11-11 10:34:28 +00:00
matthieu
2b655e7a9e Update to libXft 2.2.0
Tested by ajacoutot@, jasper@, krw@ and on a bulk ports build by landry@
2010-11-11 10:18:57 +00:00
matthieu
5748f35886 Update to libXext 1.4.0.
Tested by ajacoutot@, jasper@, krw@ and on a bulk ports build by landry@
2010-11-11 10:17:24 +00:00
matthieu
4088d0fef3 Update to libXdmcp 1.1.0.
Tested by krw@, ajacoutot@, jasper@ and on a bulk ports build by landry@
2010-11-11 10:14:40 +00:00
matthieu
4aee46235d Security MFC for CVE-2010-3855
commit 59eb9f8cfe7d1df379a2318316d1f04f80fba54a
Author: Werner Lemberg <wl@gnu.org>
Date:   Tue Oct 12 07:49:17 2010 +0200

    Fix Savannah bug #31310.

    * src/truetype/ttgxvar.c (ft_var_readpackedpoints): Protect against
    invalid `runcnt' values.
2010-11-06 16:46:57 +00:00
matthieu
625c5107a5 MFC security fix for CVE-2010-3814
commit 0edf0986f3be570f5bf90ff245a85c1675f5c9a4
Author: Werner Lemberg <wl@gnu.org>
Date:   Wed Oct 6 11:52:27 2010 +0200

    [truetype] Improve error handling of `SHZ' bytecode instruction.
    Problem reported by Chris Evans <scarybeasts@gmail.com>.

    * src/truetype/ttinterp.c (Ins_SHZ): Check `last_point'.
2010-11-06 16:45:49 +00:00
matthieu
654eabe550 Fix weak symbols declarations for gcc 2.95 2010-11-02 07:51:54 +00:00
matthieu
868f443a6c Fix installation when install-sh is not executable.
the nobase_* variables force the use of install-sh, without '${SHELL}'.
Use a more traditional approach, that uses the normally probed INSTALL
program. Problem noticed by oga@.
2010-11-01 14:58:19 +00:00
matthieu
2d5153cb87 Update to libxkbfile 1.0.7. No functional change. 2010-10-31 16:50:28 +00:00
matthieu
7b1e02fed8 Update to libfontenc 1.1.0. No functional change. 2010-10-31 16:47:11 +00:00
matthieu
e005af3d5e Update to libdmx 1.1.1. No functional change. 2010-10-31 16:43:22 +00:00
matthieu
27332c2934 Update to libXxf86vm 1.1.1. No functional change. 2010-10-31 16:40:21 +00:00
matthieu
61418a71fe Update to libXxf86dga 1.1.2. No functional change. 2010-10-31 16:35:36 +00:00
matthieu
6e83747cf4 Update to libXv 1.0.6. No functional change. 2010-10-31 16:30:04 +00:00
matthieu
61c864510e Update to libXtst 1.2.0. No functional change. 2010-10-31 16:25:10 +00:00
matthieu
c272d704cd Update to libXt 1.0.9. No functional change. 2010-10-31 16:05:19 +00:00
matthieu
6eadfc6665 Update to libXrandr 1.3.1. No functional change, except for a small bug fix. 2010-10-31 15:52:40 +00:00
matthieu
6ac99b1380 Update to libXpm 3.5.9. No functional change. 2010-10-31 15:46:32 +00:00
matthieu
1bf1f1eb7c Update to libXmu 1.1.0. No functional change. 2010-10-31 15:35:49 +00:00
matthieu
849a4e6d02 Update to libXinerama 1.1.1. No functional change. 2010-10-31 15:23:41 +00:00
matthieu
31eafa7442 Update to libXfont 1.4.3. No functional change. 2010-10-31 15:09:45 +00:00
matthieu
883558059e Update to libXcursor 1.1.11. No functional change. 2010-10-31 14:01:48 +00:00
matthieu
0023d90dd4 Update to libXcomposite 0.4.3. No functional change. 2010-10-31 13:57:01 +00:00
matthieu
0160e37394 Update to libXaw 1.0.8. No functionnal change. 2010-10-31 11:31:11 +00:00
matthieu
d8a4565a51 Update to libXScrnSaver 1.2.1. No functionnal change. 2010-10-31 10:32:43 +00:00
matthieu
8d0a4ee38e Update to libXres 1.0.5. No functionnal change. 2010-10-31 10:24:17 +00:00
matthieu
b8b5099e37 Update to libFS 1.0.3. No functionnal change. 2010-10-31 10:19:43 +00:00
matthieu
bfe3d87ade Update to freetype 2.4.3. Tested at least by krw@, ajacoutot@ and jasper@ 2010-10-23 19:30:16 +00:00
matthieu
bfe02ac685 Explicitely disable build of docs (otherwise done if groff is found) 2010-10-22 20:01:27 +00:00
matthieu
92b4be9451 Explicitely disable docs build (otherwise done if groff is found) 2010-10-22 19:58:35 +00:00
matthieu
54c946e7c3 Explicitely disable groff. 2010-10-22 19:50:32 +00:00
matthieu
502b62f99f Update to libX11 1.3.6.
Tested by ajacoutot@, jasper@ and krw@.
2010-10-05 19:50:57 +00:00
matthieu
203a984640 g/c some old amd64 bits from pixman's Makefile.bsd-wrapper.
from Brad. Thanks.
2010-10-04 05:46:54 +00:00
matthieu
9174b01172 Update to pixman 0.18.4.
Tweak build to use libpthread-stubs for TLS emulation instead of forcing
every application using pixman to use -pthread.

Tested by jasper@ and landry@ on a bulk ports build.
2010-10-03 18:30:04 +00:00
matthieu
d72e46519b Update to libpthread-stubs 0.3 and add pthread_once(),
pthread_key_create() and pthread_{get,set}_specific() stubs needed by
upcoming libpixman update.

Tested by jasper@ and landry@ on a bulk ports build.
2010-10-03 18:27:11 +00:00
matthieu
3ea6e813ac regen 2010-10-03 14:27:14 +00:00
matthieu
3c4f0cc6df Use the XORG_WITH_XMLTO and XORG_WITH_ASCIIDOC macros.
This change was apparently didn't make it upstreams into 1.3.2 and
got lost.
2010-10-03 14:26:02 +00:00
matthieu
f71ecdef37 fix merge botch 2010-09-04 13:01:38 +00:00
matthieu
f42887fa64 Update to libXfont 1.4.2 2010-09-04 10:37:30 +00:00
matthieu
a6c32b4cbf Add 2 missed files in previous update to libX11 1.3.5. 2010-09-04 10:36:30 +00:00
matthieu
6c940574a9 Update to libX11 1.3.5 2010-09-04 10:33:11 +00:00
matthieu
c6379e8bf8 Missed re-added file in libXi 1.3.2. update. 2010-09-04 10:18:16 +00:00
matthieu
9d9f84909a Update to libXi 1.3.2 2010-09-04 10:16:57 +00:00
matthieu
08a25eefda Update to libXi 1.3.2 2010-09-04 10:02:49 +00:00
matthieu
4638a5f252 Update to libxcb 1.7 2010-09-04 10:00:58 +00:00
matthieu
45438d0119 Update to freetype 2.4.2. This has been in snapshots for a while
and tested explicitely by ajacoutot@ jasper@, jcs@, krw@ and others
on various architectures.
2010-09-01 19:14:23 +00:00
todd
27291783e7 enable pixman (with a workaround from miod@) for m68k, fixes hp300 and mvme68k 2010-08-25 17:44:24 +00:00
matthieu
f3d331c594 Update to libXvMC 1.0.6. No functionnal change. 2010-08-22 10:02:29 +00:00
matthieu
72c75692e9 Update to libXau 1.0.6. No functional change. 2010-08-21 16:11:03 +00:00
matthieu
c9254707d2 Current pixman lib doesn't build on m68k. Disable it on those machines.
ok deraadt@
2010-08-02 18:45:02 +00:00
matthieu
f256c6eec5 Update to libpciaccess 0.12.
We already had most of the code from this version, it just add
2 bug fixes. no ABI/API change.
2010-07-31 08:05:06 +00:00
matthieu
ae10e3711f avoid segfault in pci_device_vgaarb_fini() when called without
initializing the library first. (This happens when invalid options
are passed to X for instance). ok kettenis@
2010-07-26 18:48:48 +00:00
oga
e4c82170c3 Support the apis for getting vblank events from the drm fd. (only vblank
events for now, pageflip events require kms and thus have not yet been
added).

Bumps libdrm minor version.
2010-07-18 21:02:35 +00:00
matthieu
f7508ba344 update to libXext 1.1.2 2010-07-17 15:31:12 +00:00
matthieu
7da8b0321b update to libXrender 0.9.6 2010-07-17 15:28:21 +00:00
matthieu
47798031f8 Update to libXfixes 4.0.5 2010-07-17 15:21:59 +00:00
matthieu
dc33408b31 update to libXdamage 1.1.3 2010-07-17 15:16:03 +00:00
matthieu
93bf0d405e Update to libXcomposite 0.4.2 2010-07-17 15:07:18 +00:00
matthieu
2b3e93e33b patches from Freetype.org for the security issues found by Robert Swiecki:
CVE-2010-2497 freetype integer underflow
CVE-2010-2498 freetype invalid free
CVE-2010-2499 freetype buffer overflow
CVE-2010-2500 freetype integer overflow
CVE-2010-2519 freetype heap buffer overflow
CVE-2010-2520 freetype buffer overflow on heap
2010-07-17 14:06:43 +00:00
matthieu
99887c42a6 Update to libpciaccess 0.11, with VGA arbiter support code from kettenis@. 2010-07-10 18:56:27 +00:00
matthieu
cd750bf570 Update to Mesa 7.8.2. Tested by johan@. Thanks. 2010-06-22 20:04:22 +00:00
matthieu
71cc7797d8 Disable the compose cache code.
It can't be used without proper libc locale support.
2010-06-01 05:26:44 +00:00
matthieu
fee37e4ada Remove an extra debug target that leaked in. 2010-05-30 20:42:44 +00:00
matthieu
1acb789094 Remove obsolete code that has not been built for 5 weeks now. 2010-05-29 17:25:11 +00:00
matthieu
69d68a5946 Remove the makefiles for dri drivers that aren't built anymore. 2010-05-27 06:25:45 +00:00
matthieu
bc96638db1 fix glu.pc after Mesa update. 2010-05-22 21:17:25 +00:00
matthieu
ff9d7b9ce0 This is now Mesa 7.8.1 2010-05-22 20:25:37 +00:00
matthieu
23bbc6ddb4 Build infrastructure for Mesa 7.8.1. 2010-05-22 20:14:14 +00:00
matthieu
47b605d724 regen 2010-05-21 19:15:04 +00:00
matthieu
0f15c7c5e7 merge from upstream X.Org: use the AC_WITH_XMLTO and AC_WITH_ASCIIDOC
macros from xorg-macros 1.5 to check for xmlto and asciidoc and
explicitely disable them in Makefile.bsd-wrapper.
Problem noticed by espie@.
2010-05-21 19:13:11 +00:00
matthieu
aa3c9f9344 Update to libX11 1.3.3. Tested on a bulk ports build by naddy@. 2010-05-18 19:37:28 +00:00
matthieu
69110947ac Update to libXi 1.3. Tested on a bulk ports build by naddy@. 2010-05-18 19:28:54 +00:00
oga
a40ba34bb5 Add drm_intel_bo_is_reusable(), to check if a buffer object will be put
in the userland BO cache or not. Bump minor.

From Chris Wilson in upstream git. ok matthieu@
2010-05-15 15:51:05 +00:00
espie
9c8e047a11 zap USE_GCC3, prepare for gcc4.
okay oga@
2010-05-13 17:38:57 +00:00
espie
20321053ef allow gcc4 switch, okay matthieu@ 2010-05-11 18:51:21 +00:00
matthieu
a345ea4b66 Update to libXtst 1.1.0. Tested on a ports bulk build by naddy@. 2010-05-10 20:10:07 +00:00
matthieu
0c4bbe43a5 Update to libXext 1.1.1. Tested on a ports bulk build by naddy@. 2010-05-10 20:06:53 +00:00
matthieu
d9a92f27a6 use INSTALL_DATA in BSD Makefiles. ok oga@ 2010-05-08 14:15:29 +00:00
matthieu
5aebc99597 Update to libXt 1.0.8. No API change. 2010-05-05 20:18:45 +00:00
matthieu
9cb2a9e148 Remove a file that gets generated during build. 2010-05-05 19:58:52 +00:00
matthieu
d3f6579c37 Update to libXinerama 1.1 2010-04-27 20:04:38 +00:00
matthieu
6abece0973 update to libXxf86dga 1.1.1 2010-04-27 20:00:53 +00:00
matthieu
16484e6ad4 update to libXxf86misc 1.0.2 2010-04-27 19:56:30 +00:00
matthieu
48cef99b0b Update to libxkbfile 1.0.6. 2010-04-27 19:54:37 +00:00
matthieu
1898505e7e Update to libXxf86vm 1.1.0 2010-04-25 20:04:42 +00:00
matthieu
3e77ba2aad Update to libXScrnSaver 1.2.0 2010-04-25 20:02:21 +00:00
matthieu
8f148c87a1 Update to libdmx 1.1.0 2010-04-25 19:59:53 +00:00
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
matthieu
e2d272f607 put libz back into Libs:. Fixes vax linking. 2009-03-26 19:04:00 +00:00
matthieu
703afbb0a2 update to freetype-docs 2.3.9 2009-03-26 07:36:34 +00:00
matthieu
8a907a311b Update to Freetype 2.3.9.
Bump major to be safe.
Small arm assembler fix in ftconfig.h by drahn@
2009-03-26 07:31:44 +00:00
matthieu
87859a9c26 Update to Freetype 2.3.8. Tested by jsg@. 2009-03-10 20:28:33 +00:00
ajacoutot
96992fc24f - add a link from Xss.3 to XScreenSaver.3 as it is referenced in
other man pages

ok matthieu@ (during lock), "put it in" oga@
2009-03-05 12:45:30 +00:00
deraadt
b1668efa3e delete duplicate block; spotted by kettenis 2009-02-27 23:43:41 +00:00
matthieu
6d7de40c77 Add a substitution from fonts that map to ugly bitmapped ones to
bitstream-vera. Most of the work done by martynas@ and deraadt@,
with inputs and tests from naddy@, todd@ and lots of others.
ok deraadt@
2009-02-27 23:12:11 +00:00
kettenis
fb905686b3 Make libpciaccess domain-aware. Makes X capable of discovering PCI devices
in other domains (on macppc or sparc64 for example).

ok matthieu@
2009-02-15 19:10:52 +00:00
matthieu
b67e1f26fa Add missing OpenBSD RCS Ids. 2009-01-28 16:10:44 +00:00
oga
43a3b634c7 Update libdrm to 2.4.3
This is needed for us to be able to update Mesa and xf86-video-intel.
Includes a few fixes, as well as the intel bufmgr interface and the
modesetting interface (which currently errors when you check if it's
enabled).

ok matthieu@
2009-01-26 23:14:37 +00:00
matthieu
58f9a8fb5c Xtrans 1.2.3. Tested on a full ports build by naddy@. 2009-01-26 22:02:43 +00:00
oga
cc283d3c86 De-autoconf libdrm.
Now that xenocara has been made clean with respect to using kernel headers
instead of those provided with libdrm, remove the copy of the headers included
here. Since it is now very simple, move it over to using standard bsd makefiles
instead of autoconf.

ok matthieu@
2009-01-10 16:29:26 +00:00
oga
f89935ff4d Switch over to using the kernel *_drm.h headers instead of the copies
thereof provided with libdrm. This has been annoying me forever, and it
a blight caused by developing widely used drivers out of the kernel
tree.

ok matthieu@
2009-01-10 16:06:51 +00:00
oga
fb552d1643 Fix substitutions for the pkg-config files. A couple of fields were
missed out, and one was looking for the wrong thing.

ok matthieu@
2009-01-10 16:04:43 +00:00
oga
cd1fdaad7a Don't build intel_bufmgr_ttm.c anymore, the rest of the ttm code has
been removed.

ok matthieu@
2009-01-10 16:02:04 +00:00
oga
34ca8034ae Don't build the "unichrome" driver. We don't have the kernel headers for
it, and we're about to switch to using kernel headers instead of the
ones packaged with libdrm. If the unichrome driver gets rewritten (or I
eventually get time), then it'll come back.

ok matthieu@
2009-01-10 16:01:10 +00:00
david
3befc7bd1e unbreak build: -liboldX 2008-12-23 21:55:41 +00:00
matthieu
beb286a122 I said remove deprecated library. 2008-12-23 09:26:02 +00:00
matthieu
ae53c41783 remove deprected library. 2008-12-23 09:24:35 +00:00
matthieu
b8c33db224 Remove trailing white space. 2008-12-07 17:58:38 +00:00
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