1 |
voyageur 09/01/23 09:29:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nx-3.3.0-r3.ebuild |
5 |
Removed: nx-3.3.0-r2.ebuild |
6 |
Log: |
7 |
Version bump to get fixes from nxnode 3.3.0 second maintenance release |
8 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.37 net-misc/nx/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/nx/ChangeLog?rev=1.37&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/nx/ChangeLog?rev=1.37&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/nx/ChangeLog?r1=1.36&r2=1.37 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/nx/ChangeLog,v |
20 |
retrieving revision 1.36 |
21 |
retrieving revision 1.37 |
22 |
diff -u -r1.36 -r1.37 |
23 |
--- ChangeLog 16 Jan 2009 10:51:59 -0000 1.36 |
24 |
+++ ChangeLog 23 Jan 2009 09:29:48 -0000 1.37 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-misc/nx |
27 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nx/ChangeLog,v 1.36 2009/01/16 10:51:59 voyageur Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nx/ChangeLog,v 1.37 2009/01/23 09:29:48 voyageur Exp $ |
30 |
+ |
31 |
+*nx-3.3.0-r3 (23 Jan 2009) |
32 |
+ |
33 |
+ 23 Jan 2009; Bernard Cafarelli <voyageur@g.o> -nx-3.3.0-r2.ebuild, |
34 |
+ +nx-3.3.0-r3.ebuild: |
35 |
+ Version bump to get fixes from nxnode 3.3.0 second maintenance release |
36 |
|
37 |
*nx-3.3.0-r2 (16 Jan 2009) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 net-misc/nx/nx-3.3.0-r3.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/nx/nx-3.3.0-r3.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/nx/nx-3.3.0-r3.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: nx-3.3.0-r3.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/nx/nx-3.3.0-r3.ebuild,v 1.1 2009/01/23 09:29:48 voyageur Exp $ |
52 |
|
53 |
EAPI=2 |
54 |
inherit autotools eutils multilib |
55 |
|
56 |
DESCRIPTION="NX compression technology core libraries" |
57 |
HOMEPAGE="http://www.nomachine.com/developers.php" |
58 |
|
59 |
URI_BASE="http://web04.nomachine.com/download/${PV}/sources" |
60 |
SRC_NX_X11="nx-X11-$PV-5.tar.gz" |
61 |
SRC_NXAGENT="nxagent-$PV-10.tar.gz" |
62 |
SRC_NXAUTH="nxauth-$PV-1.tar.gz" |
63 |
SRC_NXCOMP="nxcomp-$PV-3.tar.gz" |
64 |
SRC_NXCOMPEXT="nxcompext-$PV-3.tar.gz" |
65 |
SRC_NXCOMPSHAD="nxcompshad-$PV-3.tar.gz" |
66 |
SRC_NXPROXY="nxproxy-$PV-2.tar.gz" |
67 |
|
68 |
SRC_URI="$URI_BASE/$SRC_NX_X11 $URI_BASE/$SRC_NXAGENT $URI_BASE/$SRC_NXPROXY $URI_BASE/$SRC_NXAUTH $URI_BASE/$SRC_NXCOMPEXT $URI_BASE/$SRC_NXCOMPSHAD $URI_BASE/$SRC_NXCOMP" |
69 |
|
70 |
LICENSE="GPL-2" |
71 |
SLOT="0" |
72 |
KEYWORDS="~amd64 ~x86" |
73 |
IUSE="rdesktop vnc" |
74 |
|
75 |
RDEPEND="x11-libs/libXau |
76 |
x11-libs/libXcomposite |
77 |
x11-libs/libXdamage |
78 |
x11-libs/libXdmcp |
79 |
x11-libs/libXpm |
80 |
x11-libs/libXrandr |
81 |
x11-libs/libXtst |
82 |
>=media-libs/jpeg-6b-r4 |
83 |
>=media-libs/libpng-1.2.8 |
84 |
>=sys-libs/zlib-1.2.3 |
85 |
rdesktop? ( net-misc/rdesktop ) |
86 |
vnc? ( || ( net-misc/vnc[server] net-misc/tightvnc[server] ) )" |
87 |
|
88 |
DEPEND="${RDEPEND} |
89 |
x11-misc/gccmakedep |
90 |
x11-misc/imake |
91 |
x11-proto/inputproto" |
92 |
|
93 |
S=${WORKDIR}/${PN}-X11 |
94 |
|
95 |
src_unpack() { |
96 |
unpack ${A} |
97 |
|
98 |
# For nxcl/qtnx |
99 |
cd "${WORKDIR}"/nxproxy |
100 |
epatch "${FILESDIR}"/${PN}-3.2.0-nxproxy_read_from_stdin.patch |
101 |
|
102 |
# Quiet some warnings |
103 |
cd "${WORKDIR}"/nxcomp |
104 |
epatch "${FILESDIR}"/${PN}-2.1.0-invalid-options.patch |
105 |
|
106 |
cd "${WORKDIR}" |
107 |
# Fix sandbox violation |
108 |
epatch "${FILESDIR}"/1.5.0/nx-x11-1.5.0-tmp-exec.patch |
109 |
# -fPIC |
110 |
epatch "${FILESDIR}"/1.5.0/nxcomp-1.5.0-pic.patch |
111 |
# Respect CFLAGS/CXXFLAGS |
112 |
epatch "${FILESDIR}"/${PN}-3.3.0-cflags.patch |
113 |
# Run autoreconf in all neeed folders |
114 |
for i in nxcomp nxcompext nxcompshad nxproxy; do |
115 |
cd "${WORKDIR}"/${i} |
116 |
eautoreconf ${i} |
117 |
cd "${WORKDIR}" |
118 |
done |
119 |
|
120 |
# From xorg-x11-6.9.0-r3.ebuild |
121 |
cd "${S}" |
122 |
HOSTCONF="config/cf/host.def" |
123 |
echo "#define CcCmd $(tc-getCC)" >> ${HOSTCONF} |
124 |
echo "#define OptimizedCDebugFlags ${CFLAGS} GccAliasingArgs" >> ${HOSTCONF} |
125 |
echo "#define OptimizedCplusplusDebugFlags ${CXXFLAGS} GccAliasingArgs" >> ${HOSTCONF} |
126 |
} |
127 |
|
128 |
src_compile() { |
129 |
cd "${WORKDIR}"/nxcomp || die "No nxcomp directory found" |
130 |
econf || die "nxcomp econf failed" |
131 |
emake || die "nxcomp emake failed" |
132 |
|
133 |
cd "${WORKDIR}"/nxcompshad || die "No nxcompshad directory found" |
134 |
|
135 |
econf || die "nxcompshad econf failed" |
136 |
emake || die "nxcompshad emake failed" |
137 |
|
138 |
cd "${WORKDIR}"/nxproxy || die "No nxproxy directory found" |
139 |
econf || die "nxproxy econf failed" |
140 |
emake || die "nxproxy emake failed" |
141 |
|
142 |
cd "${S}" || die "No nx-X11 directory found" |
143 |
# Again, from xorg-x11-6.9.0-r3.ebuild |
144 |
unset MAKE_OPTS |
145 |
FAST=1 emake -j1 World WORLDOPTS="" MAKE="make" || die "nx-X11 emake failed" |
146 |
|
147 |
cd "${WORKDIR}"/nxcompext || die "No nxcompext directory found" |
148 |
econf || die "nxcompext econf failed" |
149 |
emake || die "nxcompext emake failed" |
150 |
} |
151 |
|
152 |
src_install() { |
153 |
NX_ROOT=/usr/$(get_libdir)/NX |
154 |
|
155 |
for x in nxagent nxauth nxproxy; do |
156 |
make_wrapper $x ./$x ${NX_ROOT}/bin ${NX_ROOT}/$(get_libdir) || |
157 |
die " $x wrapper creation failed" |
158 |
done |
159 |
|
160 |
into ${NX_ROOT} |
161 |
dobin "${S}"/programs/Xserver/nxagent |
162 |
dobin "${S}"/programs/nxauth/nxauth |
163 |
dobin "${WORKDIR}"/nxproxy/nxproxy |
164 |
|
165 |
dolib.so "${S}"/lib/X11/libX11.so* |
166 |
dolib.so "${S}"/lib/Xext/libXext.so* |
167 |
dolib.so "${S}"/lib/Xrender/libXrender.so* |
168 |
dolib.so "${WORKDIR}"/nxcomp/libXcomp.so* |
169 |
dolib.so "${WORKDIR}"/nxcompext/libXcompext.so* |
170 |
dolib.so "${WORKDIR}"/nxcompshad/libXcompshad.so* |
171 |
} |