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