From: "Bernard Cafarelli" <voyageur@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/nx/
Date: Sat, 17 Mar 2018 11:08:52 +0000 (UTC) [thread overview]
Message-ID: <1521284911.6e1fedbb3ce80be3be09e77362c740ec47a5ea5a.voyageur@gentoo> (raw)
commit: 6e1fedbb3ce80be3be09e77362c740ec47a5ea5a
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 17 11:08:31 2018 +0000
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sat Mar 17 11:08:31 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e1fedbb
net-misc/nx: 3.5.99.16 version bump
This release primarily fixes nxagent crashing if the session is moved to
a different display or starting up on the non-first display
Package-Manager: Portage-2.3.24, Repoman-2.3.6
net-misc/nx/Manifest | 1 +
net-misc/nx/nx-3.5.99.16.ebuild | 113 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 114 insertions(+)
diff --git a/net-misc/nx/Manifest b/net-misc/nx/Manifest
index 648fa107679..acab7b2c958 100644
--- a/net-misc/nx/Manifest
+++ b/net-misc/nx/Manifest
@@ -1,2 +1,3 @@
DIST nx-libs-3.5.0.33-full.tar.gz 6811378 BLAKE2B f20de5f9f7214fa38f290b2a200481aeb80461b07839a19ca54059d0fb26de769f0d11720b6d443dd618b6ac5ce590a086a21745420411e6a09bfad65e8f8d79 SHA512 cfaa201e5422ddd8d1f12d3f0711d6d7a05fcd92379e5108c7c066ce8ae748f2f80f3bbbbba093d73cfe671fffc912443eb3ced0eeca1ab5a221c46488aa8bc5
DIST nx-libs-3.5.99.15-full.tar.gz 5269081 BLAKE2B 79301870463aae8e71eaf8cad64ad03376c33d42c76884313ca78d439a070d41fff91af4894b60e38bbcc97c3e08e167b45675641cd8d06959fc68f1fece9de4 SHA512 b292e938bc8da7456418ef5356ebe04910ad306d6bb16d6befa3bb875f82b11a2a3f07488e42c6379bef60fc9e150695a8ec84e7af2f594fbd94883d90030e3f
+DIST nx-libs-3.5.99.16-full.tar.gz 5269745 BLAKE2B c968b8dde07e397e84786131cede0dd82979c52069a653de540ec833e5189751db15347aa34cf68db523207aa13ae7507cce0b28b09e897606becdc6effd7fcc SHA512 6b80530345da879e62f9ea506a04c77bd918d3c48d46a22548d1534dab14cae5a715290942fdd5c77708f119522312cd667b6b9f286f106463c5a0debbb0451c
diff --git a/net-misc/nx/nx-3.5.99.16.ebuild b/net-misc/nx/nx-3.5.99.16.ebuild
new file mode 100644
index 00000000000..75aa788486f
--- /dev/null
+++ b/net-misc/nx/nx-3.5.99.16.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils toolchain-funcs
+
+DESCRIPTION="NX compression technology core libraries"
+HOMEPAGE="http://www.x2go.org/doku.php/wiki:libs:nx-libs"
+
+SRC_URI="http://code.x2go.org/releases/source/nx-libs/nx-libs-${PV}-full.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="elibc_glibc"
+
+RDEPEND="media-libs/freetype:2
+ >=media-libs/libpng-1.2.8:*
+ >=sys-libs/zlib-1.2.3
+ virtual/jpeg:*"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-libs/libfontenc
+ x11-libs/libXfont2
+ x11-misc/gccmakedep
+ x11-misc/imake
+ x11-proto/inputproto"
+
+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
+
+ # run autoreconf in all needed folders
+ for i in nxcomp nx-X11/lib nxcompshad nxproxy ; do
+ pushd ${i} || die
+ eautoreconf
+ popd || die
+ done
+
+ # 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}
+}
+
+src_configure() {
+ for i in nxcomp nxcompshad nxproxy ; do
+ pushd ${i} || 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 FONT_DEFINES="-DHAS_XFONT2"
+ emake -C nx-X11 World USRLIBDIR="/usr/$(get_libdir)/${PN}/X11" SHLIBDIR="/usr/$(get_libdir)" FONT_DEFINES="-DHAS_XFONT2" XFONTLIB="-lXfont2"
+
+ 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:[~2018-03-17 11:08 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-17 11:08 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-11-08 15:30 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-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=1521284911.6e1fedbb3ce80be3be09e77362c740ec47a5ea5a.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