* Re: [PR PATCH] [Updated] nim: update to 1.4.0.
2020-10-17 9:48 [PR PATCH] nim: update to 1.4.0 rc-05
@ 2020-10-17 13:02 ` rc-05
2020-10-17 13:46 ` rc-05
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rc-05 @ 2020-10-17 13:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 303 bytes --]
There is an updated pull request by rc-05 against master on the void-packages repository
https://github.com/rc-05/void-packages nim
https://github.com/void-linux/void-packages/pull/25676
nim: update to 1.4.0.
A patch file from https://github.com/void-linux/void-packages/pull/25676.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nim-25676.patch --]
[-- Type: text/x-diff, Size: 1687 bytes --]
From 21aa5310186f6db7e59a7a703ae2d766d7b5f059 Mon Sep 17 00:00:00 2001
From: rc-05 <rc23@email.it>
Date: Sat, 17 Oct 2020 11:40:56 +0200
Subject: [PATCH] nim: update to 1.4.0.
---
srcpkgs/nim/template | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/nim/template b/srcpkgs/nim/template
index 56ac1dba6eb..fcfc340a39d 100644
--- a/srcpkgs/nim/template
+++ b/srcpkgs/nim/template
@@ -1,9 +1,9 @@
# Template file for 'nim'
pkgname=nim
-version=1.2.6
-revision=2
+version=1.4.0
+revision=1
_cversion=0.20.0
-_nimbleversion=0.11.4
+_nimbleversion=0.12.0
create_wrksrc=yes
build_wrksrc="Nim-$version"
hostmakedepends="ed"
@@ -15,9 +15,18 @@ homepage="https://nim-lang.org/"
distfiles="https://github.com/nim-lang/Nim/archive/v${version}.tar.gz
https://github.com/nim-lang/csources/archive/v${_cversion}.tar.gz>csources-${_cversion}.tar.gz
https://github.com/nim-lang/nimble/archive/v${_nimbleversion}.tar.gz>nimble-${_nimbleversion}.tar.gz"
-checksum="dbd5f1784ab121071aa7c58bb6b361cca79d12ac7524c761e27200e0c946e359
+checksum="3918ff1834888cd3feec5002931d4052a354994a0355bf1ae950f2f17ba81417
5e6fd15d90df1a8cb7614c4ffc70aa8c4198cd854d7742016202b96dd0228d3c
- 63e0dbfa5c33f80d6f8f8156a609e11497ac5390b64dc8d68f5126c3bb8d5429"
+ 0b88d91a450f31641f85379f2d76afb0a013cf783e62144a6534525b9cb1cbac"
+
+# Git is needed to build on x86_64* and i686* for some reason,
+# while on other architectures Nim builds normally...
+# https://api.travis-ci.org/v3/job/736593571/log.txt
+case "$XBPS_TARGET_MACHINE" in
+ x86_64*|i686*)
+ hostmakedepends+=" git"
+ ;;
+esac
post_extract() {
mv csources-$_cversion $build_wrksrc/csources
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Updated] nim: update to 1.4.0.
2020-10-17 9:48 [PR PATCH] nim: update to 1.4.0 rc-05
2020-10-17 13:02 ` [PR PATCH] [Updated] " rc-05
@ 2020-10-17 13:46 ` rc-05
2020-12-02 17:57 ` [PR REVIEW] " ericonr
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rc-05 @ 2020-10-17 13:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 303 bytes --]
There is an updated pull request by rc-05 against master on the void-packages repository
https://github.com/rc-05/void-packages nim
https://github.com/void-linux/void-packages/pull/25676
nim: update to 1.4.0.
A patch file from https://github.com/void-linux/void-packages/pull/25676.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nim-25676.patch --]
[-- Type: text/x-diff, Size: 1680 bytes --]
From 96775f22da1435797e62884550c02fe3ae6f9309 Mon Sep 17 00:00:00 2001
From: rc-05 <rc23@email.it>
Date: Sat, 17 Oct 2020 11:40:56 +0200
Subject: [PATCH] nim: update to 1.4.0.
---
srcpkgs/nim/template | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/nim/template b/srcpkgs/nim/template
index 56ac1dba6eb..ea80940e824 100644
--- a/srcpkgs/nim/template
+++ b/srcpkgs/nim/template
@@ -1,9 +1,9 @@
# Template file for 'nim'
pkgname=nim
-version=1.2.6
-revision=2
+version=1.4.0
+revision=1
_cversion=0.20.0
-_nimbleversion=0.11.4
+_nimbleversion=0.12.0
create_wrksrc=yes
build_wrksrc="Nim-$version"
hostmakedepends="ed"
@@ -15,9 +15,18 @@ homepage="https://nim-lang.org/"
distfiles="https://github.com/nim-lang/Nim/archive/v${version}.tar.gz
https://github.com/nim-lang/csources/archive/v${_cversion}.tar.gz>csources-${_cversion}.tar.gz
https://github.com/nim-lang/nimble/archive/v${_nimbleversion}.tar.gz>nimble-${_nimbleversion}.tar.gz"
-checksum="dbd5f1784ab121071aa7c58bb6b361cca79d12ac7524c761e27200e0c946e359
+checksum="3918ff1834888cd3feec5002931d4052a354994a0355bf1ae950f2f17ba81417
5e6fd15d90df1a8cb7614c4ffc70aa8c4198cd854d7742016202b96dd0228d3c
- 63e0dbfa5c33f80d6f8f8156a609e11497ac5390b64dc8d68f5126c3bb8d5429"
+ 0b88d91a450f31641f85379f2d76afb0a013cf783e62144a6534525b9cb1cbac"
+
+# Git is needed to build on x86_64* and i686* for some reason,
+# while on other architectures Nim builds normally...
+# https://api.travis-ci.org/v3/job/736593571/log.txt
+case "$XBPS_TARGET_MACHINE" in
+ x86_64*|i686*)
+ hostmakedepends+=" git"
+ ;;
+esac
post_extract() {
mv csources-$_cversion $build_wrksrc/csources
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR REVIEW] nim: update to 1.4.0.
2020-10-17 9:48 [PR PATCH] nim: update to 1.4.0 rc-05
2020-10-17 13:02 ` [PR PATCH] [Updated] " rc-05
2020-10-17 13:46 ` rc-05
@ 2020-12-02 17:57 ` ericonr
2020-12-06 14:56 ` rc-05
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2020-12-02 17:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 258 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/25676#discussion_r534369131
Comment:
This is probably a case of cross compiling vs native build...
Would be interesting to find out what changes.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR REVIEW] nim: update to 1.4.0.
2020-10-17 9:48 [PR PATCH] nim: update to 1.4.0 rc-05
` (2 preceding siblings ...)
2020-12-02 17:57 ` [PR REVIEW] " ericonr
@ 2020-12-06 14:56 ` rc-05
2020-12-06 15:25 ` rc-05
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rc-05 @ 2020-12-06 14:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 514 bytes --]
New review comment by rc-05 on void-packages repository
https://github.com/void-linux/void-packages/pull/25676#discussion_r537054765
Comment:
If you remove the `hostmakedepends+=git` line when natively compiling the compilation doesn't succeed for some reason but by looking at the build log it uses git to download some extra modules (maybe the Fusion libraries contained in Nim).
Strangely enough cross-compilation doesn't require git as a host dependency when building the compiler from source :thinking:
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR REVIEW] nim: update to 1.4.0.
2020-10-17 9:48 [PR PATCH] nim: update to 1.4.0 rc-05
` (3 preceding siblings ...)
2020-12-06 14:56 ` rc-05
@ 2020-12-06 15:25 ` rc-05
2020-12-20 4:37 ` ahesford
2020-12-20 4:37 ` [PR PATCH] [Closed]: " ahesford
6 siblings, 0 replies; 8+ messages in thread
From: rc-05 @ 2020-12-06 15:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 516 bytes --]
New review comment by rc-05 on void-packages repository
https://github.com/void-linux/void-packages/pull/25676#discussion_r537054765
Comment:
If you remove the `hostmakedepends+=git` line when natively compiling the compilation doesn't succeed for some reason and by looking at the build log it uses git to download some extra modules (maybe the Fusion libraries for Nim :question:).
Strangely enough cross-compilation doesn't require git as a host dependency when building the compiler from source :thinking:
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: nim: update to 1.4.0.
2020-10-17 9:48 [PR PATCH] nim: update to 1.4.0 rc-05
` (4 preceding siblings ...)
2020-12-06 15:25 ` rc-05
@ 2020-12-20 4:37 ` ahesford
2020-12-20 4:37 ` [PR PATCH] [Closed]: " ahesford
6 siblings, 0 replies; 8+ messages in thread
From: ahesford @ 2020-12-20 4:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 296 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/pull/25676#issuecomment-748561872
Comment:
You don't need `git` if you fetch a specific `fusion` commit, as is done with `nimble`. This will be superseded by #26868, which should be merged shortly.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Closed]: nim: update to 1.4.0.
2020-10-17 9:48 [PR PATCH] nim: update to 1.4.0 rc-05
` (5 preceding siblings ...)
2020-12-20 4:37 ` ahesford
@ 2020-12-20 4:37 ` ahesford
6 siblings, 0 replies; 8+ messages in thread
From: ahesford @ 2020-12-20 4:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 155 bytes --]
There's a closed pull request on the void-packages repository
nim: update to 1.4.0.
https://github.com/void-linux/void-packages/pull/25676
Description:
^ permalink raw reply [flat|nested] 8+ messages in thread