Github messages for voidlinux
 help / color / mirror / Atom feed
From: jaminW55 <jaminW55@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Package request: box64
Date: Sat, 30 Mar 2024 21:57:49 +0100	[thread overview]
Message-ID: <20240330205749.B594F2166E@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49599@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 2290 bytes --]

New comment by jaminW55 on void-packages repository

https://github.com/void-linux/void-packages/issues/49599#issuecomment-2028467197

Comment:
> > I have not managed to successfully build it on Musl.
> 
> Nobody did. It's not supported. Read here - [ptitSeb/box64#998 (comment)](https://github.com/ptitSeb/box64/issues/998#issuecomment-1742037374) I found the answer. So can you next time ;-) !
> 
> **fixed template (not tested)** You will need specific builds for, e.g., rpi4, or rk3588. Generic aarch64 won't work for those. See all the supported platforms [here](https://github.com/ptitSeb/box64/blob/main/docs/COMPILE.md).
> 
> ```shell
> # Template file for 'box64'
> pkgname=box64
> version=0.2.6
> revision=1
> build_style=cmake
> configure_args="-DNOGIT=1 -DNO_LIB_INSTALL=1"
> hostmakedepends="perl python3"
> short_desc="Linux Userspace x86_64 Emulator with a twist"
> maintainer="jaminW55 <jaminW@proton.me>"
> license="MIT"
> homepage="https://box86.org"
> changelog="https://raw.githubusercontent.com/ptitSeb/box64/main/docs/CHANGELOG.md"
> distfiles="https://github.com/ptitSeb/box64/archive/v${version}.tar.gz"
> checksum=ef002041aeefec49efb9a2cb276ab4a99d048df0be06416b93b22e507e263f61
> conf_files="/etc/box64.box64rc"
> nopie=yes
> 
> case "$XBPS_TARGET_MACHINE" in
> 	aarch64) configure_args+=" -DARM_DYNAREC=ON"         ;;
> 	riscv64) configure_args+=" -DRV64=1"                 ;;
> 	x86_64)  configure_args+=" -DLD80BITS=1 -DNOALIGN=1" ;;
> 	*)       broken="platform not supported"             ;;
> esac
> 
> do_install() {
> 	vbin build/box64
> 	vdoc docs/USAGE.md
> 	vdoc docs/X64WINE.md
> 	vconf system/box64.box64rc
> 	vlicense LICENSE
> 	pod2man --center "Manual" --release "box64 ${version}" \
> 		docs/box64.pod > box64.1
> 	vman box64.1
> }
> ```
> 
> **fix-pod.patch**
> 
> ```diff
> diff --git a/docs/box64.pod b/docs/box64.pod
> index 3da39c71a..489f158a4 100644
> --- a/docs/box64.pod
> +++ b/docs/box64.pod
> @@ -481,4 +481,6 @@ script. yyyy needs to be a full path to a valid x86_64 version of bash


WOW. I've not seen some of these options in other packages.
I'll add to my glibC Chroot environment and give it some test runs before making any needed additions.

Thanks for the info as well! 

  parent reply	other threads:[~2024-03-30 20:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-30  3:42 [ISSUE] " jaminW55
2024-03-30  3:42 ` jaminW55
2024-03-30  3:43 ` jaminW55
2024-03-30  9:29 ` chrysos349
2024-03-30 13:51 ` ahesford
2024-03-30 20:55 ` jaminW55
2024-03-30 20:57 ` jaminW55 [this message]
2024-03-30 21:07 ` jaminW55
2024-03-30 21:07 ` jaminW55

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240330205749.B594F2166E@inbox.vuxu.org \
    --to=jaminw55@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).