diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-10-17 10:20:19 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-10-17 10:20:19 -0300 |
commit | 66e4c91d4531eef5adcd9dbe4a71e63c9b72cd7e (patch) | |
tree | 19e3e26a15f15fc8405ba2016fe9d4cc19919833 /community-testing/neatx | |
parent | c646bdd97c63b2d81bc27060203fabfebabda716 (diff) | |
parent | c84b2cd310f86dc50c4f52a5907cb17652e8c87c (diff) |
Merged upstream, mesa needs revision
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community-staging/gigi/PKGBUILD
community-staging/lxdm/PKGBUILD
community-staging/lxdm/lxdm-pam
community-staging/lxdm/lxdm.install
community-staging/lxdm/service
community-testing/gigi/PKGBUILD
community/calf/PKGBUILD
community/freedroidrpg/PKGBUILD
community/gmic/PKGBUILD
community/gnash/PKGBUILD
community/prboom/PKGBUILD
community/scorched3d/PKGBUILD
community/tmux/PKGBUILD
community/torcs/PKGBUILD
core/curl/PKGBUILD
core/systemd/PKGBUILD
core/sysvinit/PKGBUILD
extra/akonadi/PKGBUILD
extra/bzflag/PKGBUILD
extra/dhcp/PKGBUILD
extra/ftgl/PKGBUILD
extra/gcin/PKGBUILD
extra/imagemagick/PKGBUILD
extra/mesa/PKGBUILD
extra/python-telepathy/PKGBUILD
extra/qtiplot/PKGBUILD
extra/ruby/PKGBUILD
extra/wireshark/PKGBUILD
extra/xfce4-xkb-plugin/PKGBUILD
extra/xine-lib/PKGBUILD
extra/xorg-server/PKGBUILD
gnome-unstable/at-spi2-atk/PKGBUILD
gnome-unstable/at-spi2-core/PKGBUILD
gnome-unstable/baobab/PKGBUILD
gnome-unstable/epiphany/PKGBUILD
gnome-unstable/gdm/PKGBUILD
gnome-unstable/glib2/PKGBUILD
gnome-unstable/gnome-games/PKGBUILD
gnome-unstable/gnome-screensaver/PKGBUILD
gnome-unstable/gnome-session/PKGBUILD
gnome-unstable/gtk3/PKGBUILD
gnome-unstable/libpeas/PKGBUILD
gnome-unstable/libsoup/PKGBUILD
gnome-unstable/mutter/PKGBUILD
gnome-unstable/networkmanager/PKGBUILD
multilib/lib32-glew/PKGBUILD
multilib/lib32-gnutls/PKGBUILD
multilib/lib32-mesa/PKGBUILD
multilib/lib32-sqlite/PKGBUILD
multilib/wine/PKGBUILD
multilib/wine_gecko/PKGBUILD
staging/calligra/PKGBUILD
staging/inkscape/PKGBUILD
staging/kdebase-workspace/PKGBUILD
staging/kdebase-workspace/kde-np.pam
staging/kdebase-workspace/kde.pam
staging/kdebase-workspace/kdm.service
staging/libreoffice/PKGBUILD
staging/libreoffice/libreoffice-common.csh
staging/libreoffice/libreoffice-common.sh
staging/poppler/PKGBUILD
testing/dbus-python/PKGBUILD
testing/e2fsprogs/PKGBUILD
testing/iproute2/PKGBUILD
testing/iptables/PKGBUILD
testing/kdebase-workspace/PKGBUILD
testing/kdebase-workspace/kde-np.pam
testing/kdebase-workspace/kde.pam
testing/kdebindings-python/PKGBUILD
testing/lvm2/PKGBUILD
testing/lvm2/lvm-on-crypt.service
testing/lvm2/lvm.service
testing/miro/PKGBUILD
testing/postgresql/PKGBUILD
testing/postgresql/postgresql.install
testing/postgresql/postgresql.service
testing/ppp/PKGBUILD
testing/ppp/ip-down
testing/pyqt/PKGBUILD
testing/qscintilla/PKGBUILD
testing/sip/PKGBUILD
testing/systemd/PKGBUILD
testing/systemd/systemd.install
testing/util-linux/PKGBUILD
testing/wpa_supplicant/PKGBUILD
testing/wpa_supplicant/config
testing/xf86-video-intel/PKGBUILD
Diffstat (limited to 'community-testing/neatx')
-rw-r--r-- | community-testing/neatx/PKGBUILD | 39 | ||||
-rw-r--r-- | community-testing/neatx/constants.archlinux.patch | 42 | ||||
-rw-r--r-- | community-testing/neatx/neatx.install | 18 |
3 files changed, 99 insertions, 0 deletions
diff --git a/community-testing/neatx/PKGBUILD b/community-testing/neatx/PKGBUILD new file mode 100644 index 000000000..3146452f5 --- /dev/null +++ b/community-testing/neatx/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 78062 2012-10-16 11:51:38Z allan $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Nicolas Doualot <packages@slubman.info> + +pkgname=neatx +pkgver=0.3.1 +pkgrel=13 +pkgdesc="A free NX server by google" +arch=('i686' 'x86_64') +url="http://code.google.com/p/neatx/" +license=('GPL') +depends=('nxserver' 'python2-pexpect' 'python2-simplejson' 'netcat' 'pygtk') +makedepends=('docutils') +optdepends=('xorg-xdm: if you want to use KDE or GNOME session' + 'xorg-fonts-misc: to use default font' + 'xterm: if you want console session') +install=neatx.install +source=(http://neatx.googlecode.com/files/$pkgname-$pkgver.tar.gz + constants.archlinux.patch) +md5sums=('5748656738d5f04fef1af01b9fe5ef20' + 'a5ca4aa399cc25fa8435280e8b03c5a3') + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -i "$srcdir/constants.archlinux.patch" -p2 + + ./configure --prefix=/usr --localstatedir=/var RST2HTML=/usr/bin/rst2html2 + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install + chmod 777 "$pkgdir/var/lib/neatx/sessions" + + install -d -m755 ${pkgdir}/etc/ld.so.conf.d/ + echo -e '/usr/lib\n/opt/NX/lib' > ${pkgdir}/etc/ld.so.conf.d/neatx.conf +} diff --git a/community-testing/neatx/constants.archlinux.patch b/community-testing/neatx/constants.archlinux.patch new file mode 100644 index 000000000..dff5e2415 --- /dev/null +++ b/community-testing/neatx/constants.archlinux.patch @@ -0,0 +1,42 @@ +--- a/neatx-0.3.1/lib/constants.py 2009-06-24 21:19:55.000000000 +0200 ++++ b/neatx-0.3.1/lib/constants.py 2009-07-08 10:50:30.000000000 +0200 +@@ -25,19 +25,19 @@ + from neatx import _autoconf + + +-NXDIR = "/usr/lib/nx" ++NXDIR = "/opt/NX/bin" + + SYSLOG_ADDRESS = "/dev/log" + BASH = "/bin/bash" +-NETCAT = "/bin/netcat" ++NETCAT = "/usr/bin/netcat" + XRDB = "/usr/bin/xrdb" + SU = "/bin/su" + SSH = "/usr/bin/ssh" + XAUTH = "/usr/bin/xauth" +-XSESSION = "/etc/X11/Xsession" ++XSESSION = "/etc/X11/xdm/Xsession" + + START_CONSOLE_COMMAND = "/usr/bin/xterm" +-START_KDE_COMMAND = XSESSION + " startkde" ++START_KDE_COMMAND = " startkde" + START_GNOME_COMMAND = XSESSION + " gnome-session" + + NXUSER = "nx" +@@ -47,12 +47,13 @@ + NXNC = _autoconf.PKGLIBDIR + "/nxnc" + NXDIALOG = _autoconf.PKGLIBDIR + "/nxdialog" + NXAGENT = NXDIR + "/nxagent" +-NXAGENT_PKGNAME = "nxagent" ++#NXAGENT_PKGNAME = "nxagent" ++NXAGENT_PKGNAME = "nxserver" + FDCOPY = _autoconf.PKGLIBDIR + "/fdcopy" + TTYSETUP = _autoconf.PKGLIBDIR + "/ttysetup" + + # Extract nxagent version using the following command. +-NXAGENT_VERSION_COMMAND = ("dpkg-query -W --showformat='${Version}' %s" % ++NXAGENT_VERSION_COMMAND = ("pacman -Qi %s | grep Version | awk '{print $3}'" % + NXAGENT_PKGNAME) + NXAGENT_VERSION_SEP = ".-~" + diff --git a/community-testing/neatx/neatx.install b/community-testing/neatx/neatx.install new file mode 100644 index 000000000..89356878c --- /dev/null +++ b/community-testing/neatx/neatx.install @@ -0,0 +1,18 @@ +post_install() { + useradd -d /opt/NX/home/nx -s /usr/lib/neatx/nxserver-login-wrapper nx &> /dev/null + mkdir -p ~nx/.ssh + cp /usr/share/neatx/authorized_keys.nomachine ~nx/.ssh/authorized_keys + chmod 600 ~nx/.ssh/authorized_keys + chown -R nx ~nx + post_remove +} + +pre_remove() { + userdel nx > /dev/null 2>&1 + rm -rf ~nx +} + +post_remove() { + sed -e '/\/opt\/NX\/lib/d' -i etc/ld.so.conf + ldconfig +} |