package/simh: new package
PATCH 1/1 package/simh: new package
This package provides the simh multi-system emulator.
--- package/Config.in | 1 + package/simh/Config.in | 6 ++++++ package/simh/simh.hash | 2 ++ package/simh/simh.mk | 21 +++++++++++++++++++++ 4 files changed, 30 insertions(+) create mode 100644 package/simh/Config.in create mode 100644 package/simh/simh.hash create mode 100644 package/simh/simh.mk
package/Config.in +1 -0
@@ -219,6 +219,7 @@ menu "Games" source "package/opentyrian-data/Config.in" source "package/prboom/Config.in" source "package/rubix/Config.in" + source "package/simh/Config.in" source "package/sl/Config.in" source "package/stella/Config.in" source "package/supertuxkart/Config.in"
package/simh/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_SIMH + bool "simh" + help + SIMH is a highly portable, multi-system simulator. + + http://simh.trailing-edge.com
package/simh/simh.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally computed: +sha256 fd960602a3996b387066e9458e22d3bea940e88378afddc6ee81f33bf854efb9 simh-e93b55b4887dfcf1d0dd6ff86f94470e42a10702.tar.gz
package/simh/simh.mk new file +21 -0
@@ -0,0 +1,21 @@ +################################################################################ +# +# simh +# +################################################################################ + +SIMH_VERSION = e93b55b4887dfcf1d0dd6ff86f94470e42a10702 +SIMH_SITE = https://github.com/simh/simh +SIMH_SITE_METHOD = git +SIMH_LICENSE = simh license +SIMH_LICENSE_FILES = README + +define SIMH_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define SIMH_INSTALL_TARGET_CMDS + cp -dpf $(@D)/BIN/* $(TARGET_DIR)/usr/bin/ +endef + +$(eval $(generic-package))
Signature · 1 line
1.9.1
PATCH 1/1 package/simh: new package
Hi Lothar,
package/simh/Config.in line 6
Quoted 12 lines · Lothar Felten
package/simh/Config.in new file +6
-0@@ -0,0 +1,6 @@ +config BR2_PACKAGE_SIMH + bool "simh" + help + SIMH is a highly portable, multi-system simulator. + + http://simh.trailing-edge.com
There are fork() calls in the code, so this package might need a BR2_USE_MMU dependency.
Quoted 6 lines
package/simh/simh.mk new file +0
-0
package/simh/simh.mk line 9
Quoted 9 lines
package/simh/simh.mk new file +9
-0@@ -0,0 +1,21 @@ +################################################################################ +# +# simh +# +################################################################################ + +SIMH_VERSION = e93b55b4887dfcf1d0dd6ff86f94470e42a10702 +SIMH_SITE = https://github.com/simh/simh +SIMH_SITE_METHOD = git
Please use the github helper. See
http://nightly.buildroot.org/manual.html#github-download-url.
package/simh/simh.mk line 10
Quoted 1 line
package/simh/simh.mk new file +1
-0+SIMH_LICENSE = simh license
Looking into a random source file like sim_imd.c, the license seems to be MIT. See https://opensource.org/licenses/MIT.
package/simh/simh.mk line 11
Quoted 1 line
package/simh/simh.mk new file +1
-0+SIMH_LICENSE_FILES = README
I couldn't find this file in the source.
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -PATCH 1/1 package/simh: new package
Hi Baruch,
Quoted 3 lines · Baruch Siach
There are
fork()calls in the code, so this package might need aBR2_USE_MMUdependency.
Ok, I'll add that
Quoted 19 lines
Quoted 6 lines
package/simh/simh.mk new file +0
-0package/simh/simh.mk line 9
Quoted 9 lines
package/simh/simh.mk new file +9
-0@@ -0,0 +1,21 @@ +################################################################################ +# +# simh +# +################################################################################ + +SIMH_VERSION = e93b55b4887dfcf1d0dd6ff86f94470e42a10702 +SIMH_SITE = https://github.com/simh/simh +SIMH_SITE_METHOD = gitPlease use the github helper. See
http://nightly.buildroot.org/manual.html#github-download-url.
Quoted 4 lines
package/simh/simh.mk line 10
Quoted 1 line
package/simh/simh.mk new file +1
-0+SIMH_LICENSE = simh licenseLooking into a random source file like
sim_imd.c, the license seems to be MIT. See https://opensource.org/licenses/MIT.
Most files have a MIT-license/disclaimer, a few files reference GNU GPL (Intel-Systems/common/i8088.c), at least one file is paritally zlib/libpng license (sim_video.c, line 102), one file is "licensed under the standard SimH license" (PDP11/pdp11_kmc.c), which seems to be MIT.
There's a Word .doc file doc/simh.doc that states:
COPYRIGHT NOTICE: The following copyright notice applies to the SIMH source, binary, and documentation (an then: MIT license)
An older PDF version is online:
http://simh.trailing-edge.com/pdf/simh_doc.pdf
Should I point to the simh.doc file?
Lothar
PATCH 1/1 package/simh: new package
In reply to Lothar FeltenLothar, All,
On 2016-08-15 23:42 +0200, Lothar Felten spake thusly:
Quoted 1 line
This package provides the simh multi-system emulator.
As discussed on IRC, there are too many issues with this package.
For example, it does not support cross-compilation at all; its Makefile is so borked that it looks for build system libs and headers; it also searches the build system for necessary programs.
I can't see an easy solution to use that package as-is to make it behave properly (if at all). It does not seem it would be overly complex to rewrite a buildsystem for it from scratch, using one of the usual
buildsystems: autotools or cmake for example.
Until then, and according to our discussion on IRC I've marked this patch as rejected in our patchwork.
Thanks!
Regards,
Yann E. MORIN.
Quoted 77 lines
Signed-off-by Lothar Felten <[email protected]>--- package/Config.in | 1 + package/simh/Config.in | 6 ++++++ package/simh/simh.hash | 2 ++ package/simh/simh.mk | 21 +++++++++++++++++++++ 4 files changed, 30 insertions(+) create mode 100644 package/simh/Config.in create mode 100644 package/simh/simh.hash create mode 100644 package/simh/simh.mkpackage/Config.in +1
-0@@ -219,6 +219,7 @@ menu "Games" source "package/opentyrian-data/Config.in" source "package/prboom/Config.in" source "package/rubix/Config.in" + source "package/simh/Config.in" source "package/sl/Config.in" source "package/stella/Config.in" source "package/supertuxkart/Config.in"package/simh/Config.in new file +6
-0@@ -0,0 +1,6 @@ +config BR2_PACKAGE_SIMH + bool "simh" + help + SIMH is a highly portable, multi-system simulator. + + http://simh.trailing-edge.compackage/simh/simh.hash new file +2
-0@@ -0,0 +1,2 @@ +# Locally computed: +sha256 fd960602a3996b387066e9458e22d3bea940e88378afddc6ee81f33bf854efb9 simh-e93b55b4887dfcf1d0dd6ff86f94470e42a10702.tar.gzpackage/simh/simh.mk new file +21
-0@@ -0,0 +1,21 @@ +################################################################################ +# +# simh +# +################################################################################ + +SIMH_VERSION = e93b55b4887dfcf1d0dd6ff86f94470e42a10702 +SIMH_SITE = https://github.com/simh/simh +SIMH_SITE_METHOD = git +SIMH_LICENSE = simh license +SIMH_LICENSE_FILES = README + +define SIMH_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define SIMH_INSTALL_TARGET_CMDS + cp -dpf $(@D)/BIN/* $(TARGET_DIR)/usr/bin/ +endef + +$(eval $(generic-package))Signature · 6 lines
1.9.1 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/1 package/simh: new package
In reply to Lothar FeltenHi Lothar,
As Yann marked this patch as rejected, this discussion is moot. But I'll respond below for future reference.
Quoted 8 lines · Lothar Felten
Quoted 2 lines · Baruch Siach
Looking into a random source file like
sim_imd.c, the license seems to be MIT. See https://opensource.org/licenses/MIT.Most files have a MIT-license/disclaimer, a few files reference GNU GPL (
Intel-Systems/common/i8088.c), at least one file is paritally zlib/libpng license (sim_video.c, line 102), one file is "licensed under the standard SimH license" (PDP11/pdp11_kmc.c), which seems to be MIT.
In this case <PKG>_LICENSE should list all these licenses.
Quoted 9 lines
There's a Word .doc file doc/simh.doc that states:
COPYRIGHT NOTICE: The following copyright notice applies to the SIMH source, binary, and documentation (an then: MIT license)
An older PDF version is online:
http://simh.trailing-edge.com/pdf/simh_doc.pdfShould I point to the simh.doc file?
I don't think so. Not sure how our legal info infra handles binary document formats. Instead you may put source files that contain respective licenses text in <PKG>_LICENSE_FILES.
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -PATCH 1/1 package/simh: new package
Baruch, All,
On 2016-08-16 17:29 +0300, Baruch Siach spake thusly:
Quoted 8 lines
As Yann marked this patch as rejected, this discussion is moot. But I'll respond below for future reference.
Quoted 4 lines · Lothar Felten
Quoted 2 lines · Baruch Siach
Looking into a random source file like
sim_imd.c, the license seems to be MIT. See https://opensource.org/licenses/MIT.
Quoted 6 lines
Quoted 4 lines
Most files have a MIT-license/disclaimer, a few files reference GNU GPL (
Intel-Systems/common/i8088.c), at least one file is paritally zlib/libpng license (sim_video.c, line 102), one file is "licensed under the standard SimH license" (PDP11/pdp11_kmc.c), which seems to be MIT.In this case <PKG>_LICENSE should list all these licenses.
Yes.
Quoted 5 lines
Quoted 5 lines
There's a Word .doc file doc/simh.doc that states:
COPYRIGHT NOTICE: The following copyright notice applies to the SIMH source, binary, and documentation (an then: MIT license)
Quoted 7 lines
Quoted 4 lines
An older PDF version is online:
http://simh.trailing-edge.com/pdf/simh_doc.pdfShould I point to the simh.doc file?
I don't think so. Not sure how our legal info infra handles binary document formats.
FOO_LICENSE_FILES are just copied; we don't do anything with them. So it's fine to list a .doc in there.
Quoted 2 lines
Instead you may put source files that contain respective licenses text in <PKG>_LICENSE_FILES.
Only for those licenses that do not have a separate license file, or are not listed in that .doc file.
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/1 package/simh: new package
Hello,
Quoted 5 lines · Yann E. MORIN
Quoted 2 lines
I don't think so. Not sure how our legal info infra handles binary document formats.
FOO_LICENSE_FILESare just copied; we don't do anything with them. So it's fine to list a .doc in there.
Not quite true: we generate a big .txt file with the concatenation of the license text of all packages, see licenses.txt and host-licenses.txt.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 1/1 package/simh: new package
Thomas, Lothar, All,
On 2016-08-18 21:27 +0200, Thomas Petazzoni spake thusly:
Quoted 11 lines · Yann E. MORIN
Quoted 6 lines
Quoted 3 lines
I don't think so. Not sure how our legal info infra handles binary document formats.
FOO_LICENSE_FILESare just copied; we don't do anything with them. So it's fine to list a .doc in there.Not quite true: we generate a big .txt file with the concatenation of the license text of all packages, see licenses.txt and host-licenses.txt.
Indeed, I had forgotten about that...
Then, it that case, I think it would be better not to list the doc file in SIMH_LICENSE_FILES at all.
Still, we'd want it to be copied, so maybe that could be done with a post legal-info hook, something like (untested):
define SIMH_LEGAL_INFO_DOC_FILE
$(INSTALL) -m 0644 -D $(@D)/path/to/license.doc \
$(LICENSE_FILES_DIR_TARGET)/simh-$(SIMH_VERSION)/license.doc
endef
SIMH_POST_LEGAL_INFO_HOOKS += SIMH_LEGAL_INFO_DOC_FILERegards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'