From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 12 Sep 2024 16:06:11 +0200 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 1sokSa-003oND-1H for lore@lore.pengutronix.de; Thu, 12 Sep 2024 16:06:11 +0200 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 1sokSZ-0007mW-Cw; Thu, 12 Sep 2024 16:06:11 +0200 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 1sokSM-0007mN-Mz; Thu, 12 Sep 2024 16:05:58 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sokSL-007OgR-Vf; Thu, 12 Sep 2024 16:05:57 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1sokSL-00Bkid-2z; Thu, 12 Sep 2024 16:05:57 +0200 Date: Thu, 12 Sep 2024 16:05:57 +0200 From: Michael Olbrich To: Lucas Sinn Message-ID: References: <016db821-bc16-4106-ab26-ac766a339fab.e0c24246-04d4-485f-8d5f-1cc8fbefd095.bba0f65a-d332-490e-b833-7630b4dabe80@emailsignatures365.codetwo.com> <20240808160207.2885965-1-lucas.sinn@wolfvision.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240808160207.2885965-1-lucas.sinn@wolfvision.net> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] [PATCH v3] glibmm: add 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: ptxdist@pengutronix.de 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 On Thu, Aug 08, 2024 at 06:02:07PM +0200, Lucas Sinn wrote: > Signed-off-by: Lucas Sinn > --- > Removed unnecessary usage meson cross file > > rules/glibmm.in | 10 +++++++ > rules/glibmm.make | 70 +++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 80 insertions(+) > create mode 100644 rules/glibmm.in > create mode 100644 rules/glibmm.make > > diff --git a/rules/glibmm.in b/rules/glibmm.in > new file mode 100644 > index 000000000..5b6e4646e > --- /dev/null > +++ b/rules/glibmm.in > @@ -0,0 +1,10 @@ > +## SECTION=multimedia_gtk > + > +config GLIBMM > + tristate > + select HOST_MESON > + select GLIB > + select LIBSIGCPP > + prompt "glibmm" > + help > + C++ wrapper for glib > diff --git a/rules/glibmm.make b/rules/glibmm.make > new file mode 100644 > index 000000000..f45dec55c > --- /dev/null > +++ b/rules/glibmm.make > @@ -0,0 +1,70 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2024 by Lucas Sinn > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_GLIBMM) += glibmm > + > +# > +# Paths and names > +# > +GLIBMM_VERSION := 2.78.1 > +GLIBMM_MD5 := 52b93bf93de45e5a6b3c321bc832cd9c > +GLIBMM := glibmm-$(GLIBMM_VERSION) > +GLIBMM_SUFFIX := tar.xz > +GLIBMM_URL := $(call ptx/mirror, GNOME, glibmm/$(basename $(GLIBMM_VERSION))/$(GLIBMM).$(GLIBMM_SUFFIX)) > +GLIBMM_SOURCE := $(SRCDIR)/$(GLIBMM).$(GLIBMM_SUFFIX) > +GLIBMM_DIR := $(BUILDDIR)/$(GLIBMM) > +GLIBMM_LICENSE := LGPL-2.1-only AND GPL-2.0-only > +GLIBMM_LICENSE_FILES := \ > + file://COPYING;md5=42dfffebc56fec7527aac53b7a89d1d8 \ > + file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +# > +# meson > +# > +GLIBMM_CONF_TOOL := meson > +GLIBMM_CONF_OPT := \ > + $(CROSS_MESON_USR) \ > + -Dbuild-deprecated-api=false \ > + -Dbuild-documentation=false \ > + -Dbuild-examples=false \ > + -Ddebug-refcounting=false \ > + -Ddist-warnings=fatal \ > + -Dmaintainer-mode=false \ > + -Dmsvc14x-parallel-installable=false \ > + -Dwarnings=max \ > + \ > + --cross-file $(GLIB_MESON_CROSS_FILE) I'm pretty sure that this is not needed either. The special cross file for glib defines extra variables for stuff that cannot be detected at build time. These variables are specific to the glib meson files and I'm pretty sure that they are not used here. Michael > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/glibmm.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, glibmm) > + @$(call install_fixup, glibmm,PRIORITY,optional) > + @$(call install_fixup, glibmm,SECTION,base) > + @$(call install_fixup, glibmm,AUTHOR,"Lucas Sinn ") > + @$(call install_fixup, glibmm,DESCRIPTION,missing) > + > + @$(call install_lib, glibmm, 0, 0, 0644, libglibmm-2.68) > + @$(call install_lib, glibmm, 0, 0, 0644, libgiomm-2.68) > + > + @$(call install_finish, glibmm) > + > + @$(call touch) > + > +# vim: syntax=make > -- > 2.37.2 > > > Lucas Sinn > R&D Engineer > > Wolfvision GmbH > Oberes Ried 14 | 6833 Klaus | Austria > Tel: +43 5523 52250 | Mail: lucas.sinn@wolfvision.net > > Website: wolfvision.com > Firmenbuch / Commercial Register: FN283521v Feldkirch/Austria > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |