Github messages for voidlinux
 help / color / mirror / Atom feed
From: CabrioletDiskette <CabrioletDiskette@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New Package: mlton-20210117
Date: Sun, 25 Jun 2023 05:29:01 +0200	[thread overview]
Message-ID: <20230625032901.MZlWedVOgZr5FIkseTqL0uy9OqGW4jRwgNfjVoH4OTo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44621@inbox.vuxu.org>

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

There is an updated pull request by CabrioletDiskette against master on the void-packages repository

https://github.com/CabrioletDiskette/void-packages mlton
https://github.com/void-linux/void-packages/pull/44621

New Package: mlton-20210117
#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64

MAJOR NOTE: Similar to openjdk mlton needs to be built with a binary of itself. These binaries are only available for x86_64. Cross compile should be completely possible but compilation on platforms other than x86_64 is not possible unless a binary is made for that arch. Comments and ideas welcome and needed as this is the reason the CI builds are failing below.


A patch file from https://github.com/void-linux/void-packages/pull/44621.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mlton-44621.patch --]
[-- Type: text/x-diff, Size: 1453 bytes --]

From c458b704e96cdb5e4806abe2e491f185d6d1d2f8 Mon Sep 17 00:00:00 2001
From: Adam Pschorr <adampschorr13@aol.com>
Date: Sat, 24 Jun 2023 16:49:22 -0600
Subject: [PATCH] New Package: mlton-20210117

minor fixes

omg typo

x86_64 only support
---
 srcpkgs/mlton/template | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 srcpkgs/mlton/template

diff --git a/srcpkgs/mlton/template b/srcpkgs/mlton/template
new file mode 100644
index 000000000000..b6cc17ea1c51
--- /dev/null
+++ b/srcpkgs/mlton/template
@@ -0,0 +1,29 @@
+# Template file for 'mlton'
+pkgname=mlton
+version=20210117
+archs="x86_64"
+revision=1
+build_style=gnu-makefile
+hostmakedepends="wget gcc make tar patch"
+makedepends="gmp-devel"
+depends="gmp"
+build_wrksrc="mlton-$version/"
+short_desc="Optimizing compiler for the Standard ML programming language"
+maintainer="Adam Pschorr <adampschorr13@aol.com>"
+license="HPND"
+homepage="http://www.mlton.org/"
+distfiles="https://github.com/MLton/mlton/releases/download/on-$version-release/mlton-$version.src.tgz
+https://github.com/MLton/mlton/releases/download/on-$version-release/mlton-$version-1.amd64-linux-glibc2.31.tgz"
+checksum="ec7a5a54deb39c7c0fa746d17767752154e9cb94dbcf3d15b795083b3f0f154b
+749cb59d6baccd644143709be866105228d2b6dcd40c507a90b89c9b5e0f45d2"
+
+
+
+post_extract() {
+	cd $wrksrc/mlton-$version-1.amd64-linux-glibc2.31
+	make
+}
+
+post_install() {
+	vlicense LICENSE
+}

  parent reply	other threads:[~2023-06-25  3:29 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-24 22:59 [PR PATCH] " CabrioletDiskette
2023-06-24 23:09 ` [PR PATCH] [Updated] " CabrioletDiskette
2023-06-24 23:11 ` CabrioletDiskette
2023-06-25  3:29 ` CabrioletDiskette [this message]
2023-06-25  3:30 ` CabrioletDiskette
2023-06-25  7:13 ` [PR REVIEW] " Bnyro
2023-06-25 22:47 ` [PR PATCH] [Updated] " CabrioletDiskette
2023-06-26  3:51 ` CabrioletDiskette
2023-06-26  3:56 ` CabrioletDiskette
2023-09-27  1:45 ` github-actions
2023-10-11  1:45 ` [PR PATCH] [Closed]: " github-actions
2023-10-28 19:09 [PR PATCH] New package: mlton-20210117 ii8
2023-10-28 20:36 ` [PR PATCH] [Updated] " ii8
2023-11-07 23:40 ` ii8
2023-11-08 13:40 ` ii8

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=20230625032901.MZlWedVOgZr5FIkseTqL0uy9OqGW4jRwgNfjVoH4OTo@z \
    --to=cabrioletdiskette@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).