Commit Graph

497 Commits

Author SHA1 Message Date
Vladimír Čunát
7f41ad6c6c
xorg.xorgserver: patch CVE-2023-0494
https://lists.x.org/archives/xorg/2023-February/061255.html
2023-02-07 13:10:57 +01:00
github-actions[bot]
dae72e8486
Merge staging-next into staging 2023-02-05 12:02:01 +00:00
Vladimír Čunát
44cb005294
furnace, boringssl, gloox, xorg.xf86videovmware: gcc12 fixups 2023-02-05 11:57:01 +01:00
Weijia Wang
e9202e95e6
Merge pull request #207167 from alyssais/xorg-darwin
xorg.xorgserver: 1.18.4 -> 1.20.14 on Darwin (still broken)
2023-02-02 06:23:57 +01:00
Weijia Wang
327876fb7a xorg.xorgserver: remove 1.18 compat 2023-02-02 04:08:37 +01:00
Vladimír Čunát
9287f4461d
Merge #206907: stdenv: gcc11 -> gcc12 2023-02-01 16:54:44 +01:00
github-actions[bot]
fa361440fc
Merge staging-next into staging 2023-01-28 12:01:44 +00:00
Vladimír Čunát
1ea7e2bc44
xorg.libXpm: 3.5.13 -> 3.5.15
There are mainly the security fixes:
CVE-2022-46285 CVE-2022-44617 CVE-2022-4883

The new dependency adds just several kilobytes.
https://www.mail-archive.com/xorg-announce@lists.x.org/msg01521.html
https://www.mail-archive.com/xorg-announce@lists.x.org/msg01522.html
https://www.mail-archive.com/xorg-announce@lists.x.org/msg01470.html
2023-01-28 10:51:56 +01:00
Fabián Heredia Montiel
0cf5d85f0c treewide: add gcc12 flags 2023-01-27 21:20:52 -06:00
Artturi
5e0e716865
Merge pull request #212115 from Artturin/splitthings1 2023-01-25 21:45:02 +02:00
Artturin
0ffa8f6b9e xorg.libXt: move share/doc to devdoc
1.2M
2023-01-22 19:00:44 +02:00
Alyssa Ross
13d8068354
xorg.libpciaccess: fix build on NetBSD 2023-01-13 04:49:21 +00:00
Alyssa Ross
abdc781d4c
xorg.libpciaccess: broaden platforms 2023-01-13 04:49:20 +00:00
Artturi
5ce27e15ea
Merge pull request #208900 from Artturin/xorgwrapWithXFileSearchPathHook 2023-01-04 16:52:48 +02:00
Artturin
68ed486d30 xorg: remove unnecessary overrides 2023-01-03 19:31:00 +02:00
Artturin
659574008e xorg.{libFS,libWindowsWM}: fix cross 2023-01-03 19:14:17 +02:00
Artturin
277a523dda xorg: add wrapWithXFileSearchPathHook
supersedes PR 70239

Description from that PR

Make xorg apps look as intended. Most notable change: xmag color picker is usable now.

Before this commit, only two apps had properly configured resource paths: bitmap and xcalc. This commit automates and generalizes it to the rest of xorg.* apps.

xorg.bitmap: bin/bitmap-color is no longer installed. If you would like bitmap to be viewable in color, please refer to man 1 bitmap, selection COLORS. The described method is also applied to some other affected apps.
2023-01-03 18:51:48 +02:00
Jan Tojnar
5810109b42 Merge branch 'staging-next' into staging
- readline6 attribute removed from all-packages.nix in d879125d61
- readline attribute was bumped to readline82 in 50adabdd60
2023-01-02 03:04:32 +01:00
Naïm Favier
4df10debe7
lib/customisation.overrideDerivation: propagate evaluation condition
The new derivation should evaluate only if the old derivation does.

Sadly this means that the old derivation cannot depend on the new one
any more, which was used by xorgserver on Darwin. But this is not a
problem as `overrideAttrs` can (and should) usually be used instead.

This change allowed catching an invalid `meta.platforms` in the linux_rpi
kernels, which use `overrideDerivation`.
2023-01-01 14:10:42 +01:00
Weijia Wang
90af686ddb xorgcffiles: add aarch64-darwin support 2022-12-30 06:40:45 +01:00
Alyssa Ross
0a55054b16
xorg.xorgserver: 1.18.4 -> 1.20.14 on Darwin (still broken)
Previously, Darwin was kept on 1.18 because more recent versions were
broken, but now 1.18 is also broken on Darwin, so we might as well get
rid of the special case and bring Darwin forward.  With these changes,
xQuartz builds on Darwin, but when run it will exit immediately.

This makes Darwin use the same derivation as Linux by default, which
will enable further cleanups.  But as a result, we have to fix some
Linuxisms.

 * Only add libdrm dependency on compatible platforms.
 * Add libepoxy dependency for all platforms.
 * Add bootstrap_cmds dependency on Darwin.
 * Disable glamor on Darwin.
2022-12-21 22:39:58 +00:00
Artturin
a6edc3de15 xorg.xorgserver: apply CVE patches
https://www.mail-archive.com/xorg-announce@lists.x.org/msg01511.html
2022-12-16 17:26:50 +02:00
github-actions[bot]
6aeef7531c
Merge staging-next into staging 2022-11-28 06:01:53 +00:00
Daniel Nagy
308abeb67b
xorg.xinit: also use systemwide xinitrc (#186997)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-11-28 01:06:57 +01:00
Artturin
efb9b804a7 xorg.xdm: fix cross
```
xdm-aarch64-unknown-linux-gnu> checking for cpp... no
xdm-aarch64-unknown-linux-gnu> checking if aarch64-unknown-linux-gnu-gcc -E requires -undef... aarch64-unknown-linux-gnu-gcc: fatal error: noinput files
xdm-aarch64-unknown-linux-gnu> compilation terminated.
xdm-aarch64-unknown-linux-gnu> aarch64-unknown-linux-gnu-gcc: fatal error: no input files
xdm-aarch64-unknown-linux-gnu> compilation terminated.
xdm-aarch64-unknown-linux-gnu> aarch64-unknown-linux-gnu-gcc: fatal error: no input files
xdm-aarch64-unknown-linux-gnu> compilation terminated.
xdm-aarch64-unknown-linux-gnu> configure: error: aarch64-unknown-linux-gnu-gcc -E defines unix with or without -undef.  I don't know what to do.
```

it appears that the configure script isn't checking
`${ac_tool_prefix}cpp`

```
for ac_prog in cpp
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_RAWCPP+:} false; then :
```
2022-11-11 16:57:35 +02:00
Artturin
ddb88250e4 xorg.imake: fix cross
```
imake-aarch64-unknown-linux-gnu> checking for cpp... no
imake-aarch64-unknown-linux-gnu> checking if aarch64-unknown-linux-gnu-gcc -E requires -undef... aarch64-unknown-linux-gnu-gcc: fatal error: noinput files
imake-aarch64-unknown-linux-gnu> compilation terminated.
imake-aarch64-unknown-linux-gnu> aarch64-unknown-linux-gnu-gcc: fatal error: no input files
imake-aarch64-unknown-linux-gnu> compilation terminated.
imake-aarch64-unknown-linux-gnu> aarch64-unknown-linux-gnu-gcc: fatal error: no input files
imake-aarch64-unknown-linux-gnu> compilation terminated.
imake-aarch64-unknown-linux-gnu> configure: error: aarch64-unknown-linux-gnu-gcc -E defines unix with or without -undef.  I don't know what to do.
```

it appears that the configure script isn't checking
`${ac_tool_prefix}cpp`

```
for ac_prog in cpp
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_RAWCPP+:} false; then :
```
2022-11-11 16:57:35 +02:00
Artturin
7e00495eae xorg: use top-level xorg instead of self in overrides.nix
the packages will be spliced correctly
2022-11-11 04:45:27 +02:00
Artturin
d6a9e82668 xorg: detect if XORG_FONT_REQUIRED_PROG(MKFONTSCALE in generate-expr-from-tarballs 2022-11-11 04:43:46 +02:00
Artturin
1a77429299 xorg.xdm: add libxcrypt to buildInputs 2022-11-11 04:43:46 +02:00
sternenseemann
5924132e50 xorg.libXi: propagate libXext due to header dependencies
While looking into #197407, I noticed that <X11/extensions/XInput2.h>
depends on <X11/extensions/Xge.h> which is found in libXext and thus
needs to be propagated.
2022-11-04 00:18:56 +01:00
Weijia Wang
238fca0edb xorg.xorg-server: mark as broken on darwin 2022-10-24 21:27:55 +02:00
Christian Kögler
167fc5aa3e libXft: 2.3.4 -> 2.3.6 2022-10-06 22:14:45 +02:00
Vladimír Čunát
2503667ddc
Merge #175058: xorg.xorgserver: fix cross-compilation
...into staging.  Well, fix it in future when we update it again.
2022-07-20 20:36:26 +02:00
Vladimír Čunát
f888751efd
Merge #181702: xorg.xorgserver: patch two CVEs
...into staging-next
2022-07-17 08:22:45 +02:00
Vladimír Čunát
98137b4db1
xorg.xorgserver: patch two CVEs
https://lists.x.org/archives/xorg/2022-July/061035.html
2022-07-16 11:06:53 +02:00
Artturi
4e6cb9efd9
Merge pull request #172064 from Artturin/xorgstrictautogen
xorg/generate-expr-from-tarballs.pl: enable strictDeps
2022-07-08 21:48:33 +03:00
talyz
037167ae17
xf86videointel: Use the crocus and iris DRI drivers
The i965 driver was removed in Mesa 22, but the xf86videointel driver
hasn't been updated to reflect this. This leads to the following error
when used with the affected hardware:

(EE) AIGLX error: dlopen of /run/opengl-driver/lib/dri/i965_dri.so failed
                  (/run/opengl-driver/lib/dri/i965_dri.so: cannot open
                  shared object file: No such file or directory)
(EE) AIGLX error: unable to load driver i965

To fix this, add a patch which makes the driver return the appropriate
DRI driver name from Mesa 22, i.e. `crocus` for older GPUs and `iris`
for newer.
2022-07-07 14:52:29 +02:00
Sergei Trofimovich
35f3cb8c6e xorg.xf86videoxgi: pull upstream fix for -fno-common toolchains
Without the change build fails on upstream gcc-10 as:

    ld: src/xgi_accel.h:125: multiple definition of `Alignment';
      src/xgi_accel.h:125: first defined here
2022-06-09 23:10:11 +01:00
Sergei Trofimovich
f6df882131
xorg.xf86videoopenchrome: pull upstream fix for -fno-common toolchain (#176074)
* xorg.xf86videoopenchrome: pull upstream fix for -fno-common toolchain

Without the chage build fails on upstream gcc-10 as:

    ld: .libs/via_xvmc.o:/build/xf86-video-openchrome-0.6.0/src/via_vt1632.h:47: multiple definition of
      `via_vt1632_funcs'; .libs/via_analog.o:/build/xf86-video-openchrome-0.6.0/src/via_vt1632.h:47: first defined here

* Update pkgs/servers/x11/xorg/overrides.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-06-03 17:13:23 +02:00
Brian McKenna
b5e4221402 xserver: fix cross-compilation 2022-05-28 12:13:35 +10:00
Vladimír Čunát
1e65cb9c88
xorg.xorgserver: 1.20.13 -> 1.20.14
https://lists.x.org/archives/xorg-announce/2021-December/003124.html
2022-05-23 18:08:39 +02:00
Vladimír Čunát
43b7c9611c
Revert "xorg.xorgserver: 1.20.13 -> 21.1.3"
This reverts commit 3312352596.
Fixes #170856: issues of some users.
2022-05-23 17:54:40 +02:00
Artturin
25d02e65d0 generate-expr-from-tarballs.pl: enable strictDeps 2022-05-16 20:16:00 +03:00
Yuriy Taraday
7db78758fa xorg: Mark several drivers as broken on Darwin
Several drivers are built for Darwin on Hydra even though they never
worked and probably never will work there. Mark them as broken to avoid
wasted cycles.
2022-05-13 20:07:10 +03:00
Artturin
7ae04c1c4d xorg.xcbutilerrors: add dev output to not propagate a dev output 2022-05-08 23:12:20 +03:00
Thiago Kenji Okada
0cb205e355 xorg.xf86videointel: 2019-12-09 -> 2021-01-15
This is the exactly same version shipped on Arch Linux:
92eee4f353/trunk/PKGBUILD (L7)

Also Debian:
https://packages.debian.org/sid/xserver-xorg-video-intel

Probably some other distros too.
2022-04-19 11:53:25 +01:00
Martin Weinelt
4c9568e20e
Merge pull request #153994 from TredwellGit/xorg.xorgserver 2022-03-29 22:21:46 +02:00
Uri Baghin
ceeddeb81e xorg.xorgserver: remove abi 1.17 2022-02-02 10:54:12 +11:00
TredwellGit
3312352596 xorg.xorgserver: 1.20.13 -> 21.1.3
https://lists.x.org/archives/xorg-announce/2021-October/003115.html
https://lists.x.org/archives/xorg-announce/2021-November/003116.html
https://lists.x.org/archives/xorg-announce/2021-December/003125.html
https://lists.x.org/archives/xorg-announce/2022-January/003127.html
2022-01-09 01:52:23 +00:00
TredwellGit
982aabffb5 xorg.xf86videonouveau: 1.0.17 -> 3ee7cbca8f9144a3bb5be7f71ce70558f548d268
Using the latest commit because abandoned upstream, but required for X server 21.1.
2022-01-09 01:52:23 +00:00
TredwellGit
6a9fc44415 xorg.xf86videoati: 19.1.0 -> 5eba006e4129e8015b822f9e1d2f1e613e252cda
Using the latest commit because abandoned upstream, but required for X server 21.1.
2022-01-09 01:52:23 +00:00
Vladimír Čunát
7101e3e580
xorg.xorgserver: apply CVE patches 2021-12-14 20:36:49 +01:00
Vladimír Čunát
a7f2cd867a
xorg.xf86videoqxl: patch build after bool rename 2021-11-24 09:48:25 +01:00
Vladimír Čunát
0649fcdf26
xorg.xorgserver: apply upstream patch
This fixes xorg.xf86videovmware build (channel blocker).
2021-11-24 09:10:11 +01:00
Kerstin Humm
bb799694db
epoxy: rename to libepoxy
https://github.com/NixOS/nixpkgs/issues/145040
2021-11-11 05:55:32 +01:00
Julien Moutinho
6e46232ca2 xorg.xinit: fix cross-compiling 2021-10-20 18:33:17 +02:00
github-actions[bot]
a21275cdae
Merge master into staging-next 2021-09-17 18:01:14 +00:00
oxalica
6076184227
xorg.xf86*: fix include dir
`installFlags` do not work since .pc files are generated during
configure phase. We need to override them with configure flags.
2021-09-16 00:42:24 +08:00
Alyssa Ross
a3c3bb0de9 xorg.libXft: 2.3.3 -> 2.3.4 2021-08-25 07:27:31 +00:00
TredwellGit
a51c130827 xorg.xwd: 1.0.7 -> 1.0.8
https://lists.x.org/archives/xorg-announce/2021-August/003102.html
2021-08-03 03:35:29 +00:00
Sandro Jäckel
388a4ef423
treewide: convert all links git.archlinux.org to github.com/archlinux/svntogit-* 2021-07-14 03:35:21 +02:00
Atemu
4b4c8650a8 xorgserver: override build OS name 2021-07-13 22:41:16 +02:00
github-actions[bot]
9c8cef37d2
Merge master into staging-next 2021-06-20 12:04:37 +00:00
Michele Guerini Rocco
57d4300e33
Merge pull request #126756 from Atemu/fix/xorg-bigelow-holmes-font-license
xorg: fix Bigelow & Holmes fonts license
2021-06-20 11:54:23 +02:00
Jan Tojnar
e3dfa79441
Merge branch 'staging-next' into staging
Regenerated pkgs/servers/x11/xorg/default.nix to resolve the conflict.
2021-06-16 19:59:05 +02:00
Naïm Favier
f49c857a1d
fonttosfnt: 1.2.1 -> 1.2.2
https://lists.x.org/archives/xorg-announce/2021-June/003093.html
2021-06-15 10:06:13 +02:00
Felix Buehler
6c48964a0d xorg: change generator "name" to "pname" & "version" 2021-06-14 22:20:35 +02:00
Atemu
41fe4148a1 xorg: fix Bigelow & Holmes fonts license 2021-06-13 16:15:34 +02:00
Silvan Mosberger
5f7f084ab7 xorg.xorgdocs: Make man pages discoverable by manpages 2021-05-04 23:11:32 +02:00
github-actions[bot]
b95da5efb6
Merge master into staging-next 2021-04-22 18:14:27 +00:00
pennae
fc0a5b577e xinit: don't unset DBUS_SESSION_BUS_ADDRESS in startx
upstream startx unsets DBUS_SESSION_BUS_ADDRESS, which in turn breaks
applications run under the startx display manager. arch has shipped this
patch for years as well.

(with review changes from @Mic92)
2021-04-22 13:03:41 +02:00
Gabriel Ebner
acbfd3f7c0 mesa: add driversdev output and test that dev doesn't depend on drivers
OpenGL applications should not depend on the Mesa drivers, since these
are supposed to be loaded at runtime from /run/opengl-driver using the
glvnd library.  Furthermore, the drivers output has a large closure
since it depends on LLVM.

The only dependency from dev to drivers came from the xatracker
pkg-config file.  This commit moves this file into a new
output called driversdev.
2021-04-09 09:26:12 +02:00
Sandro
0e04d7db6c
Merge pull request #116945 from SuperSandro2000/xlibs-related 2021-04-02 21:41:46 +02:00
Ivan Kozik
ac032f85c6 xorg.xf86videovmware: build with llvm instead of llvm_6
I don't see issues when it is built with llvm.
2021-03-29 17:35:35 +00:00
Sandro Jäckel
21c17bf758
xorg.xf86videoopenchrome: fix build 2021-03-19 17:33:30 +01:00
Ben Siraphob
3bbad8b041 treewide: remove inherited stdenv.lib 2021-01-27 12:44:43 +07:00
volth
bc0d605cf1 treewide: fix double quoted strings in meta.description
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Jan Tojnar
c0d2951fa6
Merge branch 'master' into staging-next 2021-01-15 17:46:46 +01:00
Ben Siraphob
872973d7d1 pkgs/servers: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Jan Tojnar
0ea0dacc20
Merge branch 'staging-next' into staging 2021-01-07 13:06:41 +01:00
John Ericson
5c2965145f treewide: Inline more of the static overlay
Picking up where #107238 left off. I think I'll have gotten all the easy
stuff with this.
2021-01-03 21:46:14 +00:00
TredwellGit
ad86bc75eb xorg.fonttosfnt: 1.0.5 -> 1.2.1
https://lists.x.org/archives/xorg-announce/2020-January/003035.html
https://lists.x.org/archives/xorg-announce/2020-October/003062.html
https://lists.x.org/archives/xorg-announce/2020-December/003068.html
2020-12-17 19:59:37 +00:00
Atemu
d3113a62b8 nixos/startx: send Xorg log to the default location
This partially reverts bf3d3dd19b.

I don't know why we weren't getting a default logfile back then but Xorg
definitely provides one now ($XDG_DATA_HOME for regular users and /var/log for
root, see `man Xorg`)
2020-12-13 06:15:33 +01:00
Atemu
a5ea1b6fb3 xorgserver: set log-dir to /var/log instead of the Nix store
Xorg creates the log-dir in its output path because X crashes if it can't write
to its logfile. On a regular distro, this dir would be installed into the root
to prevent that from happening but with Nix, it sits in the read-only Nix store.
Ironically, when Xorg tries to write here, it fails and crashes.

To make Xorg log to /var/log, we have to stop the build script from trying to
create the log-dir as the sandbox doesn't (and shouldn't) have access to /var.

This creates a runtime dependency on /var when running as root but that should
exist on any Linux system (on NixOS, journald always creates /var/log).

Previously, the startx displayManager required some workarounds for logfiles
which are obsolete now.

patchPhase -> postPatch because overriding the patchPhase prevents patches from
being applied
2020-12-13 06:15:32 +01:00
Atemu
338939d464 xinit: use the system xserverrc
Previously it'd try to use the one under its output path which is read-only of
course
2020-12-13 06:15:32 +01:00
TredwellGit
0309973b82 xorg.xorgserver: 1.20.9 -> 1.20.10
https://lists.x.org/archives/xorg-announce/2020-December/003067.html
https://lists.x.org/archives/xorg-announce/2020-December/003066.html
2020-12-01 23:47:01 +00:00
TredwellGit
fc03fe100a xorg: fix update generation
Both e3d3bc66dc and 1d15641433 were done incorrectly.

Also, use python3 in generate-expr-from-tarballs.pl instead of overrides.nix.
2020-11-23 13:30:25 -08:00
Matthieu Coudron
e3d3bc66dc
Merge pull request #101695 from lourkeur/xkeyboard-config
xkeyboard-config: 2.27 -> 2.31
2020-10-27 15:11:04 +01:00
Louis
3f381d579d setxkbmap: include xkeyboard-config manpage 2020-10-27 13:59:14 +01:00
Vladimír Čunát
336bc8283b
Re-Revert "Merge #101508: libraw: 0.20.0 -> 0.20.2"
This reverts commit c778945806.

I believe this is exactly what brings the staging branch into
the right shape after the last merge from master (through staging-next);
otherwise part of staging changes would be lost
(due to being already reachable from master but reverted).
2020-10-26 08:19:17 +01:00
Vladimír Čunát
c778945806
Revert "Merge #101508: libraw: 0.20.0 -> 0.20.2"
I'm sorry; I didn't notice it contained staging commits.

This reverts commit 17f5305b6c, reversing
changes made to a8a018ddc0.
2020-10-25 09:41:51 +01:00
Vladimír Čunát
17f5305b6c
Merge #101508: libraw: 0.20.0 -> 0.20.2 2020-10-25 09:28:53 +01:00
Andreas Rammhold
f0af7d27b8
Merge pull request #98748 from TredwellGit/xorg.xorgserver
xorg.xorgserver: 1.20.8 -> 1.20.9
2020-10-24 00:44:52 +02:00
TredwellGit
3e079834a9 xorg.libX11: 1.6.8 -> 1.6.12
https://lists.x.org/archives/xorg-announce/2020-August/003056.html
https://lists.x.org/archives/xorg-announce/2020-July/003050.html
2020-10-13 22:47:33 -04:00
Jonathan Ringer
f2de9ca370 xorg.xkeyboardconfig: build man pages 2020-09-29 08:10:27 -07:00
rnhmjoj
c45160366b
xorg: mark fonts with proprietary licences as unfree 2020-09-27 11:29:06 +02:00
rnhmjoj
8cadf94a4d
xorg.fontbitstreamtype1: generate .otf fonts 2020-09-27 11:29:05 +02:00
TredwellGit
4ebe8eeb50 xorg.xorgserver: 1.20.8 -> 1.20.9
https://lists.x.org/archives/xorg-announce/2020-August/003059.html
https://lists.x.org/archives/xorg-announce/2020-August/003058.html
2020-09-25 12:44:20 +00:00
Symphorien Gibol
80ba806339 xorg: fix static build 2020-07-02 00:20:06 +02:00