* [PR PATCH] New Package: odin-0.10.0
@ 2019-06-08 21:40 voidlinux-github
2019-06-08 23:17 ` voidlinux-github
` (21 more replies)
0 siblings, 22 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-08 21:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 616 bytes --]
There is a new pull request by logenkain against master on the void-packages repository
https://github.com/logenkain/void-packages odin
https://github.com/void-linux/void-packages/pull/12322
New Package: odin-0.10.0
Odin doesn't seem to have an installer yet and it requires the executable to be local to it's shared and core folders.
I could change it up so it only copies the binary and the two required folders, but odin is still early days so I figure I should leave it all there in case anyone wants to look at it.
A patch file from https://github.com/void-linux/void-packages/pull/12322.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-odin-12322.patch --]
[-- Type: application/text/x-diff, Size: 1325 bytes --]
From acf0c5fc9d9caf87552aa16307ce31fadafa3f9f Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 17:19:23 -0400
Subject: [PATCH] New Package: odin-0.10.0
---
srcpkgs/odin/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/odin/template
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
new file mode 100644
index 00000000000..40e5f34fd2a
--- /dev/null
+++ b/srcpkgs/odin/template
@@ -0,0 +1,32 @@
+# Template file for 'odin'
+pkgname=odin
+version=0.10.0
+revision=1
+archs="x86_64-musl x86_64"
+wrksrc="Odin-${version}"
+build_style="gnu-makefile"
+hostmakedepends="pkg-config clang llvm"
+depends="clang"
+short_desc="Fast. concise, readable, pragmatic and open programming language"
+maintainer="Logen Kain <logen@sudotask.com>"
+license="BSD"
+homepage="https://odin-lang.org"
+distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
+checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
+nopie=1
+make_build_args+=" debug"
+
+do_build() {
+ : ${make_cmd:=make}
+
+ ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
+}
+
+do_install() {
+ vmkdir opt/odin
+ vmkdir usr/bin
+ vcopy "*" opt/odin
+ vlicense LICENSE
+ ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
+}
+
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
@ 2019-06-08 23:17 ` voidlinux-github
2019-06-08 23:27 ` [PR PATCH] [Updated] " voidlinux-github
` (20 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-08 23:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 575 bytes --]
New comment by daniel-eys on void-packages repository
https://github.com/void-linux/void-packages/pull/12322#issuecomment-500172432
Comment:
> I could change it up so it only copies the binary and the two required folders, but odin is still early days so I figure I should leave it all there in case anyone wants to look at it.
There are a lot of unneeded files (`.bat`, `appveyor.yml`, `.gitkeep`, etc) which shouldn't be included, so please just include the binary and the required folders.
People wanting to look at language internals should use upstream directly.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Updated] New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
2019-06-08 23:17 ` voidlinux-github
@ 2019-06-08 23:27 ` voidlinux-github
2019-06-08 23:27 ` voidlinux-github
` (19 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-08 23:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
There is an updated pull request by logenkain against master on the void-packages repository
https://github.com/logenkain/void-packages odin
https://github.com/void-linux/void-packages/pull/12322
New Package: odin-0.10.0
Odin doesn't seem to have an installer yet and it requires the executable to be local to it's shared and core folders.
I could change it up so it only copies the binary and the two required folders, but odin is still early days so I figure I should leave it all there in case anyone wants to look at it.
EDIT:
Or if future updates requires something else to be kept local to the executable.
A patch file from https://github.com/void-linux/void-packages/pull/12322.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-odin-12322.patch --]
[-- Type: application/text/x-diff, Size: 2772 bytes --]
From acf0c5fc9d9caf87552aa16307ce31fadafa3f9f Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 17:19:23 -0400
Subject: [PATCH 1/2] New Package: odin-0.10.0
---
srcpkgs/odin/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/odin/template
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
new file mode 100644
index 00000000000..40e5f34fd2a
--- /dev/null
+++ b/srcpkgs/odin/template
@@ -0,0 +1,32 @@
+# Template file for 'odin'
+pkgname=odin
+version=0.10.0
+revision=1
+archs="x86_64-musl x86_64"
+wrksrc="Odin-${version}"
+build_style="gnu-makefile"
+hostmakedepends="pkg-config clang llvm"
+depends="clang"
+short_desc="Fast. concise, readable, pragmatic and open programming language"
+maintainer="Logen Kain <logen@sudotask.com>"
+license="BSD"
+homepage="https://odin-lang.org"
+distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
+checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
+nopie=1
+make_build_args+=" debug"
+
+do_build() {
+ : ${make_cmd:=make}
+
+ ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
+}
+
+do_install() {
+ vmkdir opt/odin
+ vmkdir usr/bin
+ vcopy "*" opt/odin
+ vlicense LICENSE
+ ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
+}
+
From 7b979b2efac8f8f2158bb95c32bf832371c89a1c Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:26:34 -0400
Subject: [PATCH 2/2] odin: revise template to standards
---
srcpkgs/odin/template | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index 40e5f34fd2a..b6cc507644b 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -2,25 +2,20 @@
pkgname=odin
version=0.10.0
revision=1
-archs="x86_64-musl x86_64"
+archs="x86_64"
wrksrc="Odin-${version}"
build_style="gnu-makefile"
hostmakedepends="pkg-config clang llvm"
depends="clang"
-short_desc="Fast. concise, readable, pragmatic and open programming language"
+short_desc="Fast, concise, readable, pragmatic and open programming language"
maintainer="Logen Kain <logen@sudotask.com>"
-license="BSD"
+license="BSD-2-Clause"
homepage="https://odin-lang.org"
distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
-nopie=1
-make_build_args+=" debug"
-
-do_build() {
- : ${make_cmd:=make}
-
- ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
-}
+nopie=yes
+make_build_target="debug"
+make_use_env=yes
do_install() {
vmkdir opt/odin
@@ -29,4 +24,3 @@ do_install() {
vlicense LICENSE
ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
}
-
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Updated] New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
2019-06-08 23:17 ` voidlinux-github
2019-06-08 23:27 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-06-08 23:27 ` voidlinux-github
2019-06-08 23:30 ` voidlinux-github
` (18 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-08 23:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
There is an updated pull request by logenkain against master on the void-packages repository
https://github.com/logenkain/void-packages odin
https://github.com/void-linux/void-packages/pull/12322
New Package: odin-0.10.0
Odin doesn't seem to have an installer yet and it requires the executable to be local to it's shared and core folders.
I could change it up so it only copies the binary and the two required folders, but odin is still early days so I figure I should leave it all there in case anyone wants to look at it.
EDIT:
Or if future updates requires something else to be kept local to the executable.
A patch file from https://github.com/void-linux/void-packages/pull/12322.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-odin-12322.patch --]
[-- Type: application/text/x-diff, Size: 2772 bytes --]
From acf0c5fc9d9caf87552aa16307ce31fadafa3f9f Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 17:19:23 -0400
Subject: [PATCH 1/2] New Package: odin-0.10.0
---
srcpkgs/odin/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/odin/template
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
new file mode 100644
index 00000000000..40e5f34fd2a
--- /dev/null
+++ b/srcpkgs/odin/template
@@ -0,0 +1,32 @@
+# Template file for 'odin'
+pkgname=odin
+version=0.10.0
+revision=1
+archs="x86_64-musl x86_64"
+wrksrc="Odin-${version}"
+build_style="gnu-makefile"
+hostmakedepends="pkg-config clang llvm"
+depends="clang"
+short_desc="Fast. concise, readable, pragmatic and open programming language"
+maintainer="Logen Kain <logen@sudotask.com>"
+license="BSD"
+homepage="https://odin-lang.org"
+distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
+checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
+nopie=1
+make_build_args+=" debug"
+
+do_build() {
+ : ${make_cmd:=make}
+
+ ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
+}
+
+do_install() {
+ vmkdir opt/odin
+ vmkdir usr/bin
+ vcopy "*" opt/odin
+ vlicense LICENSE
+ ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
+}
+
From 7b979b2efac8f8f2158bb95c32bf832371c89a1c Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:26:34 -0400
Subject: [PATCH 2/2] odin: revise template to standards
---
srcpkgs/odin/template | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index 40e5f34fd2a..b6cc507644b 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -2,25 +2,20 @@
pkgname=odin
version=0.10.0
revision=1
-archs="x86_64-musl x86_64"
+archs="x86_64"
wrksrc="Odin-${version}"
build_style="gnu-makefile"
hostmakedepends="pkg-config clang llvm"
depends="clang"
-short_desc="Fast. concise, readable, pragmatic and open programming language"
+short_desc="Fast, concise, readable, pragmatic and open programming language"
maintainer="Logen Kain <logen@sudotask.com>"
-license="BSD"
+license="BSD-2-Clause"
homepage="https://odin-lang.org"
distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
-nopie=1
-make_build_args+=" debug"
-
-do_build() {
- : ${make_cmd:=make}
-
- ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
-}
+nopie=yes
+make_build_target="debug"
+make_use_env=yes
do_install() {
vmkdir opt/odin
@@ -29,4 +24,3 @@ do_install() {
vlicense LICENSE
ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
}
-
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
` (2 preceding siblings ...)
2019-06-08 23:27 ` voidlinux-github
@ 2019-06-08 23:30 ` voidlinux-github
2019-06-08 23:36 ` [PR PATCH] [Updated] " voidlinux-github
` (17 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-08 23:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 230 bytes --]
New comment by logenkain on void-packages repository
https://github.com/void-linux/void-packages/pull/12322#issuecomment-500172930
Comment:
Ah, I didn't get that last message till I pushed that last commit. I'll get right on it.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Updated] New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
` (3 preceding siblings ...)
2019-06-08 23:30 ` voidlinux-github
@ 2019-06-08 23:36 ` voidlinux-github
2019-06-08 23:36 ` voidlinux-github
` (16 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-08 23:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
There is an updated pull request by logenkain against master on the void-packages repository
https://github.com/logenkain/void-packages odin
https://github.com/void-linux/void-packages/pull/12322
New Package: odin-0.10.0
Odin doesn't seem to have an installer yet and it requires the executable to be local to it's shared and core folders.
I could change it up so it only copies the binary and the two required folders, but odin is still early days so I figure I should leave it all there in case anyone wants to look at it.
EDIT:
Or if future updates requires something else to be kept local to the executable.
A patch file from https://github.com/void-linux/void-packages/pull/12322.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-odin-12322.patch --]
[-- Type: application/text/x-diff, Size: 3475 bytes --]
From acf0c5fc9d9caf87552aa16307ce31fadafa3f9f Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 17:19:23 -0400
Subject: [PATCH 1/3] New Package: odin-0.10.0
---
srcpkgs/odin/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/odin/template
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
new file mode 100644
index 00000000000..40e5f34fd2a
--- /dev/null
+++ b/srcpkgs/odin/template
@@ -0,0 +1,32 @@
+# Template file for 'odin'
+pkgname=odin
+version=0.10.0
+revision=1
+archs="x86_64-musl x86_64"
+wrksrc="Odin-${version}"
+build_style="gnu-makefile"
+hostmakedepends="pkg-config clang llvm"
+depends="clang"
+short_desc="Fast. concise, readable, pragmatic and open programming language"
+maintainer="Logen Kain <logen@sudotask.com>"
+license="BSD"
+homepage="https://odin-lang.org"
+distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
+checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
+nopie=1
+make_build_args+=" debug"
+
+do_build() {
+ : ${make_cmd:=make}
+
+ ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
+}
+
+do_install() {
+ vmkdir opt/odin
+ vmkdir usr/bin
+ vcopy "*" opt/odin
+ vlicense LICENSE
+ ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
+}
+
From 7b979b2efac8f8f2158bb95c32bf832371c89a1c Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:26:34 -0400
Subject: [PATCH 2/3] odin: revise template to standards
---
srcpkgs/odin/template | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index 40e5f34fd2a..b6cc507644b 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -2,25 +2,20 @@
pkgname=odin
version=0.10.0
revision=1
-archs="x86_64-musl x86_64"
+archs="x86_64"
wrksrc="Odin-${version}"
build_style="gnu-makefile"
hostmakedepends="pkg-config clang llvm"
depends="clang"
-short_desc="Fast. concise, readable, pragmatic and open programming language"
+short_desc="Fast, concise, readable, pragmatic and open programming language"
maintainer="Logen Kain <logen@sudotask.com>"
-license="BSD"
+license="BSD-2-Clause"
homepage="https://odin-lang.org"
distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
-nopie=1
-make_build_args+=" debug"
-
-do_build() {
- : ${make_cmd:=make}
-
- ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
-}
+nopie=yes
+make_build_target="debug"
+make_use_env=yes
do_install() {
vmkdir opt/odin
@@ -29,4 +24,3 @@ do_install() {
vlicense LICENSE
ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
}
-
From d19549b271bad7bc00184746cdfc023eaf0b7590 Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:35:49 -0400
Subject: [PATCH 3/3] odin: limit installed files to what is needed
---
srcpkgs/odin/template | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index b6cc507644b..cddf48a04be 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -20,7 +20,9 @@ make_use_env=yes
do_install() {
vmkdir opt/odin
vmkdir usr/bin
- vcopy "*" opt/odin
+ vcopy "shared" opt/odin
+ vcopy "core" opt/odin
+ vcopy "odin" opt/odin
vlicense LICENSE
ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
}
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Updated] New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
` (4 preceding siblings ...)
2019-06-08 23:36 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-06-08 23:36 ` voidlinux-github
2019-06-08 23:37 ` voidlinux-github
` (15 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-08 23:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
There is an updated pull request by logenkain against master on the void-packages repository
https://github.com/logenkain/void-packages odin
https://github.com/void-linux/void-packages/pull/12322
New Package: odin-0.10.0
Odin doesn't seem to have an installer yet and it requires the executable to be local to it's shared and core folders.
I could change it up so it only copies the binary and the two required folders, but odin is still early days so I figure I should leave it all there in case anyone wants to look at it.
EDIT:
Or if future updates requires something else to be kept local to the executable.
A patch file from https://github.com/void-linux/void-packages/pull/12322.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-odin-12322.patch --]
[-- Type: application/text/x-diff, Size: 3475 bytes --]
From acf0c5fc9d9caf87552aa16307ce31fadafa3f9f Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 17:19:23 -0400
Subject: [PATCH 1/3] New Package: odin-0.10.0
---
srcpkgs/odin/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/odin/template
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
new file mode 100644
index 00000000000..40e5f34fd2a
--- /dev/null
+++ b/srcpkgs/odin/template
@@ -0,0 +1,32 @@
+# Template file for 'odin'
+pkgname=odin
+version=0.10.0
+revision=1
+archs="x86_64-musl x86_64"
+wrksrc="Odin-${version}"
+build_style="gnu-makefile"
+hostmakedepends="pkg-config clang llvm"
+depends="clang"
+short_desc="Fast. concise, readable, pragmatic and open programming language"
+maintainer="Logen Kain <logen@sudotask.com>"
+license="BSD"
+homepage="https://odin-lang.org"
+distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
+checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
+nopie=1
+make_build_args+=" debug"
+
+do_build() {
+ : ${make_cmd:=make}
+
+ ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
+}
+
+do_install() {
+ vmkdir opt/odin
+ vmkdir usr/bin
+ vcopy "*" opt/odin
+ vlicense LICENSE
+ ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
+}
+
From 7b979b2efac8f8f2158bb95c32bf832371c89a1c Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:26:34 -0400
Subject: [PATCH 2/3] odin: revise template to standards
---
srcpkgs/odin/template | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index 40e5f34fd2a..b6cc507644b 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -2,25 +2,20 @@
pkgname=odin
version=0.10.0
revision=1
-archs="x86_64-musl x86_64"
+archs="x86_64"
wrksrc="Odin-${version}"
build_style="gnu-makefile"
hostmakedepends="pkg-config clang llvm"
depends="clang"
-short_desc="Fast. concise, readable, pragmatic and open programming language"
+short_desc="Fast, concise, readable, pragmatic and open programming language"
maintainer="Logen Kain <logen@sudotask.com>"
-license="BSD"
+license="BSD-2-Clause"
homepage="https://odin-lang.org"
distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
-nopie=1
-make_build_args+=" debug"
-
-do_build() {
- : ${make_cmd:=make}
-
- ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
-}
+nopie=yes
+make_build_target="debug"
+make_use_env=yes
do_install() {
vmkdir opt/odin
@@ -29,4 +24,3 @@ do_install() {
vlicense LICENSE
ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
}
-
From d19549b271bad7bc00184746cdfc023eaf0b7590 Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:35:49 -0400
Subject: [PATCH 3/3] odin: limit installed files to what is needed
---
srcpkgs/odin/template | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index b6cc507644b..cddf48a04be 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -20,7 +20,9 @@ make_use_env=yes
do_install() {
vmkdir opt/odin
vmkdir usr/bin
- vcopy "*" opt/odin
+ vcopy "shared" opt/odin
+ vcopy "core" opt/odin
+ vcopy "odin" opt/odin
vlicense LICENSE
ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
}
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
` (5 preceding siblings ...)
2019-06-08 23:36 ` voidlinux-github
@ 2019-06-08 23:37 ` voidlinux-github
2019-06-08 23:51 ` [PR PATCH] [Updated] " voidlinux-github
` (14 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-08 23:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 252 bytes --]
New comment by logenkain on void-packages repository
https://github.com/void-linux/void-packages/pull/12322#issuecomment-500173183
Comment:
Alright, fixed.
Thanks a lot, it's been a while since I've put together a package. You're doing great work.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Updated] New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
` (6 preceding siblings ...)
2019-06-08 23:37 ` voidlinux-github
@ 2019-06-08 23:51 ` voidlinux-github
2019-06-08 23:51 ` voidlinux-github
` (13 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-08 23:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
There is an updated pull request by logenkain against master on the void-packages repository
https://github.com/logenkain/void-packages odin
https://github.com/void-linux/void-packages/pull/12322
New Package: odin-0.10.0
Odin doesn't seem to have an installer yet and it requires the executable to be local to it's shared and core folders.
I could change it up so it only copies the binary and the two required folders, but odin is still early days so I figure I should leave it all there in case anyone wants to look at it.
EDIT:
Or if future updates requires something else to be kept local to the executable.
A patch file from https://github.com/void-linux/void-packages/pull/12322.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-odin-12322.patch --]
[-- Type: application/text/x-diff, Size: 4477 bytes --]
From acf0c5fc9d9caf87552aa16307ce31fadafa3f9f Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 17:19:23 -0400
Subject: [PATCH 1/4] New Package: odin-0.10.0
---
srcpkgs/odin/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/odin/template
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
new file mode 100644
index 00000000000..40e5f34fd2a
--- /dev/null
+++ b/srcpkgs/odin/template
@@ -0,0 +1,32 @@
+# Template file for 'odin'
+pkgname=odin
+version=0.10.0
+revision=1
+archs="x86_64-musl x86_64"
+wrksrc="Odin-${version}"
+build_style="gnu-makefile"
+hostmakedepends="pkg-config clang llvm"
+depends="clang"
+short_desc="Fast. concise, readable, pragmatic and open programming language"
+maintainer="Logen Kain <logen@sudotask.com>"
+license="BSD"
+homepage="https://odin-lang.org"
+distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
+checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
+nopie=1
+make_build_args+=" debug"
+
+do_build() {
+ : ${make_cmd:=make}
+
+ ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
+}
+
+do_install() {
+ vmkdir opt/odin
+ vmkdir usr/bin
+ vcopy "*" opt/odin
+ vlicense LICENSE
+ ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
+}
+
From 7b979b2efac8f8f2158bb95c32bf832371c89a1c Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:26:34 -0400
Subject: [PATCH 2/4] odin: revise template to standards
---
srcpkgs/odin/template | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index 40e5f34fd2a..b6cc507644b 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -2,25 +2,20 @@
pkgname=odin
version=0.10.0
revision=1
-archs="x86_64-musl x86_64"
+archs="x86_64"
wrksrc="Odin-${version}"
build_style="gnu-makefile"
hostmakedepends="pkg-config clang llvm"
depends="clang"
-short_desc="Fast. concise, readable, pragmatic and open programming language"
+short_desc="Fast, concise, readable, pragmatic and open programming language"
maintainer="Logen Kain <logen@sudotask.com>"
-license="BSD"
+license="BSD-2-Clause"
homepage="https://odin-lang.org"
distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
-nopie=1
-make_build_args+=" debug"
-
-do_build() {
- : ${make_cmd:=make}
-
- ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
-}
+nopie=yes
+make_build_target="debug"
+make_use_env=yes
do_install() {
vmkdir opt/odin
@@ -29,4 +24,3 @@ do_install() {
vlicense LICENSE
ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
}
-
From d19549b271bad7bc00184746cdfc023eaf0b7590 Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:35:49 -0400
Subject: [PATCH 3/4] odin: limit installed files to what is needed
---
srcpkgs/odin/template | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index b6cc507644b..cddf48a04be 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -20,7 +20,9 @@ make_use_env=yes
do_install() {
vmkdir opt/odin
vmkdir usr/bin
- vcopy "*" opt/odin
+ vcopy "shared" opt/odin
+ vcopy "core" opt/odin
+ vcopy "odin" opt/odin
vlicense LICENSE
ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
}
From 4612cade5439a94d4a534feb983367626c6abca6 Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:51:00 -0400
Subject: [PATCH 4/4] odin: fix xlint errors
---
srcpkgs/odin/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index cddf48a04be..de726b786a5 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -5,6 +5,8 @@ revision=1
archs="x86_64"
wrksrc="Odin-${version}"
build_style="gnu-makefile"
+make_use_env=yes
+make_build_target="debug"
hostmakedepends="pkg-config clang llvm"
depends="clang"
short_desc="Fast, concise, readable, pragmatic and open programming language"
@@ -14,8 +16,6 @@ homepage="https://odin-lang.org"
distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
nopie=yes
-make_build_target="debug"
-make_use_env=yes
do_install() {
vmkdir opt/odin
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Updated] New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
` (7 preceding siblings ...)
2019-06-08 23:51 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-06-08 23:51 ` voidlinux-github
2019-06-09 0:15 ` voidlinux-github
` (12 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-08 23:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
There is an updated pull request by logenkain against master on the void-packages repository
https://github.com/logenkain/void-packages odin
https://github.com/void-linux/void-packages/pull/12322
New Package: odin-0.10.0
Odin doesn't seem to have an installer yet and it requires the executable to be local to it's shared and core folders.
I could change it up so it only copies the binary and the two required folders, but odin is still early days so I figure I should leave it all there in case anyone wants to look at it.
EDIT:
Or if future updates requires something else to be kept local to the executable.
A patch file from https://github.com/void-linux/void-packages/pull/12322.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-odin-12322.patch --]
[-- Type: application/text/x-diff, Size: 4477 bytes --]
From acf0c5fc9d9caf87552aa16307ce31fadafa3f9f Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 17:19:23 -0400
Subject: [PATCH 1/4] New Package: odin-0.10.0
---
srcpkgs/odin/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/odin/template
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
new file mode 100644
index 00000000000..40e5f34fd2a
--- /dev/null
+++ b/srcpkgs/odin/template
@@ -0,0 +1,32 @@
+# Template file for 'odin'
+pkgname=odin
+version=0.10.0
+revision=1
+archs="x86_64-musl x86_64"
+wrksrc="Odin-${version}"
+build_style="gnu-makefile"
+hostmakedepends="pkg-config clang llvm"
+depends="clang"
+short_desc="Fast. concise, readable, pragmatic and open programming language"
+maintainer="Logen Kain <logen@sudotask.com>"
+license="BSD"
+homepage="https://odin-lang.org"
+distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
+checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
+nopie=1
+make_build_args+=" debug"
+
+do_build() {
+ : ${make_cmd:=make}
+
+ ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
+}
+
+do_install() {
+ vmkdir opt/odin
+ vmkdir usr/bin
+ vcopy "*" opt/odin
+ vlicense LICENSE
+ ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
+}
+
From 7b979b2efac8f8f2158bb95c32bf832371c89a1c Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:26:34 -0400
Subject: [PATCH 2/4] odin: revise template to standards
---
srcpkgs/odin/template | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index 40e5f34fd2a..b6cc507644b 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -2,25 +2,20 @@
pkgname=odin
version=0.10.0
revision=1
-archs="x86_64-musl x86_64"
+archs="x86_64"
wrksrc="Odin-${version}"
build_style="gnu-makefile"
hostmakedepends="pkg-config clang llvm"
depends="clang"
-short_desc="Fast. concise, readable, pragmatic and open programming language"
+short_desc="Fast, concise, readable, pragmatic and open programming language"
maintainer="Logen Kain <logen@sudotask.com>"
-license="BSD"
+license="BSD-2-Clause"
homepage="https://odin-lang.org"
distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
-nopie=1
-make_build_args+=" debug"
-
-do_build() {
- : ${make_cmd:=make}
-
- ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
-}
+nopie=yes
+make_build_target="debug"
+make_use_env=yes
do_install() {
vmkdir opt/odin
@@ -29,4 +24,3 @@ do_install() {
vlicense LICENSE
ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
}
-
From d19549b271bad7bc00184746cdfc023eaf0b7590 Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:35:49 -0400
Subject: [PATCH 3/4] odin: limit installed files to what is needed
---
srcpkgs/odin/template | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index b6cc507644b..cddf48a04be 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -20,7 +20,9 @@ make_use_env=yes
do_install() {
vmkdir opt/odin
vmkdir usr/bin
- vcopy "*" opt/odin
+ vcopy "shared" opt/odin
+ vcopy "core" opt/odin
+ vcopy "odin" opt/odin
vlicense LICENSE
ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
}
From 4612cade5439a94d4a534feb983367626c6abca6 Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:51:00 -0400
Subject: [PATCH 4/4] odin: fix xlint errors
---
srcpkgs/odin/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index cddf48a04be..de726b786a5 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -5,6 +5,8 @@ revision=1
archs="x86_64"
wrksrc="Odin-${version}"
build_style="gnu-makefile"
+make_use_env=yes
+make_build_target="debug"
hostmakedepends="pkg-config clang llvm"
depends="clang"
short_desc="Fast, concise, readable, pragmatic and open programming language"
@@ -14,8 +16,6 @@ homepage="https://odin-lang.org"
distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
nopie=yes
-make_build_target="debug"
-make_use_env=yes
do_install() {
vmkdir opt/odin
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Updated] New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
` (9 preceding siblings ...)
2019-06-09 0:15 ` voidlinux-github
@ 2019-06-09 0:15 ` voidlinux-github
2019-06-09 0:43 ` voidlinux-github
` (10 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-09 0:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
There is an updated pull request by logenkain against master on the void-packages repository
https://github.com/logenkain/void-packages odin
https://github.com/void-linux/void-packages/pull/12322
New Package: odin-0.10.0
Odin doesn't seem to have an installer yet and it requires the executable to be local to it's shared and core folders.
I could change it up so it only copies the binary and the two required folders, but odin is still early days so I figure I should leave it all there in case anyone wants to look at it.
EDIT:
Or if future updates requires something else to be kept local to the executable.
A patch file from https://github.com/void-linux/void-packages/pull/12322.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-odin-12322.patch --]
[-- Type: application/text/x-diff, Size: 5067 bytes --]
From acf0c5fc9d9caf87552aa16307ce31fadafa3f9f Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 17:19:23 -0400
Subject: [PATCH 1/5] New Package: odin-0.10.0
---
srcpkgs/odin/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/odin/template
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
new file mode 100644
index 00000000000..40e5f34fd2a
--- /dev/null
+++ b/srcpkgs/odin/template
@@ -0,0 +1,32 @@
+# Template file for 'odin'
+pkgname=odin
+version=0.10.0
+revision=1
+archs="x86_64-musl x86_64"
+wrksrc="Odin-${version}"
+build_style="gnu-makefile"
+hostmakedepends="pkg-config clang llvm"
+depends="clang"
+short_desc="Fast. concise, readable, pragmatic and open programming language"
+maintainer="Logen Kain <logen@sudotask.com>"
+license="BSD"
+homepage="https://odin-lang.org"
+distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
+checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
+nopie=1
+make_build_args+=" debug"
+
+do_build() {
+ : ${make_cmd:=make}
+
+ ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
+}
+
+do_install() {
+ vmkdir opt/odin
+ vmkdir usr/bin
+ vcopy "*" opt/odin
+ vlicense LICENSE
+ ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
+}
+
From 7b979b2efac8f8f2158bb95c32bf832371c89a1c Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:26:34 -0400
Subject: [PATCH 2/5] odin: revise template to standards
---
srcpkgs/odin/template | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index 40e5f34fd2a..b6cc507644b 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -2,25 +2,20 @@
pkgname=odin
version=0.10.0
revision=1
-archs="x86_64-musl x86_64"
+archs="x86_64"
wrksrc="Odin-${version}"
build_style="gnu-makefile"
hostmakedepends="pkg-config clang llvm"
depends="clang"
-short_desc="Fast. concise, readable, pragmatic and open programming language"
+short_desc="Fast, concise, readable, pragmatic and open programming language"
maintainer="Logen Kain <logen@sudotask.com>"
-license="BSD"
+license="BSD-2-Clause"
homepage="https://odin-lang.org"
distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
-nopie=1
-make_build_args+=" debug"
-
-do_build() {
- : ${make_cmd:=make}
-
- ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
-}
+nopie=yes
+make_build_target="debug"
+make_use_env=yes
do_install() {
vmkdir opt/odin
@@ -29,4 +24,3 @@ do_install() {
vlicense LICENSE
ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
}
-
From d19549b271bad7bc00184746cdfc023eaf0b7590 Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:35:49 -0400
Subject: [PATCH 3/5] odin: limit installed files to what is needed
---
srcpkgs/odin/template | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index b6cc507644b..cddf48a04be 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -20,7 +20,9 @@ make_use_env=yes
do_install() {
vmkdir opt/odin
vmkdir usr/bin
- vcopy "*" opt/odin
+ vcopy "shared" opt/odin
+ vcopy "core" opt/odin
+ vcopy "odin" opt/odin
vlicense LICENSE
ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
}
From 4612cade5439a94d4a534feb983367626c6abca6 Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:51:00 -0400
Subject: [PATCH 4/5] odin: fix xlint errors
---
srcpkgs/odin/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index cddf48a04be..de726b786a5 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -5,6 +5,8 @@ revision=1
archs="x86_64"
wrksrc="Odin-${version}"
build_style="gnu-makefile"
+make_use_env=yes
+make_build_target="debug"
hostmakedepends="pkg-config clang llvm"
depends="clang"
short_desc="Fast, concise, readable, pragmatic and open programming language"
@@ -14,8 +16,6 @@ homepage="https://odin-lang.org"
distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
nopie=yes
-make_build_target="debug"
-make_use_env=yes
do_install() {
vmkdir opt/odin
From 8f152353af0e6d2e84af01f6264a4cdb549d90f5 Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 20:13:14 -0400
Subject: [PATCH 5/5] odin: fix target archs
---
srcpkgs/odin/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index de726b786a5..19522ba6114 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -2,7 +2,7 @@
pkgname=odin
version=0.10.0
revision=1
-archs="x86_64"
+archs="x86_64*"
wrksrc="Odin-${version}"
build_style="gnu-makefile"
make_use_env=yes
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Updated] New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
` (8 preceding siblings ...)
2019-06-08 23:51 ` voidlinux-github
@ 2019-06-09 0:15 ` voidlinux-github
2019-06-09 0:15 ` voidlinux-github
` (11 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-09 0:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
There is an updated pull request by logenkain against master on the void-packages repository
https://github.com/logenkain/void-packages odin
https://github.com/void-linux/void-packages/pull/12322
New Package: odin-0.10.0
Odin doesn't seem to have an installer yet and it requires the executable to be local to it's shared and core folders.
I could change it up so it only copies the binary and the two required folders, but odin is still early days so I figure I should leave it all there in case anyone wants to look at it.
EDIT:
Or if future updates requires something else to be kept local to the executable.
A patch file from https://github.com/void-linux/void-packages/pull/12322.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-odin-12322.patch --]
[-- Type: application/text/x-diff, Size: 5067 bytes --]
From acf0c5fc9d9caf87552aa16307ce31fadafa3f9f Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 17:19:23 -0400
Subject: [PATCH 1/5] New Package: odin-0.10.0
---
srcpkgs/odin/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/odin/template
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
new file mode 100644
index 00000000000..40e5f34fd2a
--- /dev/null
+++ b/srcpkgs/odin/template
@@ -0,0 +1,32 @@
+# Template file for 'odin'
+pkgname=odin
+version=0.10.0
+revision=1
+archs="x86_64-musl x86_64"
+wrksrc="Odin-${version}"
+build_style="gnu-makefile"
+hostmakedepends="pkg-config clang llvm"
+depends="clang"
+short_desc="Fast. concise, readable, pragmatic and open programming language"
+maintainer="Logen Kain <logen@sudotask.com>"
+license="BSD"
+homepage="https://odin-lang.org"
+distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
+checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
+nopie=1
+make_build_args+=" debug"
+
+do_build() {
+ : ${make_cmd:=make}
+
+ ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
+}
+
+do_install() {
+ vmkdir opt/odin
+ vmkdir usr/bin
+ vcopy "*" opt/odin
+ vlicense LICENSE
+ ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
+}
+
From 7b979b2efac8f8f2158bb95c32bf832371c89a1c Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:26:34 -0400
Subject: [PATCH 2/5] odin: revise template to standards
---
srcpkgs/odin/template | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index 40e5f34fd2a..b6cc507644b 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -2,25 +2,20 @@
pkgname=odin
version=0.10.0
revision=1
-archs="x86_64-musl x86_64"
+archs="x86_64"
wrksrc="Odin-${version}"
build_style="gnu-makefile"
hostmakedepends="pkg-config clang llvm"
depends="clang"
-short_desc="Fast. concise, readable, pragmatic and open programming language"
+short_desc="Fast, concise, readable, pragmatic and open programming language"
maintainer="Logen Kain <logen@sudotask.com>"
-license="BSD"
+license="BSD-2-Clause"
homepage="https://odin-lang.org"
distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
-nopie=1
-make_build_args+=" debug"
-
-do_build() {
- : ${make_cmd:=make}
-
- ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
-}
+nopie=yes
+make_build_target="debug"
+make_use_env=yes
do_install() {
vmkdir opt/odin
@@ -29,4 +24,3 @@ do_install() {
vlicense LICENSE
ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
}
-
From d19549b271bad7bc00184746cdfc023eaf0b7590 Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:35:49 -0400
Subject: [PATCH 3/5] odin: limit installed files to what is needed
---
srcpkgs/odin/template | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index b6cc507644b..cddf48a04be 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -20,7 +20,9 @@ make_use_env=yes
do_install() {
vmkdir opt/odin
vmkdir usr/bin
- vcopy "*" opt/odin
+ vcopy "shared" opt/odin
+ vcopy "core" opt/odin
+ vcopy "odin" opt/odin
vlicense LICENSE
ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
}
From 4612cade5439a94d4a534feb983367626c6abca6 Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:51:00 -0400
Subject: [PATCH 4/5] odin: fix xlint errors
---
srcpkgs/odin/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index cddf48a04be..de726b786a5 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -5,6 +5,8 @@ revision=1
archs="x86_64"
wrksrc="Odin-${version}"
build_style="gnu-makefile"
+make_use_env=yes
+make_build_target="debug"
hostmakedepends="pkg-config clang llvm"
depends="clang"
short_desc="Fast, concise, readable, pragmatic and open programming language"
@@ -14,8 +16,6 @@ homepage="https://odin-lang.org"
distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
nopie=yes
-make_build_target="debug"
-make_use_env=yes
do_install() {
vmkdir opt/odin
From 8f152353af0e6d2e84af01f6264a4cdb549d90f5 Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 20:13:14 -0400
Subject: [PATCH 5/5] odin: fix target archs
---
srcpkgs/odin/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index de726b786a5..19522ba6114 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -2,7 +2,7 @@
pkgname=odin
version=0.10.0
revision=1
-archs="x86_64"
+archs="x86_64*"
wrksrc="Odin-${version}"
build_style="gnu-makefile"
make_use_env=yes
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
` (10 preceding siblings ...)
2019-06-09 0:15 ` voidlinux-github
@ 2019-06-09 0:43 ` voidlinux-github
2019-06-09 2:03 ` [PR PATCH] [Updated] " voidlinux-github
` (9 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-09 0:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 292 bytes --]
New comment by daniel-eys on void-packages repository
https://github.com/void-linux/void-packages/pull/12322#issuecomment-500175778
Comment:
While trying to compile the `demo.odin` example, odin complained for not having `/usr/bin/opt` installed, so `llvm` needs to be added do `depends`.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Updated] New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
` (11 preceding siblings ...)
2019-06-09 0:43 ` voidlinux-github
@ 2019-06-09 2:03 ` voidlinux-github
2019-06-09 2:03 ` voidlinux-github
` (8 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-09 2:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
There is an updated pull request by logenkain against master on the void-packages repository
https://github.com/logenkain/void-packages odin
https://github.com/void-linux/void-packages/pull/12322
New Package: odin-0.10.0
Odin doesn't seem to have an installer yet and it requires the executable to be local to it's shared and core folders.
I could change it up so it only copies the binary and the two required folders, but odin is still early days so I figure I should leave it all there in case anyone wants to look at it.
EDIT:
Or if future updates requires something else to be kept local to the executable.
A patch file from https://github.com/void-linux/void-packages/pull/12322.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-odin-12322.patch --]
[-- Type: application/text/x-diff, Size: 5810 bytes --]
From acf0c5fc9d9caf87552aa16307ce31fadafa3f9f Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 17:19:23 -0400
Subject: [PATCH 1/6] New Package: odin-0.10.0
---
srcpkgs/odin/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/odin/template
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
new file mode 100644
index 00000000000..40e5f34fd2a
--- /dev/null
+++ b/srcpkgs/odin/template
@@ -0,0 +1,32 @@
+# Template file for 'odin'
+pkgname=odin
+version=0.10.0
+revision=1
+archs="x86_64-musl x86_64"
+wrksrc="Odin-${version}"
+build_style="gnu-makefile"
+hostmakedepends="pkg-config clang llvm"
+depends="clang"
+short_desc="Fast. concise, readable, pragmatic and open programming language"
+maintainer="Logen Kain <logen@sudotask.com>"
+license="BSD"
+homepage="https://odin-lang.org"
+distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
+checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
+nopie=1
+make_build_args+=" debug"
+
+do_build() {
+ : ${make_cmd:=make}
+
+ ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
+}
+
+do_install() {
+ vmkdir opt/odin
+ vmkdir usr/bin
+ vcopy "*" opt/odin
+ vlicense LICENSE
+ ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
+}
+
From 7b979b2efac8f8f2158bb95c32bf832371c89a1c Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:26:34 -0400
Subject: [PATCH 2/6] odin: revise template to standards
---
srcpkgs/odin/template | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index 40e5f34fd2a..b6cc507644b 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -2,25 +2,20 @@
pkgname=odin
version=0.10.0
revision=1
-archs="x86_64-musl x86_64"
+archs="x86_64"
wrksrc="Odin-${version}"
build_style="gnu-makefile"
hostmakedepends="pkg-config clang llvm"
depends="clang"
-short_desc="Fast. concise, readable, pragmatic and open programming language"
+short_desc="Fast, concise, readable, pragmatic and open programming language"
maintainer="Logen Kain <logen@sudotask.com>"
-license="BSD"
+license="BSD-2-Clause"
homepage="https://odin-lang.org"
distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
-nopie=1
-make_build_args+=" debug"
-
-do_build() {
- : ${make_cmd:=make}
-
- ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
-}
+nopie=yes
+make_build_target="debug"
+make_use_env=yes
do_install() {
vmkdir opt/odin
@@ -29,4 +24,3 @@ do_install() {
vlicense LICENSE
ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
}
-
From d19549b271bad7bc00184746cdfc023eaf0b7590 Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:35:49 -0400
Subject: [PATCH 3/6] odin: limit installed files to what is needed
---
srcpkgs/odin/template | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index b6cc507644b..cddf48a04be 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -20,7 +20,9 @@ make_use_env=yes
do_install() {
vmkdir opt/odin
vmkdir usr/bin
- vcopy "*" opt/odin
+ vcopy "shared" opt/odin
+ vcopy "core" opt/odin
+ vcopy "odin" opt/odin
vlicense LICENSE
ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
}
From 4612cade5439a94d4a534feb983367626c6abca6 Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:51:00 -0400
Subject: [PATCH 4/6] odin: fix xlint errors
---
srcpkgs/odin/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index cddf48a04be..de726b786a5 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -5,6 +5,8 @@ revision=1
archs="x86_64"
wrksrc="Odin-${version}"
build_style="gnu-makefile"
+make_use_env=yes
+make_build_target="debug"
hostmakedepends="pkg-config clang llvm"
depends="clang"
short_desc="Fast, concise, readable, pragmatic and open programming language"
@@ -14,8 +16,6 @@ homepage="https://odin-lang.org"
distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
nopie=yes
-make_build_target="debug"
-make_use_env=yes
do_install() {
vmkdir opt/odin
From 8f152353af0e6d2e84af01f6264a4cdb549d90f5 Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 20:13:14 -0400
Subject: [PATCH 5/6] odin: fix target archs
---
srcpkgs/odin/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index de726b786a5..19522ba6114 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -2,7 +2,7 @@
pkgname=odin
version=0.10.0
revision=1
-archs="x86_64"
+archs="x86_64*"
wrksrc="Odin-${version}"
build_style="gnu-makefile"
make_use_env=yes
From a86e90c69a22b95732b259474bb2b7f617420b9d Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 22:02:49 -0400
Subject: [PATCH 6/6] odin: add llvm depend
---
srcpkgs/odin/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index 19522ba6114..ed8bf5f48f3 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -8,7 +8,7 @@ build_style="gnu-makefile"
make_use_env=yes
make_build_target="debug"
hostmakedepends="pkg-config clang llvm"
-depends="clang"
+depends="clang llvm"
short_desc="Fast, concise, readable, pragmatic and open programming language"
maintainer="Logen Kain <logen@sudotask.com>"
license="BSD-2-Clause"
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Updated] New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
` (12 preceding siblings ...)
2019-06-09 2:03 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-06-09 2:03 ` voidlinux-github
2019-06-09 2:04 ` voidlinux-github
` (7 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-09 2:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
There is an updated pull request by logenkain against master on the void-packages repository
https://github.com/logenkain/void-packages odin
https://github.com/void-linux/void-packages/pull/12322
New Package: odin-0.10.0
Odin doesn't seem to have an installer yet and it requires the executable to be local to it's shared and core folders.
I could change it up so it only copies the binary and the two required folders, but odin is still early days so I figure I should leave it all there in case anyone wants to look at it.
EDIT:
Or if future updates requires something else to be kept local to the executable.
A patch file from https://github.com/void-linux/void-packages/pull/12322.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-odin-12322.patch --]
[-- Type: application/text/x-diff, Size: 5810 bytes --]
From acf0c5fc9d9caf87552aa16307ce31fadafa3f9f Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 17:19:23 -0400
Subject: [PATCH 1/6] New Package: odin-0.10.0
---
srcpkgs/odin/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/odin/template
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
new file mode 100644
index 00000000000..40e5f34fd2a
--- /dev/null
+++ b/srcpkgs/odin/template
@@ -0,0 +1,32 @@
+# Template file for 'odin'
+pkgname=odin
+version=0.10.0
+revision=1
+archs="x86_64-musl x86_64"
+wrksrc="Odin-${version}"
+build_style="gnu-makefile"
+hostmakedepends="pkg-config clang llvm"
+depends="clang"
+short_desc="Fast. concise, readable, pragmatic and open programming language"
+maintainer="Logen Kain <logen@sudotask.com>"
+license="BSD"
+homepage="https://odin-lang.org"
+distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
+checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
+nopie=1
+make_build_args+=" debug"
+
+do_build() {
+ : ${make_cmd:=make}
+
+ ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
+}
+
+do_install() {
+ vmkdir opt/odin
+ vmkdir usr/bin
+ vcopy "*" opt/odin
+ vlicense LICENSE
+ ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
+}
+
From 7b979b2efac8f8f2158bb95c32bf832371c89a1c Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:26:34 -0400
Subject: [PATCH 2/6] odin: revise template to standards
---
srcpkgs/odin/template | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index 40e5f34fd2a..b6cc507644b 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -2,25 +2,20 @@
pkgname=odin
version=0.10.0
revision=1
-archs="x86_64-musl x86_64"
+archs="x86_64"
wrksrc="Odin-${version}"
build_style="gnu-makefile"
hostmakedepends="pkg-config clang llvm"
depends="clang"
-short_desc="Fast. concise, readable, pragmatic and open programming language"
+short_desc="Fast, concise, readable, pragmatic and open programming language"
maintainer="Logen Kain <logen@sudotask.com>"
-license="BSD"
+license="BSD-2-Clause"
homepage="https://odin-lang.org"
distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
-nopie=1
-make_build_args+=" debug"
-
-do_build() {
- : ${make_cmd:=make}
-
- ${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}
-}
+nopie=yes
+make_build_target="debug"
+make_use_env=yes
do_install() {
vmkdir opt/odin
@@ -29,4 +24,3 @@ do_install() {
vlicense LICENSE
ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
}
-
From d19549b271bad7bc00184746cdfc023eaf0b7590 Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:35:49 -0400
Subject: [PATCH 3/6] odin: limit installed files to what is needed
---
srcpkgs/odin/template | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index b6cc507644b..cddf48a04be 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -20,7 +20,9 @@ make_use_env=yes
do_install() {
vmkdir opt/odin
vmkdir usr/bin
- vcopy "*" opt/odin
+ vcopy "shared" opt/odin
+ vcopy "core" opt/odin
+ vcopy "odin" opt/odin
vlicense LICENSE
ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
}
From 4612cade5439a94d4a534feb983367626c6abca6 Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 19:51:00 -0400
Subject: [PATCH 4/6] odin: fix xlint errors
---
srcpkgs/odin/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index cddf48a04be..de726b786a5 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -5,6 +5,8 @@ revision=1
archs="x86_64"
wrksrc="Odin-${version}"
build_style="gnu-makefile"
+make_use_env=yes
+make_build_target="debug"
hostmakedepends="pkg-config clang llvm"
depends="clang"
short_desc="Fast, concise, readable, pragmatic and open programming language"
@@ -14,8 +16,6 @@ homepage="https://odin-lang.org"
distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
nopie=yes
-make_build_target="debug"
-make_use_env=yes
do_install() {
vmkdir opt/odin
From 8f152353af0e6d2e84af01f6264a4cdb549d90f5 Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 20:13:14 -0400
Subject: [PATCH 5/6] odin: fix target archs
---
srcpkgs/odin/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index de726b786a5..19522ba6114 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -2,7 +2,7 @@
pkgname=odin
version=0.10.0
revision=1
-archs="x86_64"
+archs="x86_64*"
wrksrc="Odin-${version}"
build_style="gnu-makefile"
make_use_env=yes
From a86e90c69a22b95732b259474bb2b7f617420b9d Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 22:02:49 -0400
Subject: [PATCH 6/6] odin: add llvm depend
---
srcpkgs/odin/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
index 19522ba6114..ed8bf5f48f3 100644
--- a/srcpkgs/odin/template
+++ b/srcpkgs/odin/template
@@ -8,7 +8,7 @@ build_style="gnu-makefile"
make_use_env=yes
make_build_target="debug"
hostmakedepends="pkg-config clang llvm"
-depends="clang"
+depends="clang llvm"
short_desc="Fast, concise, readable, pragmatic and open programming language"
maintainer="Logen Kain <logen@sudotask.com>"
license="BSD-2-Clause"
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
` (13 preceding siblings ...)
2019-06-09 2:03 ` voidlinux-github
@ 2019-06-09 2:04 ` voidlinux-github
2019-06-09 12:23 ` voidlinux-github
` (6 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-09 2:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 206 bytes --]
New comment by logenkain on void-packages repository
https://github.com/void-linux/void-packages/pull/12322#issuecomment-500178779
Comment:
I thought I tested that, but llvm8 was still installed, ah well.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
` (14 preceding siblings ...)
2019-06-09 2:04 ` voidlinux-github
@ 2019-06-09 12:23 ` voidlinux-github
2019-06-09 18:50 ` [PR PATCH] [Updated] " voidlinux-github
` (5 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-09 12:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 269 bytes --]
New comment by daniel-eys on void-packages repository
https://github.com/void-linux/void-packages/pull/12322#issuecomment-500207962
Comment:
Looks good so far. To finalize, please squash all commits into one named like the initial commit: `New Package: odin-0.10.0`
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Updated] New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
` (15 preceding siblings ...)
2019-06-09 12:23 ` voidlinux-github
@ 2019-06-09 18:50 ` voidlinux-github
2019-06-09 18:50 ` voidlinux-github
` (4 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-09 18:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
There is an updated pull request by logenkain against master on the void-packages repository
https://github.com/logenkain/void-packages odin
https://github.com/void-linux/void-packages/pull/12322
New Package: odin-0.10.0
Odin doesn't seem to have an installer yet and it requires the executable to be local to it's shared and core folders.
I could change it up so it only copies the binary and the two required folders, but odin is still early days so I figure I should leave it all there in case anyone wants to look at it.
EDIT:
Or if future updates requires something else to be kept local to the executable.
A patch file from https://github.com/void-linux/void-packages/pull/12322.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-odin-12322.patch --]
[-- Type: application/text/x-diff, Size: 1438 bytes --]
From a07032db9e5b152e6a73fbf34e66ddb43f3639c5 Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 17:19:23 -0400
Subject: [PATCH] New Package: odin-0.10.0
odin: revise template to standards
odin: limit installed files to what is needed
odin: fix xlint errors
odin: fix target archs
odin: add llvm depend
---
srcpkgs/odin/template | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 srcpkgs/odin/template
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
new file mode 100644
index 00000000000..ed8bf5f48f3
--- /dev/null
+++ b/srcpkgs/odin/template
@@ -0,0 +1,28 @@
+# Template file for 'odin'
+pkgname=odin
+version=0.10.0
+revision=1
+archs="x86_64*"
+wrksrc="Odin-${version}"
+build_style="gnu-makefile"
+make_use_env=yes
+make_build_target="debug"
+hostmakedepends="pkg-config clang llvm"
+depends="clang llvm"
+short_desc="Fast, concise, readable, pragmatic and open programming language"
+maintainer="Logen Kain <logen@sudotask.com>"
+license="BSD-2-Clause"
+homepage="https://odin-lang.org"
+distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
+checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
+nopie=yes
+
+do_install() {
+ vmkdir opt/odin
+ vmkdir usr/bin
+ vcopy "shared" opt/odin
+ vcopy "core" opt/odin
+ vcopy "odin" opt/odin
+ vlicense LICENSE
+ ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
+}
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Updated] New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
` (16 preceding siblings ...)
2019-06-09 18:50 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-06-09 18:50 ` voidlinux-github
2019-06-10 21:09 ` voidlinux-github
` (3 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-09 18:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
There is an updated pull request by logenkain against master on the void-packages repository
https://github.com/logenkain/void-packages odin
https://github.com/void-linux/void-packages/pull/12322
New Package: odin-0.10.0
Odin doesn't seem to have an installer yet and it requires the executable to be local to it's shared and core folders.
I could change it up so it only copies the binary and the two required folders, but odin is still early days so I figure I should leave it all there in case anyone wants to look at it.
EDIT:
Or if future updates requires something else to be kept local to the executable.
A patch file from https://github.com/void-linux/void-packages/pull/12322.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-odin-12322.patch --]
[-- Type: application/text/x-diff, Size: 1438 bytes --]
From a07032db9e5b152e6a73fbf34e66ddb43f3639c5 Mon Sep 17 00:00:00 2001
From: Logen Kain <logen@sudotask.com>
Date: Sat, 8 Jun 2019 17:19:23 -0400
Subject: [PATCH] New Package: odin-0.10.0
odin: revise template to standards
odin: limit installed files to what is needed
odin: fix xlint errors
odin: fix target archs
odin: add llvm depend
---
srcpkgs/odin/template | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 srcpkgs/odin/template
diff --git a/srcpkgs/odin/template b/srcpkgs/odin/template
new file mode 100644
index 00000000000..ed8bf5f48f3
--- /dev/null
+++ b/srcpkgs/odin/template
@@ -0,0 +1,28 @@
+# Template file for 'odin'
+pkgname=odin
+version=0.10.0
+revision=1
+archs="x86_64*"
+wrksrc="Odin-${version}"
+build_style="gnu-makefile"
+make_use_env=yes
+make_build_target="debug"
+hostmakedepends="pkg-config clang llvm"
+depends="clang llvm"
+short_desc="Fast, concise, readable, pragmatic and open programming language"
+maintainer="Logen Kain <logen@sudotask.com>"
+license="BSD-2-Clause"
+homepage="https://odin-lang.org"
+distfiles="https://github.com/odin-lang/Odin/archive/v${version}.tar.gz"
+checksum=04a1c9e8719281a598cac5e9cc3e5ca2316cc038a8b8f9ae43f514aba967c635
+nopie=yes
+
+do_install() {
+ vmkdir opt/odin
+ vmkdir usr/bin
+ vcopy "shared" opt/odin
+ vcopy "core" opt/odin
+ vcopy "odin" opt/odin
+ vlicense LICENSE
+ ln -s /opt/odin/odin ${DESTDIR}/usr/bin/odin
+}
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
` (17 preceding siblings ...)
2019-06-09 18:50 ` voidlinux-github
@ 2019-06-10 21:09 ` voidlinux-github
2019-06-12 20:01 ` voidlinux-github
` (2 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-10 21:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1656 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/pull/12322#issuecomment-500596048
Comment:
I agree with logenkain. See how I named lbreakouthd. This is it. Sometimes
it's easier. Free choice. Welcome to the humanity
El lun., 10 jun. 2019 22:53, logenkain <notifications@github.com> escribió:
> *@logenkain* commented on this pull request.
> ------------------------------
>
> In srcpkgs/odin/template
> <https://github.com/void-linux/void-packages/pull/12322#discussion_r292186989>
> :
>
> > @@ -0,0 +1,28 @@
> +# Template file for 'odin'
> +pkgname=odin
> +version=0.10.0
> +revision=1
> +archs="x86_64*"
> +wrksrc="Odin-${version}"
>
> Can we get more opinions on this? Back in the day we kinda went either way.
>
> I've always disliked starting a package name with a capital since xbps is
> case sensitive which makes packages harder to deal with. Also, the
> executable itself is lower case, I've always found this to just bring in
> more confusion.
>
> If that's what we do now, that's fine by me (I prefer consistency either
> way) , but I'd like more opinions before I go ahead and make the change.
>
> â
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/void-linux/void-packages/pull/12322?email_source=notifications&email_token=AAGR7KIYHHYEIP2Y7FU3HXLPZ25MVA5CNFSM4HWIFUZ2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB3C3V2Y#discussion_r292186989>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAGR7KMUI573UYMNTLBWD2LPZ25MVANCNFSM4HWIFUZQ>
> .
>
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
` (18 preceding siblings ...)
2019-06-10 21:09 ` voidlinux-github
@ 2019-06-12 20:01 ` voidlinux-github
2020-03-24 4:33 ` logenkain
2020-03-24 4:33 ` [PR PATCH] [Closed]: " logenkain
21 siblings, 0 replies; 23+ messages in thread
From: voidlinux-github @ 2019-06-12 20:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 383 bytes --]
New comment by silvernode on void-packages repository
https://github.com/void-linux/void-packages/pull/12322#issuecomment-501433549
Comment:
> .I agree with logenkain. See how I named lbreakouthd. This is it. Sometimes it's easier. Free choice. Welcome to the humanity
I also agree and try to remain lower-case when submitting packages. Things like libGL don't bother me though.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
` (19 preceding siblings ...)
2019-06-12 20:01 ` voidlinux-github
@ 2020-03-24 4:33 ` logenkain
2020-03-24 4:33 ` [PR PATCH] [Closed]: " logenkain
21 siblings, 0 replies; 23+ messages in thread
From: logenkain @ 2020-03-24 4:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 261 bytes --]
New comment by logenkain on void-packages repository
https://github.com/void-linux/void-packages/pull/12322#issuecomment-603009048
Comment:
Closing to clean up pull requests since it's clearly not going to be merged (probably need to update it by now anyway)
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PR PATCH] [Closed]: New Package: odin-0.10.0
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
` (20 preceding siblings ...)
2020-03-24 4:33 ` logenkain
@ 2020-03-24 4:33 ` logenkain
21 siblings, 0 replies; 23+ messages in thread
From: logenkain @ 2020-03-24 4:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 557 bytes --]
There's a closed pull request on the void-packages repository
New Package: odin-0.10.0
https://github.com/void-linux/void-packages/pull/12322
Description:
Odin doesn't seem to have an installer yet and it requires the executable to be local to it's shared and core folders.
I could change it up so it only copies the binary and the two required folders, but odin is still early days so I figure I should leave it all there in case anyone wants to look at it.
EDIT:
Or if future updates requires something else to be kept local to the executable.
^ permalink raw reply [flat|nested] 23+ messages in thread
end of thread, other threads:[~2020-03-24 4:33 UTC | newest]
Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-08 21:40 [PR PATCH] New Package: odin-0.10.0 voidlinux-github
2019-06-08 23:17 ` voidlinux-github
2019-06-08 23:27 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-08 23:27 ` voidlinux-github
2019-06-08 23:30 ` voidlinux-github
2019-06-08 23:36 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-08 23:36 ` voidlinux-github
2019-06-08 23:37 ` voidlinux-github
2019-06-08 23:51 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-08 23:51 ` voidlinux-github
2019-06-09 0:15 ` voidlinux-github
2019-06-09 0:15 ` voidlinux-github
2019-06-09 0:43 ` voidlinux-github
2019-06-09 2:03 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-09 2:03 ` voidlinux-github
2019-06-09 2:04 ` voidlinux-github
2019-06-09 12:23 ` voidlinux-github
2019-06-09 18:50 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-09 18:50 ` voidlinux-github
2019-06-10 21:09 ` voidlinux-github
2019-06-12 20:01 ` voidlinux-github
2020-03-24 4:33 ` logenkain
2020-03-24 4:33 ` [PR PATCH] [Closed]: " logenkain
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).