Skip to contentSkip to conversation

libmng: correct version of libmng

PATCH In review [email protected] 3 participants 5 messages Dec 3, 2025 – Dec 4, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libmng: correct version of libmng

From: Changqing Li <[email protected]>

Current version is 2.0.3, the lastrelease of libmng is in 2015, add a patch to fix it

---
 ...0001-configura.ac-update-the-version.patch | 32 +++++++++++++++++++
 .../recipes-graphics/libmng/libmng_2.0.3.bb   |  3 +-
 2 files changed, 34 insertions(+), 1 deletion(-)
 create mode 100644 meta-oe/recipes-graphics/libmng/libmng/0001-configura.ac-update-the-version.patch
meta-oe/recipes-graphics/libmng/libmng/0001-configura.ac-update-the-version.patch new file +32 -0
new file mode 100644
index 0000000000..f0f644f807
@@ -0,0 +1,32 @@
+From 8bf709daf0fe0657b55dad50a3a04854140c69a3 Mon Sep 17 00:00:00 2001
+From: Changqing Li <[email protected]>
+Date: Wed, 3 Dec 2025 13:57:39 +0800
+Subject: [PATCH] configura.ac: update the version
+
+current version is 2.0.3
+
+Upstream-Status: Inactive-Upstream [ lastrelease: 2015-04-20 ]
+
+https://sourceforge.net/projects/libmng/files/libmng-devel/
+
+Signed-off-by: Changqing Li <[email protected]>
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 04f9c7a..a7ca9d8 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -3,7 +3,7 @@ AC_PREREQ(2.65)
+ #
+ define([MAJ_NR],[2])
+ define([MIN_NR],[0])
+-define([REL_NR],[2])
++define([REL_NR],[3])
+ #
+ #AC_INIT (PACKAGE, VERSION, [BUG-REPORT], [TARNAME], [URL])
+ AC_INIT( [libmng],[MAJ_NR.MIN_NR.REL_NR],
+-- 
+2.34.1
+
meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb +2 -1
index c92696b8bf..fe76520d15 100644
@@ -8,7 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=32becdb8930f90eab219a8021130ec09"
 SECTION = "devel"
 DEPENDS = "zlib"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \
+           file://0001-configura.ac-update-the-version.patch"
 
 SRC_URI[sha256sum] = "cf112a1fb02f5b1c0fce5cab11ea8243852c139e669c44014125874b14b7dfaa"
 
Signature · 1 line
2.34.1
#1 lore raw
Quoted 5 lines · Changqing Li via lists.openembedded.org

From: Changqing Li <[email protected]>

Current version is 2.0.3, the lastrelease of libmng is in 2015, add a patch to fix it

Last release a decade ago, for a image format that was designed to replace GIF, but no browsers actually support, and has been superseded by APNG which is supported by all browsers and a W3C Recommendation?

Sounds like the follow-up patch to this cleanup should be to delete the recipe…

Ross

#2 lore raw
Quoted 11 lines · Ross Burton

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.

Quoted 4 lines · Changqing Li via lists.openembedded.org

From: Changqing Li<[email protected]>

Current version is 2.0.3, the lastrelease of libmng is in 2015, add a patch to fix it

Last release a decade ago, for a image format that was designed to replace GIF, but no browsers actually support, and has been superseded by APNG which is supported by all browsers and a W3C Recommendation?

Sounds like the follow-up patch to this cleanup should be to delete the recipe…

Thanks for sharing the background.

I searched under meta-openembeded, there is one recipe might depend on this.

https://git.openembedded.org/meta-openembedded/tree/meta-gnome/recipes-gimp/gimp/gimp_3.0.6.bb?id=1d3c3ad93c962ee1c27d88076b63d08e53c8b318#n80

Another recipe that depend on this:

https://code.qt.io/cgit/yocto/meta-qt6.git/tree/recipes-qt/qt6/qtimageformats_git.bb?h=6.10#n19

Seems we cannot delete the recipe unless we don't support those PACKAGECONFIG mng.

//Changqing

Quoted 2 lines

Ross

#3 lore raw
Quoted 18 lines · Changqing Li
Quoted 12 lines · Ross Burton

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.

Quoted 5 lines · Changqing Li via lists.openembedded.org

From: Changqing Li <[email protected]>

Current version is 2.0.3, the lastrelease of libmng is in 2015, add a patch to fix it

Last release a decade ago, for a image format that was designed to replace GIF, but no browsers actually support, and has been superseded by APNG which is supported by all browsers and a W3C Recommendation?

Quoted 8 lines
Quoted 1 line

Sounds like the follow-up patch to this cleanup should be to delete the recipe…

Thanks for sharing the background.
I searched under meta-openembeded, there is one recipe might depend on this.
https://git.openembedded.org/meta-openembedded/tree/meta-gnome/recipes-gimp/gimp/gimp_3.0.6.bb?id=1d3c3ad93c962ee1c27d88076b63d08e53c8b318#n80
Another recipe that depend on this:
https://code.qt.io/cgit/yocto/meta-qt6.git/tree/recipes-qt/qt6/qtimageformats_git.bb?h=6.10#n19
Seems we cannot delete the recipe unless we don't support those PACKAGECONFIG mng. //Changqing

The gimp option is easily removed (or at least, disabled by default) in the same patch set, and meta-qt will just have to update. MNG _is_ dead, so there’s no reason to keep the code around in our layers.

Ross

#4 lore raw
Quoted 32 lines · Ross Burton via lists.openembedded.org
Quoted 3 lines

On 4 Dec 2025, at 02:35, Changqing Li <[email protected]>

Quoted 5 lines · wrote:
Quoted 2 lines · Ross Burton

CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender

and know the content is safe.

Quoted 2 lines
Quoted 2 lines

On 3 Dec 2025, at 09:03, Changqing Li via lists.openembedded.org <

Quoted 7 lines · [email protected]> wrote:
Quoted 7 lines
Quoted 6 lines

From: Changqing Li <[email protected]>

Current version is 2.0.3, the lastrelease of libmng is in 2015, add a patch to fix it

Last release a decade ago, for a image format that was designed to

replace GIF, but no browsers actually support, and has been superseded by APNG which is supported by all browsers and a W3C Recommendation?

Quoted 2 lines
Quoted 2 lines

Sounds like the follow-up patch to this cleanup should be to delete the

recipe…

Quoted 2 lines

Thanks for sharing the background.
I searched under meta-openembeded, there is one recipe might depend on

this.

Quoted 1 line

https://git.openembedded.org/meta-openembedded/tree/meta-gnome/recipes-gimp/gimp/gimp_3.0.6.bb?id=1d3c3ad93c962ee1c27d88076b63d08e53c8b318#n80

Quoted 2 lines

Another recipe that depend on this:

Quoted 10 lines

https://code.qt.io/cgit/yocto/meta-qt6.git/tree/recipes-qt/qt6/qtimageformats_git.bb?h=6.10#n19

Quoted 1 line

Seems we cannot delete the recipe unless we don't support those

PACKAGECONFIG mng.

Quoted 1 line

//Changqing

The gimp option is easily removed (or at least, disabled by default) in the same patch set, and meta-qt will just have to update. MNG _is_ dead, so there’s no reason to keep the code around in our layers.

There was a need of it in webkit too IIRC in past.
I agree, for now I have moved with the patch and if we can get more awareness of its removal then perhaps we should revisit and remove it.

Quoted 12 lines

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#122318):
https://lists.openembedded.org/g/openembedded-devel/message/122318
Mute This Topic: https://lists.openembedded.org/mt/116591341/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-