Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] flac: upgrade 1.4.3 -> 1.5.0
@ 2025-02-27 10:34 michael.opdenacker
  2025-03-03 18:09 ` [OE-core] " Ross Burton
  0 siblings, 1 reply; 7+ messages in thread
From: michael.opdenacker @ 2025-02-27 10:34 UTC (permalink / raw)
  To: openembedded-core; +Cc: Michael Opdenacker, Peter Marko

From: Michael Opdenacker <michael.opdenacker@rootcommit.com>

License-Update: GFDL 1.2 -> 1.3, copyright years update

Remove the do_install additional code fixing absolute paths
in doc files. Such files are no longer created on 1.5.0.

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
CC: Peter Marko <peter.marko@siemens.com>
---
 .../flac/{flac_1.4.3.bb => flac_1.5.0.bb}     | 22 +++++++------------
 1 file changed, 8 insertions(+), 14 deletions(-)
 rename meta/recipes-multimedia/flac/{flac_1.4.3.bb => flac_1.5.0.bb} (61%)

diff --git a/meta/recipes-multimedia/flac/flac_1.4.3.bb b/meta/recipes-multimedia/flac/flac_1.5.0.bb
similarity index 61%
rename from meta/recipes-multimedia/flac/flac_1.4.3.bb
rename to meta/recipes-multimedia/flac/flac_1.5.0.bb
index 87b67bee1f..ce86779ff8 100644
--- a/meta/recipes-multimedia/flac/flac_1.4.3.bb
+++ b/meta/recipes-multimedia/flac/flac_1.5.0.bb
@@ -3,17 +3,18 @@ DESCRIPTION = "FLAC stands for Free Lossless Audio Codec, a lossless audio compr
 HOMEPAGE = "https://xiph.org/flac/"
 BUGTRACKER = "https://github.com/xiph/flac/issues"
 SECTION = "libs"
-LICENSE = "GFDL-1.2 & GPL-2.0-or-later & LGPL-2.1-or-later & BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://COPYING.FDL;md5=ad1419ecc56e060eccf8184a87c4285f \
-                    file://src/Makefile.am;beginline=1;endline=17;md5=b1dab2704be7f01bfbd9b7f6d5f000a9 \
+LICENSE = "GFDL-1.3 & GPL-2.0-or-later & LGPL-2.1-or-later & BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://COPYING.FDL;md5=802e79e394e372d01e863e3f4058cf40 \
+                    file://src/Makefile.am;beginline=1;endline=17;md5=9c882153132df8f3a1cb1a8ca1f2350f \
                     file://COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
-                    file://src/flac/main.c;beginline=1;endline=18;md5=23099119c034d894bd1bf7ef5bd22101 \
+                    file://src/flac/main.c;beginline=1;endline=18;md5=1e826b5083ba1e028852fe7ceec6a8ad \
                     file://COPYING.LGPL;md5=fbc093901857fcd118f065f900982c24 \
-                    file://COPYING.Xiph;md5=0c90e41ab2fa7e69ca9391330d870221 \
-                    file://include/FLAC/all.h;beginline=65;endline=70;md5=39aaf5e03c7364363884c8b8ddda8eea"
+                    file://COPYING.Xiph;md5=78a131b2ea50675d245d280ccc34f8b6 \
+                    file://include/FLAC/all.h;beginline=65;endline=70;md5=39aaf5e03c7364363884c8b8ddda8eea \
+                    "
 
 SRC_URI = "http://downloads.xiph.org/releases/flac/${BP}.tar.xz"
-SRC_URI[sha256sum] = "6c58e69cd22348f441b861092b825e591d0b822e106de6eb0ee4d05d27205b70"
+SRC_URI[sha256sum] = "f2c1c76592a82ffff8413ba3c4a1299b6c7ab06c734dee03fd88630485c2b920"
 
 CVE_PRODUCT = "libflac flac"
 
@@ -34,10 +35,3 @@ PACKAGES += "libflac libflac++"
 FILES:${PN} = "${bindir}/*"
 FILES:libflac = "${libdir}/libFLAC.so.*"
 FILES:libflac++ = "${libdir}/libFLAC++.so.*"
-
-do_install:append() {
-    # make the links in documentation relative to avoid buildpaths reproducibility problem
-    sed -i "s#${S}/include#${includedir}#g" ${D}${docdir}/flac/FLAC.tag ${D}${docdir}/flac/api/*.html
-    # there is also one root path without trailing slash
-    sed -i "s#${S}#/#g" ${D}${docdir}/flac/api/*.html
-}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [OE-core] [PATCH] flac: upgrade 1.4.3 -> 1.5.0
  2025-02-27 10:34 [PATCH] flac: upgrade 1.4.3 -> 1.5.0 michael.opdenacker
@ 2025-03-03 18:09 ` Ross Burton
  2025-03-10 10:24   ` Michael Opdenacker
       [not found]   ` <182B6A0A5335D3D3.31525@lists.openembedded.org>
  0 siblings, 2 replies; 7+ messages in thread
From: Ross Burton @ 2025-03-03 18:09 UTC (permalink / raw)
  To: michael.opdenacker@rootcommit.com
  Cc: openembedded-core@lists.openembedded.org, Peter Marko

On 27 Feb 2025, at 10:34, Michael Opdenacker via lists.openembedded.org <michael.opdenacker=rootcommit.com@lists.openembedded.org> wrote:
> 
> From: Michael Opdenacker <michael.opdenacker@rootcommit.com>
> 
> License-Update: GFDL 1.2 -> 1.3, copyright years update
> 
> Remove the do_install additional code fixing absolute paths
> in doc files. Such files are no longer created on 1.5.0.

I asked myself why these files are no longer created, and luckily the autobuilder had already done the build and comparison for me:

https://git.yoctoproject.org/poky-buildhistory/diff/packages/cortexa15t2hf-neon-poky-linux-gnueabi/flac/flac-doc/latest?h=poky/master-next/qemuarm-alt&id=6c8904bceaa1987edffc16823c12b43e86384dea

-PKGSIZE = 5362415
+PKGSIZE = 87538

The files are no longer created because none of the documentation is installed anymore.

This turns out to be a bug in the configure.ac script:

https://lists.xiph.org/pipermail/flac-dev/2025-February/006698.html

So I suggest we apply that fix and continue installing the documentation.

Also, whilst we’re here…

>                ac_cv_prog_NASM="” \

The nasm code was removed in 1.4.2, so you can delete this line.

Ross


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [OE-core] [PATCH] flac: upgrade 1.4.3 -> 1.5.0
  2025-03-03 18:09 ` [OE-core] " Ross Burton
@ 2025-03-10 10:24   ` Michael Opdenacker
  2025-03-28 11:04     ` Michael Opdenacker
       [not found]   ` <182B6A0A5335D3D3.31525@lists.openembedded.org>
  1 sibling, 1 reply; 7+ messages in thread
From: Michael Opdenacker @ 2025-03-10 10:24 UTC (permalink / raw)
  To: Ross Burton
  Cc: michael.opdenacker, openembedded-core@lists.openembedded.org,
	Peter Marko

Hi Ross

Thanks for having a look at my patch and finding out why the 
documentation is broken.

On 3/3/25 19:09, Ross Burton wrote:
> On 27 Feb 2025, at 10:34, Michael Opdenacker via lists.openembedded.org <michael.opdenacker=rootcommit.com@lists.openembedded.org> wrote:
>> From: Michael Opdenacker <michael.opdenacker@rootcommit.com>
>>
>> License-Update: GFDL 1.2 -> 1.3, copyright years update
>>
>> Remove the do_install additional code fixing absolute paths
>> in doc files. Such files are no longer created on 1.5.0.
> I asked myself why these files are no longer created, and luckily the autobuilder had already done the build and comparison for me:
>
> https://git.yoctoproject.org/poky-buildhistory/diff/packages/cortexa15t2hf-neon-poky-linux-gnueabi/flac/flac-doc/latest?h=poky/master-next/qemuarm-alt&id=6c8904bceaa1987edffc16823c12b43e86384dea
>
> -PKGSIZE = 5362415
> +PKGSIZE = 87538
>
> The files are no longer created because none of the documentation is installed anymore.
>
> This turns out to be a bug in the configure.ac script:
>
> https://lists.xiph.org/pipermail/flac-dev/2025-February/006698.html
>
> So I suggest we apply that fix and continue installing the documentation.


Good catch, I'll take care of it.

>
> Also, whilst we’re here…
>
>>                 ac_cv_prog_NASM="” \
> The nasm code was removed in 1.4.2, so you can delete this line.

Great, will do it too.
More soon...
Thanks again!
Michael.

-- 
Michael Opdenacker
Root Commit
Yocto Project and OpenEmbedded Training course - Learn by doing:
https://rootcommit.com/training/yocto/



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [OE-core] [PATCH] flac: upgrade 1.4.3 -> 1.5.0
       [not found]   ` <182B6A0A5335D3D3.31525@lists.openembedded.org>
@ 2025-03-16 17:38     ` Michael Opdenacker
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Opdenacker @ 2025-03-16 17:38 UTC (permalink / raw)
  To: Ross Burton
  Cc: michael.opdenacker, openembedded-core@lists.openembedded.org,
	Peter Marko

Greetings,

On 3/10/25 11:24, Michael Opdenacker via lists.openembedded.org wrote:
> Hi Ross
>
> Thanks for having a look at my patch and finding out why the 
> documentation is broken.
>
> On 3/3/25 19:09, Ross Burton wrote:
>> On 27 Feb 2025, at 10:34, Michael Opdenacker via 
>> lists.openembedded.org 
>> <michael.opdenacker=rootcommit.com@lists.openembedded.org> wrote:
>>> From: Michael Opdenacker <michael.opdenacker@rootcommit.com>
>>>
>>> License-Update: GFDL 1.2 -> 1.3, copyright years update
>>>
>>> Remove the do_install additional code fixing absolute paths
>>> in doc files. Such files are no longer created on 1.5.0.
>> I asked myself why these files are no longer created, and luckily the 
>> autobuilder had already done the build and comparison for me:
>>
>> https://git.yoctoproject.org/poky-buildhistory/diff/packages/cortexa15t2hf-neon-poky-linux-gnueabi/flac/flac-doc/latest?h=poky/master-next/qemuarm-alt&id=6c8904bceaa1987edffc16823c12b43e86384dea 
>>
>>
>> -PKGSIZE = 5362415
>> +PKGSIZE = 87538
>>
>> The files are no longer created because none of the documentation is 
>> installed anymore.
>>
>> This turns out to be a bug in the configure.ac script:
>>
>> https://lists.xiph.org/pipermail/flac-dev/2025-February/006698.html
>>
>> So I suggest we apply that fix and continue installing the 
>> documentation.
>
>
> Good catch, I'll take care of it.
>
>>
>> Also, whilst we’re here…
>>
>>>                 ac_cv_prog_NASM="” \
>> The nasm code was removed in 1.4.2, so you can delete this line.
>
> Great, will do it too.


I have a patch for upstream, but even though the documentation gets 
generated, there are still issues in it:
https://lists.xiph.org/pipermail/flac-dev/2025-March/006705.html

Shall I submit a new version of the recipe for 1.5.0 to allow people to 
test and use it, even if there are remaining issues in the docs?
Cheers
Michael.

-- 
Michael Opdenacker
Root Commit
Yocto Project and OpenEmbedded Training course - Learn by doing:
https://rootcommit.com/training/yocto/



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [OE-core] [PATCH] flac: upgrade 1.4.3 -> 1.5.0
  2025-03-10 10:24   ` Michael Opdenacker
@ 2025-03-28 11:04     ` Michael Opdenacker
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Opdenacker @ 2025-03-28 11:04 UTC (permalink / raw)
  To: Ross Burton
  Cc: michael.opdenacker, openembedded-core@lists.openembedded.org,
	Peter Marko

Hi Ross

On 3/10/25 11:24, Michael Opdenacker wrote:
> Hi Ross
>
> Thanks for having a look at my patch and finding out why the 
> documentation is broken.
>
> On 3/3/25 19:09, Ross Burton wrote:
>> On 27 Feb 2025, at 10:34, Michael Opdenacker via 
>> lists.openembedded.org 
>> <michael.opdenacker=rootcommit.com@lists.openembedded.org> wrote:
>>> From: Michael Opdenacker <michael.opdenacker@rootcommit.com>
>>>
>>> License-Update: GFDL 1.2 -> 1.3, copyright years update
>>>
>>> Remove the do_install additional code fixing absolute paths
>>> in doc files. Such files are no longer created on 1.5.0.
>> I asked myself why these files are no longer created, and luckily the 
>> autobuilder had already done the build and comparison for me:
>>
>> https://git.yoctoproject.org/poky-buildhistory/diff/packages/cortexa15t2hf-neon-poky-linux-gnueabi/flac/flac-doc/latest?h=poky/master-next/qemuarm-alt&id=6c8904bceaa1987edffc16823c12b43e86384dea 
>>
>>
>> -PKGSIZE = 5362415
>> +PKGSIZE = 87538
>>
>> The files are no longer created because none of the documentation is 
>> installed anymore.
>>
>> This turns out to be a bug in the configure.ac script:
>>
>> https://lists.xiph.org/pipermail/flac-dev/2025-February/006698.html
>>
>> So I suggest we apply that fix and continue installing the 
>> documentation.
>
>
> Good catch, I'll take care of it.


Done at last. There was an issue in the fix but I eventually managed to 
fix it.

Now that the patch has been submitted upstream, I can now fill the 
"Upstream-Status" property :)

>
>>
>> Also, whilst we’re here…
>>
>>>                 ac_cv_prog_NASM="” \
>> The nasm code was removed in 1.4.2, so you can delete this line.

Done too.
New patch coming soon.
Thanks
Michael.

-- 
Michael Opdenacker
Root Commit
Yocto Project and OpenEmbedded Training course - Learn by doing:
https://rootcommit.com/training/yocto/



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [OE-core] [PATCH] flac: upgrade 1.4.3 -> 1.5.0
  2025-03-28 21:59 michael.opdenacker
@ 2025-03-31  8:55 ` Quentin Schulz
  2025-03-31  9:04   ` Michael Opdenacker
  0 siblings, 1 reply; 7+ messages in thread
From: Quentin Schulz @ 2025-03-31  8:55 UTC (permalink / raw)
  To: michael.opdenacker, openembedded-core; +Cc: Peter Marko, Ross Burton

Hi Michael,

On 3/28/25 10:59 PM, Michael Opdenacker via lists.openembedded.org wrote:
> From: Michael Opdenacker <michael.opdenacker@rootcommit.com>
> 
> License-Update: GFDL 1.2 -> 1.3, copyright years update
> 
> Add patch that fixes a new documentation generation issue in 1.5.0
> https://github.com/xiph/flac/pull/824
> 
> Remove the check for NASM, no longer used in 1.5.0
> 
> Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
> CC: Peter Marko <peter.marko@siemens.com>
> CC: Ross Burton <Ross.Burton@arm.com>
> ---
>   ...n-replace-modules.html-by-topics.htm.patch | 45 +++++++++++++++++++
>   .../flac/{flac_1.4.3.bb => flac_1.5.0.bb}     | 20 +++++----
>   2 files changed, 56 insertions(+), 9 deletions(-)
>   create mode 100644 meta/recipes-multimedia/flac/flac/0001-API-documentation-replace-modules.html-by-topics.htm.patch
>   rename meta/recipes-multimedia/flac/{flac_1.4.3.bb => flac_1.5.0.bb} (70%)
> 
> diff --git a/meta/recipes-multimedia/flac/flac/0001-API-documentation-replace-modules.html-by-topics.htm.patch b/meta/recipes-multimedia/flac/flac/0001-API-documentation-replace-modules.html-by-topics.htm.patch
> new file mode 100644
> index 0000000000..31ca645c27
> --- /dev/null
> +++ b/meta/recipes-multimedia/flac/flac/0001-API-documentation-replace-modules.html-by-topics.htm.patch
> @@ -0,0 +1,45 @@
> +From 6ad5b6a9ce81383ef75e6f7b88f54d3c29294e63 Mon Sep 17 00:00:00 2001
> +From: Michael Opdenacker <michael.opdenacker@rootcommit.com>
> +Date: Sat, 15 Mar 2025 11:50:08 +0100
> +Subject: [PATCH] API documentation: replace modules.html by topics.html
> +
> +This fixes the issue reported on
> +https://lists.xiph.org/pipermail/flac-dev/2025-February/006696.html
> +
> +Newer Doxygen versions call what was previously api/modules.html
> +api/topics.html instead.
> +
> +Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
> +Suggested-by: Christian Weisgerber <naddy@mips.inka.de>
> +Upstream-Status: Submitted [flac-dev@xiph.org]

https://github.com/xiph/flac/pull/824 so we can follow its status easily?

Cheers,
Quentin


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [OE-core] [PATCH] flac: upgrade 1.4.3 -> 1.5.0
  2025-03-31  8:55 ` [OE-core] " Quentin Schulz
@ 2025-03-31  9:04   ` Michael Opdenacker
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Opdenacker @ 2025-03-31  9:04 UTC (permalink / raw)
  To: Quentin Schulz, openembedded-core
  Cc: michael.opdenacker, Peter Marko, Ross Burton

Hi Quentin
Thanks for the review!

On 3/31/25 10:55, Quentin Schulz wrote:
> Hi Michael,
>
> On 3/28/25 10:59 PM, Michael Opdenacker via lists.openembedded.org wrote:
>> From: Michael Opdenacker <michael.opdenacker@rootcommit.com>
>>
>> License-Update: GFDL 1.2 -> 1.3, copyright years update
>>
>> Add patch that fixes a new documentation generation issue in 1.5.0
>> https://github.com/xiph/flac/pull/824
>>
>> Remove the check for NASM, no longer used in 1.5.0
>>
>> Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
>> CC: Peter Marko <peter.marko@siemens.com>
>> CC: Ross Burton <Ross.Burton@arm.com>
>> ---
>>   ...n-replace-modules.html-by-topics.htm.patch | 45 +++++++++++++++++++
>>   .../flac/{flac_1.4.3.bb => flac_1.5.0.bb}     | 20 +++++----
>>   2 files changed, 56 insertions(+), 9 deletions(-)
>>   create mode 100644 
>> meta/recipes-multimedia/flac/flac/0001-API-documentation-replace-modules.html-by-topics.htm.patch
>>   rename meta/recipes-multimedia/flac/{flac_1.4.3.bb => 
>> flac_1.5.0.bb} (70%)
>>
>> diff --git 
>> a/meta/recipes-multimedia/flac/flac/0001-API-documentation-replace-modules.html-by-topics.htm.patch 
>> b/meta/recipes-multimedia/flac/flac/0001-API-documentation-replace-modules.html-by-topics.htm.patch 
>>
>> new file mode 100644
>> index 0000000000..31ca645c27
>> --- /dev/null
>> +++ 
>> b/meta/recipes-multimedia/flac/flac/0001-API-documentation-replace-modules.html-by-topics.htm.patch
>> @@ -0,0 +1,45 @@
>> +From 6ad5b6a9ce81383ef75e6f7b88f54d3c29294e63 Mon Sep 17 00:00:00 2001
>> +From: Michael Opdenacker <michael.opdenacker@rootcommit.com>
>> +Date: Sat, 15 Mar 2025 11:50:08 +0100
>> +Subject: [PATCH] API documentation: replace modules.html by topics.html
>> +
>> +This fixes the issue reported on
>> +https://lists.xiph.org/pipermail/flac-dev/2025-February/006696.html
>> +
>> +Newer Doxygen versions call what was previously api/modules.html
>> +api/topics.html instead.
>> +
>> +Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
>> +Suggested-by: Christian Weisgerber <naddy@mips.inka.de>
>> +Upstream-Status: Submitted [flac-dev@xiph.org]
>
> https://github.com/xiph/flac/pull/824 so we can follow its status easily?

Good idea. I overlooked the possibility to add a link in Upstream-Status.
Thanks
Michael.

-- 
Michael Opdenacker
Root Commit
Yocto Project and OpenEmbedded Training course - Learn by doing:
https://rootcommit.com/training/yocto/



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-03-31  9:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-27 10:34 [PATCH] flac: upgrade 1.4.3 -> 1.5.0 michael.opdenacker
2025-03-03 18:09 ` [OE-core] " Ross Burton
2025-03-10 10:24   ` Michael Opdenacker
2025-03-28 11:04     ` Michael Opdenacker
     [not found]   ` <182B6A0A5335D3D3.31525@lists.openembedded.org>
2025-03-16 17:38     ` Michael Opdenacker
  -- strict thread matches above, loose matches on Subject: below --
2025-03-28 21:59 michael.opdenacker
2025-03-31  8:55 ` [OE-core] " Quentin Schulz
2025-03-31  9:04   ` Michael Opdenacker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox