add ebuilds
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2464 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
18
net-misc/nx/nx-3.4.0_p3.ebuild
Normal file
18
net-misc/nx/nx-3.4.0_p3.ebuild
Normal file
@@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/virtual/acl/acl-0.ebuild,v 1.2 2009/12/29 01:57:38 abcd Exp $
|
||||
|
||||
MY_PV="${PV/_p*//}"
|
||||
|
||||
DESCRIPTION="Virtual for the split nx packages"
|
||||
HOMEPAGE=""
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE=""
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=net-misc/nxproxy-${MY_PV}
|
||||
>=net-misc/nx-X11-${MY_PV}"
|
||||
3
net-misc/nxcompsh/Manifest
Normal file
3
net-misc/nxcompsh/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
AUX nxcompsh-3.2.0-gcc43.patch 823 RMD160 ec8d4bb40c0d10b6898e7dc9a0b77cc641587588 SHA1 cda1e79f97483c1d3b43fc1579b644bacfe88287 SHA256 9f1c2f6b808c4c22c9bf4a6d8e8c89b8d240d1c8d9be1918bea60aece87dc899
|
||||
DIST nxcompsh-3.4.0-2.tar.gz 76941 RMD160 6fddf760f76a41d334f103cfd1802f143ba9ad80 SHA1 5bdea32174047ddf70e9cbb0f3c298d269c2bb8d SHA256 d6d29c59f070ea1ff65901a33e2013902abb3765dc6a8858f5bd6d09eccb6bf0
|
||||
EBUILD nxcompsh-3.4.0_p2.ebuild 1113 RMD160 c4533d636a5c3ffa1cbc890acae640cf70f3e1f0 SHA1 f77efe56fd1b43ac947c1695cc7c4d7aee534e14 SHA256 e0a4f678e61343b90b099d820b4db24d7b6bba9d004fa0fcf09badd0fc875222
|
||||
43
net-misc/nxcompsh/files/nxcompsh-3.2.0-gcc43.patch
Normal file
43
net-misc/nxcompsh/files/nxcompsh-3.2.0-gcc43.patch
Normal file
@@ -0,0 +1,43 @@
|
||||
--- nxcompsh/Logger.cpp.orig 2008-07-21 17:53:09 +0400
|
||||
+++ nxcompsh/Logger.cpp 2008-07-21 17:59:57 +0400
|
||||
@@ -26,7 +26,9 @@
|
||||
#include "Logger.h"
|
||||
#include "Timestamp.h"
|
||||
|
||||
-#include <ctype.h>
|
||||
+#include <cctype>
|
||||
+
|
||||
+using namespace std;
|
||||
|
||||
Logger logger;
|
||||
|
||||
--- nxcompsh/Logger.h.orig 2008-07-21 17:53:29 +0400
|
||||
+++ nxcompsh/Logger.h 2008-07-21 18:01:53 +0400
|
||||
@@ -18,7 +18,7 @@
|
||||
#ifndef Logger_H
|
||||
#define Logger_H
|
||||
|
||||
-#include <errno.h>
|
||||
+#include <cerrno>
|
||||
#include <stdarg.h>
|
||||
|
||||
//
|
||||
--- nxcompsh/Misc.h.orig 2008-07-22 14:10:18 +0400
|
||||
+++ nxcompsh/Misc.h 2008-07-22 14:12:38 +0400
|
||||
@@ -18,10 +18,13 @@
|
||||
#ifndef Misc_H
|
||||
#define Misc_H
|
||||
|
||||
-#include <iostream.h>
|
||||
+#include <iostream>
|
||||
|
||||
-#include <errno.h>
|
||||
-#include <string.h>
|
||||
+#include <cerrno>
|
||||
+#include <cstring>
|
||||
+#include <ios>
|
||||
+
|
||||
+using namespace std;
|
||||
|
||||
//
|
||||
// This is MD5 length.
|
||||
50
net-misc/nxcompsh/nxcompsh-3.4.0_p2.ebuild
Normal file
50
net-misc/nxcompsh/nxcompsh-3.4.0_p2.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
|
||||
MY_P=${P/_p/-}
|
||||
MY_PV=${PV/_p*/}
|
||||
|
||||
inherit autotools eutils multilib
|
||||
|
||||
DESCRIPTION="NX compression technology core libraries"
|
||||
HOMEPAGE="http://www.nomachine.com/developers.php"
|
||||
SRC_URI="http://web04.nomachine.com/download/${MY_PV}/sources/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="x11-libs/libX11
|
||||
>=media-libs/jpeg-6b-r4
|
||||
>=media-libs/libpng-1.2.8
|
||||
>=sys-libs/zlib-1.2.3
|
||||
!<net-misc/nx-${MY_PV}
|
||||
>=net-misc/nxcomp-${MY_PV}"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/nxcompsh
|
||||
|
||||
src_prepare() {
|
||||
# Respect CFLAGS/CXXFLAGS
|
||||
epatch "${FILESDIR}"/nxcompsh-3.2.0-gcc43.patch
|
||||
# Use System nxcomp
|
||||
#epatch "${FILESDIR}"/nxcompext-3.4.0-no-local-nxcomp.patch
|
||||
# IOError
|
||||
#epatch "${FILESDIR}"/nxcompext-3.4.0-NXlib-xgetioerror.patch
|
||||
# Run autoreconf in all neeed folders
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Install Libs
|
||||
dolib libXcompsh.a
|
||||
dolib.so libXcompsh.so*
|
||||
# Install Header
|
||||
insinto /usr/include/nx
|
||||
doins Connector.h Dispatcher.h Event.h Listener.h
|
||||
}
|
||||
2
net-misc/opennx/Manifest
Normal file
2
net-misc/opennx/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST opennx-0.16.tar.gz 1040560 RMD160 b95a983c28d1651d8cbe597c6aa8bb84be87fb36 SHA1 3f8d62c17f1651eff6ec9ca88721c9a95f443d54 SHA256 74fd6775b77dd5046d1ee6102abe8a855c5e04343269f5b587822598ec50eed9
|
||||
EBUILD opennx-0.16.ebuild 976 RMD160 d221ab4b91da8ade3ee474fc7edeb8d257aadbea SHA1 cfd7b1bcc7f2e9c33c1d8a3f8b579123e294a979 SHA256 4ff8d6fafacc5a4be9f31c7e71139b6da6bad14872774838354557daf9be3d53
|
||||
44
net-misc/opennx/opennx-0.16.ebuild
Normal file
44
net-misc/opennx/opennx-0.16.ebuild
Normal file
@@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
inherit eutils wxwidgets
|
||||
|
||||
DESCRIPTION="OpenNX is an OSS drop-in replacement for Nomachine's nxclient"
|
||||
HOMEPAGE="http://sourceforge.net/projects/opennx/"
|
||||
SRC_URI="mirror://sourceforge/opennx/opennx/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="x11-libs/wxGTK:2.8
|
||||
dev-libs/opensc
|
||||
net-print/cups
|
||||
dev-libs/libusb
|
||||
net-fs/samba[client]
|
||||
net-misc/nx"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
!net-misc/nxclient"
|
||||
|
||||
PROVIDE="virtual/nxclient"
|
||||
|
||||
src_configure() {
|
||||
need-wxwidgets gtk2
|
||||
|
||||
econf \
|
||||
--with-wx-config="${WX_CONFIG}" || die "econf failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
# nxssh expects the client to be named nxclient so create a symlink
|
||||
# to make this hardcoded app happy
|
||||
dosym opennx /usr/bin/nxclient || die "failed creating symlink"
|
||||
dodoc ChangeLog
|
||||
}
|
||||
Reference in New Issue
Block a user