summaryrefslogtreecommitdiff
path: root/extra/freenx/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/freenx/PKGBUILD')
-rw-r--r--extra/freenx/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/extra/freenx/PKGBUILD b/extra/freenx/PKGBUILD
index b62092a0f..f686b0bb1 100644
--- a/extra/freenx/PKGBUILD
+++ b/extra/freenx/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 157437 2012-04-28 09:58:42Z andyrtr $
+# $Id: PKGBUILD 167672 2012-10-02 21:03:34Z andyrtr $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
#Contributed: eliott <eliott@solarblue.net>, Andre Naumann <anaumann@SPARCed.org>
pkgname=freenx
pkgver=0.7.3
-pkgrel=11
+pkgrel=13
pkgdesc="Free Software (GPL) Implementation of the NX Server"
arch=(i686 x86_64)
url="http://freenx.berlios.de"
license=('GPL')
-depends=('nx-common' 'nx-x11' 'nxagent' 'nxproxy' 'gnu-netcat' 'inetutils' 'openssh' 'expect' 'python'
+depends=('nx-common' 'nx-x11' 'nxagent' 'nxproxy' 'gnu-netcat' 'inetutils' 'openssh' 'expect' 'python2' 'python2-gobject'
'xorg-xauth' 'xorg-fonts-misc' 'coreutils' 'xorg-xmessage' 'xorg-xrdb' 'xorg-xpr' 'xorg-xset' 'xorg-sessreg')
optdepends=('cups: adds printing support')
makedepends=('imake')
@@ -65,6 +65,9 @@ build() {
sed -i -e 's:NOMACHINE_NX_HOME_DIR="/usr/lib/nx/home/nx":NOMACHINE_NX_HOME_DIR="/var/lib/nxserver/home/nx":g' nxloadconfig node.conf.sample
sed -i -e 's:\/usr\/NX:\/usr\/lib\/nx:g' nxdialog
+ # python2 fix
+ sed -i -e 's:\/usr\/bin\/env\ python:\/usr\/bin\/env\ python2:' nx-session-launcher/nx-session-launcher
+
# fix key generation
sed -i -e 's,AUTOMATIC="no",AUTOMATIC="yes",g' nxsetup