From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 20 Nov 2024 19:42:18 +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 1tDpec-004KWF-1j for lore@lore.pengutronix.de; Wed, 20 Nov 2024 19:42:18 +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 1tDpec-0003tT-8q; Wed, 20 Nov 2024 19:42:18 +0100 Received: from h2.cmg2.smtp.forpsi.com ([81.2.195.189]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tDpeR-0003sP-Ey for ptxdist@pengutronix.de; Wed, 20 Nov 2024 19:42:08 +0100 Received: from lenoch ([91.218.190.200]) by cmgsmtp with ESMTPSA id DpeOtla9FEiu2DpeQtl21T; Wed, 20 Nov 2024 19:42:06 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=triops.cz; s=f2019; t=1732128126; bh=+N2WBFEk2RhuVQ8Hwm9rceYD5TqeQWe3n5Q7JCJYsjg=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=yHfUcbvw8dbubYCAqSMMmPLo5AJt+U5werYfULi8TkXPWmsqEWW8wcEV+Eh3iqHoa TdDizk5cAgH7hkchrXn+YfiNSz9CqzCJ2uODagYLJwr8E+nFBI5xyyw0iS617UCiOY 1qUNbk0kkjLaxxMAiwNbFeZqpu+s7f1aSyfEW5plC8ua1LIX5zdZ7+XIFlBB+oM9jm d92Q/bjwxmHaMYcDlK20VgmVIMXPd6yz0ReXSb86FUO8i9GMa/EES6R3N5hT4lGh+8 MpXb2J3yOTb9mHSVfCpCOf6ruUZM/9ILYbG+DqxOqpmFTZanK1ZI94K4QFklgJDgtE EfcFRLrcgzqqQ== Date: Wed, 20 Nov 2024 19:42:04 +0100 From: Ladislav Michl To: ptxdist@pengutronix.de Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CMAE-Envelope: MS4xfG64Az60aoyzhETW5Kqk6ib15Xb1Ad1EDs/2YbjJE+yIUdifQTpGfr0yjkCmj7Q8bDxZ4kNi+varNmD1aeq8ndLCVMYGBwAmY6leIbBsWGFs37luNQtv pfXjZyFOdtkaB4DgXSXPsq/1OkfzXF1v7IbQBc2MOhWdNBwvKN+2xbuvciIcVtLsnw1rQcKuxx8P6Q== X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.4 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_PASS,SPF_NONE autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] libgpiod major version 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 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 Hi, On Tue, Nov 19, 2024 at 12:48:23PM +0100, Lars Pedersen wrote: > Hi. > > Libgpiod 2.+ has a lot of breaking changes, so should it be a separate > package or should I just send a version bump on the existing one? here it is as version bump. I'm using it for quite some time. It has no in tree user... From: Ladislav Michl Date: Mon, 22 Apr 2024 12:44:04 +0200 Subject: [PATCH] libgpiod: version bump 1.6.3 -> 2.1.1 This is a major release that breaks compatiblity with the v1.6.x series. The entire data model has been overhauled in order to make using the library more intuitive and less cumbersome, while also making the code future-proof and extensible. Please refer to the documentation for details. Signed-off-by: Ladislav Michl --- rules/libgpiod.in | 7 ++++--- rules/libgpiod.make | 16 ++++++++++------ 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/rules/libgpiod.in b/rules/libgpiod.in index 14c38dddc..f18bed12e 100644 --- a/rules/libgpiod.in +++ b/rules/libgpiod.in @@ -44,12 +44,13 @@ config LIBGPIOD_GPIOSET help Sets values of specified GPIO lines -config LIBGPIOD_GPIOFIND +config LIBGPIOD_GPIONOTIFY bool - prompt "Install gpiofind" + prompt "Install gpionotify" select LIBGPIOD_TOOLS help - Finds the gpiochip given the line name + Wait for changes to info on GPIO lines and print them + to standard output config LIBGPIOD_GPIOMON bool diff --git a/rules/libgpiod.make b/rules/libgpiod.make index 937057cd7..fecc4db29 100644 --- a/rules/libgpiod.make +++ b/rules/libgpiod.make @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_LIBGPIOD) += libgpiod # # Paths and names # -LIBGPIOD_VERSION := 1.6.3 -LIBGPIOD_MD5 := 25b6d8e7ebda37bb9b55aa290af0f062 +LIBGPIOD_VERSION := 2.1.1 +LIBGPIOD_MD5 := f3e8ab10da705d4b0f8c43e5c94beac9 LIBGPIOD := libgpiod-$(LIBGPIOD_VERSION) LIBGPIOD_SUFFIX := tar.gz LIBGPIOD_URL := https://www.kernel.org/pub/software/libs/libgpiod/$(LIBGPIOD).$(LIBGPIOD_SUFFIX) @@ -34,9 +34,13 @@ LIBGPIOD_CONF_TOOL := autoconf LIBGPIOD_CONF_OPT := \ $(CROSS_AUTOCONF_USR) \ --$(call ptx/endis, PTXCONF_LIBGPIOD_TOOLS)-tools \ + --disable-gpioset-interactive \ --disable-tests \ + --disable-profiling \ + --disable-examples \ --$(call ptx/endis, PTXCONF_LIBGPIOD_CXX)-bindings-cxx \ - --$(call ptx/endis, PTXCONF_LIBGPIOD_PYTHON3)-bindings-python + --$(call ptx/endis, PTXCONF_LIBGPIOD_PYTHON3)-bindings-python \ + --disable-bindings-rust LIBGPIOD_CONF_ENV := \ $(CROSS_ENV) \ @@ -51,11 +55,11 @@ endif LIBGPIOD_LDFLAGS:= -Wl,-rpath-link,$(LIBGPIOD_DIR)/lib/.libs LIBGPIOD_TOOLS-$(PTXCONF_LIBGPIOD_GPIODETECT) += gpiodetect -LIBGPIOD_TOOLS-$(PTXCONF_LIBGPIOD_GPIOINFO) += gpioinfo LIBGPIOD_TOOLS-$(PTXCONF_LIBGPIOD_GPIOGET) += gpioget -LIBGPIOD_TOOLS-$(PTXCONF_LIBGPIOD_GPIOSET) += gpioset -LIBGPIOD_TOOLS-$(PTXCONF_LIBGPIOD_GPIOFIND) += gpiofind +LIBGPIOD_TOOLS-$(PTXCONF_LIBGPIOD_GPIOINFO) += gpioinfo LIBGPIOD_TOOLS-$(PTXCONF_LIBGPIOD_GPIOMON) += gpiomon +LIBGPIOD_TOOLS-$(PTXCONF_LIBGPIOD_GPIONOTIFY) += gpionotify +LIBGPIOD_TOOLS-$(PTXCONF_LIBGPIOD_GPIOSET) += gpioset # ---------------------------------------------------------------------------- # Target-Install -- 2.39.5