Thread (4 messages) 4 messages, 2 authors, 2021-09-27

Re: [OE-core] [PATCH] libsamplerate0: Set correct soname for 0.1.9

From: Tom Pollard <hidden>
Date: 2021-09-27 11:10:47

Hi Khem,

On 24/09/2021 17:15, Khem Raj wrote:

On 9/24/21 5:47 AM, Tom Pollard wrote:
quoted
Manually patch SHARED_VERSION_INFO, which was missed in
the 0.1.9 release and later incorrectly fixed until 0.2.1

Signed-off-by: Tom Pollard <redacted>
---
  .../libsamplerate0/shared_version_info.patch        | 13 +++++++++++++
  .../libsamplerate/libsamplerate0_0.1.9.bb           |  1 +
  2 files changed, 14 insertions(+)
  create mode 100644 meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch
diff --git a/meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch b/meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch
new file mode 100644
index 0000000000..b42d564b4b
--- /dev/null
+++ b/meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch
@@ -0,0 +1,13 @@
+Index: libsamplerate-0.1.8/configure.ac
+===================================================================
+--- libsamplerate-0.1.8.orig/configure.ac
++++ libsamplerate-0.1.8/configure.ac
+@@ -53,7 +53,7 @@ AC_PROG_LN_S
+ #  6. If any interfaces have been removed since the last public release, then set age
+ #     to 0.
+
+-SHARED_VERSION_INFO="1:8:1"
++SHARED_VERSION_INFO="1:9:1"
+
it can be synthesized from PV, that will be better, since we dont have 
to change it manually everytime version upgrade is done.
This patch is only required for this specific 0.1.9 release, it was
incorrectly 'fixed' across a number of commits going into the following
release 0.2.0, which is marked as do not use because of the issue:

https://github.com/libsndfile/libsamplerate/releases/tag/0.2.0

Once the recipe is bumped to the next release 0.2.1 and thus targets
github releases it the patch be dropped.
quoted
+
+
diff --git a/meta/recipes-multimedia/libsamplerate/libsamplerate0_0.1.9.bb b/meta/recipes-multimedia/libsamplerate/libsamplerate0_0.1.9.bb
index 6dfc42b436..8345d6880f 100644
--- a/meta/recipes-multimedia/libsamplerate/libsamplerate0_0.1.9.bb
+++ b/meta/recipes-multimedia/libsamplerate/libsamplerate0_0.1.9.bb
@@ -10,6 +10,7 @@ PR = "r1"
  
  SRC_URI = "http://www.mega-nerd.com/SRC/libsamplerate-${PV}.tar.gz \
             file://0001-configure.ac-improve-alsa-handling.patch \
+           file://shared_version_info.patch \
  "
  
  SRC_URI[md5sum] = "2b78ae9fe63b36b9fbb6267fad93f259"







-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#156333): https://lists.openembedded.org/g/openembedded-core/message/156333
Mute This Topic: https://lists.openembedded.org/mt/85838060/2167528
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [tom.pollard@codethink.co.uk]
-=-=-=-=-=-=-=-=-=-=-=-
-- 
https://www.codethink.co.uk/privacy.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help