When building: xorgxrdp-glamor 0.10.1-1
It requires: extra/xorg-xdpyinfo
This is because xdpyinfo is used in a test during the build, and the test fails without it.
Git Clone URL: | https://aur.archlinux.org/xorgxrdp-glamor.git (read-only, click to copy) |
---|---|
Package Base: | xorgxrdp-glamor |
Description: | Xorg drivers for xrdp, with glamor enabled. Only works on Intel and AMD GPUs. |
Upstream URL: | https://github.com/neutrinolabs/xorgxrdp |
Licenses: | X11 |
Conflicts: | xorgxrdp |
Provides: | xorgxrdp |
Submitter: | Jat |
Maintainer: | Jat |
Last Packager: | Jat |
Votes: | 6 |
Popularity: | 0.93 |
First Submitted: | 2021-04-01 10:27 (UTC) |
Last Updated: | 2024-05-06 01:53 (UTC) |
When building: xorgxrdp-glamor 0.10.1-1
It requires: extra/xorg-xdpyinfo
This is because xdpyinfo is used in a test during the build, and the test fails without it.
Has this been abandoned?
0.9.19-1: https://0x0.st/okCM.diff
It's essential that this package is kept updated as versions need to be kept in sync across clients and servers and the respective packages in the AUR have moved on.
gpg --keyserver keyserver.ubuntu.com --receive-keys 03993B4065E7193B
Current build fails:
==> Validating source files with sha256sums... xorgxrdp-0.2.16.tar.gz ... Passed xorgxrdp-0.2.16.tar.gz.asc ... Skipped glamor.patch ... Passed ==> Verifying source file signatures with gpg... xorgxrdp-0.2.16.tar.gz ... FAILED (unknown public key 03993B4065E7193B) ==> ERROR: One or more PGP signatures could not be verified! Failed to build xorgxrdp-glamor
Now compiles and can confirm glamor is enabled. I've now moved to this package instead of my custom PKGBUILD - many thanks!
@sshaikh thx for ur report.
I can confirm that CFLAGS and LDFLAGS are not necessary on my system. but I dont know if it affect GPU support so I just copied them from ur comment.
bootstrap is not necessary cause it just for creating configure file which the source already has.
xorg-server is necessary for build. I will add it to depends.
Thanks for this.
I get the following building in chroot:
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/build/xorgxrdp-glamor/src/xorgxrdp-0.2.15':
configure: error: C compiler cannot create executables
See `config.log' for more details
==> ERROR: A failure occurred in build().
Aborting...
Here are my depends in my (working) PKGBUILD:
depends=('glibc' 'xorg-server' 'libepoxy')
makedepends=('nasm' 'xorg-server-devel' 'xrdp')
Also my prepare() and build() which may be cleaner than what you have? I didn't have to add to CFLAGS or LDFLAGS, and also call ./bootstrap (I don't know too much about any of this so don't know which is preferable!)
prepare() {
cd "$_pkgname"-"$pkgver"
patch -p1 < ../glamor.patch
./bootstrap
}
build() {
cd "$_pkgname"-"$pkgver"
./configure \
--prefix="/usr" --enable-glamor
make
}
for NVIDIA GPU: https://aur.archlinux.org/packages/xorgxrdp-nvidia/
I can't test this package because I only have a NVIDIA GPU. Please let know if it (not) works.
Pinned Comments
Jat commented on 2021-04-01 10:37 (UTC) (edited on 2023-06-23 18:34 (UTC) by Jat)
for NVIDIA GPU: https://aur.archlinux.org/packages/xorgxrdp-nvidia/
I can't test this package because I only have a NVIDIA GPU. Please let know if it (not) works.