From 7c5ebaf83da4c538dd11b56fdd5dfdf39dcbc096 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 10 Mar 2025 01:49:12 +0000 Subject: gentoo auto-resync : 10:03:2025 - 01:49:12 --- net-misc/nx/Manifest | 2 +- net-misc/nx/nx-3.5.99.27-r1.ebuild | 153 +++++++++++++++++++++++++++++++++++++ net-misc/nx/nx-3.5.99.27.ebuild | 152 ------------------------------------ 3 files changed, 154 insertions(+), 153 deletions(-) create mode 100644 net-misc/nx/nx-3.5.99.27-r1.ebuild delete mode 100644 net-misc/nx/nx-3.5.99.27.ebuild (limited to 'net-misc/nx') diff --git a/net-misc/nx/Manifest b/net-misc/nx/Manifest index 239829910f9b..4ea2359197dc 100644 --- a/net-misc/nx/Manifest +++ b/net-misc/nx/Manifest @@ -9,5 +9,5 @@ AUX nx-3.5.99.27-which.patch 758 BLAKE2B 6d8841c80f086592365042d225128ebd897b118 DIST nx-libs-3.5.99.26.tar.gz 11070624 BLAKE2B f67f522b127858aa2ddf1c9723468a74722a5ef2fa1e7f438844a8e5b05b868cacac22abf2c604c67d5e83a346217b192773f5debe67945d085768ae43205cb7 SHA512 1aead6161e4d7b8d7229ff80937935b23ad1f87135a578ae483a00348d0df7de35e9f9b78c47c473fda3ab2cc896ef23e845cc5656344a43520b091af9663211 DIST nx-libs-3.5.99.27.tar.gz 11076330 BLAKE2B 713f6052a8405bd61916bc2c31cff1b3b14f63f78138a2d8a3c8d85170fede3d126071ef0e03fa267ef1533432f324992ed67edc86f922e3dda4f0cb40811045 SHA512 bfba1eea6f4debe90fa020276079027c3716daaff91bded72297ecab2a8c9f56d07630ca8bc9084c319d2c674304ad80131190ec1272c161c05221d6f19089d0 EBUILD nx-3.5.99.26.ebuild 4234 BLAKE2B a2608bc1cbf2395dc92685331adbfcd67e87aa36e0a68b547278842df665c1cb63d9ae77064aa93a11236722ad111f6292e16f40cccf2b53ba220951d17e529f SHA512 4ca8cab36f27c3bb087b7a8f4a8e760a92a0ac1c98a0042e95e5306650badba7dd89f61d30ff4fc8a07ceea9599b85ab4ccb8d8fb9ce42f4e214a8aa59f4a59b -EBUILD nx-3.5.99.27.ebuild 3974 BLAKE2B 48b378c0e34b7ad3797877feaa61c55307a4008c1f7c57679efaa1a2616ff5ecc63909f156f24e9f10df5bac9b295edfa60da3dcb7940ec22dffb882cbb292f2 SHA512 2cb9906215755d7c33e8ae5896a248f8ff388da597581d6cab7558de6c2fa1c2b5d1dc301a5f72914839556f8fa53140f224dbfc860fa9c555eaaf5b0b5abd00 +EBUILD nx-3.5.99.27-r1.ebuild 3992 BLAKE2B ada0f0179f7e4c9fbc3117d4048028cc85a57af9dc6553e911e3bfcc2470ceb6254508c2b0dbbbbe4826679aff830caa39f55c6859502d6489daf55cc867a9d8 SHA512 9a1f8b49b392aaf065f352eb646d0f3a52fb21dcc72bd8c76ff5d40ca5eb01e36debb656b1ca1bc3fa4da2033e0d07dc7e8a231219acd9bdead77be1d8fb2c5f MISC metadata.xml 333 BLAKE2B 1b2843f4928b28b0b3abea2c4b7cf046c77d8c87363672f8516c7edab36597bd2ae831f23eecbec5c38029891bd5fa5bc0dc42a407e3d656ab6cfb098262f64a SHA512 77a92a8f8cec2c2a236544dc53e58fce7e0d399d9122042ddc6a097b58d013d04bad6e2ccaafcca11ce3c2e0ddd2d6aa479776e1e37539e40e3645ed20485bfd diff --git a/net-misc/nx/nx-3.5.99.27-r1.ebuild b/net-misc/nx/nx-3.5.99.27-r1.ebuild new file mode 100644 index 000000000000..70cc75e38eaa --- /dev/null +++ b/net-misc/nx/nx-3.5.99.27-r1.ebuild @@ -0,0 +1,153 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit autotools flag-o-matic 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" +S="${WORKDIR}/nx-libs-${PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~ppc ~riscv x86" + +RDEPEND="dev-libs/libxml2 + media-libs/libjpeg-turbo:* + >=media-libs/libpng-1.2.8:0= + >=sys-libs/zlib-1.2.3 + x11-apps/xkbcomp + 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" + +BDEPEND="virtual/pkgconfig + x11-misc/gccmakedep + x11-misc/imake" + +PATCHES=( + "${FILESDIR}/${PN}-3.5.99.26-musl.patch" + "${FILESDIR}/${PN}-3.5.99.27-which.patch" + # https://github.com/ArcticaProject/nx-libs/pull/1087 + "${FILESDIR}/${PN}-3.5.99.26-gcc14-32bit.patch" + "${FILESDIR}/${PN}-3.5.99.26-gcc14-access.patch" + # https://github.com/ArcticaProject/nx-libs/issues/1044 + "${FILESDIR}/${PN}-3.5.99.26-clang-bind.patch" +) + +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() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/861680 + # + # inherited from libX11 vendored code. libX11 passes this flag already. + append-flags -fno-strict-aliasing + filter-lto + + # 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 --enable-static + 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="${EPREFIX}/usr/$(get_libdir)/${PN}/X11" \ + SHLIBDIR="${EPREFIX}/usr/$(get_libdir)" \ + ETCDIR_NX="${EPREFIX}/etc/nxagent" + + emake -C nxproxy +} + +src_install() { + emake \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}/usr" \ + NXLIBDIR="${EPREFIX}/usr/$(get_libdir)/${PN}" \ + SHLIBDIR="${EPREFIX}/usr/$(get_libdir)" \ + USRLIBDIR="${EPREFIX}/usr/$(get_libdir)/${PN}/X11" \ + ETCDIR_NX="${EPREFIX}/etc/nxagent" \ + 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 +} diff --git a/net-misc/nx/nx-3.5.99.27.ebuild b/net-misc/nx/nx-3.5.99.27.ebuild deleted file mode 100644 index 55d85199efbd..000000000000 --- a/net-misc/nx/nx-3.5.99.27.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit autotools flag-o-matic 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" -S="${WORKDIR}/nx-libs-${PV}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc ~riscv x86" - -RDEPEND="dev-libs/libxml2 - media-libs/libjpeg-turbo:* - >=media-libs/libpng-1.2.8:0= - >=sys-libs/zlib-1.2.3 - 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" - -BDEPEND="virtual/pkgconfig - x11-misc/gccmakedep - x11-misc/imake" - -PATCHES=( - "${FILESDIR}/${PN}-3.5.99.26-musl.patch" - "${FILESDIR}/${PN}-3.5.99.27-which.patch" - # https://github.com/ArcticaProject/nx-libs/pull/1087 - "${FILESDIR}/${PN}-3.5.99.26-gcc14-32bit.patch" - "${FILESDIR}/${PN}-3.5.99.26-gcc14-access.patch" - # https://github.com/ArcticaProject/nx-libs/issues/1044 - "${FILESDIR}/${PN}-3.5.99.26-clang-bind.patch" -) - -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() { - # -Werror=strict-aliasing - # https://bugs.gentoo.org/861680 - # - # inherited from libX11 vendored code. libX11 passes this flag already. - append-flags -fno-strict-aliasing - filter-lto - - # 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 --enable-static - 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="${EPREFIX}/usr/$(get_libdir)/${PN}/X11" \ - SHLIBDIR="${EPREFIX}/usr/$(get_libdir)" \ - ETCDIR_NX="${EPREFIX}/etc/nxagent" - - emake -C nxproxy -} - -src_install() { - emake \ - DESTDIR="${D}" \ - PREFIX="${EPREFIX}/usr" \ - NXLIBDIR="${EPREFIX}/usr/$(get_libdir)/${PN}" \ - SHLIBDIR="${EPREFIX}/usr/$(get_libdir)" \ - USRLIBDIR="${EPREFIX}/usr/$(get_libdir)/${PN}/X11" \ - ETCDIR_NX="${EPREFIX}/etc/nxagent" \ - 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 -} -- cgit v1.2.3