From: "Bernard Cafarelli" <voyageur@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/nx/
Date: Sun, 8 Nov 2020 15:30:33 +0000 (UTC) [thread overview]
Message-ID: <1604849423.c7dd149ca9262965cf7aa238dbbe07be56a7c694.voyageur@gentoo> (raw)
commit: c7dd149ca9262965cf7aa238dbbe07be56a7c694
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 8 15:13:26 2020 +0000
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sun Nov 8 15:30:23 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7dd149c
net-misc/nx: 3.5.99.25 bump
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
net-misc/nx/Manifest | 1 +
net-misc/nx/nx-3.5.99.25.ebuild | 136 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 137 insertions(+)
diff --git a/net-misc/nx/Manifest b/net-misc/nx/Manifest
index 519311297d4..9a0f55242ae 100644
--- a/net-misc/nx/Manifest
+++ b/net-misc/nx/Manifest
@@ -2,3 +2,4 @@ DIST nx-libs-3.5.99.16-full.tar.gz 5269745 BLAKE2B c968b8dde07e397e84786131cede0
DIST nx-libs-3.5.99.22-full.tar.gz 5280116 BLAKE2B 1a15ba04ace5fd46b007652897aa911a883fa2840c07f4e89db970d3235556ee83600f5cd4d9c4b64f7ce4767dd448a3654412051496754d73a2815a7573692f SHA512 53e7f1ffd8bf9dfd08426e30b0a18433b64f926959ab95132c28960f9a2390e67a34b1e07c923bf11f889088711d7d97c1fd123507f39c2077211d2c3cd6857f
DIST nx-libs-3.5.99.23.tar.gz 11073366 BLAKE2B 0e06e9c90f73a0264d8363ee3f75914ada884f469d9ba15b062675625a9922be5ec963eb7611484ef2abea83a100e58b05e6421da67d8b5c5f840737e6b37321 SHA512 b627d521f7a3c43c9c000f770bd1e228842099e794cda32b37df621ac86c650990bdc69810b7ff6117cbd60f0339dda93d1e2acdcfac03ddaa50407d71668b60
DIST nx-libs-3.5.99.24.tar.gz 11059384 BLAKE2B 79879991c2c0127e43975d42a27159594e3be29b2e358576da4bdc17ef1dc0c27a31c85b12a8c55638abb99db9f7f1fad4f4d8794c01e1327a5cb68558073fc0 SHA512 755f9065da69f0057a7284eb80f214cd272c6753f32ddaa17b4258c6ccba77c8fec82eafaea87bd3e055610dc798cb141d8e947900ad3bad34c681df664df3b2
+DIST nx-libs-3.5.99.25.tar.gz 11065489 BLAKE2B 9210441fd2dc38fec14c90018ead4e3ddacd5ac266a26b1d985f874af0abdef3fdc2255614e45ec23816f1194ebe6ffe2beb776901eb1ed206658e8175b1ff57 SHA512 142378ae9a81542ed1bc969e9fcb2d421f1d63f7d46185c80e1e07493298e62379697ca2a367301c0f3df631acb19510113f3852922454fdc964767c36a81004
diff --git a/net-misc/nx/nx-3.5.99.25.ebuild b/net-misc/nx/nx-3.5.99.25.ebuild
new file mode 100644
index 00000000000..f910dec05f0
--- /dev/null
+++ b/net-misc/nx/nx-3.5.99.25.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools toolchain-funcs
+
+DESCRIPTION="NX compression technology core libraries"
+HOMEPAGE="https://github.com/ArcticaProject/nx-libs"
+
+SRC_URI="https://github.com/ArcticaProject/nx-libs/archive/${PV}.tar.gz -> nx-libs-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="elibc_glibc"
+
+RDEPEND="dev-libs/libxml2
+ >=media-libs/libpng-1.2.8:0=
+ >=sys-libs/zlib-1.2.3
+ virtual/jpeg:*
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXfont2
+ x11-libs/libXinerama
+ x11-libs/libXpm
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXtst
+ x11-libs/pixman"
+
+DEPEND="${RDEPEND}
+ x11-base/xorg-proto
+ x11-libs/libfontenc
+ x11-misc/gccmakedep
+ x11-misc/imake"
+
+BDEPEND="
+ virtual/pkgconfig"
+
+S="${WORKDIR}/nx-libs-${PV}"
+
+src_prepare() {
+ default
+
+ # We want predictable behavior. So let's assume we never
+ # have quilt installed.
+ sed 's@which quilt@false@' -i mesa-quilt || die
+
+ # Do not compress man pages by default
+ sed '/^[[:space:]]*gzip.*man/d' -i Makefile || die
+
+ # run autoreconf in all needed folders
+ local subdir
+ for subdir in nxcomp nxdialog nx-X11/lib nxcompshad nxproxy ; do
+ pushd ${subdir} || die
+ eautoreconf
+ popd || die
+ done
+}
+
+src_configure() {
+ # From xorg-x11-6.9.0-r3.ebuild
+ pushd nx-X11 || die
+ HOSTCONF="config/cf/host.def"
+ echo "#define CcCmd $(tc-getCC)" >> ${HOSTCONF}
+ echo "#define OptimizedCDebugFlags ${CFLAGS} GccAliasingArgs" >> ${HOSTCONF}
+ echo "#define OptimizedCplusplusDebugFlags ${CXXFLAGS} GccAliasingArgs" >> ${HOSTCONF}
+ # Respect LDFLAGS
+ echo "#define ExtraLoadFlags ${LDFLAGS}" >> ${HOSTCONF}
+ echo "#define SharedLibraryLoadFlags -shared ${LDFLAGS}" >> ${HOSTCONF}
+ # Disable SunRPC, #370767
+ echo "#define HasSecureRPC NO" >> ${HOSTCONF}
+ popd || die
+
+ local subdir
+ for subdir in nxcomp nxdialog nxcompshad nxproxy ; do
+ pushd ${subdir} || die
+ econf
+ popd || die
+ done
+
+ pushd "nx-X11/lib" || die
+ econf --disable-poll
+ popd || die
+}
+
+src_compile() {
+ # First set up the build environment
+ emake build-env
+
+ # We replicate the "build-full" make target here because
+ # we cannot call "make build-full" as it
+ # - calls autoreconf several times
+ # - invokes make directly but we prefer our emake
+
+ emake -C nxcomp
+ emake -C nx-X11/lib
+
+ mkdir -p nx-X11/exports/lib/ || die
+ local nxlib
+ for nxlib in libNX_X11.so{,.6{,.3.0}} ; do
+ ln -s ../../lib/src/.libs/${nxlib} nx-X11/exports/lib/${nxlib} || die
+ done
+
+ emake -C nxcompshad
+
+ ./mesa-quilt push -a || die
+
+ emake -C nx-X11 BuildDependsOnly
+ # Parallel make issue resurfaced, upstream working on autotools switch
+ emake -j1 -C nx-X11 World \
+ USRLIBDIR="/usr/$(get_libdir)/${PN}/X11" \
+ SHLIBDIR="/usr/$(get_libdir)"
+
+ emake -C nxproxy
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ PREFIX="/usr" \
+ NXLIBDIR="/usr/$(get_libdir)/${PN}" \
+ SHLIBDIR="/usr/$(get_libdir)" \
+ USRLIBDIR="/usr/$(get_libdir)/${PN}/X11" \
+ install
+
+ # Already provided by mesa & related packages
+ rm -r "${ED}"/usr/include/GL || die
+
+ # Get rid of libtool files and static libs.
+ find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
+}
next reply other threads:[~2020-11-08 15:30 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-08 15:30 Bernard Cafarelli [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-09 21:47 [gentoo-commits] repo/gentoo:master commit in: net-misc/nx/ Bernard Cafarelli
2025-03-08 14:51 Jakov Smolić
2025-03-08 14:34 Jakov Smolić
2024-05-05 11:49 Sam James
2023-06-28 7:37 Sam James
2023-03-31 20:33 Bernard Cafarelli
2023-03-31 20:33 Bernard Cafarelli
2023-03-19 0:16 Bernard Cafarelli
2022-11-05 7:36 Yixun Lan
2022-10-28 7:17 Sam James
2022-10-28 7:17 Sam James
2022-01-03 23:26 David Seifert
2021-10-24 1:09 Sam James
2021-09-23 13:58 Agostino Sarubbo
2021-09-22 6:58 Agostino Sarubbo
2021-02-07 23:23 Bernard Cafarelli
2021-01-20 7:42 Fabian Groffen
2021-01-07 7:59 Bernard Cafarelli
2020-06-16 20:11 Bernard Cafarelli
2020-05-04 21:23 Bernard Cafarelli
2020-02-02 11:18 Bernard Cafarelli
2019-12-22 14:50 Bernard Cafarelli
2019-05-17 14:37 Bernard Cafarelli
2018-11-29 12:45 Bernard Cafarelli
2018-10-27 19:04 Mikle Kolyada
2018-10-26 0:52 Thomas Deutschmann
2018-04-04 11:25 Lars Wendler
2018-04-04 11:25 Lars Wendler
2018-03-18 20:41 Lars Wendler
2018-03-17 11:08 Bernard Cafarelli
2018-03-12 12:03 Lars Wendler
2018-03-08 10:14 Lars Wendler
2018-03-08 9:53 Bernard Cafarelli
2018-03-06 14:39 Lars Wendler
2018-02-21 18:48 Jason Zaman
2017-11-08 12:58 Bernard Cafarelli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1604849423.c7dd149ca9262965cf7aa238dbbe07be56a7c694.voyageur@gentoo \
--to=voyageur@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox