From: | "Bernard Cafarelli (voyageur)" <voyageur@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/nx: ChangeLog nx-3.5.0.20.ebuild nx-3.5.0.19.ebuild |
Date: | Fri, 29 Mar 2013 09:20:59 |
Message-Id: | 20130329092037.4E3C12171D@flycatcher.gentoo.org |
1 | voyageur 13/03/29 09:20:37 |
2 | |
3 | Modified: ChangeLog |
4 | Added: nx-3.5.0.20.ebuild |
5 | Removed: nx-3.5.0.19.ebuild |
6 | Log: |
7 | Still keeping in sync with upstream |
8 | |
9 | (Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key C74525F2) |
10 | |
11 | Revision Changes Path |
12 | 1.79 net-misc/nx/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nx/ChangeLog?rev=1.79&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nx/ChangeLog?rev=1.79&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nx/ChangeLog?r1=1.78&r2=1.79 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/net-misc/nx/ChangeLog,v |
21 | retrieving revision 1.78 |
22 | retrieving revision 1.79 |
23 | diff -u -r1.78 -r1.79 |
24 | --- ChangeLog 28 Mar 2013 14:02:32 -0000 1.78 |
25 | +++ ChangeLog 29 Mar 2013 09:20:37 -0000 1.79 |
26 | @@ -1,6 +1,12 @@ |
27 | # ChangeLog for net-misc/nx |
28 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/net-misc/nx/ChangeLog,v 1.78 2013/03/28 14:02:32 voyageur Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/net-misc/nx/ChangeLog,v 1.79 2013/03/29 09:20:37 voyageur Exp $ |
31 | + |
32 | +*nx-3.5.0.20 (29 Mar 2013) |
33 | + |
34 | + 29 Mar 2013; Bernard Cafarelli <voyageur@g.o> -nx-3.5.0.19.ebuild, |
35 | + +nx-3.5.0.20.ebuild: |
36 | + Still keeping in sync with upstream |
37 | |
38 | *nx-3.5.0.19 (28 Mar 2013) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 net-misc/nx/nx-3.5.0.20.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nx/nx-3.5.0.20.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nx/nx-3.5.0.20.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: nx-3.5.0.20.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2013 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/net-misc/nx/nx-3.5.0.20.ebuild,v 1.1 2013/03/29 09:20:37 voyageur Exp $ |
53 | |
54 | EAPI=4 |
55 | inherit autotools eutils multilib |
56 | |
57 | DESCRIPTION="NX compression technology core libraries" |
58 | HOMEPAGE="http://www.nomachine.com/developers.php |
59 | http://www.x2go.org/doku.php/wiki:libs:nx-libs" |
60 | |
61 | SRC_URI="http://code.x2go.org/releases/source/nx-libs/nx-libs-${PV}-full.tar.gz" |
62 | |
63 | LICENSE="GPL-2" |
64 | SLOT="0" |
65 | KEYWORDS="~amd64 ~ppc ~x86" |
66 | IUSE="elibc_glibc" |
67 | |
68 | RDEPEND="elibc_glibc? ( || ( net-libs/libtirpc <sys-libs/glibc-2.14 ) ) |
69 | >=media-libs/libpng-1.2.8 |
70 | >=sys-libs/zlib-1.2.3 |
71 | virtual/jpeg" |
72 | |
73 | DEPEND="${RDEPEND} |
74 | x11-misc/gccmakedep |
75 | x11-misc/imake |
76 | x11-proto/inputproto" |
77 | |
78 | S=${WORKDIR}/nx-libs-${PV} |
79 | |
80 | src_prepare() { |
81 | # For nxcl/qtnx |
82 | cd "${S}"/nxproxy |
83 | epatch "${FILESDIR}"/${PN}-3.2.0-nxproxy_read_from_stdin.patch |
84 | |
85 | cd "${S}" |
86 | # Fix sandbox violation |
87 | epatch "${FILESDIR}"/1.5.0/nx-x11-1.5.0-tmp-exec.patch |
88 | # -fPIC |
89 | epatch "${FILESDIR}"/1.5.0/nxcomp-1.5.0-pic.patch |
90 | # Drop force -O3, set AR/RANLIB and |
91 | # run autoreconf in all neeed folders |
92 | epatch "${FILESDIR}"/${PN}-3.5.0.17-cflags_ar_ranlib.patch |
93 | for i in nxcomp nxcompext nxcompshad nxproxy; do |
94 | cd "${S}"/${i} |
95 | eautoreconf ${i} |
96 | cd "${S}" |
97 | done |
98 | |
99 | # From xorg-x11-6.9.0-r3.ebuild |
100 | cd "${S}/nx-X11" |
101 | HOSTCONF="config/cf/host.def" |
102 | echo "#define CcCmd $(tc-getCC)" >> ${HOSTCONF} |
103 | echo "#define OptimizedCDebugFlags ${CFLAGS} GccAliasingArgs" >> ${HOSTCONF} |
104 | echo "#define OptimizedCplusplusDebugFlags ${CXXFLAGS} GccAliasingArgs" >> ${HOSTCONF} |
105 | # Respect LDFLAGS |
106 | echo "#define ExtraLoadFlags ${LDFLAGS}" >> ${HOSTCONF} |
107 | echo "#define SharedLibraryLoadFlags -shared ${LDFLAGS}" >> ${HOSTCONF} |
108 | } |
109 | |
110 | src_configure() { |
111 | cd "${S}"/nxproxy |
112 | econf |
113 | } |
114 | |
115 | src_compile() { |
116 | cd "${S}/nx-X11" |
117 | FAST=1 emake World WORLDOPTS="" MAKE="make" \ |
118 | AR="$(tc-getAR) clq" RANLIB="$(tc-getRANLIB)" \ |
119 | CC="$(tc-getCC)" CXX="$(tc-getCXX)" |
120 | |
121 | cd "${S}"/nxproxy |
122 | emake |
123 | } |
124 | |
125 | src_install() { |
126 | NX_ROOT=/usr/$(get_libdir)/NX |
127 | |
128 | for x in nxagent nxauth nxproxy; do |
129 | make_wrapper $x ./$x ${NX_ROOT}/bin ${NX_ROOT}/$(get_libdir) || |
130 | die " $x wrapper creation failed" |
131 | done |
132 | |
133 | into ${NX_ROOT} |
134 | dobin "${S}"/nx-X11/programs/Xserver/nxagent |
135 | dobin "${S}"/nx-X11/programs/nxauth/nxauth |
136 | dobin "${S}"/nxproxy/nxproxy |
137 | |
138 | for lib in X11 Xau Xcomposite Xdamage Xdmcp Xext Xfixes Xinerama Xpm Xrandr Xrender Xtst; |
139 | do |
140 | dolib.so "${S}"/nx-X11/lib/${lib}/libNX_${lib}.so* |
141 | done |
142 | dolib.so "${S}"/nx-X11/lib/freetype2/libNX_freetype.so* |
143 | |
144 | dolib.so "${S}"/nxcomp/libXcomp.so* |
145 | dolib.so "${S}"/nxcompext/libXcompext.so* |
146 | dolib.so "${S}"/nxcompshad/libXcompshad.so* |
147 | } |