From b5b8cce95c71de795380cc60a0b7728cc3494c50 Mon Sep 17 00:00:00 2001 From: geos_one Date: Mon, 14 Jun 2010 21:26:53 +0000 Subject: [PATCH] net-misc/nxcomp: Initial checkin git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2256 6952d904-891a-0410-993b-d76249ca496b --- net-misc/nxcomp/ChangeLog | 9 ++++ net-misc/nxcomp/Manifest | 6 +++ net-misc/nxcomp/files/nxcomp-1.5.0-pic.patch | 20 +++++++ .../nxcomp/files/nxcomp-3.3.0-cflags.patch | 12 +++++ net-misc/nxcomp/metadata.xml | 34 ++++++++++++ net-misc/nxcomp/nxcomp-3.4.0_p7.ebuild | 53 +++++++++++++++++++ 6 files changed, 134 insertions(+) create mode 100644 net-misc/nxcomp/ChangeLog create mode 100644 net-misc/nxcomp/Manifest create mode 100644 net-misc/nxcomp/files/nxcomp-1.5.0-pic.patch create mode 100644 net-misc/nxcomp/files/nxcomp-3.3.0-cflags.patch create mode 100644 net-misc/nxcomp/metadata.xml create mode 100644 net-misc/nxcomp/nxcomp-3.4.0_p7.ebuild diff --git a/net-misc/nxcomp/ChangeLog b/net-misc/nxcomp/ChangeLog new file mode 100644 index 00000000..db49138a --- /dev/null +++ b/net-misc/nxcomp/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for net-misc/nxcomp +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 14 Jun 2010; Mario Fetka + +files/nxcomp-1.5.0-pic.patch, +files/nxcomp-3.3.0-cflags.patch, + +nxcomp-3.4.0_p7.ebuild, +metadata.xml: + Initial checkin + diff --git a/net-misc/nxcomp/Manifest b/net-misc/nxcomp/Manifest new file mode 100644 index 00000000..6d863423 --- /dev/null +++ b/net-misc/nxcomp/Manifest @@ -0,0 +1,6 @@ +AUX nxcomp-1.5.0-pic.patch 522 RMD160 2016856cb86605ca7ccb6b2c17a1c096c8e80cea SHA1 f3febd574eb07c244a6fc91323631f99fad5fa34 SHA256 d4fb814d5ee3bd13c39e535b731caab0acb9e552cea471c602c8ff9c8e6d535e +AUX nxcomp-3.3.0-cflags.patch 332 RMD160 8b783c93f95d5fc65a04f9568b39d8901ffabc13 SHA1 cb78155cb1dd0029246041d65ed4522b45661bf9 SHA256 51b832ac982eb68ee857a0f09c5776831e8fb17a5fe8c6dac0417cdfadf2455c +DIST nxcomp-3.4.0-7.tar.gz 535623 RMD160 566b06ef03a8025392b02d103594febf78121e8f SHA1 d35abe56ec8aa96cd2748eda5831254f1171cb1f SHA256 1c9eb63e46ae263899aec08c017c6af93b0632883ec916d465df9e438229e485 +EBUILD nxcomp-3.4.0_p7.ebuild 1064 RMD160 8b9dfafa373a11686c65de8061f0bd6fed56c3d3 SHA1 0bba8fb96bdf1a4311bb744e93e1c04b44f6b2f6 SHA256 1106883d5f7b36c954a37d8a8d94857de95610fd7e685ce402288a63a8adaca7 +MISC ChangeLog 295 RMD160 a8c9097bb3dbb1d75aadf096af83b64ebe807c80 SHA1 9f52ca90d7de814d2d04dd7e4ac88a75245554f4 SHA256 ed839e1888b2940c0935c93303b7618c3892dc7f5853a69ba6af16bd3882926d +MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5 diff --git a/net-misc/nxcomp/files/nxcomp-1.5.0-pic.patch b/net-misc/nxcomp/files/nxcomp-1.5.0-pic.patch new file mode 100644 index 00000000..2ccaf978 --- /dev/null +++ b/net-misc/nxcomp/files/nxcomp-1.5.0-pic.patch @@ -0,0 +1,20 @@ +--- nxcomp/Makefile.in.agriffis 2005-11-12 12:48:42.000000000 -0500 ++++ nxcomp/Makefile.in 2005-12-15 12:24:46.000000000 -0500 +@@ -32,7 +32,7 @@ + + CXX = @CXX@ + CXXFLAGS = @CXXFLAGS@ @X_CFLAGS@ @DEFS@ \ +- -Wall -Wpointer-arith ++ -Wall -Wpointer-arith -fPIC + CXXINCLUDES = + CXXDEFINES = + +@@ -42,7 +42,7 @@ + + CC = @CC@ + CCFLAGS = @CFLAGS@ @X_CFLAGS@ @DEFS@ \ +- -Wall -Wpointer-arith ++ -Wall -Wpointer-arith -fPIC + CCINCLUDES = + CCDEFINES = + diff --git a/net-misc/nxcomp/files/nxcomp-3.3.0-cflags.patch b/net-misc/nxcomp/files/nxcomp-3.3.0-cflags.patch new file mode 100644 index 00000000..ce14b408 --- /dev/null +++ b/net-misc/nxcomp/files/nxcomp-3.3.0-cflags.patch @@ -0,0 +1,12 @@ +--- nxcomp/configure.in.orig 2008-12-18 15:48:09.000000000 +0100 ++++ nxcomp/configure.in 2008-12-18 15:54:14.000000000 +0100 +@@ -7,8 +7,7 @@ + + dnl Set our default compilation flags. + +-CXXFLAGS="-O3 -fno-rtti -fno-exceptions" +-CFLAGS="-O3" ++CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions" + + dnl Reset default linking directives. + diff --git a/net-misc/nxcomp/metadata.xml b/net-misc/nxcomp/metadata.xml new file mode 100644 index 00000000..46a44e57 --- /dev/null +++ b/net-misc/nxcomp/metadata.xml @@ -0,0 +1,34 @@ + + + + +no-herd + + @gentoo.org + + + + + diff --git a/net-misc/nxcomp/nxcomp-3.4.0_p7.ebuild b/net-misc/nxcomp/nxcomp-3.4.0_p7.ebuild new file mode 100644 index 00000000..73626674 --- /dev/null +++ b/net-misc/nxcomp/nxcomp-3.4.0_p7.ebuild @@ -0,0 +1,53 @@ +# 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/libXau + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXdmcp + x11-libs/libXpm + x11-libs/libXrandr + x11-libs/libXtst + >=media-libs/jpeg-6b-r4 + >=media-libs/libpng-1.2.8 + >=sys-libs/zlib-1.2.3 + !<=net-misc/nx-${MY_PV}" + +DEPEND="${RDEPEND}" + +S=${WORKDIR}/nxcomp + +src_prepare() { + # -fPIC + epatch "${FILESDIR}"/nxcomp-1.5.0-pic.patch + # Respect CFLAGS/CXXFLAGS + epatch "${FILESDIR}"/nxcomp-3.3.0-cflags.patch + # Run autoreconf in all neeed folders + eautoreconf +} + +src_install() { + # Install Libs + dolib libXcomp.a + dolib.so libXcomp.so* + # Install Header + insinto /usr/include/nx + doins NX*.h MD5.h +}