From patchwork Sat Feb 12 13:31:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: M X-Patchwork-Id: 37214 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7A4D827BBEA; Sat, 12 Feb 2022 13:33:24 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E5D3C27BBE9 for ; Sat, 12 Feb 2022 13:33:23 +0000 (GMT) Received: from localhost ([::1]:40696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIsWg-0001Rd-VA for patchwork@mira.cbaines.net; Sat, 12 Feb 2022 08:33:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIsVe-0001NP-Lv for guix-patches@gnu.org; Sat, 12 Feb 2022 08:32:22 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39856) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIsVO-0006Ow-Ba for guix-patches@gnu.org; Sat, 12 Feb 2022 08:32:15 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nIsVO-0000ki-7P for guix-patches@gnu.org; Sat, 12 Feb 2022 08:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53704] Bump Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 12 Feb 2022 13:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53704 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Charles , Julien Lepiller Cc: "53704@debbugs.gnu.org" <53704@debbugs.gnu.org> Received: via spool by 53704-submit@debbugs.gnu.org id=B53704.16446726952858 (code B ref 53704); Sat, 12 Feb 2022 13:32:02 +0000 Received: (at 53704) by debbugs.gnu.org; 12 Feb 2022 13:31:35 +0000 Received: from localhost ([127.0.0.1]:33753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIsUx-0000k2-8Q for submit@debbugs.gnu.org; Sat, 12 Feb 2022 08:31:35 -0500 Received: from laurent.telenet-ops.be ([195.130.137.89]:47486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIsUv-0000jt-1K for 53704@debbugs.gnu.org; Sat, 12 Feb 2022 08:31:34 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id uDXX260044UW6Th01DXXXm; Sat, 12 Feb 2022 14:31:31 +0100 Message-ID: <11a5c7052c3f76dcf41fc614fed551ee019c1f96.camel@telenet.be> From: Maxime Devos Date: Sat, 12 Feb 2022 14:31:22 +0100 In-Reply-To: <3c9dxjEeXYXD76uUQgjwTlqZOtOb7IFb8FX50AHQoH9bc-bapcr6kxnaouHjVYd3CaIPjKPiuUwZ6tx6VW-YRPKUMri5i_mLx4du5ux81a8=@protonmail.com> References: <_jHX_rdAkHOB9IqHIQfXfggyuZwAL-8cC92ZuWnlLfjZtXdqUHY5XBLRjD32CGrxNx7uBzHJgAtN_YdHoifX1Y4Vhaayg_gWJX6wqPZDhx4=@protonmail.com> <33CA9DF7-1E9D-410D-9775-61825B56A0DF@lepiller.eu> <3c9dxjEeXYXD76uUQgjwTlqZOtOb7IFb8FX50AHQoH9bc-bapcr6kxnaouHjVYd3CaIPjKPiuUwZ6tx6VW-YRPKUMri5i_mLx4du5ux81a8=@protonmail.com> User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1644672691; bh=k4rm09iZz/z/tJkyL14JjDUWfDEcujL48sarw7D5/do=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=CvlFx9XJr/HeMlzwFO00y0eHI7ivLOqiaoFwcq2uC2HahSbwHL0j8ExAiSCITTxx0 K/G/vXkwSDfar6GKcwC9xCmlpswFlyxXXkIA5kk9tIW7Gtsb2E7jrL5agbY+sLQkq/ MDn4ESw2y0yl/T+QfDCUFagwzFxu6VVOM3AJf7MqVaSzL/RJ3aTnMj3eLIBca1QLOy SvZJoVuw14Hma0MlJLelmQ/XhmaAO/VvFiy8yVK5VHLKieGQGdcYRWYorm8dWtFRm7 gokMqlnc6xzJ2SEaLMhkuUaaQRVJxI8fVEh8h6v9xEhmer4718BEFkpR15tR5/E5s3 kXA4hoapVSosg== 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi, I've modified the package definition and patch a bit to make it simpler (visualboyadvance-m-fix-rpath.patch now only removed things), cross-compilable (it uses cc-for-target instead of hardcoding "gcc" and LIBRARY_PATH is unused) and avoid using constructs that are being deprecated (%build-inputs --> this-package-input). The list+local-file will have to be replaced by search-patches. Cross-compilation is untested because gtk+ cannot currently be cross-compiled. It seems to work, at least the application starts, I don't have any VBA games to test it with. Greetings, Maxime. From 6ec4f4224aa360d5c233941148465ad1c8c77f33 Mon Sep 17 00:00:00 2001 From: Charles Jackson Date: Mon, 31 Jan 2022 23:24:17 -0600 Subject: [PATCH] Fix rpath --- CMakeLists.txt | 4 ---- 1 file changed, 0 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 010c9b0e..3a959b59 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -610,9 +610,5 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID STREQUAL Clang) set(MY_C_LINKER_FLAGS ${MY_C_LINKER_FLAGS} -Wl,-allow-multiple-definition) - if(CMAKE_PREFIX_PATH) - list(GET CMAKE_PREFIX_PATH 0 prefix_path_first) - set(MY_C_LINKER_FLAGS ${MY_C_LINKER_FLAGS} "-Wl,-rpath-link=${prefix_path_first}/lib") - endif() endif() # set linker flags