From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 24 Mar 2025 08:48:11 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1twcXb-003V0E-31 for lore@lore.pengutronix.de; Mon, 24 Mar 2025 08:48:11 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1twcXb-0006gD-5h; Mon, 24 Mar 2025 08:48:11 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1twcVV-0004be-LR; Mon, 24 Mar 2025 08:46:01 +0100 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1twcVU-001N9R-37; Mon, 24 Mar 2025 08:46:01 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1twcVV-00ACxQ-14; Mon, 24 Mar 2025 08:46:01 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Mon, 24 Mar 2025 08:46:01 +0100 Message-Id: <20250324074601.2433077-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] zint: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Roman Schnider Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as c90f83f636773218b0efb46eed4ded3f221808e2. Michael [sent from post-receive hook] On Mon, 24 Mar 2025 08:46:01 +0100, Roman Schnider wrote: > zint is a barcode encoding library supporting over 50 symbologies. > It provides an encoding library (libzint) and a cli tool (zint). > I omitted the Qt gui frontend and its backend. > > The cli tool is optional selectable. > > License: > The library is released under the BSD (3 clause) license whereas the > CLI is released under the GNU General Public License version 3 or later. > See also README. > > Signed-off-by: Roman Schnider > Message-Id: > Signed-off-by: Michael Olbrich > > diff --git a/rules/zint.in b/rules/zint.in > new file mode 100644 > index 000000000000..7ba8523d2f55 > --- /dev/null > +++ b/rules/zint.in > @@ -0,0 +1,17 @@ > +## SECTION=multimedia_libs > + > +menuconfig ZINT > + tristate > + select HOST_CMAKE > + select LIBPNG if ZINT_FRONTEND > + prompt "zint" > + help > + A barcode encoding library supporting over 50 symbologies. > + > +if ZINT > + > +config ZINT_FRONTEND > + bool > + prompt "build and install cli frontend" > + > +endif > diff --git a/rules/zint.make b/rules/zint.make > new file mode 100644 > index 000000000000..4a99fdf022bf > --- /dev/null > +++ b/rules/zint.make > @@ -0,0 +1,72 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2025 by Roman Schnider > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_ZINT) += zint > + > +# > +# Paths and names > +# > +ZINT_VERSION := 2.15.0 > +ZINT_MD5 := ea0065f7ea67fca17a443bc064252340 > +ZINT := zint-$(ZINT_VERSION) > +ZINT_SUFFIX := tar.gz > +ZINT_URL := https://sourceforge.net/projects/zint/files/zint/$(ZINT_VERSION)/$(ZINT)-src.$(ZINT_SUFFIX) > +ZINT_SOURCE := $(SRCDIR)/$(ZINT).$(ZINT_SUFFIX) > +ZINT_DIR := $(BUILDDIR)/$(ZINT) > +ZINT_LICENSE := BSD-3-Clause AND GPL-3.0-or-later > +ZINT_LICENSE_FILES := file://LICENSE;md5=7a60e5da828a98fbdf48c9a327c7cdfa \ > + file://frontend/COPYING;md5=d32239bcb673463ab874e80d47fae504 > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +# > +# cmake > +# > +ZINT_CONF_TOOL := cmake > +ZINT_CONF_OPT := $(CROSS_CMAKE_USR) \ > + -DZINT_COVERAGE=OFF \ > + -DZINT_DEBUG=OFF \ > + -DZINT_FRONTEND=$(call ptx/onoff,PTXCONF_ZINT_FRONTEND) \ > + -DZINT_NOOPT=OFF \ > + -DZINT_SANITIZE=OFF \ > + -DZINT_SHARED=ON \ > + -DZINT_STATIC=OFF \ > + -DZINT_TEST=OFF \ > + -DZINT_UNINSTALL=OFF \ > + -DZINT_USE_PNG=$(call ptx/onoff,PTXCONF_ZINT_FRONTEND) \ > + -DZINT_USE_QT=OFF > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/zint.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, zint) > + @$(call install_fixup, zint, PRIORITY, optional) > + @$(call install_fixup, zint, SECTION, base) > + @$(call install_fixup, zint, AUTHOR, "Roman Schnider ") > + @$(call install_fixup, zint, DESCRIPTION, missing) > + > + @$(call install_lib, zint, 0, 0, 0644, libzint) > + > +ifdef PTXCONF_ZINT_FRONTEND > + @$(call install_copy, zint, 0, 0, 0755, -, /usr/bin/zint) > +endif > + > + @$(call install_finish, zint) > + > + @$(call touch) > + > +# vim: syntax=make