Skip to contentSkip to conversation

libcdio: upgrade 2.1.0 -> 2.2.0

PATCH New [email protected] 1 participant 2 messages Nov 4, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libcdio: upgrade 2.1.0 -> 2.2.0

From: Ankur Tyagi <[email protected]>

* The project switched to storing their releases on Github
* Dropped patches which are now merged in the upstream
* There is API, ABI change between 2.1.0 and 2.1.1
- API change: Rename some fields in ecma_167.h from integer (prefix i_) to unsigned (prefix u_) to actually match their type
- ABI change: Add u_su_fields to the end of iso_rock_statbuf_t
- ABI change: Add total_size in the middle of iso9660_stat_t

Changelog:
https://github.com/libcdio/libcdio/releases/tag/2.1.1
https://github.com/libcdio/libcdio/releases/tag/2.2.0

---
 ...-format-security-errors-with-mvprint.patch | 40 -----------------
 ...RCE_PATH-by-dropping-STRIP_FROM_PATH.patch | 43 -------------------
 .../{libcdio_2.1.0.bb => libcdio_2.2.0.bb}    |  9 ++--
 3 files changed, 3 insertions(+), 89 deletions(-)
 delete mode 100644 meta-oe/recipes-multimedia/libcdio/libcdio/0001-Fix-a-few-Werror-format-security-errors-with-mvprint.patch
 delete mode 100644 meta-oe/recipes-multimedia/libcdio/libcdio/Drop-LIBCDIO_SOURCE_PATH-by-dropping-STRIP_FROM_PATH.patch
 rename meta-oe/recipes-multimedia/libcdio/{libcdio_2.1.0.bb => libcdio_2.2.0.bb} (74%)
meta-oe/recipes-multimedia/libcdio/libcdio/0001-Fix-a-few-Werror-format-security-errors-with-mvprint.patch deleted +0 -40
deleted file mode 100644
index 09e7dc3dfb..0000000000
@@ -1,40 +0,0 @@
-From e5e54be286bf6d8336b747503c803750bc674c57 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Sat, 30 Oct 2021 01:28:18 -0700
-Subject: [PATCH] Fix a few -Werror=format-security errors with mvprintw()
-
-In all these places a non-constant is used as a format string which
-compiler complains about. Fix by using "%s" as format.
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <[email protected]>
----
- src/cdda-player.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/cdda-player.c b/src/cdda-player.c
-index 69eddee..8834d60 100644
---- a/src/cdda-player.c
-+++ b/src/cdda-player.c
-@@ -298,7 +298,7 @@ action(const char *psz_action)
-              psz_action);
-   else
-     snprintf(psz_action_line, sizeof(psz_action_line), "%s", "" );
--  mvprintw(LINE_ACTION, 0, psz_action_line);
-+  mvprintw(LINE_ACTION, 0, "%s", psz_action_line);
-   clrtoeol();
-   refresh();
- }
-@@ -1029,10 +1029,10 @@ display_tracks(void)
-       }
-       if (sub.track == i) {
-         attron(A_STANDOUT);
--        mvprintw(i_line++, 0, line);
-+        mvprintw(i_line++, 0, "%s", line);
-         attroff(A_STANDOUT);
-       } else
--        mvprintw(i_line++, 0, line);
-+        mvprintw(i_line++, 0, "%s", line);
-       clrtoeol();
-     }
-   }
meta-oe/recipes-multimedia/libcdio/libcdio/Drop-LIBCDIO_SOURCE_PATH-by-dropping-STRIP_FROM_PATH.patch deleted +0 -43

43 lines not on this page · raw message

meta-oe/recipes-multimedia/libcdio/libcdio_2.2.0.bb renamed from meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb +3 -6
similarity index 74%
rename from meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb
rename to meta-oe/recipes-multimedia/libcdio/libcdio_2.2.0.bb
index d986f90d72..c443d9b891 100644
@@ -4,14 +4,11 @@ SECTION = "libs"
 LICENSE = "GPL-3.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
-SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.bz2 \
-           file://0001-Fix-a-few-Werror-format-security-errors-with-mvprint.patch \
-           file://Drop-LIBCDIO_SOURCE_PATH-by-dropping-STRIP_FROM_PATH.patch \
-           "
+SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.bz2"
 
-SRC_URI[sha256sum] = "8550e9589dbd594bfac93b81ecf129b1dc9d0d51e90f9696f1b2f9b2af32712b"
+SRC_URI[sha256sum] = "6f8fbdf4d189cf63f2a7a1549c516cd720c7b222c7aaadbc924a26e745a48539"
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig github-releases
 
 PACKAGECONFIG ??= "cdda-player"
 PACKAGECONFIG[cdda-player] = "--with-cdda-player,--without-cdda-player,ncurses"
#1 lore raw

PATCH 2/2 libcdio-paranoia: upgrade 10.2+2.0.1 -> 10.2+2.0.2

From: Ankur Tyagi <[email protected]>

The project switched to storing their releases on Github.

Changelog:
https://github.com/libcdio/libcdio-paranoia/releases/tag/release-10.2%2B2.0.2

---
 ...a_10.2+2.0.1.bb => libcdio-paranoia_10.2+2.0.2.bb} | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
 rename meta-oe/recipes-multimedia/libcdio/{libcdio-paranoia_10.2+2.0.1.bb => libcdio-paranoia_10.2+2.0.2.bb} (67%)
meta-oe/recipes-multimedia/libcdio/libcdio-paranoia_10.2+2.0.2.bb renamed from meta-oe/recipes-multimedia/libcdio/libcdio-paranoia_10.2+2.0.1.bb +6 -5
similarity index 67%
rename from meta-oe/recipes-multimedia/libcdio/libcdio-paranoia_10.2+2.0.1.bb
rename to meta-oe/recipes-multimedia/libcdio/libcdio-paranoia_10.2+2.0.2.bb
index 42507051f6..b880f3f090 100644
@@ -1,18 +1,19 @@
 SUMMARY = "library to read digital audio CDs with error correction"
 HOMEPAGE = "http://www.gnu.org/software/libcdio/"
-BUGTRUCKER = "https://github.com/rocky/libcdio-paranoia/issues/"
+BUGTRUCKER = "https://github.com/libcdio/libcdio-paranoia/issues"
 SECTION = "libs"
 LICENSE = "GPL-3.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 DEPENDS = "libcdio"
 
-SRC_URI = "${GNU_MIRROR}/libcdio/${BP}.tar.bz2"
-SRC_URI[sha256sum] = "33b1cf305ccfbfd03b43936975615000ce538b119989c4bec469577570b60e8a"
+SRC_URI = "${GITHUB_BASE_URI}/download/release-${PV}/${BP}.tar.bz2"
+SRC_URI[sha256sum] = "186892539dedd661276014d71318c8c8f97ecb1250a86625256abd4defbf0d0c"
+
+GITHUB_BASE_URI = "https://github.com/libcdio/${BPN}/releases/"
 
-UPSTREAM_CHECK_URI = "https://github.com/rocky/libcdio-paranoia/releases"
 UPSTREAM_CHECK_REGEX = "release-(?P<pver>\d+(\.\d+)+\+\d+(\.\d+)+)"
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig github-releases
 
 PACKAGES += "${PN}-utils"