mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 0/3] poke: Add new package
@ 2023-10-10  6:52 Alexander Dahl
  2023-10-10  6:52 ` [ptxdist] [PATCH 1/3] libatomic_ops: " Alexander Dahl
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Alexander Dahl @ 2023-10-10  6:52 UTC (permalink / raw)
  To: ptxdist

Hei hei,

for debugging an issue with monit [1] I put GNU poke [2] on my target.
Maybe this is helpful for others, too?!

Patch series includes GNU poke, a library which poke depends on, and
another library which the first library depends on … ;-)

Greets
Alex

[1] https://bitbucket.org/tildeslash/monit/issues/1093/service-not-monitored-on-device-without
[2] https://jemarch.net/poke.html

Alexander Dahl (3):
  libatomic_ops: Add new package
  bdwgc: Add new package
  poke: Add new package

 rules/bdwgc.in           | 11 ++++++
 rules/bdwgc.make         | 85 ++++++++++++++++++++++++++++++++++++++++
 rules/libatomic_ops.in   | 11 ++++++
 rules/libatomic_ops.make | 75 +++++++++++++++++++++++++++++++++++
 rules/poke.in            | 17 ++++++++
 rules/poke.make          | 71 +++++++++++++++++++++++++++++++++
 6 files changed, 270 insertions(+)
 create mode 100644 rules/bdwgc.in
 create mode 100644 rules/bdwgc.make
 create mode 100644 rules/libatomic_ops.in
 create mode 100644 rules/libatomic_ops.make
 create mode 100644 rules/poke.in
 create mode 100644 rules/poke.make


base-commit: b9019139839cacf60d1b073aeef749372b6d9318
-- 
2.30.2




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

* [ptxdist] [PATCH 1/3] libatomic_ops: Add new package
  2023-10-10  6:52 [ptxdist] [PATCH 0/3] poke: Add new package Alexander Dahl
@ 2023-10-10  6:52 ` Alexander Dahl
  2023-10-18  7:42   ` [ptxdist] [APPLIED] " Michael Olbrich
  2023-10-10  6:52 ` [ptxdist] [PATCH 2/3] bdwgc: " Alexander Dahl
  2023-10-10  6:52 ` [ptxdist] [PATCH 3/3] poke: " Alexander Dahl
  2 siblings, 1 reply; 7+ messages in thread
From: Alexander Dahl @ 2023-10-10  6:52 UTC (permalink / raw)
  To: ptxdist

Dependency for the upcoming bdwgc.

Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 rules/libatomic_ops.in   | 11 ++++++
 rules/libatomic_ops.make | 75 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)
 create mode 100644 rules/libatomic_ops.in
 create mode 100644 rules/libatomic_ops.make

diff --git a/rules/libatomic_ops.in b/rules/libatomic_ops.in
new file mode 100644
index 000000000..23e79c4fd
--- /dev/null
+++ b/rules/libatomic_ops.in
@@ -0,0 +1,11 @@
+## SECTION=system_libraries
+
+config LIBATOMIC_OPS
+	tristate
+	prompt "libatomic_ops"
+	help
+	  Semi-portable access to hardware-provided atomic memory update
+	  operations on a number of architectures.
+	  IN NEW CODE, PLEASE USE C11 OR C++14 STANDARD ATOMICS INSTEAD!
+
+# vim: ft=kconfig noet tw=72 ts=8 sw=8
diff --git a/rules/libatomic_ops.make b/rules/libatomic_ops.make
new file mode 100644
index 000000000..746ab9343
--- /dev/null
+++ b/rules/libatomic_ops.make
@@ -0,0 +1,75 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2023 by Alexander Dahl <ada@thorsis.com>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_LIBATOMIC_OPS) += libatomic_ops
+
+#
+# Paths and names
+#
+LIBATOMIC_OPS_VERSION	:= 7.8.0
+LIBATOMIC_OPS_MD5	:= a7e51e8041c3e60c298c037b2789c3fa
+LIBATOMIC_OPS		:= libatomic_ops-$(LIBATOMIC_OPS_VERSION)
+LIBATOMIC_OPS_SUFFIX	:= tar.gz
+LIBATOMIC_OPS_URL	:= https://github.com/ivmai/libatomic_ops/releases/download/v$(LIBATOMIC_OPS_VERSION)/$(LIBATOMIC_OPS).$(LIBATOMIC_OPS_SUFFIX)
+LIBATOMIC_OPS_SOURCE	:= $(SRCDIR)/$(LIBATOMIC_OPS).$(LIBATOMIC_OPS_SUFFIX)
+LIBATOMIC_OPS_DIR	:= $(BUILDDIR)/$(LIBATOMIC_OPS)
+# quote from LICENSE:
+#
+# > Our intent is to make it easy to use libatomic_ops, in both free and
+# > proprietary software.  Hence most of code (core library) that we
+# > expect to be linked into a client application is covered by a MIT or
+# > MIT-style license.
+#
+# > However, a few library routines (the gpl extension library) are
+# > covered by the GNU General Public License.  These are put into a
+# > separate library, libatomic_ops_gpl.a file.
+LIBATOMIC_OPS_LICENSE	:= MIT AND Boehm-GC AND GPL-2.0-or-later
+LIBATOMIC_OPS_LICENSE_FILES := \
+	file://LICENSE;md5=5700d28353dfa2f191ca9b1bd707865e \
+	file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+LIBATOMIC_OPS_CONF_TOOL	:= autoconf
+LIBATOMIC_OPS_CONF_OPT	:=  \
+	$(CROSS_AUTOCONF_USR) \
+	--enable-shared \
+	--disable-static \
+	--disable-werror \
+	--disable-assertions \
+	--disable-atomic-intrinsics \
+	--disable-gcov \
+	--enable-gpl \
+	--disable-docs
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libatomic_ops.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, libatomic_ops)
+	@$(call install_fixup, libatomic_ops,PRIORITY,optional)
+	@$(call install_fixup, libatomic_ops,SECTION,base)
+	@$(call install_fixup, libatomic_ops,AUTHOR,"Alexander Dahl <ada@thorsis.com>")
+	@$(call install_fixup, libatomic_ops,DESCRIPTION,missing)
+
+	@$(call install_lib, libatomic_ops, 0, 0, 0644, libatomic_ops)
+	@$(call install_lib, libatomic_ops, 0, 0, 0644, libatomic_ops_gpl)
+
+	@$(call install_finish, libatomic_ops)
+
+	@$(call touch)
+
+# vim: ft=make noet tw=72 ts=8 sw=8
-- 
2.30.2




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

* [ptxdist] [PATCH 2/3] bdwgc: Add new package
  2023-10-10  6:52 [ptxdist] [PATCH 0/3] poke: Add new package Alexander Dahl
  2023-10-10  6:52 ` [ptxdist] [PATCH 1/3] libatomic_ops: " Alexander Dahl
@ 2023-10-10  6:52 ` Alexander Dahl
  2023-10-18  7:42   ` [ptxdist] [APPLIED] " Michael Olbrich
  2023-10-10  6:52 ` [ptxdist] [PATCH 3/3] poke: " Alexander Dahl
  2 siblings, 1 reply; 7+ messages in thread
From: Alexander Dahl @ 2023-10-10  6:52 UTC (permalink / raw)
  To: ptxdist

Dependency for the upcoming GNU poke.  Pinning down the configure
options was rather guesswork than informed decision, basically trying to
pin the defaults which would have been set anyways.

Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 rules/bdwgc.in   | 11 +++++++
 rules/bdwgc.make | 85 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)
 create mode 100644 rules/bdwgc.in
 create mode 100644 rules/bdwgc.make

diff --git a/rules/bdwgc.in b/rules/bdwgc.in
new file mode 100644
index 000000000..b0fee1c49
--- /dev/null
+++ b/rules/bdwgc.in
@@ -0,0 +1,11 @@
+## SECTION=system_libraries
+
+config BDWGC
+	tristate
+	prompt "bdwgc"
+	select LIBATOMIC_OPS
+	help
+	  A garbage collector for C and C++.
+	  https://www.hboehm.info/gc/
+
+# vim: ft=kconfig noet tw=72 ts=8 sw=8
diff --git a/rules/bdwgc.make b/rules/bdwgc.make
new file mode 100644
index 000000000..021e4b5cc
--- /dev/null
+++ b/rules/bdwgc.make
@@ -0,0 +1,85 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2023 by Alexander Dahl <ada@thorsis.com>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_BDWGC) += bdwgc
+
+#
+# Paths and names
+#
+BDWGC_VERSION	:= 8.2.4
+BDWGC_MD5	:= 8901a6ed29ac35842420054772ea3441
+BDWGC		:= gc-$(BDWGC_VERSION)
+BDWGC_SUFFIX	:= tar.gz
+BDWGC_URL	:= https://github.com/ivmai/bdwgc/releases/download/v$(BDWGC_VERSION)/$(BDWGC).$(BDWGC_SUFFIX)
+BDWGC_SOURCE	:= $(SRCDIR)/$(BDWGC).$(BDWGC_SUFFIX)
+BDWGC_DIR	:= $(BUILDDIR)/$(BDWGC)
+BDWGC_LICENSE	:= Boehm-GC
+BDWGC_LICENSE_FILES := \
+	file://README.QUICK;startline=1;endline=24;md5=798a33a333c0e8636ddeab552ac6090b \
+	file://README.md;startline=526;endline=575;md5=71aaf0a0f29b504d185ff4e9fc1d5858
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+BDWGC_CONF_TOOL	:= autoconf
+BDWGC_CONF_OPT	:=  \
+	$(CROSS_AUTOCONF_USR) \
+	--disable-emscripten-asyncify \
+	--enable-threads=posix \
+	--enable-parallel-mark \
+	--enable-thread-local-alloc \
+	--enable-threads-discovery \
+	--disable-cplusplus \
+	--enable-throw-bad-alloc-library \
+	--enable-gcj-support \
+	--disable-sigrt-signals \
+	--disable-gc-debug \
+	--enable-java-finalization \
+	--enable-atomic-uncollectable \
+	--disable-redirect-malloc \
+	--enable-disclaim \
+	--disable-large-config \
+	--disable-gc-assertions \
+	--disable-mmap \
+	--disable-munmap \
+	--enable-dynamic-loading \
+	--enable-register-main-static-data \
+	--disable-checksums \
+	--disable-werror \
+	--disable-single-obj-compilation \
+	--disable-gcov \
+	--disable-docs \
+	--enable-handle-fork \
+	--without-ecos \
+	--with-libatomic-ops=yes
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/bdwgc.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, bdwgc)
+	@$(call install_fixup, bdwgc,PRIORITY,optional)
+	@$(call install_fixup, bdwgc,SECTION,base)
+	@$(call install_fixup, bdwgc,AUTHOR,"Alexander Dahl <ada@thorsis.com>")
+	@$(call install_fixup, bdwgc,DESCRIPTION,missing)
+
+	@$(call install_lib, bdwgc, 0, 0, 0644, libcord)
+	@$(call install_lib, bdwgc, 0, 0, 0644, libgc)
+
+	@$(call install_finish, bdwgc)
+
+	@$(call touch)
+
+# vim: ft=make noet tw=72 ts=8 sw=8
-- 
2.30.2




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

* [ptxdist] [PATCH 3/3] poke: Add new package
  2023-10-10  6:52 [ptxdist] [PATCH 0/3] poke: Add new package Alexander Dahl
  2023-10-10  6:52 ` [ptxdist] [PATCH 1/3] libatomic_ops: " Alexander Dahl
  2023-10-10  6:52 ` [ptxdist] [PATCH 2/3] bdwgc: " Alexander Dahl
@ 2023-10-10  6:52 ` Alexander Dahl
  2023-10-18  7:42   ` [ptxdist] [APPLIED] " Michael Olbrich
  2 siblings, 1 reply; 7+ messages in thread
From: Alexander Dahl @ 2023-10-10  6:52 UTC (permalink / raw)
  To: ptxdist

Link: https://jemarch.net/poke
Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 rules/poke.in   | 17 ++++++++++++
 rules/poke.make | 71 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)
 create mode 100644 rules/poke.in
 create mode 100644 rules/poke.make

diff --git a/rules/poke.in b/rules/poke.in
new file mode 100644
index 000000000..6b1637716
--- /dev/null
+++ b/rules/poke.in
@@ -0,0 +1,17 @@
+## SECTION=editors
+
+config POKE
+	tristate
+	prompt "poke"
+	select BDWGC
+	select NCURSES
+	select READLINE
+	help
+	  GNU poke is an interactive, extensible editor for binary data.
+	  Not limited to editing basic entities such as bits and bytes,
+	  it provides a full-fledged procedural, interactive programming
+	  language designed to describe data structures and to operate
+	  on them.
+	  https://jemarch.net/poke
+
+# vim: ft=kconfig noet tw=72 ts=8 sw=8
diff --git a/rules/poke.make b/rules/poke.make
new file mode 100644
index 000000000..bfd67396c
--- /dev/null
+++ b/rules/poke.make
@@ -0,0 +1,71 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2023 by Alexander Dahl <ada@thorsis.com>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_POKE) += poke
+
+#
+# Paths and names
+#
+POKE_VERSION	:= 3.3
+POKE_MD5	:= 25461e6e9032fa4d3ed089576990c159
+POKE		:= poke-$(POKE_VERSION)
+POKE_SUFFIX	:= tar.gz
+POKE_URL	:= $(call ptx/mirror, GNU, poke/$(POKE).$(POKE_SUFFIX))
+POKE_SOURCE	:= $(SRCDIR)/$(POKE).$(POKE_SUFFIX)
+POKE_DIR	:= $(BUILDDIR)/$(POKE)
+POKE_LICENSE	:= GPL-3.0-or-later
+POKE_LICENSE_FILES := \
+	file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
+	file://jitter/COPYING;md5=d32239bcb673463ab874e80d47fae504
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+POKE_CONF_TOOL	:= autoconf
+POKE_CONF_OPT	:=  \
+	$(CROSS_AUTOCONF_USR) \
+	--enable-threads=posix \
+	--disable-rpath \
+	--enable-curses \
+	--disable-nls \
+	--disable-pvm-profiling \
+	--disable-libnbd \
+	--enable-hserver \
+	--$(call ptx/endis, PTXDIST_Y2038)-year2038 \
+	--$(call ptx/endis, PTXCONF_GLOBAL_LARGE_FILE)-largefile \
+	--with-libreadline-prefix="$(PTXDIST_SYSROOT_TARGET)/usr" \
+	--with-jitter-dispatch=best \
+	--without-vimdir \
+	--without-lispdir
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/poke.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, poke)
+	@$(call install_fixup, poke,PRIORITY,optional)
+	@$(call install_fixup, poke,SECTION,base)
+	@$(call install_fixup, poke,AUTHOR,"Alexander Dahl <ada@thorsis.com>")
+	@$(call install_fixup, poke,DESCRIPTION,missing)
+
+	@$(call install_lib, poke, 0, 0, 0644, libpoke)
+	@$(call install_copy, poke, 0, 0, 0755, -, /usr/bin/poke)
+	@$(call install_tree, poke, 0, 0, -,  /usr/share/poke)
+
+	@$(call install_finish, poke)
+
+	@$(call touch)
+
+# vim: ft=make noet tw=72 ts=8 sw=8
-- 
2.30.2




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

* Re: [ptxdist] [APPLIED] libatomic_ops: Add new package
  2023-10-10  6:52 ` [ptxdist] [PATCH 1/3] libatomic_ops: " Alexander Dahl
@ 2023-10-18  7:42   ` Michael Olbrich
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Olbrich @ 2023-10-18  7:42 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Dahl

Thanks, applied as 2b43a2aadd6252bdd5a14531f19e86d0db09fb68.

Michael

[sent from post-receive hook]

On Wed, 18 Oct 2023 09:42:55 +0200, Alexander Dahl <ada@thorsis.com> wrote:
> Dependency for the upcoming bdwgc.
> 
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> Message-Id: <20231010065219.43001-2-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/libatomic_ops.in b/rules/libatomic_ops.in
> new file mode 100644
> index 000000000000..23e79c4fd50a
> --- /dev/null
> +++ b/rules/libatomic_ops.in
> @@ -0,0 +1,11 @@
> +## SECTION=system_libraries
> +
> +config LIBATOMIC_OPS
> +	tristate
> +	prompt "libatomic_ops"
> +	help
> +	  Semi-portable access to hardware-provided atomic memory update
> +	  operations on a number of architectures.
> +	  IN NEW CODE, PLEASE USE C11 OR C++14 STANDARD ATOMICS INSTEAD!
> +
> +# vim: ft=kconfig noet tw=72 ts=8 sw=8
> diff --git a/rules/libatomic_ops.make b/rules/libatomic_ops.make
> new file mode 100644
> index 000000000000..746ab9343431
> --- /dev/null
> +++ b/rules/libatomic_ops.make
> @@ -0,0 +1,75 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2023 by Alexander Dahl <ada@thorsis.com>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_LIBATOMIC_OPS) += libatomic_ops
> +
> +#
> +# Paths and names
> +#
> +LIBATOMIC_OPS_VERSION	:= 7.8.0
> +LIBATOMIC_OPS_MD5	:= a7e51e8041c3e60c298c037b2789c3fa
> +LIBATOMIC_OPS		:= libatomic_ops-$(LIBATOMIC_OPS_VERSION)
> +LIBATOMIC_OPS_SUFFIX	:= tar.gz
> +LIBATOMIC_OPS_URL	:= https://github.com/ivmai/libatomic_ops/releases/download/v$(LIBATOMIC_OPS_VERSION)/$(LIBATOMIC_OPS).$(LIBATOMIC_OPS_SUFFIX)
> +LIBATOMIC_OPS_SOURCE	:= $(SRCDIR)/$(LIBATOMIC_OPS).$(LIBATOMIC_OPS_SUFFIX)
> +LIBATOMIC_OPS_DIR	:= $(BUILDDIR)/$(LIBATOMIC_OPS)
> +# quote from LICENSE:
> +#
> +# > Our intent is to make it easy to use libatomic_ops, in both free and
> +# > proprietary software.  Hence most of code (core library) that we
> +# > expect to be linked into a client application is covered by a MIT or
> +# > MIT-style license.
> +#
> +# > However, a few library routines (the gpl extension library) are
> +# > covered by the GNU General Public License.  These are put into a
> +# > separate library, libatomic_ops_gpl.a file.
> +LIBATOMIC_OPS_LICENSE	:= MIT AND Boehm-GC AND GPL-2.0-or-later
> +LIBATOMIC_OPS_LICENSE_FILES := \
> +	file://LICENSE;md5=5700d28353dfa2f191ca9b1bd707865e \
> +	file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +LIBATOMIC_OPS_CONF_TOOL	:= autoconf
> +LIBATOMIC_OPS_CONF_OPT	:=  \
> +	$(CROSS_AUTOCONF_USR) \
> +	--enable-shared \
> +	--disable-static \
> +	--disable-werror \
> +	--disable-assertions \
> +	--disable-atomic-intrinsics \
> +	--disable-gcov \
> +	--enable-gpl \
> +	--disable-docs
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/libatomic_ops.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, libatomic_ops)
> +	@$(call install_fixup, libatomic_ops,PRIORITY,optional)
> +	@$(call install_fixup, libatomic_ops,SECTION,base)
> +	@$(call install_fixup, libatomic_ops,AUTHOR,"Alexander Dahl <ada@thorsis.com>")
> +	@$(call install_fixup, libatomic_ops,DESCRIPTION,missing)
> +
> +	@$(call install_lib, libatomic_ops, 0, 0, 0644, libatomic_ops)
> +	@$(call install_lib, libatomic_ops, 0, 0, 0644, libatomic_ops_gpl)
> +
> +	@$(call install_finish, libatomic_ops)
> +
> +	@$(call touch)
> +
> +# vim: ft=make noet tw=72 ts=8 sw=8



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

* Re: [ptxdist] [APPLIED] bdwgc: Add new package
  2023-10-10  6:52 ` [ptxdist] [PATCH 2/3] bdwgc: " Alexander Dahl
@ 2023-10-18  7:42   ` Michael Olbrich
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Olbrich @ 2023-10-18  7:42 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Dahl

Thanks, applied as 966e139cd2b09c144591f7a7d0472938a8d1bd83.

Michael

[sent from post-receive hook]

On Wed, 18 Oct 2023 09:42:56 +0200, Alexander Dahl <ada@thorsis.com> wrote:
> Dependency for the upcoming GNU poke.  Pinning down the configure
> options was rather guesswork than informed decision, basically trying to
> pin the defaults which would have been set anyways.
> 
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> Message-Id: <20231010065219.43001-3-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/bdwgc.in b/rules/bdwgc.in
> new file mode 100644
> index 000000000000..b0fee1c49566
> --- /dev/null
> +++ b/rules/bdwgc.in
> @@ -0,0 +1,11 @@
> +## SECTION=system_libraries
> +
> +config BDWGC
> +	tristate
> +	prompt "bdwgc"
> +	select LIBATOMIC_OPS
> +	help
> +	  A garbage collector for C and C++.
> +	  https://www.hboehm.info/gc/
> +
> +# vim: ft=kconfig noet tw=72 ts=8 sw=8
> diff --git a/rules/bdwgc.make b/rules/bdwgc.make
> new file mode 100644
> index 000000000000..021e4b5cc62d
> --- /dev/null
> +++ b/rules/bdwgc.make
> @@ -0,0 +1,85 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2023 by Alexander Dahl <ada@thorsis.com>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_BDWGC) += bdwgc
> +
> +#
> +# Paths and names
> +#
> +BDWGC_VERSION	:= 8.2.4
> +BDWGC_MD5	:= 8901a6ed29ac35842420054772ea3441
> +BDWGC		:= gc-$(BDWGC_VERSION)
> +BDWGC_SUFFIX	:= tar.gz
> +BDWGC_URL	:= https://github.com/ivmai/bdwgc/releases/download/v$(BDWGC_VERSION)/$(BDWGC).$(BDWGC_SUFFIX)
> +BDWGC_SOURCE	:= $(SRCDIR)/$(BDWGC).$(BDWGC_SUFFIX)
> +BDWGC_DIR	:= $(BUILDDIR)/$(BDWGC)
> +BDWGC_LICENSE	:= Boehm-GC
> +BDWGC_LICENSE_FILES := \
> +	file://README.QUICK;startline=1;endline=24;md5=798a33a333c0e8636ddeab552ac6090b \
> +	file://README.md;startline=526;endline=575;md5=71aaf0a0f29b504d185ff4e9fc1d5858
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +BDWGC_CONF_TOOL	:= autoconf
> +BDWGC_CONF_OPT	:=  \
> +	$(CROSS_AUTOCONF_USR) \
> +	--disable-emscripten-asyncify \
> +	--enable-threads=posix \
> +	--enable-parallel-mark \
> +	--enable-thread-local-alloc \
> +	--enable-threads-discovery \
> +	--disable-cplusplus \
> +	--enable-throw-bad-alloc-library \
> +	--enable-gcj-support \
> +	--disable-sigrt-signals \
> +	--disable-gc-debug \
> +	--enable-java-finalization \
> +	--enable-atomic-uncollectable \
> +	--disable-redirect-malloc \
> +	--enable-disclaim \
> +	--disable-large-config \
> +	--disable-gc-assertions \
> +	--disable-mmap \
> +	--disable-munmap \
> +	--enable-dynamic-loading \
> +	--enable-register-main-static-data \
> +	--disable-checksums \
> +	--disable-werror \
> +	--disable-single-obj-compilation \
> +	--disable-gcov \
> +	--disable-docs \
> +	--enable-handle-fork \
> +	--without-ecos \
> +	--with-libatomic-ops=yes
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/bdwgc.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, bdwgc)
> +	@$(call install_fixup, bdwgc,PRIORITY,optional)
> +	@$(call install_fixup, bdwgc,SECTION,base)
> +	@$(call install_fixup, bdwgc,AUTHOR,"Alexander Dahl <ada@thorsis.com>")
> +	@$(call install_fixup, bdwgc,DESCRIPTION,missing)
> +
> +	@$(call install_lib, bdwgc, 0, 0, 0644, libcord)
> +	@$(call install_lib, bdwgc, 0, 0, 0644, libgc)
> +
> +	@$(call install_finish, bdwgc)
> +
> +	@$(call touch)
> +
> +# vim: ft=make noet tw=72 ts=8 sw=8



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

* Re: [ptxdist] [APPLIED] poke: Add new package
  2023-10-10  6:52 ` [ptxdist] [PATCH 3/3] poke: " Alexander Dahl
@ 2023-10-18  7:42   ` Michael Olbrich
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Olbrich @ 2023-10-18  7:42 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Dahl

Thanks, applied as e6ec9f74f041658f3453f3b7ec4ba4b90e854f26.

Michael

[sent from post-receive hook]

On Wed, 18 Oct 2023 09:42:57 +0200, Alexander Dahl <ada@thorsis.com> wrote:
> Link: https://jemarch.net/poke
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> Message-Id: <20231010065219.43001-4-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/poke.in b/rules/poke.in
> new file mode 100644
> index 000000000000..6b1637716d48
> --- /dev/null
> +++ b/rules/poke.in
> @@ -0,0 +1,17 @@
> +## SECTION=editors
> +
> +config POKE
> +	tristate
> +	prompt "poke"
> +	select BDWGC
> +	select NCURSES
> +	select READLINE
> +	help
> +	  GNU poke is an interactive, extensible editor for binary data.
> +	  Not limited to editing basic entities such as bits and bytes,
> +	  it provides a full-fledged procedural, interactive programming
> +	  language designed to describe data structures and to operate
> +	  on them.
> +	  https://jemarch.net/poke
> +
> +# vim: ft=kconfig noet tw=72 ts=8 sw=8
> diff --git a/rules/poke.make b/rules/poke.make
> new file mode 100644
> index 000000000000..bfd67396ccad
> --- /dev/null
> +++ b/rules/poke.make
> @@ -0,0 +1,71 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2023 by Alexander Dahl <ada@thorsis.com>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_POKE) += poke
> +
> +#
> +# Paths and names
> +#
> +POKE_VERSION	:= 3.3
> +POKE_MD5	:= 25461e6e9032fa4d3ed089576990c159
> +POKE		:= poke-$(POKE_VERSION)
> +POKE_SUFFIX	:= tar.gz
> +POKE_URL	:= $(call ptx/mirror, GNU, poke/$(POKE).$(POKE_SUFFIX))
> +POKE_SOURCE	:= $(SRCDIR)/$(POKE).$(POKE_SUFFIX)
> +POKE_DIR	:= $(BUILDDIR)/$(POKE)
> +POKE_LICENSE	:= GPL-3.0-or-later
> +POKE_LICENSE_FILES := \
> +	file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
> +	file://jitter/COPYING;md5=d32239bcb673463ab874e80d47fae504
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +POKE_CONF_TOOL	:= autoconf
> +POKE_CONF_OPT	:=  \
> +	$(CROSS_AUTOCONF_USR) \
> +	--enable-threads=posix \
> +	--disable-rpath \
> +	--enable-curses \
> +	--disable-nls \
> +	--disable-pvm-profiling \
> +	--disable-libnbd \
> +	--enable-hserver \
> +	--$(call ptx/endis, PTXDIST_Y2038)-year2038 \
> +	--$(call ptx/endis, PTXCONF_GLOBAL_LARGE_FILE)-largefile \
> +	--with-libreadline-prefix="$(PTXDIST_SYSROOT_TARGET)/usr" \
> +	--with-jitter-dispatch=best \
> +	--without-vimdir \
> +	--without-lispdir
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/poke.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, poke)
> +	@$(call install_fixup, poke,PRIORITY,optional)
> +	@$(call install_fixup, poke,SECTION,base)
> +	@$(call install_fixup, poke,AUTHOR,"Alexander Dahl <ada@thorsis.com>")
> +	@$(call install_fixup, poke,DESCRIPTION,missing)
> +
> +	@$(call install_lib, poke, 0, 0, 0644, libpoke)
> +	@$(call install_copy, poke, 0, 0, 0755, -, /usr/bin/poke)
> +	@$(call install_tree, poke, 0, 0, -,  /usr/share/poke)
> +
> +	@$(call install_finish, poke)
> +
> +	@$(call touch)
> +
> +# vim: ft=make noet tw=72 ts=8 sw=8



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

end of thread, other threads:[~2023-10-18  7:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-10  6:52 [ptxdist] [PATCH 0/3] poke: Add new package Alexander Dahl
2023-10-10  6:52 ` [ptxdist] [PATCH 1/3] libatomic_ops: " Alexander Dahl
2023-10-18  7:42   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-10-10  6:52 ` [ptxdist] [PATCH 2/3] bdwgc: " Alexander Dahl
2023-10-18  7:42   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-10-10  6:52 ` [ptxdist] [PATCH 3/3] poke: " Alexander Dahl
2023-10-18  7:42   ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox