From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 04 08:20:05 2023 Received: (at 61865) by debbugs.gnu.org; 4 Jun 2023 12:20:05 +0000 Received: from localhost ([127.0.0.1]:45232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5miL-0007eC-04 for submit@debbugs.gnu.org; Sun, 04 Jun 2023 08:20:05 -0400 Received: from mail-ej1-f47.google.com ([209.85.218.47]:57712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5miJ-0007dQ-6e for 61865@debbugs.gnu.org; Sun, 04 Jun 2023 08:20:03 -0400 Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-969f90d71d4so553581566b.3 for <61865@debbugs.gnu.org>; Sun, 04 Jun 2023 05:20:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685881197; x=1688473197; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=gJMcTMY5uK0/FjBslJ6l3FaXu3BSZ1W1SjgWy/U2Hhs=; b=qbpjnsJHgEH19ZqBK4qqByAViLgPzHaDm2xbDMkKoPcVf+lRaLEOIfeEYWbsx3055a wcaIYe1SMfdiU0DKMV1u30gGloqcHWQLZF2BmPwobVtE9KhS1LizvcL2062QZdvztcYB BlysfaS2j5/PQQQuVDJO+G1sZWObDCCG/0/vO4RwupbbXskssgeenCxOvxMF8xgUklNr llO7N5dGit8mC/gueDOpeZqrkThu68d4U+e4r6QHo2ireQmIi4QwZtuxaXtqFl2UlDMC k9d2ljVx5h3oj+G/2U6JRQCh1bPG6Gp6706YjW7NYo8TKj/H0SKA4+YjZtX0ZEgHbNUX 3bCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685881197; x=1688473197; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gJMcTMY5uK0/FjBslJ6l3FaXu3BSZ1W1SjgWy/U2Hhs=; b=RnKAM0VAoNcRhtmc1lwE/y9JcvlGgMne62Ba4M9fa1mL8ylOAAqw09x2AGHkvpkMqo bdD0fjzsnY2nOuwfTWsmPVvWNaoOphpVulewc+m58roM3xFz4HK+6BGnwNJxNbnb6i5b dDVjsAkAJEhuCM8m/EPEoZkgpc/mtYH3vuYCTNLGrJ9i1WC96fecSpQ1naD5EqhS4vzO xbh46/bM4LVh7LDE8uoza29gRJW1tuwOQqEVDgSBJp/ik580Dsr3P6K01ERT27iH2+nJ OD62h5EMxKeRErCcLRCfh5UdBGRkDj8GLwd3U+mB2WFx7oM4wH1wDY97kTp4JffMtJld lArA== X-Gm-Message-State: AC+VfDzzKZFVchKp977soMHTm5dFWa4zs/vViSdBJT9tSvmawRLTEoOG IPBnlNEdg68JuIq4a8NMkK0= X-Google-Smtp-Source: ACHHUZ7L33P8DrzfrGrW9HH1fw7nKlx8RiMhZaa1avV0rzDvEWXO1AG1XQHfu8EcC8CrXiFyYDLahw== X-Received: by 2002:a17:907:7ea6:b0:96f:a39c:86d6 with SMTP id qb38-20020a1709077ea600b0096fa39c86d6mr3896595ejc.8.1685881197303; Sun, 04 Jun 2023 05:19:57 -0700 (PDT) Received: from localhost ([2a02:ed3:913:500:b62e:99ff:fef0:7bc0]) by smtp.gmail.com with ESMTPSA id x17-20020a1709060a5100b009662c57b4ffsm3021057ejf.96.2023.06.04.05.19.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Jun 2023 05:19:56 -0700 (PDT) Date: Sun, 4 Jun 2023 15:19:52 +0300 From: Efraim Flashner To: Z572 <873216071@qq.com> Subject: Re: [bug#61865] [PATCH 2/8] gnu: libxv: fix riscv64 cross-compile. Message-ID: Mail-Followup-To: Efraim Flashner , Z572 <873216071@qq.com>, 61865@debbugs.gnu.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9MHbuR4HUhNfI0qP" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 61865 Cc: 61865@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --9MHbuR4HUhNfI0qP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This patch is no longer necessary after updating libxv to a newer version. On Tue, Feb 28, 2023 at 04:33:34PM +0800, Z572 via Guix-patches via wrote: > * gnu/packages/xorg.scm(libxv): fix riscv64 cross-compile > [arguments]: when target is riscv64, add phase to update config.{guess,su= b} > [native-inputs]: when target is riscv64, add config. > --- > gnu/packages/xorg.scm | 20 ++++++++++++++++++-- > 1 file changed, 18 insertions(+), 2 deletions(-) >=20 > diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm > index 32be732eef..2b6f9fa369 100644 > --- a/gnu/packages/xorg.scm > +++ b/gnu/packages/xorg.scm > @@ -4696,13 +4696,29 @@ (define-public libxv > "125hn06bd3d8y97hm2pbf5j55gg4r2hpd3ifad651i4sr7m16v6j")))) > (build-system gnu-build-system) > (arguments > - `(#:configure-flags '(,@(malloc0-flags) "--disable-static"))) > + `(#:configure-flags '(,@(malloc0-flags) "--disable-static") > + ,@(if (target-riscv64?) > + `(#:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'update-config-scripts > + (lambda* (#:key inputs native-inputs #:allow-other-ke= ys) > + ;; Replace outdated config.guess and config.sub. > + (for-each (lambda (file) > + (install-file > + (search-input-file > + (or native-inputs inputs) > + (string-append "/bin/" file)) ".")) > + '("config.guess" "config.sub")))))) > + '()))) > (propagated-inputs > (list xorgproto)) > (inputs > (list libxext libx11)) > (native-inputs > - (list pkg-config)) > + (append (if (target-riscv64?) > + (list config) > + '()) > + (list pkg-config))) > (home-page "https://www.x.org/wiki/") > (synopsis "Xorg XVideo Extension library") > (description "Library for the X Video Extension to the X11 protocol.= ") > --=20 > 2.39.1 >=20 >=20 >=20 >=20 --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --9MHbuR4HUhNfI0qP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmR8gWgACgkQQarn3Mo9 g1FQgw//T2ESeo1qUKR1xBk9IdGp4ovQb9dGQM0xUehu8Cb5KZz/mHEw8waV3dFX XSnbd9PLr9F4gl+xMD4FS/XNDVwKui2ZTIQRBI51ichI3VhlqAKSiiBn5gEIZ3hA L0WFX3yKtHG3nXNgYvDKXOZr6f5AkFu2Q4fz2VW/Girqsmm982OJbz341sCsffyU 06SNDZvpl9+Txw9Yx4CSQUohcaDU/0r0jVif4sSsWnLvW8g4AkbEOJ40QAFvjMxG Abj/6mZT5cng+4HrPhqPL7dy9iP5Fl9IyJ+G1SC/b4tbvQLB3WJS5SzTtQLkoOOK 2MieV7lErKCzcjrtYCNCbRWOF8brMs6/hIB4gP0f9PNORHUWge25MzIIArHRE1Yr 6YoxtKdKQcpmOS3udQseSSAbDf+3BKx0+dirJvVUfgqaGZwJMgO2X085Hl9tKgS2 nLZG8pnCPV1FUftU3ByFq1hKN77CgbXdOIWB+0o/ZdzmMOq1Sm9R0FnBuduYh/+v 4kf0gtPcyHXh9O40BVFrdto+HQK348OtOtr2KqUIKaTsStGaT/h1AHPJQuXb/2b9 1XE2WjpWn88xSYKuPHFMFCAFlSnlnnXnWMNP3pwMidr98aUgKOWjWPrVytZ0NyMs H1aDG9pr90bFW8th6PYoWjb9EsZJpyA48N91XvbDlR5TJIJrk7Q= =ovAF -----END PGP SIGNATURE----- --9MHbuR4HUhNfI0qP--