X-Original-To: alpine-devel@mail.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 1E248DC6AA0 for ; Sun, 24 Apr 2016 22:08:41 +0000 (UTC) Received: from baboon.maple.relay.mailchannels.net (baboon.maple.relay.mailchannels.net [23.83.214.8]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id A76E5DC5906 for ; Sun, 24 Apr 2016 22:08:40 +0000 (UTC) X-Sender-Id: mxroute|x-authuser|developer@it-offshore.co.uk Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 702D3121925 for ; Sun, 24 Apr 2016 22:08:39 +0000 (UTC) Received: from ocean.mxroute.com (ip-10-204-4-183.us-west-2.compute.internal [10.204.4.183]) by relay.mailchannels.net (Postfix) with ESMTPA id B8CB1121CDF for ; Sun, 24 Apr 2016 22:08:38 +0000 (UTC) X-Sender-Id: mxroute|x-authuser|developer@it-offshore.co.uk Received: from ocean.mxroute.com ([TEMPUNAVAIL]. [10.122.71.23]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.6.11); Sun, 24 Apr 2016 22:08:39 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: mxroute|x-authuser|developer@it-offshore.co.uk X-MailChannels-Auth-Id: mxroute X-MC-Loop-Signature: 1461535718965:3227223977 X-MC-Ingress-Time: 1461535718964 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=it-offshore.co.uk; s=default; h=References:In-Reply-To:Message-Id:Date: Subject:To:From; bh=LbusniEQQmWua/nghyt0tRmgXEbfma26WWYLjAIKHZw=; b=nWt6vy5Dt +WSsnb5rbT+MbwEvc3DAJv15Zy3Fy92gTV0N7PLSoPwFaGgcfpryDwAEs8OrOUyNo1FE1+ZyP5ghp xa3fNMSetDFq0T+GDxEfT1pEArPV3ZPLCC05Rx2rB3gIILRUrEoz9/PYcKuTCkOLmfkoJpadO4rHE dzxWY6IeUx43h6tW5xzxo+ZuQV4M1vQAyvvA7YQPKkVhV3MKKfhe4PRuUvTjyoNHcFJ/pu7Ja1vxd cK+ghbz8L0NJIlSz4iDYOSiVXly3Xhbv03RIfwPgri8gm22D//ul4ClXf+WO/uV5gHYzsXhiiTPa6 cy23L8JLJDMoCmTmwVA1cfoeA==; Received: from [81.4.121.188] (port=52680 helo=localhost.localdomain) by ocean.mxroute.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-SHA256:128) (Exim 4.86_1) (envelope-from ) id 1auSCj-0000Ms-CE for alpine-devel@lists.alpinelinux.org; Sun, 24 Apr 2016 18:08:37 -0400 From: Stuart Cardall To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] [PATCH 9/9] testing/xpra: update to 0.16.3 Date: Sun, 24 Apr 2016 22:08:15 +0000 Message-Id: <1461535695-22540-10-git-send-email-developer@it-offshore.co.uk> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1461535695-22540-1-git-send-email-developer@it-offshore.co.uk> References: <1461535695-22540-1-git-send-email-developer@it-offshore.co.uk> X-AuthUser: developer@it-offshore.co.uk X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Also added: opencl support tests subpkg It should now be possible to run X applications in docker / lxc: https://xpra.org/trac/wiki/Usage/Docker --- testing/xpra/APKBUILD | 35 +++++++++++++++++++++++-------- testing/xpra/fix-xdummy-musl-detect.patch | 19 +++++++++++++++++ 2 files changed, 45 insertions(+), 9 deletions(-) create mode 100644 testing/xpra/fix-xdummy-musl-detect.patch diff --git a/testing/xpra/APKBUILD b/testing/xpra/APKBUILD index da16e5a..30e3ee7 100644 --- a/testing/xpra/APKBUILD +++ b/testing/xpra/APKBUILD @@ -7,12 +7,16 @@ pkgdesc="Xpra is 'screen for X' & allows you to run X programs, usually on a rem url="http://xpra.org" arch="all" license="GPLv2+" -depends="py-gobject py-gtk py-imaging xf86-video-dummy xvfb setxkbmap xorg-server" -depends_dev="python-dev cython-dev libx11-dev libxtst-dev libxcomposite-dev libxdamage-dev libxrandr-dev +depends="py-gobject py-gtk py-imaging xf86-video-dummy xvfb setxkbmap xorg-server py-numpy py-pillow py-gtkglext py-lz4 \ + py-rencode py-opencl" +# cython only depends until cython patch applies +depends_dev="python-dev cython-dev cython libx11-dev libxtst-dev libxcomposite-dev libxdamage-dev libxrandr-dev py-gobject-dev py-gtk-dev libxkbfile-dev gtk+2.0-dev x264-dev x265-dev libvpx-dev ffmpeg-dev libwebp-dev" makedepends="$depends_dev cython" -subpackages="$pkgname-dev $pkgname-doc" -source="http://xpra.org/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-doc $pkgname-tests" +source="http://xpra.org/src/$pkgname-$pkgver.tar.xz + fix-xdummy-musl-detect.patch + " _builddir="$srcdir"/$pkgname-$pkgver prepare() { @@ -28,13 +32,17 @@ prepare() { build() { cd "$_builddir" # https://www.xpra.org/trac/ticket/1080 CFLAGS="$CFLAGS -fno-strict-aliasing" - # fixes lazy loading by xorg under musl http://xpra.org/trac/ticket/820 + # dummy patch applied in http://xpra.org/trac/changeset/12475/xpra + # sed fix applied in http://xpra.org/trac/changeset/12471/xpra sed -i setup.py \ -e '/GDK_BINDINGS_PACKAGES = PYGTK_PACKAGES/s/"xfixes"/"x11", "xext", "xfixes"/' \ -e 's/pkgconfig("xtst", "xfixes", "xcomposite", "xdamage", "xext")\ /pkgconfig("x11", "xtst", "xfixes", "xcomposite", "xdamage", "xext")/' \ -e 's/pkgconfig("xcomposite", "xdamage", "xext")/pkgconfig("x11", "xcomposite", "xdamage", "xext")/' - python setup.py build || return 1 + python setup.py build \ + --with-csc_opencl \ + --with-bundle_tests \ + || return 1 } package() { @@ -42,6 +50,15 @@ package() { python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } -md5sums="9f81ac22991083ee49e01f62ae113a56 xpra-0.16.3.tar.xz" -sha256sums="1516ab10eb348092077ffb698bce234d06a234a5748e422fdf92f34922fb39ea xpra-0.16.3.tar.xz" -sha512sums="1a6bbd01837e702e98ffcaffe12a2e5320108ef50f0fcc64a80735fb53a2b41e4cdda0e0a2d1a3b5f2159a81da4a7c2cac458ab4c2eed4de17adb4e963218590 xpra-0.16.3.tar.xz" +tests() { + cd "$_builddir" + mkdir -p "$subpkgdir"/usr/share/xpra + cp -rf tests "$subpkgdir"/usr/share/xpra/ +} + +md5sums="9f81ac22991083ee49e01f62ae113a56 xpra-0.16.3.tar.xz +b19a1fd26e94be8db372c8555152218d fix-xdummy-musl-detect.patch" +sha256sums="1516ab10eb348092077ffb698bce234d06a234a5748e422fdf92f34922fb39ea xpra-0.16.3.tar.xz +eb88db7301a30441b710f38028f316f90e8cd3af213468d96a5d04d5c64a69ef fix-xdummy-musl-detect.patch" +sha512sums="1a6bbd01837e702e98ffcaffe12a2e5320108ef50f0fcc64a80735fb53a2b41e4cdda0e0a2d1a3b5f2159a81da4a7c2cac458ab4c2eed4de17adb4e963218590 xpra-0.16.3.tar.xz +0ddc4a4359cc257a77445b4bc747bdb79ae8f049078c9dcb531fc41555e8d74842cf599edbd29a2f13bd977a20922df6ab4e51839dba7d4aae865897f2b872fc fix-xdummy-musl-detect.patch" diff --git a/testing/xpra/fix-xdummy-musl-detect.patch b/testing/xpra/fix-xdummy-musl-detect.patch new file mode 100644 index 0000000..cacd7d0 --- /dev/null +++ b/testing/xpra/fix-xdummy-musl-detect.patch @@ -0,0 +1,19 @@ +--- xpra-0.16.3/scripts/xpra_Xdummy ++++ xpra-0.16.3/scripts/xpra_Xdummy.new +@@ -30,8 +30,14 @@ + fi + + if [ ! -x "$LD_LINUX" ]; then +- LD_LINUX='' +- echo "could not determine ld path for $arch, please file an xpra bug" ++ # Musl C / Alpine Linux ++ ldmusl=$(ls /lib | grep ^ld-musl) ++ if [ -n "$ldmusl" ]; then ++ LD_LINUX="/lib/$ldmusl" ++ else ++ LD_LINUX='' ++ echo "could not determine ld path for $arch, please file an xpra bug" ++ fi + fi + } + -- 2.8.1 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---