GNU bug report logs - #73754
[PATCH games-team 0/5] Unbundle SameBoy from jg-bsnes.

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Fri, 11 Oct 2024 22:08:02 UTC

Severity: normal

Tags: patch

Full log


Message #23 received at 73754 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 73754 <at> debbugs.gnu.org
Cc: 宋文武 <iyzsong <at> envs.net>,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 Adam Faiz <adam.faiz <at> disroot.org>
Subject: Re: [bug#73754] [PATCH 4/5] gnu: sameboy: Install shared library.
Date: Sat, 19 Oct 2024 23:02:55 +0900
Hey,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> * gnu/packages/patches/sameboy-shared-lib.patch: New file.
> * gnu/local.mk (dist_patch_DATA): Register it.
> * gnu/packages/emulators.scm (sameboy) [source]: Apply it.
> [arguments] <make-flags>: Replace DATA_DIR with PREFIX.  Add LIBRARY=shared
> and FREEDESKTOP=1.
> <phases>: Delete install phase override.
> [native-inputs]: Add cppp and libtool.

This revision uses libtool directly in the makefile rules to generate
shared library.  While it works, it's been pointed to me there are
issues doing that, namely that libtool bakes its CC internally and thus
CC can't be changed later, and cross-compilation is probably broken as
well.

The usual solution to this is to use Autotools, but I'll see if the
libtool problems can't be fixed at its level first.  It's going to need
some time, so consider this series on hold from that effort.

-- 
Thanks,
Maxim




This bug report was last modified 236 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.