Package Details: xorgxrdp-glamor 0.2.16-3

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: MIT
Conflicts: xorgxrdp
Provides: xorgxrdp
Submitter: Jat
Maintainer: Jat
Last Packager: Jat
Votes: 0
Popularity: 0.000000
First Submitted: 2021-04-01 10:27
Last Updated: 2021-05-03 12:30

Pinned Comments

Jat commented on 2021-04-01 10:37

for NVIDIA GPU: https://aur.archlinux.org/packages/xorgxrdp-nvidia/

I cant test this package because I only have NVIDI GPU. Please let know if it (not) works.

Latest Comments

sshaikh commented on 2021-04-06 18:35

Now compiles and can confirm glamor is enabled. I've now moved to this package instead of my custom PKGBUILD - many thanks!

Jat commented on 2021-04-01 18:35

@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.

sshaikh commented on 2021-04-01 16:30

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
}

Jat commented on 2021-04-01 10:37

for NVIDIA GPU: https://aur.archlinux.org/packages/xorgxrdp-nvidia/

I cant test this package because I only have NVIDI GPU. Please let know if it (not) works.