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.24.ebuild |
Date: | Wed, 21 May 2014 06:48:57 |
Message-Id: | 20140521064853.F09862004C@flycatcher.gentoo.org |
1 | voyageur 14/05/21 06:48:53 |
2 | |
3 | Modified: ChangeLog |
4 | Added: nx-3.5.0.24.ebuild |
5 | Log: |
6 | Version bump |
7 | |
8 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key C74525F2) |
9 | |
10 | Revision Changes Path |
11 | 1.85 net-misc/nx/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nx/ChangeLog?rev=1.85&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nx/ChangeLog?rev=1.85&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nx/ChangeLog?r1=1.84&r2=1.85 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-misc/nx/ChangeLog,v |
20 | retrieving revision 1.84 |
21 | retrieving revision 1.85 |
22 | diff -u -r1.84 -r1.85 |
23 | --- ChangeLog 6 Jan 2014 12:36:47 -0000 1.84 |
24 | +++ ChangeLog 21 May 2014 06:48:53 -0000 1.85 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for net-misc/nx |
27 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-misc/nx/ChangeLog,v 1.84 2014/01/06 12:36:47 voyageur Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-misc/nx/ChangeLog,v 1.85 2014/05/21 06:48:53 voyageur Exp $ |
30 | + |
31 | +*nx-3.5.0.24 (21 May 2014) |
32 | + |
33 | + 21 May 2014; Bernard Cafarelli <voyageur@g.o> +nx-3.5.0.24.ebuild: |
34 | + Version bump |
35 | |
36 | *nx-3.5.0.22 (06 Jan 2014) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 net-misc/nx/nx-3.5.0.24.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nx/nx-3.5.0.24.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/nx/nx-3.5.0.24.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: nx-3.5.0.24.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2014 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/net-misc/nx/nx-3.5.0.24.ebuild,v 1.1 2014/05/21 06:48:53 voyageur Exp $ |
51 | |
52 | EAPI=5 |
53 | inherit autotools eutils multilib readme.gentoo |
54 | |
55 | DESCRIPTION="NX compression technology core libraries" |
56 | HOMEPAGE="http://www.nomachine.com/developers.php |
57 | http://www.x2go.org/doku.php/wiki:libs:nx-libs" |
58 | |
59 | SRC_URI="http://code.x2go.org/releases/source/nx-libs/nx-libs-${PV}-full.tar.gz" |
60 | |
61 | LICENSE="GPL-2" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~ppc ~x86" |
64 | IUSE="elibc_glibc" |
65 | |
66 | RDEPEND="elibc_glibc? ( || ( net-libs/libtirpc <sys-libs/glibc-2.14 ) ) |
67 | media-libs/freetype:2 |
68 | >=media-libs/libpng-1.2.8 |
69 | >=sys-libs/zlib-1.2.3 |
70 | virtual/jpeg" |
71 | |
72 | DEPEND="${RDEPEND} |
73 | x11-misc/gccmakedep |
74 | x11-misc/imake |
75 | x11-proto/inputproto" |
76 | |
77 | S=${WORKDIR}/nx-libs-${PV} |
78 | |
79 | DOC_CONTENTS="If you get problems with rendering gtk+ apps, enable the xlib-xcb |
80 | useflag on x11-libs/cairo." |
81 | |
82 | src_prepare() { |
83 | # For nxcl/qtnx |
84 | cd "${S}"/nxproxy |
85 | epatch "${FILESDIR}"/${PN}-3.2.0-nxproxy_read_from_stdin.patch |
86 | |
87 | cd "${S}" |
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 | |
143 | dolib.so "${S}"/nxcomp/libXcomp.so* |
144 | dolib.so "${S}"/nxcompext/libXcompext.so* |
145 | dolib.so "${S}"/nxcompshad/libXcompshad.so* |
146 | |
147 | insinto /etc/nxagent |
148 | newins etc/keystrokes.cfg keystroke.cfg |
149 | doicon nx-X11/programs/Xserver/hw/nxagent/x2go.xpm |
150 | |
151 | readme.gentoo_create_doc |
152 | } |