mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>
Subject: Re: [ptxdist] [APPLIED] libonig: Add new package
Date: Thu, 12 Jun 2025 21:32:04 +0200	[thread overview]
Message-ID: <20250612193204.2321067-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20250603090901.1066406-2-ada@thorsis.com>

Thanks, applied as 8e3c02fe52e9be4c2ba2e2aae59f0fb8ea11a6a0.

Michael

[sent from post-receive hook]

On Thu, 12 Jun 2025 21:32:04 +0200, Alexander Dahl <ada@thorsis.com> wrote:
> The jq package has this as optional dependency and shipped it as vendor
> code in a submodule, which might break the build, and makes specifying
> license unnecessarily difficult.  Split into separate package.
> 
> Note, the upstream project is EOL, but so would be the jq submodule.
> 
> Link: https://lore.ptxdist.org/ptxdist/1302b7b6-e272-48c1-8daf-e7519389c670@ela-soft.com/
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> Message-Id: <20250603090901.1066406-2-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/libonig.in b/rules/libonig.in
> new file mode 100644
> index 000000000000..fa909fcb6197
> --- /dev/null
> +++ b/rules/libonig.in
> @@ -0,0 +1,11 @@
> +## SECTION=system_libraries
> +
> +config LIBONIG
> +	tristate
> +	prompt "libonig"
> +	help
> +	  Oniguruma is a modern and flexible regular expressions library.
> +	  It encompasses features from different regular expression
> +	  implementations that traditionally exist in different languages.
> +
> +# vim: ft=kconfig noet ts=8 sw=8
> diff --git a/rules/libonig.make b/rules/libonig.make
> new file mode 100644
> index 000000000000..3397f553f720
> --- /dev/null
> +++ b/rules/libonig.make
> @@ -0,0 +1,52 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2025 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_LIBONIG) += libonig
> +
> +#
> +# Paths and names
> +#
> +LIBONIG_VERSION		:= 6.9.10
> +LIBONIG_MD5		:= 46c48d072eafe29a0dd0489df7f6f212
> +LIBONIG			:= onig-$(LIBONIG_VERSION)
> +LIBONIG_SUFFIX		:= tar.gz
> +LIBONIG_URL		:= https://github.com/kkos/oniguruma/releases/download/v$(LIBONIG_VERSION)/$(LIBONIG).$(LIBONIG_SUFFIX)
> +LIBONIG_SOURCE		:= $(SRCDIR)/$(LIBONIG).$(LIBONIG_SUFFIX)
> +LIBONIG_DIR		:= $(BUILDDIR)/$(LIBONIG)
> +LIBONIG_LICENSE		:= BSD-2-Clause
> +LIBONIG_LICENSE_FILES	:= file://COPYING;md5=e6365c225bb5cc4321d0913f0baffa04
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +LIBONIG_CONF_TOOL	:= autoconf
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/libonig.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, libonig)
> +	@$(call install_fixup, libonig,PRIORITY,optional)
> +	@$(call install_fixup, libonig,SECTION,base)
> +	@$(call install_fixup, libonig,AUTHOR,"Alexander Dahl <ada@thorsis.com>")
> +	@$(call install_fixup, libonig,DESCRIPTION,missing)
> +
> +	@$(call install_lib, libonig, 0, 0, 0644, libonig)
> +
> +	@$(call install_finish, libonig)
> +
> +	@$(call touch)
> +
> +# vim: ft=make noet ts=8 sw=8



  reply	other threads:[~2025-06-12 19:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-03  9:08 [ptxdist] [PATCH v2 0/3] jq: license update and version bump Alexander Dahl via ptxdist
2025-06-03  9:08 ` [ptxdist] [PATCH v2 1/3] libonig: Add new package Alexander Dahl via ptxdist
2025-06-12 19:32   ` Michael Olbrich [this message]
2025-06-03  9:09 ` [ptxdist] [PATCH v2 2/3] jq: Make regex support optional Alexander Dahl via ptxdist
2025-06-12 19:32   ` [ptxdist] [APPLIED] " Michael Olbrich
2025-06-03  9:09 ` [ptxdist] [PATCH v2 3/3] jq: version bump 1.7.1 -> 1.8.0 Alexander Dahl via ptxdist
2025-06-12 19:32   ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250612193204.2321067-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ada@thorsis.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox