From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id uwMWI17XmGW8gQEAkFu2QA (envelope-from ) for ; Sat, 06 Jan 2024 05:30:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id iAdUHF7XmGWbqwAA62LTzQ (envelope-from ) for ; Sat, 06 Jan 2024 05:30:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=E+BXHadB; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704515421; 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=ZYosqGfqk6F3FwxXQYoJh7Z7payyadTyszvFwkdJ2gg=; b=saqf8GSNxbVPfDEgmjjArBw2+C66wBq/vw2X+uHtmUopWp28jU1rEyut4QSy+7s8cPu14L DhgcA50Z5hi9+CFgaFX9Yxf5qOD8L1Kp3vZAlp9S5KoECRstNHU7jH+uNiQd9MZtDLdM8t aOd0gR0S0PjfTbwsuXPe1OUH0fY56qV71XhiN8KYbrabEQlzCoZHXjm3RfQO7/TnDG8QXi k13HXxf93Qeu1uk5xVY6QoGuwaK98Yddu2MuQxSQmGdlwk7GeBxxcJi1ggeO8TwfYZ0pFT 5si5dgvsRbA1nIVBfCTvAPKlbulrt6GyMDi39iqJ4Fr3xVgkihsKrsE8QF56vQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704515421; a=rsa-sha256; cv=none; b=sKx7zRvEMN3lJZWV+CcVj5t9KMs5I+End3lIlyDYmohi1TQHvbpIt68emGAGfDMNKfDCWI ndYJ0NPbHG8yUiJwEvh8D+XJlhsAe8fGiLqN8DXv/HmsztbDRJhbU/Mc0JYFqzf1iaLTRw nE8po1hcybDrYpQN8MpfbK4aaKNiRv2bCihRLKaovZz/67YmMGULVSoSYgRGvwWHnVzgP9 UWY/aCTR/nJ9SLYYqwontEamqbkRmOMJGeNS3Bbg4qaZL481rEM4SVa4KZgwhWEUzP5P9c pRpDq83VD9gRjP9LwCMFBoAjavkNq6Lo2UNC944rvBf6rjtCEa4UPHHmYb8HtQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=E+BXHadB; 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"; dmarc=pass (policy=none) header.from=gnu.org 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 626216E220 for ; Sat, 6 Jan 2024 05:30:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLyK0-00033O-LW; Fri, 05 Jan 2024 23:30:08 -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 1rLyJz-00033D-AX for guix-patches@gnu.org; Fri, 05 Jan 2024 23:30:07 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rLyJz-0001Tt-0c; Fri, 05 Jan 2024 23:30:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rLyJt-0001C0-Oy; Fri, 05 Jan 2024 23:30:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68250] [PATCH v2] gnu: mpv: Fix pkgconfig file. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: hako@ultrarare.space, iyzsong@member.fsf.org, lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, jgart@dismail.de, andrew@trop.in, dev@jpoiret.xyz, zhengjunjie@iscas.ac.cn, guix-patches@gnu.org Resent-Date: Sat, 06 Jan 2024 04:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68250 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68250@debbugs.gnu.org Cc: Hilton Chain , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= , Hilton Chain , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart , Andrew Tropin , Josselin Poiret , Zheng Junjie X-Debbugs-Original-Xcc: Hilton Chain , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart , Andrew Tropin , Josselin Poiret , Zheng Junjie Received: via spool by 68250-submit@debbugs.gnu.org id=B68250.17045153824532 (code B ref 68250); Sat, 06 Jan 2024 04:30:01 +0000 Received: (at 68250) by debbugs.gnu.org; 6 Jan 2024 04:29:42 +0000 Received: from localhost ([127.0.0.1]:58278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLyJZ-0001B2-Uc for submit@debbugs.gnu.org; Fri, 05 Jan 2024 23:29:42 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:37398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLyJW-0001Ar-KF for 68250@debbugs.gnu.org; Fri, 05 Jan 2024 23:29:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1704515341; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=ZYosqGfqk6F3FwxXQYoJh7Z7payyadTyszvFwkdJ2gg=; b=E+BXHadBndU2pZ8nX3oT4iO6wK6cYUxetJ/qnoS449zUKym1XzsvEDATqj2rDRIFQd14zb 4NTTdWpGKD81pCZfm/VzEPhAbdpfZBVu+RLE9S0uWgBa3mBQ/tqyfKwTAAn1M2dJo155+e DzgP1XZVXc4ezydSk1uxDSNwRiFcflYux6/ox1WXWWIyl4kYlG5tI8siA/52uheO5vSgvi ti5TWM2wN2O6GXwepUV97bIVNZav3hqKHsklEI92BVKrnORSKaoWZzKpPHBHA4+wSiW9M+ xcwJnQIVObilmaHJtcHap8RrAtPpa/WOKzf17kzHxQF1jXCMGyW1qnnlwWOmGg== Date: Sat, 6 Jan 2024 12:23:49 +0800 Message-ID: <14315fb383a6560c67bdc6bf3f7cab8b8e36e0bb.1704514279.git.hako@ultrarare.space> In-Reply-To: <521d0ba6e3d10b3b8aa98b35862d819c82223412.1704430613.git.hako@ultrarare.space> References: <521d0ba6e3d10b3b8aa98b35862d819c82223412.1704430613.git.hako@ultrarare.space> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- 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: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain 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 X-Migadu-Queue-Id: 626216E220 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -5.29 X-Spam-Score: -5.29 X-TUID: bqylxbGtG5Op This is a follow-up to ce7b2b57aa6da0ceace94ea5fb42392c7ff97d53. * gnu/packages/video.scm (mpv)[arguments]<#:phases>: Add 'fix-mpv.pc. Suggested-by: 宋文武 Change-Id: I9826d5d6c957ca3022fa326aee111edb533f05bc --- gnu/packages/video.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index e70aa5352e..10d46db38b 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2365,7 +2365,13 @@ (define-public mpv ;; and passed as linker flags, but the order in which they are added ;; varies. See . ;; Set PYTHONHASHSEED as a workaround for deterministic results. - (setenv "PYTHONHASHSEED" "1")))) + (setenv "PYTHONHASHSEED" "1"))) + ;; mpv.pc is generated by meson. libmpv's headers don't actually + ;; require these dependencies so it's safe to remove these two fields. + (add-after 'install 'fix-mpv.pc + (lambda _ + (substitute* (string-append #$output "/lib/pkgconfig/mpv.pc") + (("^(Requires|Libs)\\.private:.*") ""))))) #:configure-flags #~(list "-Dlibmpv=true" "-Dcdda=enabled" base-commit: c0e21e523d93081153a2ffc91e5a9f06afe62b91 -- 2.41.0