Commit Graph

953 Commits

Author SHA1 Message Date
matthieu
fc89427fc0 Enable atomics operations for fontconfig on mips64 and mips64el.
ok kettenis@
2016-03-13 20:23:35 +00:00
okan
27f67406f3 Remove support vax and XENOCARA_HAVE_SHARED_LIBS scaffolding.
ok matthieu@
2016-03-11 13:09:42 +00:00
matthieu
06764a7ecd Update to libXrandr 1.5.0 2016-03-06 13:37:21 +00:00
jsg
dfa30dc686 Back out rev 1.3 and use __sync builtins on alpha. gcc no longer
triggers an ICE with p_atomic_cmpxchg/__sync_val_compare_and_swap.

Tested by matthieu.
2016-02-28 04:44:02 +00:00
matthieu
688f9b80ed On alpha with -O2 gcc gets an ICE on 2 files.
With help of jsg@
2016-02-20 10:49:47 +00:00
matthieu
ea648fa9c3 alpha lacks p_atomic_cmpxchg() switch to non atomic ops 2016-02-20 10:48:24 +00:00
jsg
ff4b8fa034 Don't depend on indirect inclusion to pick up endian.h and define
BYTE_ORDER.  Tested by and ok visa@ mpi@
2016-02-19 04:57:02 +00:00
jsg
347afd8071 Disable another make rule requiring python that could trigger if the
timestamps are wrong.  We always want to use the generated sources
provided with Mesa releases.  Encountered by tobias.
2016-02-18 13:57:22 +00:00
jsg
9eeb07a50d Merge Mesa 11.0.9 2016-01-24 01:21:23 +00:00
jsg
f83fcc6f8e Import Mesa 11.0.9 2016-01-24 00:59:28 +00:00
jsg
8d4acd4c62 Disable reading of drirc files by default so chromium processes
with OpenGL contexts can drop the ability to read files.

Diff from robert@ with a comment added.

ok robert@ deraadt@
2016-01-07 23:41:25 +00:00
dcoppa
8b6c7dfac5 Sync freetype-doc with freetype, i.e. update freetype-doc to
ver. 2.6.2

ok matthieu@
2016-01-02 16:30:55 +00:00
jsg
8f9a563a62 Merge libdrm 2.4.65 2015-12-27 09:16:53 +00:00
jsg
0733b38856 Import libdrm 2.4.65 2015-12-27 08:58:00 +00:00
dcoppa
1cd20ba8aa Remove bogus file.
ok matthieu@
2015-12-25 19:06:01 +00:00
matthieu
8f7e2085cc Do no overwrite the installed Unix ftconfig.h with the ANSI one.
ok dcoppa@
2015-12-25 11:54:40 +00:00
jsg
a06be69de2 Merge Mesa 11.0.8 2015-12-23 13:43:05 +00:00
jsg
9efbf61fd8 Import Mesa 11.0.8
This seems to fix some of the problems with clutter/gnome reported to
occur on r600 with 11.0.6
2015-12-23 13:18:51 +00:00
jsg
e9f73a2005 remove now unused local build system for Mesa 2015-12-23 05:06:01 +00:00
jsg
bf795ce77a Build the gallium software rasteriser (softpipe). This avoids a problem
mpi found where the r300 driver would not load on macppc due to an
undefined drisw_create_screen symbol.

The code related to that symbol was removed sometime after Mesa 11.0
branched.

Initial diff from and ok mpi@
2015-12-20 12:31:01 +00:00
jsg
1ff7fe0da7 Set the configure option to enable floating point textures.
While the i965 driver enables support unconditionally other drivers
such as r600 require this before they will claim to support OpenGL 3.x
2015-12-20 12:15:55 +00:00
dcoppa
eebe821214 Bugfixing update to freetype-2.6.2
Tested on amd64, i386, macppc, sparc64, loongson and compile-tested
on arm by matthieu@
Also tested in a ports bulk build by naddy@

OK matthieu@
2015-12-07 09:34:02 +00:00
kettenis
b31a77d567 On i386, compile with -march=i586. The i965 driver requires 64-bit atomic
operations and older CPUs lack the needed instructions.  The hardware
supported by that driver will never be used together those older CPUs.
This might mean that even the software rasterizer doesn't work anymore on
those.  But they're so slow that you probably wouldn't want to anyway.

ok jsg@
2015-11-26 19:05:49 +00:00
jsg
45966989b6 Switch to Mesa 11.0.6 built with autoconf instead of a set of a custom
makefiles.  Thanks to Emil Velikov for removing requirements on gnu make
upstream and sorting out a bunch of other things to make this possible.
2015-11-22 07:57:10 +00:00
jsg
987bf76a95 regen 2015-11-22 07:14:29 +00:00
jsg
a8524181dd Disable the bison/lex/python rules to regenerate sources that were
included in the tarball.

cvs import seems to have changed timestamps of files which caused
these rules to trigger and the build to fail.
2015-11-22 06:57:53 +00:00
jsg
88d4ee1fc0 disable --gc-sections on ppc to avoid an ld 2.17 segfault 2015-11-22 03:13:27 +00:00
jsg
3204a661ed add a makefile for xenocara 2015-11-22 03:11:30 +00:00
jsg
61bd9e6bfc provide an unlocked atomic fallback path
sparc < v9, hppa, sh, arm < v6 don't provide these builtins
and we don't have kernel assistance to fake them currently.
2015-11-22 03:08:22 +00:00
jsg
4f35c98dd8 don't install /etc/drirc it's just a bunch of workarounds for closed
linux programs
2015-11-22 03:05:02 +00:00
jsg
0ecb55906d don't try to symlink files that don't exist 2015-11-22 03:01:23 +00:00
jsg
0cd8e2ac98 dlopen libGL.so not libGL.so.1 2015-11-22 02:58:43 +00:00
jsg
7966c15bd5 remove the hard requirement of llvm for gallium on i386/amd64 2015-11-22 02:55:55 +00:00
jsg
1fe54f218f import Mesa 11.0.6 2015-11-22 02:36:47 +00:00
naddy
5a22aec1bc Don't enable 10-autohint.conf by default. It causes problems with
xterm -fa mono (underscores disappearing because the glyph exceeds
the cell size), matthieu@ can't remember why he enabled it, and it's
not enabled by default anywhere else.  ok matthieu@
2015-10-23 12:29:31 +00:00
dcoppa
f3fdd101b8 Zap bogus RCS strings 2015-10-20 08:10:21 +00:00
sthen
b8f08254ee bump freetype minor; the update adds new functions. spotted by naddy@,
"Please go ahead and commit the minor bump" dcoppa@
2015-10-19 12:23:39 +00:00
dcoppa
45d32bf5f0 Update to freetype-2.6.1
OK matthieu@

Bulk build by naddy@, thanks!
2015-10-19 07:51:34 +00:00
matthieu
4aca9982ea Update to pixman 0.32.8. 2015-10-01 06:21:38 +00:00
dcoppa
50d60107cf Crank minor for libxcb
ok matthieu@
2015-09-30 09:14:26 +00:00
jsg
a74e8629b1 regen 2015-08-28 14:25:40 +00:00
jsg
06524d56f2 The libdrm autoconf test for atomics uses __sync_val_compare_and_swap with
the address of a function argument which triggers a gcc ICE on sparc64
resulting in libdrm_radeon not being built as reported by naddy.

kettenis pointed out that while other architectures probably spill the
argument onto the stack this is likely not the case on register window
architectures like SPARC and suggested passing a pointer as an argument
instead which avoids the ICE and allows the drm libraries requiring
atomics to build on sparc64 again.

ok kettenis@ matthieu@
2015-08-28 14:25:03 +00:00
matthieu
12f3f3cac2 Gallium drivers also need -I${X11BASE}/include/libdrm now 2015-08-22 21:55:33 +00:00
jsg
2f795be262 use the drm headers from libdrm not the kernel 2015-08-22 00:50:54 +00:00
jsg
b7e5d17b94 regen 2015-08-22 00:36:45 +00:00
jsg
d4c79ffe1f Merge libdrm 2.4.64. This changes the build to using the upstream
auto* build system and installing/using a libdrm specific set of drm
headers.  Thanks to Emil Velikov for removing the GNU makeisms
upstream.
2015-08-22 00:30:35 +00:00
jsg
9c6fecc40b Import libdrm 2.4.64 2015-08-21 23:55:36 +00:00
jsg
08aef340aa update to libepoxy 1.3.1
ok aja@
2015-08-20 03:10:38 +00:00
matthieu
597512ebad Start at libOSMesa.so.8.0 to avoid having a smaller revision than
the one build from the autotools build system.
2015-08-19 23:01:13 +00:00
matthieu
650f911f00 Enable the build of libOSMesa. Ports will need it soon.
tested by juanfra@ ok jsg@
2015-08-19 23:00:12 +00:00
mpi
1bea96e4e1 Build r300g and r600g on macppc and sparc64.
ok jsg@
2015-07-29 05:49:16 +00:00
matthieu
6780260a4f Clean up and fix make depend. 2015-07-19 10:39:19 +00:00
jsg
4cadc17f75 update to libdrm 2.4.62 2015-07-15 23:19:17 +00:00
kettenis
2f4347932e Only include <sys/memrange.h> on i386/amd64 as it really isi
architecture-specific.  This prevents us from trying to establish
write-combining mappings on other architectures, which in turn makes
non-kms pci video drivers work again on those platforms.

ok mlarkin@
2015-07-07 12:52:54 +00:00
kettenis
94e6ae1917 Fix typo/pasto in previous commit; request write combining mapping when it
is actually requested and not for every writable mapping.
2015-07-06 12:49:35 +00:00
dcoppa
9b54f82656 Update to FreeType 2.6
OK matthieu@
2015-06-28 08:27:43 +00:00
kettenis
d324f4a41d Attempt to establish a write combining mapping instead of relying on mttrs.
Setting the mttrs failson my thinkpad x1 rev 3, making the xorg-video-vesa
driver painfully slow.  This makes the machine somewhat usable.

ok mpi@
2015-06-24 19:26:20 +00:00
matthieu
eb9a486a3e No NEWS is good NEWS - remove a bunch of files not present upstreams anymore 2015-05-10 09:51:55 +00:00
matthieu
70076ba3b1 remove useless diffs with upstream 2015-05-10 09:39:35 +00:00
matthieu
f8db8710b5 update to libxkbfile 1.0.9 2015-05-10 09:32:36 +00:00
matthieu
c7a38f5d4d update to libpciaccess 0.13.4 2015-05-10 09:31:51 +00:00
matthieu
ca29790bc7 Update to libfontenc 1.1.3 2015-05-10 09:27:16 +00:00
matthieu
364407971f Update to libXt 1.1.5 2015-05-10 09:26:33 +00:00
matthieu
5a65a1959d Update to libXrender 0.9.9 2015-05-10 09:25:49 +00:00
matthieu
0bb09a17e1 Update to libXaw 1.0.13 2015-05-10 09:24:43 +00:00
matthieu
88ff9b4f37 update to libFS 1.0.7 2015-05-10 09:23:34 +00:00
miod
c65edaf7e7 sparc needs big PIC 2015-04-22 17:31:47 +00:00
ajacoutot
a4f6b02a50 Hook up libepoxy.
committing on behalf of jsg@
2015-04-15 09:39:53 +00:00
jsg
6a30333192 Add libepoxy a library for handling gl/glx/egl function pointer management.
This is needed by glamor egl in the xserver which is in turn needed
to get acceleration with some hardware on xf86-video-ati.

Worked on during s2k15.  Glamor is not yet enabled in the xserver,
but adding this now as libepoxy recently showed up in ports.

The libepoxy port will be removed and ports will transition to
this version.  The xenocara version will be enabled when we're
ready to transition.
2015-04-15 07:58:58 +00:00
matthieu
8252bb00ee update to libX11 1.6.3 2015-04-06 20:57:55 +00:00
matthieu
2093a99a43 Update to libXdmcp 1.1.2 2015-04-06 13:43:52 +00:00
matthieu
593800b416 Update to libXvMC 1.0.9 2015-04-06 13:33:24 +00:00
matthieu
f76404a620 update to libXxf86vm 1.1.4 2015-04-06 13:27:36 +00:00
matthieu
b16ff86102 Update to xcb-util-keysyms 0.4.0 2015-04-06 12:39:42 +00:00
matthieu
a625cf28cc Update to xcb-util-image 0.4.0 2015-04-06 12:39:04 +00:00
matthieu
f17e0a8651 Update to xcb-util 0.4.0 2015-04-06 12:38:11 +00:00
matthieu
ed91ece414 Make cleandir also remove the built 'fonts.conf' file. 2015-04-05 16:05:34 +00:00
ajacoutot
c269e943e2 Move the default fontpath from /usr/local/lib/X11/fonts to
/usr/local/share/fonts to match XDG_DATA_DIR (where Desktop tools will look for
by default).

discussed with sthen@ and matthieu@
ok sthen@
2015-03-31 09:42:56 +00:00
dcoppa
4b34d0f021 Minor update to xcb-util-cursor-0.1.2
ok matthieu@
2015-03-30 07:16:53 +00:00
jsg
766592491f update to libdrm 2.4.60 2015-03-26 06:00:06 +00:00
matthieu
9b9b8ffe5b Update to libXfont 1.5.1.
Contains fixes for following issues:
CVE-2015-1802: bdfReadProperties: property count needs range check
CVE-2015-1803: bdfReadCharacters: bailout if a char's bitmap cannot be read
CVE-2015-1804: bdfReadCharacters: ensure metrics fit into xCharInfo struct
2015-03-17 20:42:25 +00:00
jsg
f149319ba0 Only build the gallium radeon winsys on i386/amd64 as
those are the only archs that currently use gallium radeon drivers.

It should build anywhere that has the libdrm radeon headers
installed.  And while that should really be everywhere it
isn't at the moment and won't be for release.

It isn't clear why the radeon winsys in Mesa 10.4 didn't have
the same problem.

Found the hard way by todd@ on alpha.
2015-02-23 23:39:27 +00:00
jsg
f62222a305 Backport support for GLX_MESA_query_renderer for non Intel drivers.
This is desirable as the chromium port now uses this extension to
obtain pci vendor/device ids for use in feature/extension blacklists.

Prompted by a mail from byrnet@, tested on r600g by krw@

The newly added os_get_total_physical_memory() was passing the length of
a pointer rather than the type which made the sysctl call fail on
non 64 bit archs.  And it was passing the wrong pointer for the result.
Fixes for these problems have been submitted back upstream.
2015-02-22 09:30:33 +00:00
jsg
82481235fe use .PATH to work around symlinks in dist tarball 2015-02-21 00:39:06 +00:00
jsg
a3c5584b37 switch back to Mesa 10.2
With 10.4.3 gpu compositing on chromium would result in a black window
on older Intel parts (ie x60s with 945gm) and at least some discrete
Radeon parts.  These problems do not seem to occur on recent Intel
parts, though those have coherent memory and hardware contexts.

It isn't clear what changes in Mesa are involved in the problem
though it also occurs with the 10.3 branch.
2015-02-20 23:31:04 +00:00
jsg
9bd5aba6bb update to libdrm 2.4.59 2015-02-07 01:34:35 +00:00
matthieu
87c098c895 Update to libxcb and xcb-proto 1.11.
Tested on a bulk ports build by naddy@.
Lots of churn due to white-space and comments changes in generated code.
2015-01-26 21:32:10 +00:00
jsg
5f55a0a16b Mesa 10.4.3 2015-01-25 15:09:12 +00:00
dcoppa
57be036a1d Bugfixing update to freetype-2.5.5
ok matthieu@
2015-01-10 17:17:22 +00:00
matthieu
936b4cf06e Fix bad merges. 2015-01-01 17:37:52 +00:00
dcoppa
8a4a3c138b Zap some bogus RCS strings added by accident because of CVS keyword
expansion
2014-12-27 18:43:15 +00:00
dcoppa
62705531f4 Update to freetype-2.5.4
ports bulk build by landry@

OK matthieu@
2014-12-26 17:52:34 +00:00
schwarze
01412a19db fix wrong name in .TH, NAME, and SYNOPSIS (obviously bad pastos...)
ok matthieu@
2014-12-09 09:29:52 +00:00
matthieu
6d1b4b2eb2 Update to libXi 1.7.4 2014-09-28 17:22:58 +00:00
matthieu
e67f24e53d Update to libXext 1.3.3 2014-09-28 17:18:23 +00:00
matthieu
3d0a879628 Update to xtrans 1.3.5 2014-09-28 16:56:06 +00:00
kettenis
bbd5563373 Add -DHAVE_LIBDRM to CPPFLAGS when approriate.
ok jsg@
2014-09-28 12:53:26 +00:00
jsg
4727f64aaf Match the behaviour of Mesa when built by autoconf and link
libEGL against libgbm and libglapi.

The libgbm requirement comes from the drm EGL backend that was
enabled with the 10.2.3 update.

ok matthieu@ kettenis@
2014-09-28 11:02:37 +00:00
matthieu
afc8fcf86c I forgot to merge config.h.in in the update to libxcb 1.10.
noticed by and ok kettenis@
2014-09-27 20:04:32 +00:00
matthieu
e4c13334f7 Missed file in libXfont 1.5.0 update 2014-09-27 17:43:02 +00:00