aports/testing/meli/0001-don-t-statically-link-libz-sys.patch
Thomas Böhler 5ae9609bbb testing/meli: upgrade to 0.8.11
Upgrade to 0.8.11.

While at it, also reduce the size of the patch and split it up into
separate patches. This hopefully makes maintaining the patches are
easier. The patches make it so that libz isn't statically linked, the
"cli-docs" feature for manual pages with the CLI is disabled, and the
exposed subcommands for the "cli-docs" feature are hidden because
they're not available anyway.

The code for D-Bus notifications and for displaying the manual pages
isn't removed like before because this code is conditionally compiled in
only when the features "dbus-notifications" and "cli-docs" are enabled.
This shrinks the size of the patch significantly and shouldn't affect
the size of the binary.

Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
2025-05-04 14:03:36 +00:00

29 lines
1.2 KiB
Diff

From 4cbba11d65910f6daa8c739c8942baf22ec5ee91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20B=C3=B6hler?= <witcher@wiredspace.de>
Date: Sat, 26 Apr 2025 14:02:43 +0200
Subject: [PATCH 1/3] don't statically link libz-sys
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
---
meli/Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meli/Cargo.toml b/meli/Cargo.toml
index 6f086bd2..00fbf41f 100644
--- a/meli/Cargo.toml
+++ b/meli/Cargo.toml
@@ -32,7 +32,7 @@ futures = { version = "0.3.30", default-features = false, features = ["async-awa
indexmap = { version = "^2.3", default-features = false, features = ["serde", "std"] }
itoa = { version = "1.0.11", default-features = false }
libc = { version = "0.2.125", default-features = false, features = ["extra_traits"] }
-libz-sys = { version = "1.1", features = ["static"], optional = true }
+libz-sys = { version = "1.1", optional = true }
linkify = { version = "^0.10", default-features = false }
melib = { path = "../melib", version = "0.8.11", features = [] }
nix = { version = "0.29", default-features = false, features = ["signal", "poll", "term", "ioctl", "process"] }
--
2.49.0