Package Details: xpra-winswitch-svn 17723-2

Git Clone URL: https://aur.archlinux.org/xpra-winswitch-svn.git (read-only)
Package Base: xpra-winswitch-svn
Description: Modified version of xpra by Winswitch
Upstream URL: http://xpra.org/
Licenses: GPL2
Conflicts: xpra
Provides: xpra
Submitter: bug
Maintainer: bug
Last Packager: bug
Votes: 11
Popularity: 0.305941
First Submitted: 2012-04-03 09:13
Last Updated: 2017-12-23 16:42

Latest Comments

hexchain commented on 2018-01-06 09:41

How is this different from aur/xpra now? They seem identical, looking from PKGBUILD.

bug commented on 2017-12-22 12:26

c4757p: WONTFIX for Arch :(

Anyway, the issue landed in stable. Thus, I've updated both PKGBUILDs with moving /lib back to /usr/lib

c4757p commented on 2017-12-08 18:37

A year after upstream "fixed" it, I still get "/lib exists in filesystem". Hacked around by adding to package():

mv ${pkgdir}/lib/* ${pkgdir}/usr/lib/

rmdir ${pkgdir}/lib

bug commented on 2017-12-03 13:43

It's not needed when python2-dbus is installed. Maybe I should change it from optional to required.

minami commented on 2017-12-02 20:06

It looks like python2-pyinotify is needed:

run_scaled --scale=1.63 anki
Warning: cannot use the system proxy for 'start' subcommand,
failed to connect to '/run/xpra/system':
[Errno 2] No such file or directory
Entering daemon mode; any further errors will be reported to:
/run/user/1000/xpra/:62287465.log
2017-12-02 21:01:31,344 Xpra gtk2 client version 2.2 64-bit
2017-12-02 21:01:31,344 running on Linux
2017-12-02 21:01:31,942 GStreamer version 1.12.3 for Python 2.7.14 64-bit
2017-12-02 21:01:32,005 No OpenGL_accelerate module loaded: No module named OpenGL_accelerate
2017-12-02 21:01:32,180 OpenGL enabled with Mesa DRI Intel(R) Haswell Mobile
2017-12-02 21:01:32,425 keyboard settings: rules=evdev, model=pc105, layout=us,cz
2017-12-02 21:01:32,425 desktop size is 3840x2160 with 1 screen:
2017-12-02 21:01:32,426 :0.0 (1016x572 mm - DPI: 96x95)
2017-12-02 21:01:32,426 monitor 1 (600x340 mm - DPI: 162x161)
2017-12-02 21:01:32,426 upscaled by 163%, virtual screen size: 2356x1325
2017-12-02 21:01:32,426 :0.0 (1016x572 mm - DPI: 58x58)
2017-12-02 21:01:32,426 monitor 1 (600x340 mm - DPI: 99x98)
2017-12-02 21:01:32,471 keyboard layouts: us,cz,us,cz
2017-12-02 21:01:32,672 Error: cannot watch for video device changes without pyinotify:
2017-12-02 21:01:32,672 No module named pyinotify

bug commented on 2016-11-19 20:18

Hey all,

figue: That's an upstream issue... and I got upstream to fix it. https://xpra.org/trac/changeset/14445/xpra

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

Hi,

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 setup.py and add /usr to that file, you can see it here:
http://pastie.org/pastes/10959185/text

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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Contributor: Bug <bug2000@gmail.com>
# Maintainer: Bug <bug2000@gmail.com>
pkgname=xpra-winswitch-svn
-pkgver=9586
-pkgrel=2
+pkgver=13282
+pkgrel=1
pkgdesc="Modified version of xpra by Winswitch"
arch=('i686' 'x86_64')
url="http://xpra.org/"
@@ -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')
conflicts=('parti-all')
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: https://www.xpra.org/trac/changeset/13129/xpra
+ git clone https://github.com/aresch/rencode.git
+}

- #
- # BUILD HERE
- #
- python2 setup.py build || return 1
+build() {
+ cd "$srcdir/$_svnmod-build"
+ python2 setup.py build
cd rencode
- python2 setup.py build || return 1
-
+ python2 setup.py 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 setup.py install --root=${pkgdir} || return 1
+ python2 setup.py install --root=${pkgdir}
cd rencode
- python2 setup.py install --root=${pkgdir} || return 1
+ python2 setup.py install --root=${pkgdir}
}

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

All comments