Commit Graph

180 Commits

Author SHA1 Message Date
bentley
ab4ff063fa Don't perform font caching as root.
During build, run fc-cache as BUILDUSER.

When fc-cache is run as root, drop automatically to the _fc-cache user
so /var/cache/fontconfig doesn't acquire root-owned files.

ok deraadt@
2025-07-13 08:19:24 +00:00
bentley
40f45b02de Call pledge(2) in fc-cache(1): "stdio rpath wpath cpath flock".
ok deraadt@
2025-05-23 10:30:39 +00:00
matthieu
83db43a73e Update to fontconfig 2.15.0. tested by ajacoutot@ and tb@ 2025-01-04 15:22:51 +00:00
matthieu
0c50e27b4c Disable code that breaks parsing of DISPLAY=unix:0 on OpenBSD
issue reported by tb@, ok tb@
2024-07-11 14:17:18 +00:00
matthieu
e366a613c3 Update to libxcb 1.17.0 2024-07-11 08:05:31 +00:00
matthieu
48b14d4e87 Update to fontconfig 2.14.2 2023-07-03 13:18:52 +00:00
aisha
99309740e1 fontconfig: revert man page link changes
patches for dist are better suited upstream
pointed out by matthieu@ and tb@
2022-11-14 05:41:57 +00:00
aisha
7372e13871 fix broken links to fontconfig html docs in man pages
patch by Thim Cederlund thim AT cederlund DOT de, thanks!
2022-11-12 21:01:05 +00:00
matthieu
55bbf8425f Add a local configuration file to put back the DejaVu family as
default for the latin fonts, replacing Noto which is the default
upstreams since fontconfig 2.14.

One can get back Noto as default by removing
/etc/fonts/conf.d/59-obsd-latin.conf

Prodded by robert@ and others, ok robert@
2022-11-06 10:37:41 +00:00
deraadt
5166ccd5c4 don't assume the tree is compiled only with c99 compilers.
or, invest the time to solve that.
2022-10-16 23:41:15 +00:00
matthieu
f5b26fe030 Update to fontconfig 2.14. Tested and ok gkoehler@ 2022-10-16 15:41:25 +00:00
matthieu
523e5d1454 Update libxcb to version 1.15 + xcb-protos 1.15.2 2022-07-17 08:31:09 +00:00
matthieu
6950c5e986 Update to fontconfig 2.13.94 2021-11-11 08:46:41 +00:00
matthieu
a585d6af39 Update to libepoxy 1.5.9. ok jsg@ 2021-10-29 15:57:09 +00:00
matthieu
0ed5a7f139 Update to libxcb 1.14 and xcb-proto 1.14. ok tb@ 2020-05-16 08:49:00 +00:00
matthieu
f3fa3831bb Update to libepoxy 1.5.4. ok jsg@ 2020-01-26 13:45:49 +00:00
matthieu
96afcbe794 Stop calling chmod() in cache update code.
These calls are useless to toxic and come in the way of adding pledge
to applications (would require 'fattr' which is quite wide).
Discussed with deraadt, millert and jcs.
Submitted upstreams too.
2019-10-28 19:38:47 +00:00
matthieu
71dca55fd9 Update to libxcb 1.13.1, a small bug fix release.
ok naddy@
2018-10-04 20:17:48 +00:00
matthieu
bba3e9eeb5 Update to libxcb 1.13. ok tb@ 2018-09-11 19:34:56 +00:00
matthieu
3d6c235903 Remove the local -c chroot change, unused now. 2018-07-09 21:16:41 +00:00
matthieu
fddab55788 FcCacheFindByStat(): fix checking of the nanoseconds field.
ok millert@
2018-07-09 17:09:44 +00:00
matthieu
9d6c736422 Update to libepoxy 1.5.2. ok aja@ 2018-05-25 06:24:59 +00:00
matthieu
fdce463043 Update to fontconfig 2.12.4. No API change. 2017-08-19 10:11:04 +00:00
shadchin
3edcbf6370 Add "Sun LKeys" section, this patch forgot add in last update.
noticed deraadt@, ok matthieu@
2017-05-21 17:36:40 +00:00
matthieu
5a7697d07e Restore local change to handle Ctrl+Alt+Backspace to kill X by default. 2017-02-19 18:19:48 +00:00
danj
e252a263bc Update to xkeyboard-config 2.20
ok matthieu@
2017-02-08 21:33:42 +00:00
shadchin
e4a819d748 Update to xkeyboard-config 2.19
ok matthieu@
2016-10-09 11:49:40 +00:00
matthieu
778b53e347 Update to xcb-proto/libxcb 1.12. "Just commit it" naddy@ 2016-09-02 10:09:43 +00:00
matthieu
6219851df2 Update to fontconfig 2.12.1.
Tested by krw@, dcoppa@, ok dcoppa@.
2016-08-09 18:57:41 +00:00
shadchin
2b85c7e4ac Update to xkeyboard-config 2.18
ok matthieu@, test danj@
2016-06-28 16:49:22 +00:00
shadchin
32b79642ee Update to xkeyboard-config 2.17
ok matthieu@
2016-02-06 17:50:06 +00:00
kettenis
78eb73e438 Make sure the socket send buffer is at least 64KB. This reduces the number of
writev(2) system calls made for largish requests.  A similar change was made
to the libxtrans code a while ago.  This should speed up applications that
send images to the X server, like Firefox.  The seedupmight not be noticable
though.  But it reduces the noice in ktrace logs.

ok matthieu@
2016-02-02 18:42:22 +00:00
jsg
1472c2a8d8 remove the now unused Mesa 10.2.9 code 2015-12-23 05:17:21 +00:00
shadchin
aecbad4093 Update to xkeyboard-config 2.16.
ok matthieu@
2015-11-14 15:30:00 +00:00
dcoppa
ad21a167a8 Update to libxcb-1.11.1
ok matthieu@
2015-09-30 09:13:41 +00:00
jsg
8e64ef27c6 Merge libepoxy 1.3.1 2015-08-20 03:01:27 +00:00
jsg
2f1d1574a3 Import libepoxy 1.3.1 2015-08-20 02:49:44 +00:00
mpi
e5e91e484f Make the Gallium r300 works on big-endian architectures.
Diff provided by Michel Daenzer [0] as a possible solution for a
regression introduced in Mesa 9 [1].  This diff allows macppc
users to use OpenGL accelerated appplications (i.e. GNOME3).

As disucssed during c2k15 we won't try to keep this patch during
the next Mesa update.

[0] https://bugs.freedesktop.org/show_bug.cgi?id=71789
[1] http://lists.freedesktop.org/archives/mesa-dev/2013-December/050218.html

Tested by myself and ajacoutot@, regression test and ok jsg@
2015-07-29 05:47:25 +00:00
jsg
54574d0e6d don't include library major numbers when calling dlopen for gl
libraries on OpenBSD
2015-04-15 07:40:24 +00:00
jsg
1316fa2e22 Import libepoxy 1.2 2015-04-15 07:32:24 +00:00
shadchin
fe6e0d512b Update to xkeyboard-config 2.14.
ok matthieu@
2015-03-30 17:11:29 +00:00
jsg
94a0ddf05d Backport a Mesa fix from Andreas Boll.
glx: Fix returned values of GLX_RENDERER_PREFERRED_PROFILE_MESA
2015-03-18 05:30:10 +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
039ad8c4a0 Merge Mesa 10.2.9 2015-02-20 23:09:50 +00:00
jsg
dcc515067a Import Mesa 10.2.9 2015-02-20 22:42:51 +00:00
jsg
d7186e55ad Remove the local workaround for alignment faults in the VBO code on
archs with strict 64 bit pointer alignment and use Brian Paul's fix
which has been committed upstream and should end up in future releases
of 10.4.x.
2015-01-31 05:41:14 +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
08bb3187f2 Merge Mesa 10.4.3
Tested by matthieu@ mpi@ and myself.  landry@ ran a ports bulk build.
kettenis@ tracked down the cause of an alignment fault on archs
that require strict eight byte pointer alignment.
2015-01-25 14:41:14 +00:00
jsg
ce58a52730 Import Mesa 10.4.3 2015-01-25 14:05:42 +00:00
matthieu
8ffe8af9da Fix buffer overflow in copying PS name
As reported on the fontconfig mailing list by Tanel Liiv.
Found using American Fuzzy Lop.
Upstream patch adapted to use strlcpy().
2015-01-03 16:13:16 +00:00