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