Skip to contentSkip to conversation

4th: new package

PATCH New Francois Perrad 3 participants 5 messages Jul 5, 2016 – Jul 6, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 4th: new package

---
 package/4th/0001-avoid-regen-during-install.patch | 17 ++++++
 package/4th/4th.hash                              |  2 +
 package/4th/4th.mk                                | 64 +++++++++++++++++++++++
 package/4th/Config.in                             |  8 +++
 package/Config.in                                 |  1 +
 5 files changed, 92 insertions(+)
 create mode 100644 package/4th/0001-avoid-regen-during-install.patch
 create mode 100644 package/4th/4th.hash
 create mode 100644 package/4th/4th.mk
 create mode 100644 package/4th/Config.in
package/4th/0001-avoid-regen-during-install.patch new file +17 -0
new file mode 100644
index 0000000..436cff1
@@ -0,0 +1,17 @@
+avoid regen during install
+
+Signed-off-by: Francois Perrad <[email protected]>
+
+--- a/sources/Makefile
++++ b/sources/Makefile
+@@ -120,7 +120,7 @@
+ 	ln -sf $(SHARED_LIB) $(LIBRARIES)/lib4th.so
+ endif
+ 
+-mostlyinstall: libinstall all
++mostlyinstall: libinstall
+ 	cp 4th 4tsh pp4th $(BINARIES)
+ 
+ install: mostlyinstall
+-- 
+
package/4th/4th.hash new file +2 -0
new file mode 100644
index 0000000..97083da
@@ -0,0 +1,2 @@
+# Locally computed:
+sha256  1c7adbb1a56dad4c4c781e6e023d77ac862842560c05246b691d07e9a4460ab2  4th-3.62.4-unix.tar.gz
package/4th/4th.mk new file +64 -0

64 lines not on this page · raw message

package/4th/Config.in new file +8 -0
new file mode 100644
index 0000000..51f85de
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_4TH
+	bool "4th"
+	help
+	  4tH is a Forth compiler that can create bytecode, C-embeddable
+	  bytecode, standalone executables, but also works fine as a scripting
+	  language
+
+	  http://thebeez.home.xs4all.nl/4tH/
package/Config.in +1 -0
index bffb043..eb9250a 100644
@@ -477,6 +477,7 @@ endif
 endmenu
 
 menu "Interpreter languages and scripting"
+	source "package/4th/Config.in"
 	source "package/enscript/Config.in"
 	source "package/erlang/Config.in"
 if BR2_PACKAGE_ERLANG
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 1/1 4th: new package

Hello,

When doing a new iteration of a patch, please add a changelog that indicates what has been changed.

Quoted 5 lines · Francois Perrad

+4TH_VERSION = 3.62.4
+4TH_SOURCE = 4th-$(4TH_VERSION)-unix.tar.gz
+4TH_SITE = http://downloads.sourceforge.net/project/forth-4th/4th-$(4TH_VERSION)
+4TH_LICENSE = GPLv3, LGPLv3
+4TH_LICENSE_FILES = COPYING

Did you resolve the licensing issue? That was the main point of my previous review:

"""
I was about to apply your patch, with some minimal changes (see
http://code.bulix.org/i2s65n-101064), but there is one fundamental license issue here.

The COPYING file, as well as documentation/license.txt contain the license text of the LGPLv3. But the source code (sources/*.c) all claim to be licensed under the GPLv3. Only the .4th files are under LGPLv3.

This is clearly not good. Could you talk with upstream to get this situation resolved?
"""

At least some reply from you about this would have been useful to understand what's going on.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH v2 1/1 4th: new package

2016-07-05 22:41 GMT+02:00 Thomas Petazzoni
<[email protected]>:

Quoted 7 lines

Hello,

When doing a new iteration of a patch, please add a changelog that indicates what has been changed.

On Tue, 5 Jul 2016 21:05:20 +0200, Francois Perrad wrote:

Quoted 8 lines
Quoted 5 lines

+4TH_VERSION = 3.62.4
+4TH_SOURCE = 4th-$(4TH_VERSION)-unix.tar.gz
+4TH_SITE = http://downloads.sourceforge.net/project/forth-4th/4th-$(4TH_VERSION)
+4TH_LICENSE = GPLv3, LGPLv3
+4TH_LICENSE_FILES = COPYING

Did you resolve the licensing issue? That was the main point of my previous review:

After double checking, it appears that most of files in the latest release are under GPLv3 and the others are under LGPLv3.

Fran?ois

Quoted 28 lines

"""
I was about to apply your patch, with some minimal changes (see
http://code.bulix.org/i2s65n-101064), but there is one fundamental license issue here.

The COPYING file, as well as documentation/license.txt contain the license text of the LGPLv3. But the source code (sources/*.c) all claim to be licensed under the GPLv3. Only the .4th files are under LGPLv3.

This is clearly not good. Could you talk with upstream to get this situation resolved?
"""

At least some reply from you about this would have been useful to understand what's going on.

Thanks,

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#3 lore raw

PATCH v2 1/1 4th: new package

Hello,

Quoted 11 lines · Fran?ois Perrad
Quoted 8 lines
Quoted 5 lines

+4TH_VERSION = 3.62.4
+4TH_SOURCE = 4th-$(4TH_VERSION)-unix.tar.gz
+4TH_SITE = http://downloads.sourceforge.net/project/forth-4th/4th-$(4TH_VERSION)
+4TH_LICENSE = GPLv3, LGPLv3
+4TH_LICENSE_FILES = COPYING

Did you resolve the licensing issue? That was the main point of my previous review:

After double checking, it appears that most of files in the latest release are under GPLv3 and the others are under LGPLv3.

OK, but the COPYING file still only indicates LGPLv3. But I guess the upstream project is no longer alive, so there is no chance to see this fixed :-/

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#4 lore raw

PATCH v2 1/1 4th: new package

In reply to Francois Perrad

Hello,

Quoted 12 lines · Francois Perrad
---
 package/4th/0001-avoid-regen-during-install.patch | 17 ++++++
 package/4th/4th.hash                              |  2 +
 package/4th/4th.mk                                | 64 +++++++++++++++++++++++
 package/4th/Config.in                             |  8 +++
 package/Config.in                                 |  1 +
 5 files changed, 92 insertions(+)
 create mode 100644 package/4th/0001-avoid-regen-during-install.patch
 create mode 100644 package/4th/4th.hash
 create mode 100644 package/4th/4th.mk
 create mode 100644 package/4th/Config.in

Applied to master, with the following changes:

[Thomas:
- fix the license information, it's GPLv3+, LGPLv3+.
- add a comment about the COPYING file containing only the LGPLv3 text, even though there is some GPLv3+ code.
- minor tweaks in the .mk file
- rewrap Config.in help text.]

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com