Skip to contentSkip to conversation

minizip: Add new recipe

PATCH In review [email protected] 3 participants 5 messages Mar 12, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 minizip: Add new recipe

From: Mingli Yu <[email protected]>

minizip [1] uses zlib [2] to support compressed archives.

minizip is not part of zlib, but is included in the zlib distribution [1] as a third-party contribution in the contrib directory.

[1] https://github.com/madler/zlib/tree/master/contrib/minizip
[2] https://github.com/madler/zlib/tree/master

---
 meta-oe/recipes-core/minizip/minizip_1.3.1.bb | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-oe/recipes-core/minizip/minizip_1.3.1.bb
meta-oe/recipes-core/minizip/minizip_1.3.1.bb new file +23 -0
new file mode 100644
index 0000000000..c9c92ad6bd
@@ -0,0 +1,23 @@
+SUMMARY = "Minizip Compression Library"
+DESCRIPTION = "Minizip is a general-purpose, patent-free, lossless data compression \
+library which is used by many different programs."
+HOMEPAGE = "http://www.winimage.com/zLibDll/minizip.html"
+SECTION = "libs"
+LICENSE = "Zlib"
+LIC_FILES_CHKSUM = "file://zip.h;beginline=14;endline=30;md5=8eaa8535a3a1a2296b303f40f75385e7"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/zlib/${PV}/zlib-${PV}.tar.gz"
+UPSTREAM_CHECK_URI = "http://zlib.net/"
+
+S = "${WORKDIR}/zlib-${PV}/contrib/minizip"
+
+SRC_URI[sha256sum] = "9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23"
+
+PACKAGECONFIG ??= "demos"
+PACKAGECONFIG[demos] = "--enable-demos=yes,,,"
+
+DEPENDS = "zlib"
+
+inherit autotools
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.34.1
#1 lore raw

its in meta-qt6, why do we want to promote it here into meta-oe ?

Quoted 59 lines · Mingli via lists.openembedded.org

From: Mingli Yu <[email protected]>

minizip [1] uses zlib [2] to support compressed archives.

minizip is not part of zlib, but is included in the zlib distribution [1] as a third-party contribution in the contrib directory.

[1] https://github.com/madler/zlib/tree/master/contrib/minizip
[2] https://github.com/madler/zlib/tree/master

---
 meta-oe/recipes-core/minizip/minizip_1.3.1.bb | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-oe/recipes-core/minizip/minizip_1.3.1.bb
meta-oe/recipes-core/minizip/minizip_1.3.1.bb new file +23 -1
new file mode 100644
index 0000000000..c9c92ad6bd
@@ -0,0 +1,23 @@
+SUMMARY = "Minizip Compression Library"
+DESCRIPTION = "Minizip is a general-purpose, patent-free, lossless data compression \
+library which is used by many different programs."
+HOMEPAGE = "http://www.winimage.com/zLibDll/minizip.html"
+SECTION = "libs"
+LICENSE = "Zlib"
+LIC_FILES_CHKSUM = "file://zip.h;beginline=14;endline=30;md5=8eaa8535a3a1a2296b303f40f75385e7"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/zlib/${PV}/zlib-${PV}.tar.gz"
+UPSTREAM_CHECK_URI = "http://zlib.net/"
+
+S = "${WORKDIR}/zlib-${PV}/contrib/minizip"
+
+SRC_URI[sha256sum] = "9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23"
+
+PACKAGECONFIG ??= "demos"
+PACKAGECONFIG[demos] = "--enable-demos=yes,,,"
+
+DEPENDS = "zlib"
+
+inherit autotools
+
+BBCLASSEXTEND = "native nativesdk"
--

2.34.1

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

#2 lore raw

Hi Khem,

Quoted 4 lines · Khem Raj

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.

its in meta-qt6, why do we want to promote it here into meta-oe ?

Sorry for the noise!

Adding the minizip recipe to a common layer such as meta-openembedded may be convenient for user who don't want to depend on other layer such as meta-qt6(https://code.qt.io/cgit/yocto/meta-qt6.git/).

Thanks,
Mingli

Quoted 62 lines
Quoted 59 lines · Mingli via lists.openembedded.org

From: Mingli Yu <[email protected]>

minizip [1] uses zlib [2] to support compressed archives.

minizip is not part of zlib, but is included in the zlib distribution [1] as a third-party contribution in the contrib directory.

[1] https://github.com/madler/zlib/tree/master/contrib/minizip
[2] https://github.com/madler/zlib/tree/master

---
  meta-oe/recipes-core/minizip/minizip_1.3.1.bb | 23 +++++++++++++++++++
  1 file changed, 23 insertions(+)

create mode 100644 meta-oe/recipes-core/minizip/minizip_1.3.1.bb

meta-oe/recipes-core/minizip/minizip_1.3.1.bb new file +23 -1
new file mode 100644
index 0000000000..c9c92ad6bd
@@ -0,0 +1,23 @@
+SUMMARY = "Minizip Compression Library"
+DESCRIPTION = "Minizip is a general-purpose, patent-free, lossless data compression \
+library which is used by many different programs."
+HOMEPAGE = "http://www.winimage.com/zLibDll/minizip.html"
+SECTION = "libs"
+LICENSE = "Zlib"
+LIC_FILES_CHKSUM = "file://zip.h;beginline=14;endline=30;md5=8eaa8535a3a1a2296b303f40f75385e7"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/zlib/${PV}/zlib-${PV}.tar.gz"
+UPSTREAM_CHECK_URI = "http://zlib.net/"
+
+S = "${WORKDIR}/zlib-${PV}/contrib/minizip"
+
+SRC_URI[sha256sum] = "9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23"
+
+PACKAGECONFIG ??= "demos"
+PACKAGECONFIG[demos] = "--enable-demos=yes,,,"
+
+DEPENDS = "zlib"
+
+inherit autotools
+
+BBCLASSEXTEND = "native nativesdk"
--

2.34.1

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

#3 lore raw
Quoted 7 lines · Mingli

Hi Khem,

Quoted 3 lines · Khem Raj

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 7 lines
Quoted 1 line

its in meta-qt6, why do we want to promote it here into meta-oe ?

Sorry for the noise!

Adding the minizip recipe to a common layer such as meta-openembedded may be convenient for user who don't want to depend on other layer such as meta-qt6(https://code.qt.io/cgit/yocto/meta-qt6.git/).

Are there use cases where more than meta-qt6 needs it ? that's what I am looking for

Quoted 66 lines

Thanks,
Mingli

Quoted 62 lines
Quoted 59 lines · Mingli via lists.openembedded.org

From: Mingli Yu <[email protected]>

minizip [1] uses zlib [2] to support compressed archives.

minizip is not part of zlib, but is included in the zlib distribution [1] as a third-party contribution in the contrib directory.

[1] https://github.com/madler/zlib/tree/master/contrib/minizip
[2] https://github.com/madler/zlib/tree/master

---
  meta-oe/recipes-core/minizip/minizip_1.3.1.bb | 23 +++++++++++++++++++
  1 file changed, 23 insertions(+)

create mode 100644 meta-oe/recipes-core/minizip/minizip_1.3.1.bb

meta-oe/recipes-core/minizip/minizip_1.3.1.bb new file +23 -1
new file mode 100644
index 0000000000..c9c92ad6bd
@@ -0,0 +1,23 @@
+SUMMARY = "Minizip Compression Library"
+DESCRIPTION = "Minizip is a general-purpose, patent-free, lossless data compression \
+library which is used by many different programs."
+HOMEPAGE = "http://www.winimage.com/zLibDll/minizip.html"
+SECTION = "libs"
+LICENSE = "Zlib"
+LIC_FILES_CHKSUM = "file://zip.h;beginline=14;endline=30;md5=8eaa8535a3a1a2296b303f40f75385e7"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/zlib/${PV}/zlib-${PV}.tar.gz"
+UPSTREAM_CHECK_URI = "http://zlib.net/"
+
+S = "${WORKDIR}/zlib-${PV}/contrib/minizip"
+
+SRC_URI[sha256sum] = "9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23"
+
+PACKAGECONFIG ??= "demos"
+PACKAGECONFIG[demos] = "--enable-demos=yes,,,"
+
+DEPENDS = "zlib"
+
+inherit autotools
+
+BBCLASSEXTEND = "native nativesdk"
--

2.34.1

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

#4 lore raw
Quoted 13 lines · Khem Raj

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 9 lines · Mingli

Hi Khem,

Quoted 4 lines · Khem Raj

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.

its in meta-qt6, why do we want to promote it here into meta-oe ?

Quoted 8 lines
Quoted 5 lines

Sorry for the noise!

Adding the minizip recipe to a common layer such as meta-openembedded may be convenient for user who don't want to depend on other layer such as meta-qt6(https://code.qt.io/cgit/yocto/meta-qt6.git/).

Are there use cases where more than meta-qt6 needs it ? that's what I am looking for

The request comes from one of our customer and it's convenient to use this recipe if it's in a common layer rather than depends on meta-qt6.

Thanks,
Mingli

Quoted 67 lines
Quoted 67 lines

Thanks,
Mingli

Quoted 62 lines
Quoted 59 lines · Mingli via lists.openembedded.org

From: Mingli Yu <[email protected]>

minizip [1] uses zlib [2] to support compressed archives.

minizip is not part of zlib, but is included in the zlib distribution [1] as a third-party contribution in the contrib directory.

[1] https://github.com/madler/zlib/tree/master/contrib/minizip
[2] https://github.com/madler/zlib/tree/master

---
   meta-oe/recipes-core/minizip/minizip_1.3.1.bb | 23 +++++++++++++++++++
   1 file changed, 23 insertions(+)

create mode 100644 meta-oe/recipes-core/minizip/minizip_1.3.1.bb

meta-oe/recipes-core/minizip/minizip_1.3.1.bb new file +23 -1
new file mode 100644
index 0000000000..c9c92ad6bd
@@ -0,0 +1,23 @@
+SUMMARY = "Minizip Compression Library"
+DESCRIPTION = "Minizip is a general-purpose, patent-free, lossless data compression \
+library which is used by many different programs."
+HOMEPAGE = "http://www.winimage.com/zLibDll/minizip.html"
+SECTION = "libs"
+LICENSE = "Zlib"
+LIC_FILES_CHKSUM = "file://zip.h;beginline=14;endline=30;md5=8eaa8535a3a1a2296b303f40f75385e7"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/zlib/${PV}/zlib-${PV}.tar.gz"
+UPSTREAM_CHECK_URI = "http://zlib.net/"
+
+S = "${WORKDIR}/zlib-${PV}/contrib/minizip"
+
+SRC_URI[sha256sum] = "9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23"
+
+PACKAGECONFIG ??= "demos"
+PACKAGECONFIG[demos] = "--enable-demos=yes,,,"
+
+DEPENDS = "zlib"
+
+inherit autotools
+
+BBCLASSEXTEND = "native nativesdk"
--

2.34.1

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