Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: gcc4ti-0.96b11
@ 2020-04-18 21:23 tibequadorian
  2020-04-18 21:25 ` q66
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: tibequadorian @ 2020-04-18 21:23 UTC (permalink / raw)
  To: ml

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

There is a new pull request by tibequadorian against master on the void-packages repository

https://github.com/tibequadorian/void-packages gcc4ti
https://github.com/void-linux/void-packages/pull/21133

New package: gcc4ti-0.96b11


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

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

From 9888a8c8d4a1b799fb81a527ffe9f271f8c7c666 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Wed, 8 Apr 2020 10:33:47 +0200
Subject: [PATCH] New package: gcc4ti-0.96b11

---
 srcpkgs/gcc4ti/INSTALL.msg |  4 ++++
 srcpkgs/gcc4ti/template    | 29 +++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/gcc4ti/INSTALL.msg
 create mode 100644 srcpkgs/gcc4ti/template

diff --git a/srcpkgs/gcc4ti/INSTALL.msg b/srcpkgs/gcc4ti/INSTALL.msg
new file mode 100644
index 00000000000..943780086ba
--- /dev/null
+++ b/srcpkgs/gcc4ti/INSTALL.msg
@@ -0,0 +1,4 @@
+
+Make sure you set $TIGCC to /opt/gcc4ti and append $TIGCC/bin to your $PATH
+before using GCC4TI
+
diff --git a/srcpkgs/gcc4ti/template b/srcpkgs/gcc4ti/template
new file mode 100644
index 00000000000..467764c4806
--- /dev/null
+++ b/srcpkgs/gcc4ti/template
@@ -0,0 +1,29 @@
+# Template file for 'gcc4ti'
+pkgname=gcc4ti
+version=0.96b11
+revision=1
+_commit=8861b73d548cd1715afb375ba57b1e29da43599b
+archs="x86_64* i686*"
+wrksrc=gcc4ti-${_commit}
+hostmakedepends="tar patch"
+short_desc="Complete and mature GPL SDK for the TI-68k calculators"
+maintainer="tibequadorian <tibequadorian@posteo.de>"
+license="GPL-2.0-only"
+homepage="https://github.com/debrouxl/gcc4ti"
+distfiles="https://github.com/debrouxl/gcc4ti/archive/${_commit}.tar.gz"
+checksum=b65eca299c188a1f07887128c4b247363734f1fc44add153c439c07632bfbca1
+
+do_install() {
+	cd trunk/tigcc-linux/scripts
+	./updatesrc
+	export PREFIX_GCC4TI=$DESTDIR/opt/gcc4ti
+	export PATH=$PATH:$PREFIX_GCC4TI/bin
+	export CFLAGS="-Os -s -fno-exceptions -fomit-frame-pointer"
+	export GCC4TIHOST=$XBPS_CROSS_TRIPLET
+	cd ../gcc4ti-0.96b11/scripts
+	./Install_step_1
+	./Install_step_2
+	./Install_step_3
+	./Install_step_4
+	./Install_step_5
+}

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

* Re: New package: gcc4ti-0.96b11
  2020-04-18 21:23 [PR PATCH] New package: gcc4ti-0.96b11 tibequadorian
@ 2020-04-18 21:25 ` q66
  2020-04-18 21:31 ` tibequadorian
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: q66 @ 2020-04-18 21:25 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/21133#issuecomment-615952154

Comment:
don't conflate archs and nocross

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

* Re: New package: gcc4ti-0.96b11
  2020-04-18 21:23 [PR PATCH] New package: gcc4ti-0.96b11 tibequadorian
  2020-04-18 21:25 ` q66
@ 2020-04-18 21:31 ` tibequadorian
  2020-04-18 21:32 ` tibequadorian
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: tibequadorian @ 2020-04-18 21:31 UTC (permalink / raw)
  To: ml

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

New comment by tibequadorian on void-packages repository

https://github.com/void-linux/void-packages/pull/21133#issuecomment-615953118

Comment:
> don't conflate archs and nocross
i didn't set nocross

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

* Re: New package: gcc4ti-0.96b11
  2020-04-18 21:23 [PR PATCH] New package: gcc4ti-0.96b11 tibequadorian
  2020-04-18 21:25 ` q66
  2020-04-18 21:31 ` tibequadorian
@ 2020-04-18 21:32 ` tibequadorian
  2020-04-18 21:34 ` q66
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: tibequadorian @ 2020-04-18 21:32 UTC (permalink / raw)
  To: ml

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

New comment by tibequadorian on void-packages repository

https://github.com/void-linux/void-packages/pull/21133#issuecomment-615953118

Comment:
> don't conflate archs and nocross

i didn't set nocross

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

* Re: New package: gcc4ti-0.96b11
  2020-04-18 21:23 [PR PATCH] New package: gcc4ti-0.96b11 tibequadorian
                   ` (2 preceding siblings ...)
  2020-04-18 21:32 ` tibequadorian
@ 2020-04-18 21:34 ` q66
  2020-04-18 21:37 ` tibequadorian
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: q66 @ 2020-04-18 21:34 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/21133#issuecomment-615953449

Comment:
yes, exactly. I don't see anything in this tying it to x86, but I'm also like 99% sure this does not cross compile as-is

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

* Re: New package: gcc4ti-0.96b11
  2020-04-18 21:23 [PR PATCH] New package: gcc4ti-0.96b11 tibequadorian
                   ` (3 preceding siblings ...)
  2020-04-18 21:34 ` q66
@ 2020-04-18 21:37 ` tibequadorian
  2020-04-18 21:38 ` [PR PATCH] [Updated] " tibequadorian
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: tibequadorian @ 2020-04-18 21:37 UTC (permalink / raw)
  To: ml

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

New comment by tibequadorian on void-packages repository

https://github.com/void-linux/void-packages/pull/21133#issuecomment-615953950

Comment:
> yes, exactly. I don't see anything in this tying it to x86, but I'm also like 99% sure this does not cross compile as-is

ah sorry misunderstood

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

* Re: [PR PATCH] [Updated] New package: gcc4ti-0.96b11
  2020-04-18 21:23 [PR PATCH] New package: gcc4ti-0.96b11 tibequadorian
                   ` (4 preceding siblings ...)
  2020-04-18 21:37 ` tibequadorian
@ 2020-04-18 21:38 ` tibequadorian
  2020-04-18 22:08 ` q66
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: tibequadorian @ 2020-04-18 21:38 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tibequadorian/void-packages gcc4ti
https://github.com/void-linux/void-packages/pull/21133

New package: gcc4ti-0.96b11


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

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

From 853cebdbccc8bf6f2d2882fa11b72caec29d2a6d Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Wed, 8 Apr 2020 10:33:47 +0200
Subject: [PATCH] New package: gcc4ti-0.96b11

---
 srcpkgs/gcc4ti/INSTALL.msg |  4 ++++
 srcpkgs/gcc4ti/template    | 29 +++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/gcc4ti/INSTALL.msg
 create mode 100644 srcpkgs/gcc4ti/template

diff --git a/srcpkgs/gcc4ti/INSTALL.msg b/srcpkgs/gcc4ti/INSTALL.msg
new file mode 100644
index 00000000000..943780086ba
--- /dev/null
+++ b/srcpkgs/gcc4ti/INSTALL.msg
@@ -0,0 +1,4 @@
+
+Make sure you set $TIGCC to /opt/gcc4ti and append $TIGCC/bin to your $PATH
+before using GCC4TI
+
diff --git a/srcpkgs/gcc4ti/template b/srcpkgs/gcc4ti/template
new file mode 100644
index 00000000000..0a153a3e19a
--- /dev/null
+++ b/srcpkgs/gcc4ti/template
@@ -0,0 +1,29 @@
+# Template file for 'gcc4ti'
+pkgname=gcc4ti
+version=0.96b11
+revision=1
+_commit=8861b73d548cd1715afb375ba57b1e29da43599b
+wrksrc=gcc4ti-${_commit}
+hostmakedepends="tar patch"
+short_desc="Complete and mature GPL SDK for the TI-68k calculators"
+maintainer="tibequadorian <tibequadorian@posteo.de>"
+license="GPL-2.0-only"
+homepage="https://github.com/debrouxl/gcc4ti"
+distfiles="https://github.com/debrouxl/gcc4ti/archive/${_commit}.tar.gz"
+checksum=b65eca299c188a1f07887128c4b247363734f1fc44add153c439c07632bfbca1
+nocross=yes
+
+do_install() {
+	cd trunk/tigcc-linux/scripts
+	./updatesrc
+	export PREFIX_GCC4TI=$DESTDIR/opt/gcc4ti
+	export PATH=$PATH:$PREFIX_GCC4TI/bin
+	export CFLAGS="-Os -s -fno-exceptions -fomit-frame-pointer"
+	export GCC4TIHOST=$XBPS_CROSS_TRIPLET
+	cd ../gcc4ti-0.96b11/scripts
+	./Install_step_1
+	./Install_step_2
+	./Install_step_3
+	./Install_step_4
+	./Install_step_5
+}

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

* Re: New package: gcc4ti-0.96b11
  2020-04-18 21:23 [PR PATCH] New package: gcc4ti-0.96b11 tibequadorian
                   ` (5 preceding siblings ...)
  2020-04-18 21:38 ` [PR PATCH] [Updated] " tibequadorian
@ 2020-04-18 22:08 ` q66
  2020-04-18 22:11 ` q66
  2020-04-21 23:28 ` [PR PATCH] [Closed]: " tibequadorian
  8 siblings, 0 replies; 11+ messages in thread
From: q66 @ 2020-04-18 22:08 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/21133#issuecomment-615960139

Comment:
you will need to add these changes, too

```
commit 3faa77c1a86b528175bd659b9c9d7f854cae8985
Author: q66 <daniel@octaforge.org>
Date:   Sat Apr 18 23:54:53 2020 +0200

    gcc4ti: replace platform detection scripts
    
    also stop trying to strip target files

diff --git a/srcpkgs/gcc4ti/template b/srcpkgs/gcc4ti/template
index 0a153a3e19..525f6a6e89 100644
--- a/srcpkgs/gcc4ti/template
+++ b/srcpkgs/gcc4ti/template
@@ -11,6 +11,7 @@ license="GPL-2.0-only"
 homepage="https://github.com/debrouxl/gcc4ti"
 distfiles="https://github.com/debrouxl/gcc4ti/archive/${_commit}.tar.gz"
 checksum=b65eca299c188a1f07887128c4b247363734f1fc44add153c439c07632bfbca1
+nostrip_files="tigcc.a flashos.a fargo.a"
 nocross=yes
 
 do_install() {
@@ -22,6 +23,12 @@ do_install() {
 	export GCC4TIHOST=$XBPS_CROSS_TRIPLET
 	cd ../gcc4ti-0.96b11/scripts
 	./Install_step_1
+
+	# override config.guess/sub from 2004 to detect modern targets
+	local cfgdir="${XBPS_COMMONDIR}/environment/configure/automake"
+	cp ${cfgdir}/config.* ../download/gcc-*
+	cp ${cfgdir}/config.* ../download/binutils-*
+
 	./Install_step_2
 	./Install_step_3
 	./Install_step_4
```

otherwise, it won't compile on musl or non-x86_64 targets (it'll fail to detect the target triplet). The nostrip_files bit is not entirely necssary but it'll prevent it from trying.

also, you should find if you can somehow split the build/install steps.

i'll leave the rest to other reviewers

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

* Re: New package: gcc4ti-0.96b11
  2020-04-18 21:23 [PR PATCH] New package: gcc4ti-0.96b11 tibequadorian
                   ` (6 preceding siblings ...)
  2020-04-18 22:08 ` q66
@ 2020-04-18 22:11 ` q66
  2020-04-21 23:28 ` [PR PATCH] [Closed]: " tibequadorian
  8 siblings, 0 replies; 11+ messages in thread
From: q66 @ 2020-04-18 22:11 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/21133#issuecomment-615960705

Comment:
tested:

```
q66@rimi: /home/q66$ xbps-query gcc4ti
architecture: ppc64le
filename-sha256: e3b58d541bd4acef97711c6fc86a41ccf63ac047fd1e1b0b194f6ebd454779ca
filename-size: 3839KB
homepage: https://github.com/debrouxl/gcc4ti
install-date: 2020-04-19 00:05 CEST
install-msg: 98B
installed_size: 22MB
license: GPL-2.0-only
maintainer: tibequadorian <tibequadorian@posteo.de>
metafile-sha256: 235115ffa1878025c91a2be01ca016898539fb44adec1fb2676b0a85c9a71470
pkgname: gcc4ti
pkgver: gcc4ti-0.96b11_1
repository: /media/hostdir/binpkgs
run_depends:
	glibc>=2.29_1
shlib-requires:
	libc.so.6
short_desc: Complete and mature GPL SDK for the TI-68k calculators
state: installed
q66@rimi: /home/q66$ /opt/gcc4ti/bin/tigcc     
tigcc: no input files
q66@rimi: /home/q66$ uname -a
Linux rimi 5.5.7_2 #1 SMP Mon Mar 2 14:06:56 UTC 2020 ppc64le GNU/Linux
```

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

* Re: [PR PATCH] [Closed]: New package: gcc4ti-0.96b11
  2020-04-18 21:23 [PR PATCH] New package: gcc4ti-0.96b11 tibequadorian
                   ` (7 preceding siblings ...)
  2020-04-18 22:11 ` q66
@ 2020-04-21 23:28 ` tibequadorian
  8 siblings, 0 replies; 11+ messages in thread
From: tibequadorian @ 2020-04-21 23:28 UTC (permalink / raw)
  To: ml

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

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

New package: gcc4ti-0.96b11
https://github.com/void-linux/void-packages/pull/21133

Description:


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

* [PR PATCH] New package: gcc4ti-0.96b11
@ 2020-04-08  8:34 tibequadorian
  0 siblings, 0 replies; 11+ messages in thread
From: tibequadorian @ 2020-04-08  8:34 UTC (permalink / raw)
  To: ml

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

There is a new pull request by tibequadorian against master on the void-packages repository

https://github.com/tibequadorian/void-packages master
https://github.com/void-linux/void-packages/pull/20748

New package: gcc4ti-0.96b11


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

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

From 50f1630b875b0f50d0b2909850eee6561fd058fe Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Wed, 8 Apr 2020 10:33:47 +0200
Subject: [PATCH] New package: gcc4ti-0.96b11

---
 srcpkgs/gcc4ti/INSTALL.msg |  4 ++++
 srcpkgs/gcc4ti/template    | 25 +++++++++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 100644 srcpkgs/gcc4ti/INSTALL.msg
 create mode 100644 srcpkgs/gcc4ti/template

diff --git a/srcpkgs/gcc4ti/INSTALL.msg b/srcpkgs/gcc4ti/INSTALL.msg
new file mode 100644
index 00000000000..943780086ba
--- /dev/null
+++ b/srcpkgs/gcc4ti/INSTALL.msg
@@ -0,0 +1,4 @@
+
+Make sure you set $TIGCC to /opt/gcc4ti and append $TIGCC/bin to your $PATH
+before using GCC4TI
+
diff --git a/srcpkgs/gcc4ti/template b/srcpkgs/gcc4ti/template
new file mode 100644
index 00000000000..f8851386cdb
--- /dev/null
+++ b/srcpkgs/gcc4ti/template
@@ -0,0 +1,25 @@
+# Template file for 'gcc4ti'
+pkgname=gcc4ti
+version=0.96b11
+revision=1
+_commit=8861b73d548cd1715afb375ba57b1e29da43599b
+wrksrc=gcc4ti-${_commit}
+hostmakedepends="tar patch"
+short_desc="Complete and mature GPL SDK for the TI-68k calculators"
+maintainer="tibequadorian <tibequadorian@posteo.de>"
+license="GPL-2.0-only"
+homepage="https://github.com/debrouxl/gcc4ti"
+distfiles="https://github.com/debrouxl/gcc4ti/archive/${_commit}.tar.gz"
+checksum=b65eca299c188a1f07887128c4b247363734f1fc44add153c439c07632bfbca1
+
+do_install() {
+	cd trunk/tigcc-linux/scripts
+	./updatesrc
+	export PREFIX_GCC4TI=$DESTDIR/opt/gcc4ti
+	export PATH=$PATH:$PREFIX_GCC4TI/bin
+	export CFLAGS="-Os -s -fno-exceptions -fomit-frame-pointer"
+	cd ../gcc4ti-0.96b11/scripts
+	for i in {1..5}; do
+		./Install_step_$i
+	done
+}

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

end of thread, other threads:[~2020-04-21 23:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-18 21:23 [PR PATCH] New package: gcc4ti-0.96b11 tibequadorian
2020-04-18 21:25 ` q66
2020-04-18 21:31 ` tibequadorian
2020-04-18 21:32 ` tibequadorian
2020-04-18 21:34 ` q66
2020-04-18 21:37 ` tibequadorian
2020-04-18 21:38 ` [PR PATCH] [Updated] " tibequadorian
2020-04-18 22:08 ` q66
2020-04-18 22:11 ` q66
2020-04-21 23:28 ` [PR PATCH] [Closed]: " tibequadorian
  -- strict thread matches above, loose matches on Subject: below --
2020-04-08  8:34 [PR PATCH] " tibequadorian

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