Notice: Undefined variable: name in /srv/http/vhosts/ on line 248

Package Details: xpra-winswitch-svn 14634-1

Git Clone URL: (read-only)
Package Base: xpra-winswitch-svn
Description: Modified version of xpra by Winswitch
Upstream URL:
Licenses: GPL2
Conflicts: parti-all
Provides: parti-all, xpra-winswitch
Submitter: bug
Maintainer: bug
Last Packager: bug
Votes: 10
Popularity: 0.000000
First Submitted: 2012-04-03 09:13
Last Updated: 2016-12-28 14:50

Latest Comments

1 2 Next › Last »

bug commented on 2016-11-19 20:18

Hey all,

figue: That's an upstream issue... and I got upstream to fix it.

bboehmke: Changed. Though, I'm not sure using _ALL is the correct way to handle it.

On another note, I dropped the on boot systemd script. If anyone wants it, either do it manually or ask upstream.

bboehmke commented on 2016-11-18 21:42


I have a problem with the pkgver() function.
In my case the system language is not English and the function causes the error: (translated error)

==> Starting pkgver()...
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version:
==> ERROR: Makepkg was unable to build xpra-winswitch-svn.

If I change the "LANG=C svn info ..." to "LC_ALL=C svn info ..." is is working fine.

figue commented on 2016-11-09 18:05

Hi bug,

I notice in latest version systemd service file (xpra.service) goes to /lib/systemd by default, and it fails because pacman says /lib already exists.
A quick patch that works for me is to edit and add /usr to that file, you can see it here:

bug commented on 2016-08-11 08:55

Rencode is used from upstream, that means it finally gets a separate package.
The return statements are for makepkg to stop the process if the build fails.

(And unless something is broken with the PKGBUILD, like the change in rencode right now. There is no need to update the package, as makepkg grabs the latest version)

figue commented on 2016-08-09 09:13

Please, update the package to use rencode upstream code. Also, return statements are not necessary.

This is my proposed patch:

diff --git a/PKGBUILD b/PKGBUILD
index cf700f1..817e4b8 100644
@@ -1,8 +1,8 @@
# Contributor: Bug <>
# Maintainer: Bug <>
pkgdesc="Modified version of xpra by Winswitch"
arch=('i686' 'x86_64')
@@ -10,7 +10,7 @@ license=('GPL2')
depends=('python2' 'pygtk' 'libxtst' 'python2-imaging' 'python2-lz4'
'ffmpeg' 'libvpx' 'xf86-video-dummy' 'libwebp')
optdepends=('x264: Codec')
-makedepends=('subversion' 'python2-setuptools' 'cython2')
+makedepends=('subversion' 'python2-setuptools' 'cython2' 'git')
provides=('parti-all' 'xpra-winswitch')
backup=('etc/conf.d/xpra' 'etc/xpra/xpra.conf' 'etc/xpra/xorg.conf')
@@ -30,27 +30,28 @@ pkgver() {
LANG=C svn info "$SRCDEST/$_svnmod" | awk '/Last Changed Rev/ {print $4}'

-build() {
+prepare() {
rm -rf "$srcdir/$_svnmod-build"
cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
cd "$srcdir/$_svnmod-build"
+ # Since r13129 xpra uses rencode upstream:
+ git clone

- #
- #
- python2 build || return 1
+build() {
+ cd "$srcdir/$_svnmod-build"
+ python2 build
cd rencode
- python2 build || return 1
+ python2 build

package() {
install -Dm644 xpra@.service ${pkgdir}/usr/lib/systemd/user/xpra@.service
install -Dm600 xpra.conf ${pkgdir}/etc/conf.d/xpra
cd "$srcdir/$_svnmod-build"
- python2 install --root=${pkgdir} || return 1
+ python2 install --root=${pkgdir}
cd rencode
- python2 install --root=${pkgdir} || return 1
+ python2 install --root=${pkgdir}

# vim:set ts=2 sw=2 et:

antpk commented on 2015-09-20 17:06

Not sure if it's broken at the moment. 2 things happened to me:
1. svn url has changed. Missing www. Fixed by changing the
2. compile error:
xpra/x11/bindings/randr_bindings.c: In function ‘__pyx_pf_4xpra_3x11_8bindings_14randr_bindings_13RandRBindings_4check_randr’:
xpra/x11/bindings/randr_bindings.c:1134:9: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]

Didn't fix that one.

bug commented on 2014-01-26 14:39

systemd script has been changed.
systemd --user enable xpra@port
from your user to have it run xpra on said port.
Thank XZS for the change.

bug commented on 2012-11-08 20:53

Not needed.
Warning: Packages in the AUR assume the base-devel group is installed, and AUR packages will not list members of this group as dependencies even if the package cannot be built without them. Please ensure this group is installed before complaining about failed builds.

guardian commented on 2012-11-07 16:45

depends on pkg-config

ahuillet commented on 2012-10-25 06:15

Webp is an optional dependency.