From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CHA8Cl4k02O4FgEAbAwnHQ (envelope-from ) for ; Fri, 27 Jan 2023 02:09:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MGJZCl4k02PKPAAA9RJhRA (envelope-from ) for ; Fri, 27 Jan 2023 02:09:50 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DDCA51253F for ; Fri, 27 Jan 2023 02:09:49 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pLDEn-0008Ee-DD; Thu, 26 Jan 2023 20:09:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLDEl-0008Df-Ot for guix-patches@gnu.org; Thu, 26 Jan 2023 20:09:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pLDEl-0006ZK-Aj for guix-patches@gnu.org; Thu, 26 Jan 2023 20:09:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pLDEl-0003k4-4q for guix-patches@gnu.org; Thu, 26 Jan 2023 20:09:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61067] [PATCH v2 3/5] gnu: wine-minimal: Share phases with parent wine package. Resent-From: Kaelyn Takata Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 27 Jan 2023 01:09:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61067 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61067@debbugs.gnu.org Cc: Kaelyn Takata Received: via spool by 61067-submit@debbugs.gnu.org id=B61067.167478172114308 (code B ref 61067); Fri, 27 Jan 2023 01:09:03 +0000 Received: (at 61067) by debbugs.gnu.org; 27 Jan 2023 01:08:41 +0000 Received: from localhost ([127.0.0.1]:36466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLDEP-0003ii-0e for submit@debbugs.gnu.org; Thu, 26 Jan 2023 20:08:41 -0500 Received: from mail-4322.protonmail.ch ([185.70.43.22]:62467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLDEN-0003iI-7s for 61067@debbugs.gnu.org; Thu, 26 Jan 2023 20:08:39 -0500 Date: Fri, 27 Jan 2023 01:08:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1674781712; x=1675040912; bh=wMjzQnbl7T1j8J3ZaIX3bA7xh62hrZlVAGWkuhfEWAI=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=s6ZTmzeVOOOWzPIYbVw4klz5RgpuaiyV7/k7lyINS5D2baPjVONxJ8SuncPQ3jT7Z N/Be60adxmohHTC12DskreZPxFUockgbD6+3ZoyC9UA2upDJlo4ny7ZsA57Nv65pcT bELeOxcIIUa7vvZUHwzKkUn+C3K+5B5KAj+UJZg6PY4749Ea1YKM3WQ8n5UaMpV5vu v4Xe1MotISZl30yPPN0wwKh3GDGmwiyzi1qkke7xJAbFiVc99aPCU72ibruDinPA2J nwZprVmenzyQWrciovbzZ01mv3XqjQoz1d+0sPWGA4f+a7aH7VdfCPDv7EiwxFuUpO sYR7KPMNm0TIQ== Message-ID: <8781968f75fffd5c133f52f4d2ee7808e7b543fa.1674781160.git.kaelyn.alexi@protonmail.com> In-Reply-To: References: Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Kaelyn Takata X-ACL-Warn: , Kaelyn Takata via Guix-patches From: Kaelyn Takata via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674781789; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=wMjzQnbl7T1j8J3ZaIX3bA7xh62hrZlVAGWkuhfEWAI=; b=Jedax/yjHm2+/bcYuPyLiUb23JRinZ7Snvs8DQjer3HaLeS/f5CWPw/ab3LYXfVmXIeOr9 5iolwfqw/VxRixHwngIAnIBAhqel0tw4DVax8EGaN7mhOLdHa99AuKU0GxFr5oBg/eOYOn l84X8ovMlV6CV29oavUJqVVwctD2zMo9lYRcOxs90XIu91hGhT5Uli7BtgIvv2MKejww0l WPJsXFXswUdIgI28jvY2z8E1SM8+KtAzzETmNSFRHoBvyijc3ZWwd4JGLT9SgSwa/1pZfs LCAeypCfZLUxGzBRRcTOwbOJALZ314fs8afQFX65r/7HxE6nX52z4jaIV5QgwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=s6ZTmzeV; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674781789; a=rsa-sha256; cv=none; b=B4ZBNc9fwMH5q4ezSY4oFWXHJVGd0VsTVhzhL+6LYnNKjXOO9tYKMvhbMillpRzgdq7aG5 81aoI9IrhqiFCIQDEgIvvCoog38LhotFjngms2fS5GavDgQjMO2/wElg5Gt68dZLava7jn eONbjVMvU2m2JzlLbCOwVjao8NgFwCPcXavsS6tS93Vj3jhesqXZg7W77rL5WO/0Q7EIa5 ve8+ARSA2yD/HUGReUmdLf4xjZqppCi2U1/T5VrOTZVwhT86odLdsOCK7FrzoLQ3qpAjwK EWuY9aC+ZHBd2qQqVX/3IA7uATBLde7Bj5FmVO5fT2pNn0VPEQ0ijQwAiwItfA== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=s6ZTmzeV; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -2.87 X-Spam-Score: -2.87 X-Migadu-Queue-Id: DDCA51253F X-TUID: 7VZLC6oixUKZ * gnu/packages/wine.scm (wine-minimal): Share phases with parent wine packa= ge. --- gnu/packages/wine.scm | 31 +++++++------------------------ 1 file changed, 7 insertions(+), 24 deletions(-) diff --git a/gnu/packages/wine.scm b/gnu/packages/wine.scm index 6e43494c68..b9a8396b75 100644 --- a/gnu/packages/wine.scm +++ b/gnu/packages/wine.scm @@ -308,30 +308,13 @@ (define-public wine-minimal (delete "gettext" "perl" "pkg-config"))) (inputs `()) (arguments - `(#:validate-runpath? #f - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-SHELL - (lambda _ - (substitute* "configure" - ;; configure first respects CONFIG_SHELL, clobbers SHELL la= ter. - (("/bin/sh") - (which "bash"))))) - (add-after 'configure 'patch-dlopen-paths - ;; Hardcode dlopened sonames to absolute paths. - (lambda _ - (let* ((library-path (search-path-as-string->list - (getenv "LIBRARY_PATH"))) - (find-so (lambda (soname) - (search-path library-path soname)))) - (substitute* "include/config.h" - (("(#define SONAME_.* )\"(.*)\"" _ defso soname) - (format #f "~a\"~a\"" defso (find-so soname)))))))) - #:configure-flags - (list "--without-freetype" - "--without-x") - ,@(strip-keyword-arguments '(#:configure-flags #:phases) - (package-arguments wine)))))) + (substitute-keyword-arguments (package-arguments wine) + ((#:phases phases) + #~(modify-phases #$phases + (delete 'wrap-executable))) ;; Don't reference Vulkan ICD file= s. + ((#:configure-flags _ '()) + #~(list "--without-freetype" + "--without-x")))))) (define-public wine-staging-patchset-data (package -- 2.39.1