Commit Graph

757 Commits

Author SHA1 Message Date
matthieu
bf60acb55f Use MAKE_FLAGS to propagate XENOCARA_BUILD_GALLIUM to install step. 2013-04-14 19:59:03 +00:00
mpi
290e67360e Add a new option to the xenocara infrastructure be able to automatically
build the Gallium3D software rasterizer as part of the libGL.

Note that it can also makes use of LLVM to build the llvmpipe if the
corresponding port is installed. Please refer to the README for a more
complete documentation.

Prodded by ajacoutot@, ok matthieu@
2013-04-14 10:23:04 +00:00
naddy
9f39c5c286 Enable the use of getaddrinfo(). This allows X11 clients to talk
to a remote server over IPv6 again.  ok matthieu@
2013-04-01 14:08:04 +00:00
jsg
9c6730d784 compile intel_decode.c as well as newer mesa needs drm_intel_decode*
ok mpi@
2013-03-25 14:01:33 +00:00
jsg
aa892af5b9 update to libdrm 2.4.42
tested by matthieu@ krw@ mpi@ shadchin@ and ajacoutot@
ok mpi@
2013-03-25 02:32:20 +00:00
matthieu
da8e23aecc Only use atomic gcc builtins on arches that support them.
With help of kettenis@ guenther@ and miod@.
2013-03-19 17:53:11 +00:00
matthieu
4ee8c4bc9b fix CFLAGS definition 2013-03-17 20:46:47 +00:00
matthieu
9ceeb8df52 Fix previous: README goes in /etc/fonts/conf.d
while here be more coherent in make variable expansion.
2013-03-16 15:09:38 +00:00
matthieu
6892c2b9b1 Install fonts-conf.5 2013-03-16 14:57:18 +00:00
matthieu
7bcd06e403 Install README 2013-03-16 14:56:53 +00:00
matthieu
013c577734 Define an empty cleandir target to silent the build 2013-03-16 14:30:18 +00:00
matthieu
c772d1f7e4 Fix a typo that prevented the installation of some doc files in $(DESTDIR) 2013-03-16 14:29:45 +00:00
matthieu
bcdfdbc9f3 Generate and install fonts.conf and fonts.dtd. 2013-03-16 14:28:35 +00:00
matthieu
df36229716 Hmmph. typo in previous 2013-03-16 11:26:42 +00:00
matthieu
5524132455 Add 30-lucida-aliases and 31-nonmst.conf to the list of installed files.
Problem noticed by naddy@
2013-03-16 11:17:57 +00:00
matthieu
bf001e1b53 Add back a libtool archive for libfontconfig.
OpenBSD's libtool needs it for libraries with dependencies.
prodded by espie@
2013-03-13 23:56:54 +00:00
matthieu
e99a31b0f4 Remove existing stale libfontconfig.la at install time.
fontconfig.la was created by the previous build system and references
the bad library revision.

Suggested by espie@
2013-03-12 06:26:25 +00:00
matthieu
d47c6a60c6 Update to libXrandr 1.4.0 2013-03-09 16:34:36 +00:00
matthieu
c7464f0cb7 Update to fontconfig 2.10.91 + a few local fixes.
Move to a new BSD make based build system since fontconfig's build
system has become too dependant on GNU make.

Requested by ajacoutot@, tested by many back in january.
2013-03-09 14:34:40 +00:00
matthieu
42a7cd372b Build pthread-stubs before fontconfig. Needed for fontconfig 2.10.91 2013-03-09 14:31:36 +00:00
brad
f3fd083654 Remove m68k workaround now that gcc3 is in use.
ok miod@
2013-02-19 20:56:17 +00:00
sthen
2e97681d72 C++11 requires a space between literal and identifier; backport fix
from 7069d717e9 upstream. ok matthieu@
2013-01-15 11:47:43 +00:00
jsg
2a45c0933f Enable more libdrm functions. Determine if modesetting is supported
based on a modesetting ioctl that checks the DRIVER_MODESET flag on
the kernel side instead of the sysfs approach linux takes.

ok mpi@
2013-01-09 10:47:08 +00:00
matthieu
e4b723e225 Update to libXdamage 1.4.4. No actual code change. 2013-01-05 15:02:19 +00:00
matthieu
6b1c26f771 Update to libXcomposite 0.4.4. No actual code change. 2013-01-05 14:59:39 +00:00
matthieu
240eb9af41 Update to freetype 2.4.11. Tested by krw@, jasper@ and on a bulk ports
build by naddy@.
2013-01-04 16:51:55 +00:00
matthieu
a9c3b44e12 Enable the radeon r100 dri module on macppc. ok mpi@ 2012-12-07 17:13:41 +00:00
mpi
6fba99f3a9 Correctly define HAVE_POSIX_MEMALIGN, missed in previous. Breakage reported
by ajacoutot@
2012-12-04 14:06:32 +00:00
matthieu
20262dc0a9 fix botched file. I managed to commit a file with a typo. 2012-11-29 16:46:10 +00:00
matthieu
a9777fc130 Don't build profiled versions of libdrm_intel and libdrm_radeon. 2012-11-28 21:13:16 +00:00
mpi
4769f6e518 Correct include path, our drm headers live in /usr/include/dev/pci/drm 2012-11-28 13:56:29 +00:00
mpi
26df0b43a8 Include the software winsys and state tracker sources in the swrastg
driver rather than in the libmesagallium build. This non functional
change allows to use the libmesagallium in any gallium target (r300g,
nouveau...)
2012-11-28 13:53:16 +00:00
mpi
ad95eb8c9f Update to libdrm 2.4.31 and add the non-yet-linked libkms, prodded by jsg@
Tested by jsg@, ajacoutot@, shadchin@ and matthieu@, ok matthieu@
2012-11-27 14:37:08 +00:00
matthieu
87d6a5b7bb Update to pixman 0.28.0. Tested by ajacoutot@, mpi@ and naddy@ in a full
ports build. Tweaks from mpi@ for macppc.
2012-11-23 20:44:07 +00:00
matthieu
6d8faa157e Update to libxcb 1.9.0.
tested by ajacoutot@ and naddy@ on a full ports build
2012-11-22 20:31:32 +00:00
matthieu
65bb9e1366 regen 2012-11-11 18:54:32 +00:00
matthieu
b779baaa33 When building without and obj dir, cp may fail. 2012-11-11 18:54:02 +00:00
mpi
0661f3e5da Link libGL with -lpthread to allow the llvm-pipe driver to be loaded.
ok matthieu@, ajacoutot@
2012-11-11 12:09:09 +00:00
espie
40b00d5ef5 don't reach out in another src directory, use installed version.
okay matthieu@
2012-11-07 15:50:22 +00:00
matthieu
64ac4dd1f6 Also install freetype-config during install phase.
And generate freetype2.pc and freetype-config during make depend
to avoid doing that as root. Initial patch from espie@
2012-10-29 20:15:29 +00:00
matthieu
6f012c145e Make install of freetype2.pc consistent with other xenocara modules.
(don't install it during make includes but during make install).
ok espie@
2012-10-26 06:09:27 +00:00
espie
f07a7ccfdc tweak a bit for better standards conformance
okay matthieu@
2012-10-13 17:16:20 +00:00
matthieu
eeabd8b77d Restore -lz in Libs:. OpenBSD doesn't use the embedded gzip lib, and
doesn't link libfreetype against libz. Prodded by ajacoutot@.
2012-09-20 14:11:15 +00:00
mpi
8aa8224279 Build r200 and r300 dri drivers on macppc too.
ok matthieu@
2012-08-29 12:52:39 +00:00
mpi
6749d5bda0 Build libdrm_radeon on macppc too, required for upcoming drm(4) support.
ok matthieu@
2012-08-29 12:51:04 +00:00
mpi
bea4a27add Remove empty files... 2012-08-26 18:54:20 +00:00
mpi
3f7a93e085 Merge libmesa and libmesagallium build makefiles because they share
a lot of common sources.

ok matthieu@
2012-08-26 18:46:42 +00:00
mpi
36b2b317a6 Use -lpthread only, pointed out by ajacoutot@ 2012-08-21 10:34:07 +00:00
matthieu
5c94d108e8 Update to pixman 0.26.2. tested at least by ajacoutot@, mpi@, shadchin@. 2012-08-17 16:15:20 +00:00
mpi
0668f299c8 Sync mesa version numbers after recent libGL update, prodded by matthieu@ 2012-08-17 15:16:44 +00:00
mpi
e67a5fe840 Upate to libGL 7.11.2
Tested by jsg@, matthieu@ and ajacoutot@, ok mattieu@
2012-08-17 13:57:59 +00:00
mpi
dbe156d77d Fix path to mesa sources 2012-07-13 15:42:03 +00:00
mpi
eba99e2372 Let swrastg a chance to compile 2012-07-13 12:55:32 +00:00
mpi
7d428aff6d Import swrastg the Gallium3D software rasterizer. It uses the softpipe
driver by default but can also use the llvmpipe driver that use LLVM 
for code generation if available.

Not yet linked to the build as it depends on pthreads and we don't know
yet how to handle the switch from the default 'swrast' driver, but having
it in tree will help testing and debugging the remaining issues.

Tested by ajacoutot@ and matthieu@, looks ok to matthieu@
2012-07-13 12:54:20 +00:00
mpi
87615d415c Import the infrastructure for building Gallium3D graphics drivers.
Currently only software drivers are supported, looks ok to matthieu.
2012-07-13 12:43:30 +00:00
dcoppa
25007b34dd Update to freetype-2.4.10.
With help and ok matthieu@
2012-07-07 16:45:03 +00:00
matthieu
2bd9f468fa Update to libXi 1.6.1 2012-06-11 19:24:48 +00:00
matthieu
55a68ef814 Update to libXft 2.3.1 2012-06-11 19:23:03 +00:00
matthieu
be4020d279 Update to libX11 1.5.0 2012-06-11 19:18:54 +00:00
matthieu
7b5cab988a Update to libXaw 1.0.11. 2012-06-11 19:16:00 +00:00
mpi
d89f95e29c Fix build with XENOCARA_BUILD_DRI=No
ok matthieu@
2012-06-04 10:18:45 +00:00
matthieu
027633f14a Add support for X server privilege separation to pci_legacy_open_io()
With privilege separation the X server enables legacy i/o port
access during the early privileged initialization. Other calls
should be no-op.

Makes X server 1.12 happy with privilege separation.

ok miod@
2012-06-02 13:05:09 +00:00
dcoppa
9d886fc06a Fix freetype-2.4.9 regression that caused ghostscript to barf with
"Font Renderer Plugin" errors.
Patches come from upstream.

References:

http://bugs.ghostscript.com/show_bug.cgi?id=692940

https://savannah.nongnu.org/bugs/?func=detailitem&item_id=35833

https://savannah.nongnu.org/bugs/?func=detailitem&item_id=35847

http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=9a55cb7a

http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=b43e0f44

ok matthieu@
2012-05-11 20:02:28 +00:00
matthieu
a8e93b57ed Update to freetype 2.4.9
Another round of fixes to better handle invalid fonts.   Many of
them are vulnerabilities  (see CVE-2012-1126 up to CVE-2012-1144
and SA48320).
2012-04-14 09:45:45 +00:00
matthieu
39a8975b54 Update to libpciaccess 0.13.1 2012-04-09 18:50:44 +00:00
matthieu
d6ae8440ea Update to libXaw 1.0.10 2012-04-08 14:59:44 +00:00
matthieu
0e15740580 Update to xtrans 1.2.7 2012-04-08 14:50:52 +00:00
matthieu
adb2857e13 Fix pci_io_handle allocation routines.
The previous version of new_io_handle()  would invalidate all previous
allocations when realloc moves the base pointer of the ios array.
Since I cannot figure out where this array is useful, just get rid of
it, providing sound stable memory allocation.

Fixes vgaHWSaveFonts() in 1.12 xserver on OpenBSD, but other
sub-systems relaying on pci_io could be affected too.
2012-04-04 20:41:59 +00:00
matthieu
08ecf5f3a3 Upate to libX11 1.5rc1. Tested by krw@, mpi@, shadchin@. 2012-03-27 19:19:37 +00:00
matthieu
1f3df99ce6 Update to libxcb 1.8.1. Tested by krw@, mpi@, shadchin@ 2012-03-27 19:14:20 +00:00
matthieu
bd186b6cfa Merge patch from git master: Fixup for 550b2f76401c2 which broke bold fonts 2012-03-18 11:15:39 +00:00
matthieu
c4c11e481c Update to libXt 1.1.3 2012-03-18 11:08:15 +00:00
thib
54dafa3982 Fix openbsd_pci.c:pci_device_vgaarb_set_target();
A return (0) got lost, add it back.
Obvious; ok kettenis@
2012-03-14 19:57:24 +00:00
matthieu
b33a9fd40b Regen with util-macros 1.17. Fixes configure on landisk 2012-03-14 19:43:36 +00:00
matthieu
26866f3012 Regen with util-macros 1.17. Fixes configure on landisk (and probably the
other gcc3 architectures).
2012-03-14 11:24:40 +00:00
matthieu
b8bd995ce1 Fix build on 32 bit architectures. Problem noticed by naddy@. 2012-03-10 23:31:33 +00:00
matthieu
7c989dd71d Disable doc formatting tools explicitely 2012-03-10 18:41:37 +00:00
matthieu
f0cf820ebf Disable doc formatting tools explicitely 2012-03-10 18:35:56 +00:00
matthieu
d1508600e0 Update to libxkbfile 1.0.8 2012-03-10 17:16:24 +00:00
matthieu
bbff790d0c Upate to libdmx 1.1.2 2012-03-10 17:12:22 +00:00
matthieu
34b36cadec Update to libXxf86vm 1.1.2 2012-03-10 17:10:12 +00:00
matthieu
880e17f2a8 Upate to libXxf86dga 1.1.3 2012-03-10 17:07:14 +00:00
matthieu
5fa34673d3 Upate to libXvMC 1.0.7 2012-03-10 17:03:59 +00:00
matthieu
6938d0cb86 Update to libXv 1.0.7 2012-03-10 16:59:02 +00:00
matthieu
af87f98012 update to libXtst 1.2.1 2012-03-10 16:54:54 +00:00
matthieu
35252dc665 Explicitely disable tools that could be found in /usr/local 2012-03-10 16:49:42 +00:00
matthieu
a908922ac6 Update to libXt 1.1.2 2012-03-10 16:45:48 +00:00
matthieu
14550f95a6 update to libXrender 0.9.7 2012-03-10 14:33:10 +00:00
matthieu
0a69d04075 Update to libXpm 3.5.10 2012-03-10 14:30:32 +00:00
matthieu
8ca0137ede Update to libXmu 1.1.1 2012-03-10 14:22:08 +00:00
matthieu
66d8884066 update to libXinerama 1.1.2 2012-03-10 14:12:25 +00:00
matthieu
b9bf44ccd1 update to libXft 2.3.0 2012-03-10 14:09:34 +00:00
matthieu
3c7aa34b67 Update to libXext 1.3.1 2012-03-10 14:01:58 +00:00
matthieu
4a2a7b9911 update to libXdmcp 1.1.1 2012-03-10 13:58:12 +00:00
matthieu
30cb7894d9 upate to libXcursor 1.1.13 2012-03-10 13:53:27 +00:00
matthieu
72c5e3259a Update to libXau 1.0.7 2012-03-10 11:59:38 +00:00
matthieu
fa9710160e Update to libXScrnSaver 1.2.2 2012-03-10 11:55:28 +00:00
matthieu
16eedf3d78 Update libXres to version 1.0.6 2012-03-10 11:50:24 +00:00
matthieu
37b152092c Update to libpciaccess 0.13. Tested by shadchin@ 2012-03-09 21:02:09 +00:00
matthieu
ca91a8b3ac update to libSM 1.2.1 2012-03-04 19:03:26 +00:00
matthieu
5995f36226 Update to libICE 1.0.8 2012-03-04 18:57:08 +00:00
matthieu
b914fa9d89 Update to libfontenc 1.1.1 2012-03-04 18:25:21 +00:00
matthieu
b78c16cdfb Update to libFS 1.0.4 2012-03-04 18:21:36 +00:00
matthieu
f472553514 Update to libXfont 1.4.5 2012-03-04 18:13:46 +00:00
matthieu
da8acd3d49 Update to pixman 0.22.4. Tested by shadchin@, krw@. 2012-02-28 20:36:12 +00:00
matthieu
d03f2ad290 radeon_dri.so needs the radeon_drm library, like the other
Mesa radeon drivers. From oga@.
2012-01-27 07:07:43 +00:00
matthieu
41391b2cde Forcee the shared library revision for install too.
This fixes issues where, because of NFS client/server clock skew,
the lib gets rebuilt at install time. Problem noticed by todd@
2012-01-26 08:09:21 +00:00
dcoppa
f4996328a0 Force class alignment to a multiple of sizeof(XID): fixes a SIGBUS
crash on sparc64.

Upstream git commit 07ced7b48219e3bc0c98806f3d7106f86d1b2ca0

OK matthieu@
2012-01-19 08:41:06 +00:00
matthieu
5168e0ac49 Bitstream Vera -> DejaVu in a comment. 2012-01-10 22:15:38 +00:00
matthieu
1e5cc7e8bb regen 2012-01-10 21:48:00 +00:00
matthieu
bdbb206960 New config file providing replacement for Lucida fonts.
Replace ugly bitmapped fonts by Luxi or DejaVu TrueType fonts,
Provide aliases for commonly found Lucida family fonts (Lucida,
Lucida Grande, Lucida Sans Unicode).

Prodded by a submission by Tobias Ulmer. Ok mpi@.
2012-01-10 21:47:32 +00:00
matthieu
8ccc5e9cd4 Update to libXi 1.4.5. 2011-12-20 20:18:26 +00:00
matthieu
da4d50a40a Update to libXi 1.4.4. 2011-12-17 17:39:19 +00:00
miod
e40bd9f548 Compile prog_execute.c with -fno-tree-ter on alpha (instead of -O0) to skirt
the ICE, until a fix is devised (insert annoyed comment about hairy tricky
bugs in the ``reload'' code here).
2011-12-03 15:36:21 +00:00
naddy
e1ab192eb3 on alpha, remove optimization flags when compiling prog_execute.c to
prevent an internal compiler error in gcc 4.2.1; ok matthieu@
2011-11-29 14:57:54 +00:00
oga
75d011a3a1 Fix r200 libGL by linking with libdrm_radeon.
tested and reported by brynet; thanks!

``if it works, commit it'' matthieu@
2011-11-23 21:07:12 +00:00
matthieu
976f735d21 Update to freetype 2.4.8. Security update fixing CVE-2011-3439 2011-11-19 11:32:45 +00:00
matthieu
db0c239acc Commit the last bit of freetype 2.4.6 which I previously hold back,
since it changes the metrics of some TrueType fonts. Users of DejaVu
at small sizes in xterm can use the 'scaleHeight' resource to
restore the previous vertical spacing (with xterm 276 and later).
Tested on a wide set of ports by ajachoutot@, naddy@, krw@ shadchin@.
2011-11-16 21:18:14 +00:00
matthieu
41e9e340b9 Update for freetype 2.4.7. 2011-11-13 22:34:37 +00:00
matthieu
e406f265be Update to libpciaccess 0.12.1. Ok kettenis@, shadchin@ 2011-11-06 21:35:46 +00:00
schwarze
489b2ffc16 roff(7) include lines must be ".so man3/foo.3", not ".so foo.3",
or the referenced file cannot be found.
This got broken during the libXi 1.4.2 update.
ok matthieu@
2011-11-02 21:41:59 +00:00
matthieu
b7c47e461d Use -fPIC consistently with libmesa. fixes build on sparc. 2011-10-31 18:36:06 +00:00
matthieu
12dde70adc Update to freetype 2.4.7.
This moslty is a bug-fix release for CVE-2011-3256.
2011-10-30 10:14:50 +00:00
matthieu
e9f704ccf2 Fix previous, which left out C sources. 2011-10-27 07:07:39 +00:00
matthieu
e455438cc5 fix build on mips64. problem spotted by todd@. 2011-10-26 21:48:08 +00:00
matthieu
a25491e7be Remove extra white space at EOF 2011-10-26 21:15:07 +00:00
matthieu
753ca79637 Updated to Mesa 7.10.3 2011-10-23 13:59:38 +00:00
matthieu
77b69b735d Build system updates for Mesa 7.10.3 2011-10-23 13:57:36 +00:00
ajacoutot
c217523095 Add more paths to cursorpath, themes can now be installed under
/usr/local/share/icons and /usr/local/share/pixmaps.

ok matthieu@
2011-10-20 06:48:36 +00:00
matthieu
1ffd67520b Update version information for libxcb. Pointed at by robert@ 2011-10-05 18:05:48 +00:00
matthieu
6b773761c7 Update to freetype 2.4.6.
For now, omit the patch to ttdriver.c that changes some font metrics and
appearance of applications using TrueType fonts. Will revisit once the
issue is solved.
2011-09-28 19:01:21 +00:00
matthieu
590161e69d Sync with libX11/src/UIThrStubs: fix __pthread_once_stub() 2011-09-19 20:23:44 +00:00
matthieu
f476ec5831 Fix _Xthr_once_stub_() to call the init routine for each different id.
With tweaks from and ok ariane@
2011-09-19 20:21:37 +00:00
matthieu
d46230b379 regen 2011-09-10 10:30:30 +00:00
matthieu
c36e354560 Update to libXt 1.1.1 2011-09-10 09:36:19 +00:00
matthieu
9993018eda Update to libXfont 1.4.4 2011-09-10 09:31:51 +00:00
matthieu
5577d754a3 Update to libX11 1.4.4. Tested by ajacoutot@, shadchin@. 2011-08-27 15:34:14 +00:00
todd
3e2ff7b40f fix from matthieu@ as applied upstream for CVE-2011-2895
ok deraadt@
2011-08-11 15:29:02 +00:00
matthieu
1be04c484a remove -mmmx from SSE2_FLAGS It's implied by -msse2 and is not in
upstreams distrib. This was a silly attempt to fix the amd64 issues
on my side.
2011-07-24 15:29:08 +00:00
matthieu
0def8ce1ff Update to pixman 0.22.2.
0.22.0 was tested by many. 0.22.2 only add a few bug fixes.
Note that on amd64 a recent ld.so is needed to avoid random bus errors.
2011-07-24 13:05:47 +00:00
matthieu
f99cf4f7a6 Fix for CVE-2011-0226 from Freetype git repository. 2011-07-18 21:15:33 +00:00
matthieu
f6c615f075 Update to freetype 2.4.5. Tested by many. 2011-07-18 20:29:56 +00:00
dcoppa
651d3577d4 Fix libpthread linkage
OK matthieu@
2011-07-14 12:33:19 +00:00
matthieu
4f6a4267a4 Update to libXi 1.4.3.
This contains more doc fixes and a few more bug fixes.
2011-07-02 21:21:11 +00:00
matthieu
d932417016 Update to libXi 1.4.2.
Tested by ajacoutot@, jasper@, krw@, shadchin@.
I believe that the bugs spotted by krw@ are fixed in an upcoming
inputproto update.
2011-07-02 21:14:36 +00:00
matthieu
7d2cdbd9f3 Update to libXrandr 1.3.2.
Only documentation fixes and autotools changes.
2011-07-02 20:46:03 +00:00
matthieu
83d116af40 Update to libXcursor 1.1.12.
This is a bug fix release.
2011-07-02 20:41:33 +00:00
matthieu
3c48ff5d9e Update to libXaw 1.0.9 2011-06-02 13:40:13 +00:00
oga
e7189c6b6c Now the kernel support has been commited we can enable r600 driver
becaue the lack of kernel support won't break people trying to use gl.

ok matthieu ages ago
2011-05-30 21:52:42 +00:00
matthieu
8cc0378bfd Update to libX11 1.4.3 which was released during the 1.4.2 tests.
Mostly churn in the doc build system, which is disabled on Xenocara
for now.
2011-05-30 20:52:47 +00:00