1 |
commit: e2eeca2b2ba588a70f3ac403114b61decbf5e9f2 |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 19 00:12:36 2023 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 19 00:12:36 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2eeca2b |
7 |
|
8 |
net-misc/nx: drop 3.5.99.25 |
9 |
|
10 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
11 |
|
12 |
net-misc/nx/Manifest | 1 - |
13 |
net-misc/nx/nx-3.5.99.25.ebuild | 141 ---------------------------------------- |
14 |
2 files changed, 142 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/nx/Manifest b/net-misc/nx/Manifest |
17 |
index 2ed611fcd37c..a26e72b420fc 100644 |
18 |
--- a/net-misc/nx/Manifest |
19 |
+++ b/net-misc/nx/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST nx-libs-3.5.99.25.tar.gz 11065489 BLAKE2B 9210441fd2dc38fec14c90018ead4e3ddacd5ac266a26b1d985f874af0abdef3fdc2255614e45ec23816f1194ebe6ffe2beb776901eb1ed206658e8175b1ff57 SHA512 142378ae9a81542ed1bc969e9fcb2d421f1d63f7d46185c80e1e07493298e62379697ca2a367301c0f3df631acb19510113f3852922454fdc964767c36a81004 |
22 |
DIST nx-libs-3.5.99.26.tar.gz 11070624 BLAKE2B f67f522b127858aa2ddf1c9723468a74722a5ef2fa1e7f438844a8e5b05b868cacac22abf2c604c67d5e83a346217b192773f5debe67945d085768ae43205cb7 SHA512 1aead6161e4d7b8d7229ff80937935b23ad1f87135a578ae483a00348d0df7de35e9f9b78c47c473fda3ab2cc896ef23e845cc5656344a43520b091af9663211 |
23 |
|
24 |
diff --git a/net-misc/nx/nx-3.5.99.25.ebuild b/net-misc/nx/nx-3.5.99.25.ebuild |
25 |
deleted file mode 100644 |
26 |
index 90e978be610a..000000000000 |
27 |
--- a/net-misc/nx/nx-3.5.99.25.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,141 +0,0 @@ |
30 |
-# Copyright 1999-2023 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
-inherit autotools toolchain-funcs |
35 |
- |
36 |
-DESCRIPTION="NX compression technology core libraries" |
37 |
-HOMEPAGE="https://github.com/ArcticaProject/nx-libs" |
38 |
- |
39 |
-SRC_URI="https://github.com/ArcticaProject/nx-libs/archive/${PV}.tar.gz -> nx-libs-${PV}.tar.gz" |
40 |
- |
41 |
-LICENSE="GPL-2" |
42 |
-SLOT="0" |
43 |
-KEYWORDS="amd64 ~ppc x86" |
44 |
- |
45 |
-RDEPEND="dev-libs/libxml2 |
46 |
- >=media-libs/libpng-1.2.8:0= |
47 |
- >=sys-libs/zlib-1.2.3 |
48 |
- virtual/jpeg:* |
49 |
- x11-libs/libX11 |
50 |
- x11-libs/libXcomposite |
51 |
- x11-libs/libXdamage |
52 |
- x11-libs/libXdmcp |
53 |
- x11-libs/libXext |
54 |
- x11-libs/libXfixes |
55 |
- x11-libs/libXfont2 |
56 |
- x11-libs/libXinerama |
57 |
- x11-libs/libXpm |
58 |
- x11-libs/libXrandr |
59 |
- x11-libs/libXrender |
60 |
- x11-libs/libXtst |
61 |
- x11-libs/pixman" |
62 |
- |
63 |
-DEPEND="${RDEPEND} |
64 |
- x11-base/xorg-proto |
65 |
- x11-libs/libfontenc" |
66 |
- |
67 |
-BDEPEND="sys-apps/which |
68 |
- virtual/pkgconfig |
69 |
- x11-misc/gccmakedep |
70 |
- x11-misc/imake" |
71 |
- |
72 |
-S="${WORKDIR}/nx-libs-${PV}" |
73 |
- |
74 |
-PATCHES=( |
75 |
- "${FILESDIR}/${PN}-3.5.99.25-musl.patch" |
76 |
-) |
77 |
- |
78 |
-src_prepare() { |
79 |
- default |
80 |
- |
81 |
- # We want predictable behavior. So let's assume we never |
82 |
- # have quilt installed. |
83 |
- sed 's@which quilt@false@' -i mesa-quilt || die |
84 |
- |
85 |
- # Do not compress man pages by default |
86 |
- sed '/^[[:space:]]*gzip.*man/d' -i Makefile || die |
87 |
- |
88 |
- # run autoreconf in all needed folders |
89 |
- local subdir |
90 |
- for subdir in nxcomp nxdialog nx-X11/lib nxcompshad nxproxy ; do |
91 |
- pushd ${subdir} || die |
92 |
- eautoreconf |
93 |
- popd || die |
94 |
- done |
95 |
-} |
96 |
- |
97 |
-src_configure() { |
98 |
- # From xorg-x11-6.9.0-r3.ebuild |
99 |
- pushd nx-X11 || die |
100 |
- HOSTCONF="config/cf/host.def" |
101 |
- echo "#define CcCmd $(tc-getCC)" >> ${HOSTCONF} |
102 |
- echo "#define OptimizedCDebugFlags ${CFLAGS} GccAliasingArgs" >> ${HOSTCONF} |
103 |
- echo "#define OptimizedCplusplusDebugFlags ${CXXFLAGS} GccAliasingArgs" >> ${HOSTCONF} |
104 |
- # Respect LDFLAGS |
105 |
- echo "#define ExtraLoadFlags ${LDFLAGS}" >> ${HOSTCONF} |
106 |
- echo "#define SharedLibraryLoadFlags -shared ${LDFLAGS}" >> ${HOSTCONF} |
107 |
- # Disable SunRPC, #370767 |
108 |
- echo "#define HasSecureRPC NO" >> ${HOSTCONF} |
109 |
- popd || die |
110 |
- |
111 |
- local subdir |
112 |
- for subdir in nxcomp nxdialog nxcompshad nxproxy ; do |
113 |
- pushd ${subdir} || die |
114 |
- econf |
115 |
- popd || die |
116 |
- done |
117 |
- |
118 |
- pushd "nx-X11/lib" || die |
119 |
- econf --disable-poll |
120 |
- popd || die |
121 |
-} |
122 |
- |
123 |
-src_compile() { |
124 |
- # First set up the build environment |
125 |
- emake build-env |
126 |
- |
127 |
- # We replicate the "build-full" make target here because |
128 |
- # we cannot call "make build-full" as it |
129 |
- # - calls autoreconf several times |
130 |
- # - invokes make directly but we prefer our emake |
131 |
- |
132 |
- emake -C nxcomp |
133 |
- emake -C nx-X11/lib |
134 |
- |
135 |
- mkdir -p nx-X11/exports/lib/ || die |
136 |
- local nxlib |
137 |
- for nxlib in libNX_X11.so{,.6{,.3.0}} ; do |
138 |
- ln -s ../../lib/src/.libs/${nxlib} nx-X11/exports/lib/${nxlib} || die |
139 |
- done |
140 |
- |
141 |
- emake -C nxcompshad |
142 |
- |
143 |
- ./mesa-quilt push -a || die |
144 |
- |
145 |
- emake -C nx-X11 BuildDependsOnly |
146 |
- # Parallel make issue resurfaced, upstream working on autotools switch |
147 |
- emake -j1 -C nx-X11 World \ |
148 |
- USRLIBDIR="${EPREFIX}/usr/$(get_libdir)/${PN}/X11" \ |
149 |
- SHLIBDIR="${EPREFIX}/usr/$(get_libdir)" \ |
150 |
- ETCDIR_NX="${EPREFIX}/etc/nxagent" |
151 |
- |
152 |
- emake -C nxproxy |
153 |
-} |
154 |
- |
155 |
-src_install() { |
156 |
- emake \ |
157 |
- DESTDIR="${D}" \ |
158 |
- PREFIX="${EPREFIX}/usr" \ |
159 |
- NXLIBDIR="${EPREFIX}/usr/$(get_libdir)/${PN}" \ |
160 |
- SHLIBDIR="${EPREFIX}/usr/$(get_libdir)" \ |
161 |
- USRLIBDIR="${EPREFIX}/usr/$(get_libdir)/${PN}/X11" \ |
162 |
- ETCDIR_NX="${EPREFIX}/etc/nxagent" \ |
163 |
- install |
164 |
- |
165 |
- # Already provided by mesa & related packages |
166 |
- rm -r "${ED}"/usr/include/GL || die |
167 |
- |
168 |
- # Get rid of libtool files and static libs. |
169 |
- find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die |
170 |
-} |