From patchwork Wed Feb 18 14:02:34 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 81297 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4B8ACE9A02C for ; Wed, 18 Feb 2026 14:02:52 +0000 (UTC) Received: from mailout12.t-online.de (mailout12.t-online.de [194.25.134.22]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.12384.1771423368195005755 for ; Wed, 18 Feb 2026 06:02:48 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: t-online.de, ip: 194.25.134.22, mailfrom: f_l_k@t-online.de) Received: from fwd75.aul.t-online.de (fwd75.aul.t-online.de [10.223.144.101]) by mailout12.t-online.de (Postfix) with SMTP id 38EC4EC47 for ; Wed, 18 Feb 2026 15:02:46 +0100 (CET) Received: from intel-corei7-64.fritz.box ([84.163.40.86]) by fwd75.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1vsi8Y-2H140f0; Wed, 18 Feb 2026 15:02:43 +0100 From: Markus Volk To: openembedded-devel@lists.openembedded.org Subject: [meta-oe][PATCH] snapper: update 0.12.2 -> 0.13.0 Date: Wed, 18 Feb 2026 15:02:34 +0100 Message-ID: <20260218140234.388441-1-f_l_k@t-online.de> X-Mailer: git-send-email 2.52.0 MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1771423363-78FFB49A-81FD7B6F/0/0 CLEAN NORMAL X-TOI-MSGID: 76ccdc8b-5f07-46da-a2fb-cb54d54546ca List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 18 Feb 2026 14:02:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/124482 - Remove 0001-Fix-build-with-boost-1.89.patch. Seems to be fixed upstream - Use VIRTUAL-RUNTIME_dbus - Use manpages class Signed-off-by: Markus Volk --- .../0001-Fix-build-with-boost-1.89.patch | 89 ------------------- .../{snapper_0.12.2.bb => snapper_0.13.0.bb} | 14 ++- 2 files changed, 6 insertions(+), 97 deletions(-) delete mode 100644 meta-oe/recipes-support/snapper/snapper/0001-Fix-build-with-boost-1.89.patch rename meta-oe/recipes-support/snapper/{snapper_0.12.2.bb => snapper_0.13.0.bb} (70%) diff --git a/meta-oe/recipes-support/snapper/snapper/0001-Fix-build-with-boost-1.89.patch b/meta-oe/recipes-support/snapper/snapper/0001-Fix-build-with-boost-1.89.patch deleted file mode 100644 index a6598b5635..0000000000 --- a/meta-oe/recipes-support/snapper/snapper/0001-Fix-build-with-boost-1.89.patch +++ /dev/null @@ -1,89 +0,0 @@ -From c33e7707da86a23c4ad7e2451ddb04df419d6412 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sun, 31 Aug 2025 00:13:07 -0700 -Subject: [PATCH] Fix build with boost 1.89 - -boost 1.89+ does not have boost system lib anymore all needed functions -are now in header - -Upstream-Status: Pending - -Signed-off-by: Khem Raj ---- - dbus/Makefile.am | 2 +- - examples/c++-lib/Makefile.am | 1 - - server/Makefile.am | 2 +- - snapper/Makefile.am | 2 +- - testsuite-cmp/Makefile.am | 1 - - zypp-plugin/Makefile.am | 1 - - 6 files changed, 3 insertions(+), 6 deletions(-) - -diff --git a/dbus/Makefile.am b/dbus/Makefile.am -index 9c0456a..2078d7d 100644 ---- a/dbus/Makefile.am -+++ b/dbus/Makefile.am -@@ -15,4 +15,4 @@ libdbus_la_SOURCES = \ - DBusMainLoop.cc DBusMainLoop.h - - libdbus_la_LIBADD = $(DBUS_LIBS) --libdbus_la_LDFLAGS = -lboost_system -lboost_thread -+libdbus_la_LDFLAGS = -lboost_thread -diff --git a/examples/c++-lib/Makefile.am b/examples/c++-lib/Makefile.am -index 52c81e5..f55da6f 100644 ---- a/examples/c++-lib/Makefile.am -+++ b/examples/c++-lib/Makefile.am -@@ -5,7 +5,6 @@ - AM_CPPFLAGS = -I$(top_srcdir) - - LDADD = ../../snapper/libsnapper.la --AM_LDFLAGS = -lboost_system - - noinst_PROGRAMS = List ListAll Create CmpDirs CreateNumber CreateTimeline - -diff --git a/server/Makefile.am b/server/Makefile.am -index c03f373..1aef916 100644 ---- a/server/Makefile.am -+++ b/server/Makefile.am -@@ -16,4 +16,4 @@ snapperd_SOURCES = \ - FilesTransferTask.cc FilesTransferTask.h - - snapperd_LDADD = ../snapper/libsnapper.la ../dbus/libdbus.la -lrt --snapperd_LDFLAGS = -lboost_system -lboost_thread -lpthread -+snapperd_LDFLAGS = -lboost_thread -lpthread -diff --git a/snapper/Makefile.am b/snapper/Makefile.am -index b0fe55c..d75599f 100644 ---- a/snapper/Makefile.am -+++ b/snapper/Makefile.am -@@ -71,7 +71,7 @@ endif - - libsnapper_la_CPPFLAGS = $(XML2_CFLAGS) $(ZLIB_CFLAGS) - libsnapper_la_LDFLAGS = -version-info @LIBVERSION_INFO@ --libsnapper_la_LIBADD = -lboost_thread -lboost_system $(XML2_LIBS) -lacl $(ZLIB_LIBS) -+libsnapper_la_LIBADD = -lboost_thread $(XML2_LIBS) -lacl $(ZLIB_LIBS) - if ENABLE_ROLLBACK - libsnapper_la_LIBADD += -lmount - endif -diff --git a/testsuite-cmp/Makefile.am b/testsuite-cmp/Makefile.am -index 81104bf..555bc3b 100644 ---- a/testsuite-cmp/Makefile.am -+++ b/testsuite-cmp/Makefile.am -@@ -3,7 +3,6 @@ - # - - AM_CPPFLAGS = -I$(top_srcdir) --AM_LDFLAGS = -lboost_system - - LDADD = ../snapper/libsnapper.la - -diff --git a/zypp-plugin/Makefile.am b/zypp-plugin/Makefile.am -index 9d102e0..e395f59 100644 ---- a/zypp-plugin/Makefile.am -+++ b/zypp-plugin/Makefile.am -@@ -33,7 +33,6 @@ forwarding_zypp_plugin_SOURCES = \ - forwarding_zypp_plugin_LDADD = \ - ../snapper/libsnapper.la \ - ../stomp/libstomp.la \ -- -lboost_system \ - -lpthread - - TESTS = solvable-matcher.test diff --git a/meta-oe/recipes-support/snapper/snapper_0.12.2.bb b/meta-oe/recipes-support/snapper/snapper_0.13.0.bb similarity index 70% rename from meta-oe/recipes-support/snapper/snapper_0.12.2.bb rename to meta-oe/recipes-support/snapper/snapper_0.13.0.bb index 981ca84c13..8b899abfda 100644 --- a/meta-oe/recipes-support/snapper/snapper_0.12.2.bb +++ b/meta-oe/recipes-support/snapper/snapper_0.13.0.bb @@ -3,22 +3,20 @@ HOMEPAGE = "https://github.com/openSUSE/snapper" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -DEPENDS = "acl boost btrfs-tools dbus e2fsprogs json-c libxml2 lvm2 ncurses zlib" +DEPENDS = "acl boost btrfs-tools ${VIRTUAL-RUNTIME_dbus} e2fsprogs json-c libxml2 lvm2 ncurses zlib" # Build separation is slightly broken -inherit autotools-brokensep pkgconfig gettext +inherit autotools-brokensep pkgconfig gettext manpages -SRC_URI = "git://github.com/openSUSE/snapper.git;protocol=https;branch=master \ - file://0001-Fix-build-with-boost-1.89.patch \ - " -SRCREV = "4f3d2b2fc58aefa976668cd25b8eac02ba0f85e7" +SRC_URI = "git://github.com/openSUSE/snapper.git;protocol=https;branch=master" +SRCREV = "3a3bd97083976d28538d402284ff947b4aab5b8f" EXTRA_OECONF += "--disable-zypp" -PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'api-documentation systemd pam', d)}" +PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd pam', d)}" PACKAGECONFIG[pam] = "--enable-pam --with-pam-security=${base_libdir}/security, --disable-pam,libpam" PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd" -PACKAGECONFIG[api-documentation] = "--enable-doc,--disable-doc,libxslt-native docbook-xsl-stylesheets-native" +PACKAGECONFIG[manpages] = "--enable-doc,--disable-doc,libxslt-native docbook-xsl-stylesheets-native" # Avoid HOSTTOOLS path in binaries export DIFF_BIN = "${bindir}/diff"