From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DFBAC138334 for ; Tue, 26 Feb 2019 23:40:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E721DE0843; Tue, 26 Feb 2019 23:40:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A2DC9E0843 for ; Tue, 26 Feb 2019 23:40:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5732E335C6F for ; Tue, 26 Feb 2019 23:40:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ECD7454C for ; Tue, 26 Feb 2019 23:40:00 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1551224384.c4082496c5f114ec6acb76ba1e80d94f0073714a.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/gallium-nine-standalone/, ... X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/gallium-nine-standalone/Manifest app-emulation/gallium-nine-standalone/files/nine-dll-path.patch app-emulation/gallium-nine-standalone/gallium-nine-standalone-0_p20190113.ebuild X-VCS-Directories: app-emulation/gallium-nine-standalone/files/ app-emulation/gallium-nine-standalone/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: c4082496c5f114ec6acb76ba1e80d94f0073714a X-VCS-Branch: master Date: Tue, 26 Feb 2019 23:40:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 930f5cbe-2aca-49b8-b201-35b4c3141df8 X-Archives-Hash: 27eb7b3933e42d7bf22c6b49e832a19f commit: c4082496c5f114ec6acb76ba1e80d94f0073714a Author: James Le Cuirot gentoo org> AuthorDate: Tue Feb 26 23:39:44 2019 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Tue Feb 26 23:39:44 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4082496 app-emulation/gallium-nine-standalone: Drop old 0_p20190113 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: James Le Cuirot gentoo.org> app-emulation/gallium-nine-standalone/Manifest | 1 - .../files/nine-dll-path.patch | 12 --- .../gallium-nine-standalone-0_p20190113.ebuild | 110 --------------------- 3 files changed, 123 deletions(-) diff --git a/app-emulation/gallium-nine-standalone/Manifest b/app-emulation/gallium-nine-standalone/Manifest index 963e790f0b2..88ab0abf6c1 100644 --- a/app-emulation/gallium-nine-standalone/Manifest +++ b/app-emulation/gallium-nine-standalone/Manifest @@ -1,2 +1 @@ DIST gallium-nine-standalone-0.3.tar.gz 63887 BLAKE2B bd198617a5d3d3830bd5127b63eed2c82bff037141ae72ff9237ad5062fdbe9b6797e233eaf86e06d92153487c53389eb094b0be3b0cbdbf3fe565292a15cbb0 SHA512 80fedca58523fbf318109d2d3d5420e97d26ebf5b89b9f1965165c7a33c9dab9c62a65f14b75569b5126c549f5df91beef372d54e94dc90c608932eeb6a59829 -DIST gallium-nine-standalone-0_p20190113.tar.gz 58954 BLAKE2B 29be3f5501cc4463aa05216b7360e2a5a949c498dd1c3a0170d5a2f7f508c1fe3171f90f8e35bbe95530be5d6b98b70c5a99362e69d4a64615e40fbb9c8eb96a SHA512 2b2ab79b3d9f2c19967a16200cf69e7eba589d4d3d8918890b9504a5cb4895cd76000b6f3852baa738845e8508c6d67843f45d368225878d446ec6e907f75de4 diff --git a/app-emulation/gallium-nine-standalone/files/nine-dll-path.patch b/app-emulation/gallium-nine-standalone/files/nine-dll-path.patch deleted file mode 100644 index 9399dde3e4f..00000000000 --- a/app-emulation/gallium-nine-standalone/files/nine-dll-path.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur a/ninewinecfg/main.c b/ninewinecfg/main.c ---- a/ninewinecfg/main.c 2019-01-12 19:43:40.113737110 +0000 -+++ b/ninewinecfg/main.c 2019-01-12 19:46:54.213703713 +0000 -@@ -47,7 +47,7 @@ - #define WINE_STAGING 1 - #endif - --static const char * const fn_nine_dll = "d3d9-nine.dll"; -+static const char * const fn_nine_dll = G9DLL; - static const char * const reg_path_dll_overrides = "Software\\Wine\\DllOverrides"; - static const char * const reg_path_dll_redirects = "Software\\Wine\\DllRedirects"; - static const char * const reg_key_d3d9 = "d3d9"; diff --git a/app-emulation/gallium-nine-standalone/gallium-nine-standalone-0_p20190113.ebuild b/app-emulation/gallium-nine-standalone/gallium-nine-standalone-0_p20190113.ebuild deleted file mode 100644 index 74e8ff9eb03..00000000000 --- a/app-emulation/gallium-nine-standalone/gallium-nine-standalone-0_p20190113.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit meson multilib-minimal toolchain-funcs - -DESCRIPTION="A standalone version of the WINE parts of Gallium Nine" -HOMEPAGE="https://github.com/dhewg/nine" - -if [[ $PV = 9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/dhewg/nine.git" -else - COMMIT="e10dd1a770c91d5ff13343c9a0186665b7df6114" - SRC_URI="https://github.com/dhewg/nine/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/nine-${COMMIT}" - KEYWORDS="-* ~amd64 ~x86" -fi - -LICENSE="LGPL-2.1+" -SLOT="0" - -# We don't put Wine in RDEPEND because you can also use this with -# Steam's Proton. - -RDEPEND=" - media-libs/mesa[d3d9,egl,${MULTILIB_USEDEP}] - x11-libs/libX11[${MULTILIB_USEDEP}] - x11-libs/libXext[${MULTILIB_USEDEP}] - x11-libs/libxcb[${MULTILIB_USEDEP}] -" - -DEPEND=" - ${RDEPEND} - virtual/pkgconfig[${MULTILIB_USEDEP}] - virtual/wine[${MULTILIB_USEDEP}] -" - -PATCHES=( - "${FILESDIR}"/flags.patch - "${FILESDIR}"/nine-dll-path.patch -) - -bits() { - if [[ ${ABI} = amd64 ]]; then - echo 64 - else - echo 32 - fi -} - -src_prepare() { - default - - # Upstream includes a bootstrap.sh script with hardcoded CHOSTs to - # create the Meson cross files. We improve on that here but also - # inject CFLAGS and LDFLAGS, partly to simply respect these, and - # partly to allow d3d9-nine.dll to be loaded from a location outside - # WINEPREFIX. This avoids the need for the nine-install.sh script, - # which doesn't play well with our multi-Wine environment. - bootstrap_nine() { - local file=tools/cross-wine$(bits) - local g9dll=Z:${EPREFIX//\//\\}\\usr\\$(get_libdir)\\d3d9-nine.dll.so - - # Yes, these ridiculous backslashes are needed! - g9dll=\\\\\\\\\\\"${g9dll//\\/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\}\\\\\\\\\\\" - - sed \ - -e "s!@PKG_CONFIG@!$(tc-getPKG_CONFIG)!" \ - -e "s!@CFLAGS@!$(_meson_env_array "${CFLAGS} -DG9DLL=${g9dll}")!" \ - -e "s!@LDFLAGS@!$(_meson_env_array "${LDFLAGS}")!" \ - ${file}.in > ${file} || die - } - - multilib_foreach_abi bootstrap_nine -} - -multilib_src_configure() { - # We override bindir because otherwise the 32-bit exe is overwritten - # by the 64-bit exe and we need both of them. - local emesonargs=( - --cross-file "${S}/tools/cross-wine$(bits)" - --bindir "$(get_libdir)" - ) - meson_src_configure -} - -multilib_src_compile() { - meson_src_compile -} - -multilib_src_install() { - meson_src_install -} - -pkg_postinst() { - local bits=$(bits) - - einfo "Don't remove the Z: drive from your WINEPREFIX as this relies on it." - einfo - einfo "To set up the ${bits}-bit library, launch your preferred Wine as follows:" - einfo " wine${bits/32} ${EPREFIX}/usr/$(get_libdir)/ninewinecfg.exe.so" - - if use abi_x86_64 && use abi_x86_32; then - einfo - einfo "To set up the 32-bit library, launch your preferred Wine as follows:" - einfo " wine ${EPREFIX}/usr/$(ABI=x86 get_libdir)/ninewinecfg.exe.so" - fi -}