- Remove 0001-Fix-build-with-boost-1.89.patch. Seems to be fixed
upstream
- Use manpages class
Signed-off-by: Markus Volk <[email protected]
<mailto:[email protected]>>
---
.../0001-Fix-build-with-boost-1.89.patch | 89
-------------------
.../{snapper_0.12.2.bb => snapper_0.13.0.bb} | 12 ++-
2 files changed, 5 insertions(+), 96 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} (76%)
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 <[email protected] <mailto:[email protected]>>
-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 <[email protected]
<mailto:[email protected]>>
----
- 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 76%
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..56d4c89d0f 100644
--- a/meta-oe/recipes-support/snapper/snapper_0.12.2.bb
+++ b/meta-oe/recipes-support/snapper/snapper_0.13.0.bb
@@ -6,19 +6,17 @@ LIC_FILES_CHKSUM =
"file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
DEPENDS = "acl boost btrfs-tools 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
<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
<mailto:${@bb.utils.filter>('DISTRO_FEATURES', 'api-documentation
systemd pam', d)}"
+PACKAGECONFIG ?= "${@bb.utils.filter
<mailto:${@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"
--
2.52.0