From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New Package: odin-0.10.0
Date: Sun, 09 Jun 2019 01:51:17 +0200 [thread overview]
Message-ID: <20190608235117.w3gafGX22-cFyFaqp49ZmOeu-JYCCrE0UZdbRRcu09s@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12322@inbox.vuxu.org>
[-- 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
next prev parent reply other threads:[~2019-06-08 23:51 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-08 21:40 [PR PATCH] " 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 [this message]
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
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=20190608235117.w3gafGX22-cFyFaqp49ZmOeu-JYCCrE0UZdbRRcu09s@z \
--to=voidlinux-github@inbox.vuxu.org \
--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).