Github messages for voidlinux
 help / color / mirror / Atom feed
* Re: [PR PATCH] [Updated] New package: cc65-2.18
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17195@inbox.vuxu.org>
@ 2020-01-02 20:09 ` voidlinux-github
  2020-01-02 20:12 ` voidlinux-github
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: voidlinux-github @ 2020-01-02 20:09 UTC (permalink / raw)
  To: ml

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

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

https://github.com/NateDogg1232/void-packages master
https://github.com/void-linux/void-packages/pull/17195

New package: cc65-2.18
I tried using the gnu-makefile build style, but it would not compile using that, so I made my own do_build and do_install. I do hope this is okay.

Otherwise, it all seems good to me!

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

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

From d5bbebb2f77ae0704b6c457f60ae45822771fa21 Mon Sep 17 00:00:00 2001
From: Nathaniel Barragan <nathanielbarragan@gmail.com>
Date: Sat, 7 Dec 2019 04:19:27 -0800
Subject: [PATCH] New package: cc65-2.18

---
 srcpkgs/cc65/template | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 srcpkgs/cc65/template

diff --git a/srcpkgs/cc65/template b/srcpkgs/cc65/template
new file mode 100644
index 00000000000..c398a02137e
--- /dev/null
+++ b/srcpkgs/cc65/template
@@ -0,0 +1,39 @@
+# Template file for 'cc65'
+pkgname=cc65
+version=2.18
+revision=1
+short_desc="Freeware C compiler for 6502 based systems"
+maintainer="Nathaniel Barragan <nathanielbarragan@gmail.com>"
+license="Zlib"
+homepage="https://cc65.github.io/"
+distfiles="https://github.com/cc65/cc65/archive/V${version}.tar.gz"
+checksum=d14a22fb87c7bcbecd8a83d5362d5d317b19c6ce2433421f2512f28293a6eaab
+
+pre_build() {
+	vsed -i src/Makefile -e 's/CC =/CC ?=/' -e 's/AR =/AR ?=/'
+}
+
+do_build() {
+	if [[ $CROSS_BUILD != "" ]]; then
+		triple=$(echo $XBPS_CROSS_BASE | sed -E "s/(\/.*\/)*//")
+		echo "Cross build detected. Using cross build method"
+		oldcflags=$CFLAGS
+		# We need to modify the CFLAGS to take out any architecture specific flags that are needed for cross compiling
+		CFLAGS=$(echo $CFLAGS | sed -e "s/-m\S*//" -e "s/-I\S*//")
+		make bin ${makejobs} PREFIX=/usr CC=gcc AR=ar
+		make lib ${makejobs} PREFIX=/usr
+		CFLAGS=$oldcflags
+		make -C src clean
+		make bin ${makejobs} PREFIX=/usr CROSS_COMPILE=$triple
+	else
+		make ${makejobs} PREFIX=/usr
+	fi
+}
+
+do_install() {
+	make install DESTDIR=$PKGDESTDIR PREFIX=/usr
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: New package: cc65-2.18
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17195@inbox.vuxu.org>
  2020-01-02 20:09 ` [PR PATCH] [Updated] New package: cc65-2.18 voidlinux-github
@ 2020-01-02 20:12 ` voidlinux-github
  2020-01-02 20:31 ` voidlinux-github
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: voidlinux-github @ 2020-01-02 20:12 UTC (permalink / raw)
  To: ml

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

New comment by NateDogg1232 on void-packages repository

https://github.com/void-linux/void-packages/pull/17195#issuecomment-570329364

Comment:
I have decided that cross building is just simply impossible with this package.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: New package: cc65-2.18
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17195@inbox.vuxu.org>
  2020-01-02 20:09 ` [PR PATCH] [Updated] New package: cc65-2.18 voidlinux-github
  2020-01-02 20:12 ` voidlinux-github
@ 2020-01-02 20:31 ` voidlinux-github
  2020-01-02 20:34 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: voidlinux-github @ 2020-01-02 20:31 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/17195#issuecomment-570335208

Comment:
Fine, hopefully it will be easier with future versions. Use `build_style=gnu-makefile`, set `nocross="Tries to run compiled code"`, simplify template.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] New package: cc65-2.18
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17195@inbox.vuxu.org>
                   ` (2 preceding siblings ...)
  2020-01-02 20:31 ` voidlinux-github
@ 2020-01-02 20:34 ` voidlinux-github
  2020-01-02 20:37 ` voidlinux-github
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: voidlinux-github @ 2020-01-02 20:34 UTC (permalink / raw)
  To: ml

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

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

https://github.com/NateDogg1232/void-packages master
https://github.com/void-linux/void-packages/pull/17195

New package: cc65-2.18
I tried using the gnu-makefile build style, but it would not compile using that, so I made my own do_build and do_install. I do hope this is okay.

Otherwise, it all seems good to me!

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

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

From 898cb9639c4dedcb5ccf0737d99a81b4ce2c5092 Mon Sep 17 00:00:00 2001
From: Nathaniel Barragan <nathanielbarragan@gmail.com>
Date: Sat, 7 Dec 2019 04:19:27 -0800
Subject: [PATCH] New package: cc65-2.18

---
 srcpkgs/cc65/template | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 srcpkgs/cc65/template

diff --git a/srcpkgs/cc65/template b/srcpkgs/cc65/template
new file mode 100644
index 00000000000..c398a02137e
--- /dev/null
+++ b/srcpkgs/cc65/template
@@ -0,0 +1,39 @@
+# Template file for 'cc65'
+pkgname=cc65
+version=2.18
+revision=1
+short_desc="Freeware C compiler for 6502 based systems"
+maintainer="Nathaniel Barragan <nathanielbarragan@gmail.com>"
+license="Zlib"
+homepage="https://cc65.github.io/"
+distfiles="https://github.com/cc65/cc65/archive/V${version}.tar.gz"
+checksum=d14a22fb87c7bcbecd8a83d5362d5d317b19c6ce2433421f2512f28293a6eaab
+
+pre_build() {
+	vsed -i src/Makefile -e 's/CC =/CC ?=/' -e 's/AR =/AR ?=/'
+}
+
+do_build() {
+	if [[ $CROSS_BUILD != "" ]]; then
+		triple=$(echo $XBPS_CROSS_BASE | sed -E "s/(\/.*\/)*//")
+		echo "Cross build detected. Using cross build method"
+		oldcflags=$CFLAGS
+		# We need to modify the CFLAGS to take out any architecture specific flags that are needed for cross compiling
+		CFLAGS=$(echo $CFLAGS | sed -e "s/-m\S*//" -e "s/-I\S*//")
+		make bin ${makejobs} PREFIX=/usr CC=gcc AR=ar
+		make lib ${makejobs} PREFIX=/usr
+		CFLAGS=$oldcflags
+		make -C src clean
+		make bin ${makejobs} PREFIX=/usr CROSS_COMPILE=$triple
+	else
+		make ${makejobs} PREFIX=/usr
+	fi
+}
+
+do_install() {
+	make install DESTDIR=$PKGDESTDIR PREFIX=/usr
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] New package: cc65-2.18
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17195@inbox.vuxu.org>
                   ` (3 preceding siblings ...)
  2020-01-02 20:34 ` [PR PATCH] [Updated] " voidlinux-github
@ 2020-01-02 20:37 ` voidlinux-github
  2020-01-02 20:37 ` voidlinux-github
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: voidlinux-github @ 2020-01-02 20:37 UTC (permalink / raw)
  To: ml

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

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

https://github.com/NateDogg1232/void-packages master
https://github.com/void-linux/void-packages/pull/17195

New package: cc65-2.18
I tried using the gnu-makefile build style, but it would not compile using that, so I made my own do_build and do_install. I do hope this is okay.

Otherwise, it all seems good to me!

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

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

From 9425004863ba296e28ebae26ae0e575a0319a8c4 Mon Sep 17 00:00:00 2001
From: Nathaniel Barragan <nathanielbarragan@gmail.com>
Date: Sat, 7 Dec 2019 04:19:27 -0800
Subject: [PATCH] New package: cc65-2.18

---
 srcpkgs/cc65/template | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 srcpkgs/cc65/template

diff --git a/srcpkgs/cc65/template b/srcpkgs/cc65/template
new file mode 100644
index 00000000000..c398a02137e
--- /dev/null
+++ b/srcpkgs/cc65/template
@@ -0,0 +1,39 @@
+# Template file for 'cc65'
+pkgname=cc65
+version=2.18
+revision=1
+short_desc="Freeware C compiler for 6502 based systems"
+maintainer="Nathaniel Barragan <nathanielbarragan@gmail.com>"
+license="Zlib"
+homepage="https://cc65.github.io/"
+distfiles="https://github.com/cc65/cc65/archive/V${version}.tar.gz"
+checksum=d14a22fb87c7bcbecd8a83d5362d5d317b19c6ce2433421f2512f28293a6eaab
+
+pre_build() {
+	vsed -i src/Makefile -e 's/CC =/CC ?=/' -e 's/AR =/AR ?=/'
+}
+
+do_build() {
+	if [[ $CROSS_BUILD != "" ]]; then
+		triple=$(echo $XBPS_CROSS_BASE | sed -E "s/(\/.*\/)*//")
+		echo "Cross build detected. Using cross build method"
+		oldcflags=$CFLAGS
+		# We need to modify the CFLAGS to take out any architecture specific flags that are needed for cross compiling
+		CFLAGS=$(echo $CFLAGS | sed -e "s/-m\S*//" -e "s/-I\S*//")
+		make bin ${makejobs} PREFIX=/usr CC=gcc AR=ar
+		make lib ${makejobs} PREFIX=/usr
+		CFLAGS=$oldcflags
+		make -C src clean
+		make bin ${makejobs} PREFIX=/usr CROSS_COMPILE=$triple
+	else
+		make ${makejobs} PREFIX=/usr
+	fi
+}
+
+do_install() {
+	make install DESTDIR=$PKGDESTDIR PREFIX=/usr
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: New package: cc65-2.18
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17195@inbox.vuxu.org>
                   ` (4 preceding siblings ...)
  2020-01-02 20:37 ` voidlinux-github
@ 2020-01-02 20:37 ` voidlinux-github
  2020-01-02 21:17 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: voidlinux-github @ 2020-01-02 20:37 UTC (permalink / raw)
  To: ml

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

New comment by NateDogg1232 on void-packages repository

https://github.com/void-linux/void-packages/pull/17195#issuecomment-570337746

Comment:
Don't forget to xlint before pushing, haha. That was my bad, I'm sorry for the spam.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] New package: cc65-2.18
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17195@inbox.vuxu.org>
                   ` (5 preceding siblings ...)
  2020-01-02 20:37 ` voidlinux-github
@ 2020-01-02 21:17 ` voidlinux-github
  2020-01-02 21:18 ` voidlinux-github
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: voidlinux-github @ 2020-01-02 21:17 UTC (permalink / raw)
  To: ml

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

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

https://github.com/NateDogg1232/void-packages master
https://github.com/void-linux/void-packages/pull/17195

New package: cc65-2.18
I tried using the gnu-makefile build style, but it would not compile using that, so I made my own do_build and do_install. I do hope this is okay.

Otherwise, it all seems good to me!

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

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

From 6ab12cdf1ac67ab8d75f97294c57600720a06b8c Mon Sep 17 00:00:00 2001
From: Nathaniel Barragan <nathanielbarragan@gmail.com>
Date: Sat, 7 Dec 2019 04:19:27 -0800
Subject: [PATCH] New package: cc65-2.18

---
 srcpkgs/cc65/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/cc65/template

diff --git a/srcpkgs/cc65/template b/srcpkgs/cc65/template
new file mode 100644
index 00000000000..46c1f85f5b4
--- /dev/null
+++ b/srcpkgs/cc65/template
@@ -0,0 +1,21 @@
+# Template file for 'cc65'
+pkgname=cc65
+version=2.18
+revision=1
+build_style="gnu-makefile"
+make_use_env=yes
+short_desc="Freeware C compiler for 6502 based systems"
+maintainer="Nathaniel Barragan <nathanielbarragan@gmail.com>"
+license="Zlib"
+homepage="https://cc65.github.io/"
+distfiles="https://github.com/cc65/cc65/archive/V${version}.tar.gz"
+checksum=d14a22fb87c7bcbecd8a83d5362d5d317b19c6ce2433421f2512f28293a6eaab
+nocross="Build process runs the built binary"
+
+pre_build() {
+	vsed -i src/Makefile -e 's/CC =/CC ?=/' -e 's/AR =/AR ?=/'
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: New package: cc65-2.18
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17195@inbox.vuxu.org>
                   ` (6 preceding siblings ...)
  2020-01-02 21:17 ` [PR PATCH] [Updated] " voidlinux-github
@ 2020-01-02 21:18 ` voidlinux-github
  2020-01-03  1:09 ` voidlinux-github
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: voidlinux-github @ 2020-01-02 21:18 UTC (permalink / raw)
  To: ml

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

New comment by NateDogg1232 on void-packages repository

https://github.com/void-linux/void-packages/pull/17195#issuecomment-570353419

Comment:
Okay. Maybe this time will be the right commit. I kept forgetting to add the file to the stage before committing.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: New package: cc65-2.18
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17195@inbox.vuxu.org>
                   ` (7 preceding siblings ...)
  2020-01-02 21:18 ` voidlinux-github
@ 2020-01-03  1:09 ` voidlinux-github
  2020-01-06 14:51 ` voidlinux-github
  2020-01-06 14:51 ` [PR PATCH] [Merged]: " voidlinux-github
  10 siblings, 0 replies; 11+ messages in thread
From: voidlinux-github @ 2020-01-03  1:09 UTC (permalink / raw)
  To: ml

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

New comment by NateDogg1232 on void-packages repository

https://github.com/void-linux/void-packages/pull/17195#issuecomment-570424771

Comment:
I am not quite understanding why the musl build is stalling. I am running the musl version of void on my machine and I am not getting a stall in the build.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: New package: cc65-2.18
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17195@inbox.vuxu.org>
                   ` (8 preceding siblings ...)
  2020-01-03  1:09 ` voidlinux-github
@ 2020-01-06 14:51 ` voidlinux-github
  2020-01-06 14:51 ` [PR PATCH] [Merged]: " voidlinux-github
  10 siblings, 0 replies; 11+ messages in thread
From: voidlinux-github @ 2020-01-06 14:51 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/17195#issuecomment-571166688

Comment:
Here builds well too.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Merged]: New package: cc65-2.18
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17195@inbox.vuxu.org>
                   ` (9 preceding siblings ...)
  2020-01-06 14:51 ` voidlinux-github
@ 2020-01-06 14:51 ` voidlinux-github
  10 siblings, 0 replies; 11+ messages in thread
From: voidlinux-github @ 2020-01-06 14:51 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

New package: cc65-2.18
https://github.com/void-linux/void-packages/pull/17195

Description:
I tried using the gnu-makefile build style, but it would not compile using that, so I made my own do_build and do_install. I do hope this is okay.

Otherwise, it all seems good to me!

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-01-06 14:51 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17195@inbox.vuxu.org>
2020-01-02 20:09 ` [PR PATCH] [Updated] New package: cc65-2.18 voidlinux-github
2020-01-02 20:12 ` voidlinux-github
2020-01-02 20:31 ` voidlinux-github
2020-01-02 20:34 ` [PR PATCH] [Updated] " voidlinux-github
2020-01-02 20:37 ` voidlinux-github
2020-01-02 20:37 ` voidlinux-github
2020-01-02 21:17 ` [PR PATCH] [Updated] " voidlinux-github
2020-01-02 21:18 ` voidlinux-github
2020-01-03  1:09 ` voidlinux-github
2020-01-06 14:51 ` voidlinux-github
2020-01-06 14:51 ` [PR PATCH] [Merged]: " voidlinux-github

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).