Skip to contentSkip to conversation

libsamplerate0: Set correct soname for 0.1.9

PATCH In review Tom Pollard 2 participants 4 messages Sep 24, 2021 – Sep 27, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libsamplerate0: Set correct soname for 0.1.9

Manually patch SHARED_VERSION_INFO, which was missed in the 0.1.9 release and later incorrectly fixed until 0.2.1

---
 .../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
meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch new file +13 -0
new file mode 100644
index 0000000000..b42d564b4b
@@ -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"
+ 
+ 
+ 
meta/recipes-multimedia/libsamplerate/libsamplerate0_0.1.9.bb +1 -0
index 6dfc42b436..8345d6880f 100644
@@ -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"
Signature · 1 line
2.30.2
#1 lore raw
Quoted 17 lines · Tom Pollard

Manually patch SHARED_VERSION_INFO, which was missed in the 0.1.9 release and later incorrectly fixed until 0.2.1

---
  .../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

meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch new file +1 -0
new file mode 100644
index 0000000000..b42d564b4b
@@ -0,0 +1,13 @@
+Index: libsamplerate-0.1.8/configure.ac

meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch line 11

Quoted 10 lines
meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch new file +10 -0
+===================================================================
+--- 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.

Quoted 25 lines
meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch new file +2 -0
+
+
meta/recipes-multimedia/libsamplerate/libsamplerate0_0.1.9.bb +1 -1
index 6dfc42b436..8345d6880f 100644
@@ -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 (#156294): https://lists.openembedded.org/g/openembedded-core/message/156294
Mute This Topic: https://lists.openembedded.org/mt/85838060/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

Hi Khem,

Quoted 25 lines · Khem Raj
Quoted 22 lines · Tom Pollard

Manually patch SHARED_VERSION_INFO, which was missed in the 0.1.9 release and later incorrectly fixed until 0.2.1

---
  .../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

meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch new file +6 -0
new file mode 100644
index 0000000000..b42d564b4b
@@ -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
Quoted 8 lines

meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch line 11

Quoted 5 lines
meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch new file +5 -0
+ #     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 30 lines
Quoted 30 lines
meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch new file +2 -0
+
+
meta/recipes-multimedia/libsamplerate/libsamplerate0_0.1.9.bb +1 -1
index 6dfc42b436..8345d6880f 100644
@@ -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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 1 line
https://www.codethink.co.uk/privacy.html
#3 lore raw
Quoted 37 lines · Tom Pollard

Hi Khem,

Quoted 25 lines · Khem Raj
Quoted 22 lines · Tom Pollard

Manually patch SHARED_VERSION_INFO, which was missed in the 0.1.9 release and later incorrectly fixed until 0.2.1

---
   .../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

meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch new file +6 -0
new file mode 100644
index 0000000000..b42d564b4b
@@ -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
Quoted 8 lines

meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch line 11

Quoted 5 lines
meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch new file +5 -0
+ #     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.

Quoted 8 lines

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.

I see thanks for update. This is fine interim fix then.

Quoted 32 lines
Quoted 31 lines
Quoted 31 lines
meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch new file +2 -0
+
+
meta/recipes-multimedia/libsamplerate/libsamplerate0_0.1.9.bb +1 -1
index 6dfc42b436..8345d6880f 100644
@@ -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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-