From: "Sven Püschel" <s.pueschel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: "Sven Püschel" <s.pueschel@pengutronix.de>
Subject: [ptxdist] [PATCH] libtag: version bump 1.13.1 -> 2.1.1
Date: Fri, 24 Oct 2025 10:04:32 +0200 [thread overview]
Message-ID: <20251024080501.3278561-1-s.pueschel@pengutronix.de> (raw)
TagLib v2.0 is binary incompatible to v1.x, requiring all applications
to be rebuilt against it.
Formats can now be disabled at build time [1]. Keep the default by
keeping all formats enabled.
The UTF8 options are vendored from utf8cpp. While this header only
library can be installed into the system, it is not supported by the
author [2] and it should be vendored. Therefore don't create a separate
rule for utf8cpp and let taglib use it's vendored version.
The bindings option has been disabled, as it doesn't seem to be
required by gst-plugins-good1.
As the MPL license was included in the license files, but not the
license, the tag.h file header was inspected. It states that it
can either be licensed under the LGPL or the MPL and all other files
seem to share this OR relation. Also it doesn't mention the
"or later" phrase for the LGPL, therefore change the license to
LGPL-2.1-only.
https://mail.kde.org/pipermail/taglib-devel/2024-January/003075.html
https://mail.kde.org/pipermail/taglib-devel/2024-March/003079.html
https://mail.kde.org/pipermail/taglib-devel/2024-August/003081.html
https://mail.kde.org/pipermail/taglib-devel/2025-May/003096.html
https://mail.kde.org/pipermail/taglib-devel/2025-June/003103.html
[1] https://github.com/taglib/taglib/commit/ee1931b81116cd0091c906896f6f4fb74850be51
[2] https://github.com/nemtrif/utfcpp/blob/961e7a3e9b3c44c3f09a651694415030a4019bc2/README.md?plain=1#L121
Signed-off-by: Sven Püschel <s.pueschel@pengutronix.de>
---
rules/libtag.make | 23 +++++++++++++++++++----
1 file changed, 19 insertions(+), 4 deletions(-)
diff --git a/rules/libtag.make b/rules/libtag.make
index 8d26a56da..a31802ee2 100644
--- a/rules/libtag.make
+++ b/rules/libtag.make
@@ -14,15 +14,16 @@ PACKAGES-$(PTXCONF_LIBTAG) += libtag
#
# Paths and names
#
-LIBTAG_VERSION := 1.13.1
-LIBTAG_MD5 := 2fe6089da73ad414aa1b982b83415362
+LIBTAG_VERSION := 2.1.1
+LIBTAG_MD5 := 9feffe76b4643eb724185310879c3123
LIBTAG := taglib-$(LIBTAG_VERSION)
LIBTAG_SUFFIX := tar.gz
LIBTAG_URL := https://taglib.org/releases/$(LIBTAG).$(LIBTAG_SUFFIX)
LIBTAG_SOURCE := $(SRCDIR)/$(LIBTAG).$(LIBTAG_SUFFIX)
LIBTAG_DIR := $(BUILDDIR)/$(LIBTAG)
-LIBTAG_LICENSE := LGPL-2.1-or-later
+LIBTAG_LICENSE := LGPL-2.1-only OR MPL-1.1
LIBTAG_LICENSE_FILES := \
+ file://taglib/tag.h;startline=6;endline=24;md5=2e05d2813b45b33c4853a90dd4c161ed \
file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \
file://COPYING.MPL;md5=bfe1f75d606912a4111c90743d6c7325
@@ -33,9 +34,23 @@ LIBTAG_LICENSE_FILES := \
LIBTAG_CONF_TOOL := cmake
LIBTAG_CONF_OPT := \
$(CROSS_CMAKE_USR) \
+ -DBUILD_BINDINGS=OFF \
+ -DBUILD_EXAMPLES=OFF \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_TESTING=OFF \
- -DBUILD_EXAMPLES=OFF \
+ -DTRACE_IN_RELEASE=OFF \
+ -DUTF8_INSTALL=OFF \
+ -DUTF8_SAMPLES=OFF \
+ -DUTF8_TESTS=OFF \
+ -DWITH_APE=ON \
+ -DWITH_ASF=ON \
+ -DWITH_DSF=ON \
+ -DWITH_MOD=ON \
+ -DWITH_MP4=ON \
+ -DWITH_RIFF=ON \
+ -DWITH_SHORTEN=ON \
+ -DWITH_TRUEAUDIO=ON \
+ -DWITH_VORBIS=ON \
-DWITH_ZLIB=$(call ptx/onoff, PTXCONF_LIBTAG_ZLIB)
# ----------------------------------------------------------------------------
--
2.47.3
reply other threads:[~2025-10-24 8:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251024080501.3278561-1-s.pueschel@pengutronix.de \
--to=s.pueschel@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox