slackware-current/source/x/x11/patch/xorg-server.patch
Patrick J Volkerding addce63adb Mon Jan 18 13:50:16 UTC 2021
Hey folks, a little status update here. First, huge thanks are due to
nobodino for helping to shake out packages that weren't building from source.
With all those fixes in place (plus a few more), we have tested and found that
everything in the tree compiles cleanly against glibc-2.32. So, the plan is to
have another mass rebuild soon against that. Although the ABI didn't
technically change, I've heard that libpthread may not be 100% compatible in
some corner cases, so we'll err on the side of caution. Hopefully we can get a
little testing done on the recompiled system and then go through it all again
at the beginning of next month when glibc-2.33 is released. Other than that,
how's Mesa working these days? If there are still issues that are resolved by
dropping back to the previous branch, let's try to figure those out. I'd rather
not revert Mesa unless there's no other choice. I'm hoping that the (probably
unrelated) issues with Intel video hardware will be helped by today's
xorg-server patch that uses the modesetting driver with newer chipsets. Please
report any improvement on the LQ thread.
Beta approaches. :-)
a/sysklogd-2.2.0-x86_64-1.txz:  Upgraded.
d/distcc-3.3.5-x86_64-2.txz:  Rebuilt.
  Properly install distccmon-gnome.desktop. Thanks to marco70.
d/python-setuptools-51.3.3-x86_64-1.txz:  Upgraded.
l/imagemagick-7.0.10_58-x86_64-1.txz:  Upgraded.
l/libodfgen-0.1.8-x86_64-1.txz:  Upgraded.
l/libsigsegv-2.13-x86_64-1.txz:  Upgraded.
n/inetd-1.79s-x86_64-12.txz:  Rebuilt.
  Rebuilt to link with libtirpc. Thanks to nobodino.
n/nftables-0.9.8-x86_64-1.txz:  Upgraded.
n/postfix-3.5.9-x86_64-1.txz:  Upgraded.
n/tcp_wrappers-7.6-x86_64-4.txz:  Rebuilt.
  Use strerror(), not sys_errlist(). Thanks to nobodino.
x/xorg-server-1.20.10-x86_64-3.txz:  Rebuilt.
  Only use the Intel DDX with pre-gen4 hardware. Newer hardware will use the
  modesetting driver.
x/xorg-server-xephyr-1.20.10-x86_64-3.txz:  Rebuilt.
x/xorg-server-xnest-1.20.10-x86_64-3.txz:  Rebuilt.
x/xorg-server-xvfb-1.20.10-x86_64-3.txz:  Rebuilt.
x/xorg-server-xwayland-1.20.10-x86_64-3.txz:  Rebuilt.
xfce/xfce4-appfinder-4.16.1-x86_64-1.txz:  Upgraded.
2021-01-19 08:59:50 +01:00

30 lines
2.2 KiB
Diff

# We've used this one forever.
zcat $CWD/patch/xorg-server/x11.startwithblackscreen.diff.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
# Without this patch, combo mouse/keyboard (such as Logitech through unified
# receiver) may be unable to set the desired keyboard layout.
zcat $CWD/patch/xorg-server/xorg-server.combo.mouse.keyboard.layout.patch.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
# Fix a segfault in xorg-server-1.20.0. Odds are good this will be fixed in
# the next xorg-server and will no longer apply then.
zcat $CWD/patch/xorg-server/fix-nouveau-segfault.diff.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
# From Fedora Rawhide 2018/7 (possibly useful, doesn't seem like it will hurt anything):
zcat $CWD/patch/xorg-server/0001-Always-install-vbe-and-int10-sdk-headers.patch.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
# From Fedora Rawhide 2018/7, looks like many other distributions have added
# this patch for a long time. Keep an eye out for newer versions though, and
# revisit this if any DE begin to manage secondary GPUs (although none do yet):
zcat $CWD/patch/xorg-server/0001-autobind-GPUs-to-the-screen.patch.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
# The upstream nouveau developers recommend this. On newer nvidia cards it works
# better to use the generic modesetting ddx rather than nouveau.
# Reference: https://bugs.freedesktop.org/show_bug.cgi?id=94844
# Added here 2018/7.
zcat $CWD/patch/xorg-server/0001-xfree86-use-modesetting-driver-by-default-on-GeForce.patch.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
# Fix a PCI related segfault:
zcat $CWD/patch/xorg-server/fix-pci-segfault.diff.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
# Only use Intel DDX with pre-gen4 hardware. Newer hardware will the the modesetting driver by default:
zcat $CWD/patch/xorg-server/06_use-intel-only-on-pre-gen4.diff.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }