Commit f7c45ea8 authored by Eric Vidal's avatar Eric Vidal 💬
Browse files

upgpkg: 1.20.9.r21.g5c400cae1-3

parent 8aa5c7b5
Pipeline #364832 failed with stages
in 1 minute and 31 seconds
......@@ -16,21 +16,20 @@ pkgname=(
'xorg-server-common-rootless'
'xorg-server-devel-rootless')
pkgver=1.20.9
pkgver=1.20.9.r21.g5c400cae1
pkgrel=3
track=
target="${pkgbase}-${pkgver}.tar.bz2"
url="http://xorg.freedesktop.org"
url="https://xorg.freedesktop.org/releases/individual/xserver"
source=(https://xorg.freedesktop.org/releases/individual/xserver/${target}
xserver-autobind-hotplug.patch
xvfb-run # with updates from FC master
xvfb-run.1
0001-v2-FS-58644.patch
0002-fix-libshadow-2.patch
'0001-xfree86-Take-second-reference-for-SavedCursor-in-xf8.patch')
track=commit
target=5c400cae1f9817045378966effa6bca91e45aead # server-1.20-branch 2020-11-09
source=("git+https://gitlab.freedesktop.org/xorg/xserver#${track}=${target}"
'xserver-autobind-hotplug.patch'
'0001-v2-FS-58644.patch'
'0002-fix-libshadow-2.patch'
'xvfb-run' ## with updates from FC master
'xvfb-run.1'
'Xwrapper.config')
#-------------------------------------| BUILD CONFIGURATION |-----------------------------------
......@@ -64,27 +63,28 @@ makedepends=(
'libunwind'
'wayland-protocols'
'egl-wayland'
'meson')
'meson'
'git')
#--------------------------------------| BUILD PREPARATION |------------------------------------
prepare() {
#cd xserver
cd "${pkgbase}-${pkgver}"
pkgver() {
cd xserver
git describe --tags | sed 's/^xorg.server.//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
# patch from Fedora, not yet merged
prepare() {
#cd "${pkgbase}-${pkgver}"
cd xerver
## patch from Fedora, not yet merged
patch -Np1 -i ../xserver-autobind-hotplug.patch
# https://bugs.freedesktop.org/show_bug.cgi?id=106588
## https://bugs.freedesktop.org/show_bug.cgi?id=106588
patch -Np1 -i ../0001-v2-FS-58644.patch
# Fix libshadow.so: libfb.so => not found - FS#58731
# https://bugs.freedesktop.org/show_bug.cgi?id=106656
## Fix libshadow.so: libfb.so => not found - FS#58731
patch -Np1 -i ../0002-fix-libshadow-2.patch
# Fix FS#67774 - merged upstream
patch -Np1 -i ../0001-xfree86-Take-second-reference-for-SavedCursor-in-xf8.patch
}
#--------------------------------------------| BUILD |------------------------------------------
......@@ -98,7 +98,8 @@ build() {
export LDFLAGS=${LDFLAGS/,-z,now}
arch-meson ${pkgbase}-$pkgver build \
#arch-meson ${pkgbase}-$pkgver build
arch-meson xserver build \
-D os_vendor="Obarun" \
-D ipv6=true \
-D xvfb=true \
......@@ -148,9 +149,11 @@ package_xorg-server-common-rootless() {
_install fakeinstall/usr/lib/xorg/protocol.txt
_install fakeinstall/usr/share/man/man1/Xserver.1
install -m644 -Dt "${pkgdir}/var/lib/xkb/" "${pkgbase}-${pkgver}"/xkb/README.compiled
#install -m644 -Dt "${pkgdir}/var/lib/xkb/" "${pkgbase}-${pkgver}"/xkb/README.compiled
install -m644 -Dt "${pkgdir}/var/lib/xkb/" xserver/xkb/README.compiled
# license
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" "${pkgbase}-${pkgver}"/COPYING
#install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" "${pkgbase}-${pkgver}"/COPYING
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" xserver/COPYING
}
package_xorg-server-rootless() {
......@@ -180,7 +183,8 @@ package_xorg-server-rootless() {
install -m755 -d "${pkgdir}/etc/X11/xorg.conf.d"
# license
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" "${pkgbase}-${pkgver}"/COPYING
#install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" "${pkgbase}-${pkgver}"/COPYING
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" xserver/COPYING
}
package_xorg-server-xephyr-rootless() {
......@@ -195,7 +199,8 @@ package_xorg-server-xephyr-rootless() {
_install fakeinstall/usr/share/man/man1/Xephyr.1
# license
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" "${pkgbase}-${pkgver}"/COPYING
#install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" "${pkgbase}-${pkgver}"/COPYING
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" xserver/COPYING
}
package_xorg-server-xvfb-rootless() {
......@@ -211,7 +216,8 @@ package_xorg-server-xvfb-rootless() {
install -m644 "${srcdir}/xvfb-run.1" "${pkgdir}/usr/share/man/man1/" # outda
# license
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" "${pkgbase}-${pkgver}"/COPYING
#install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" "${pkgbase}-${pkgver}"/COPYING
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" xserver/COPYING
}
package_xorg-server-xnest-rootless() {
......@@ -224,7 +230,8 @@ package_xorg-server-xnest-rootless() {
_install fakeinstall/usr/share/man/man1/Xnest.1
# license
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" "${pkgbase}-${pkgver}"/COPYING
#install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" "${pkgbase}-${pkgver}"/COPYING
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" xserver/COPYING
}
package_xorg-server-xwayland-rootless() {
......@@ -237,7 +244,8 @@ package_xorg-server-xwayland-rootless() {
_install fakeinstall/usr/bin/Xwayland
# license
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" "${pkgbase}-${pkgver}"/COPYING
#install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" "${pkgbase}-${pkgver}"/COPYING
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" xserver/COPYING
}
package_xorg-server-devel-rootless() {
......@@ -253,7 +261,8 @@ package_xorg-server-devel-rootless() {
_install fakeinstall/usr/share/aclocal/xorg-server.m4
# license
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" "${pkgbase}-${pkgver}"/COPYING
#install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" "${pkgbase}-${pkgver}"/COPYING
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" xserver/COPYING
# make sure there are no files left to install
find fakeinstall -depth -print0 | xargs -0 rmdir
......
......@@ -178,7 +178,7 @@ EOF
# Start the command and save its exit status.
set +e
DISPLAY=:$SERVERNUM XAUTHORITY=$AUTHFILE "$@" 2>&1
DISPLAY=:$SERVERNUM XAUTHORITY=$AUTHFILE "$@"
RETVAL=$?
set -e
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment