Message ID | 20250312033439.2958141-1-mingli.yu@eng.windriver.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe] minizip: Add new recipe | expand |
its in meta-qt6, why do we want to promote it here into meta-oe ? On Tue, Mar 11, 2025 at 8:34 PM Yu, Mingli via lists.openembedded.org <mingli.yu=eng.windriver.com@lists.openembedded.org> wrote: > > From: Mingli Yu <mingli.yu@windriver.com> > > 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 > > Signed-off-by: Mingli Yu <mingli.yu@windriver.com> > --- > 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 > > diff --git a/meta-oe/recipes-core/minizip/minizip_1.3.1.bb b/meta-oe/recipes-core/minizip/minizip_1.3.1.bb > new file mode 100644 > index 0000000000..c9c92ad6bd > --- /dev/null > +++ b/meta-oe/recipes-core/minizip/minizip_1.3.1.bb > @@ -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: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
Hi Khem, On 3/12/25 11:45, Khem Raj wrote: > 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 > > On Tue, Mar 11, 2025 at 8:34 PM Yu, Mingli via lists.openembedded.org > <mingli.yu=eng.windriver.com@lists.openembedded.org> wrote: >> >> From: Mingli Yu <mingli.yu@windriver.com> >> >> 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 >> >> Signed-off-by: Mingli Yu <mingli.yu@windriver.com> >> --- >> 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 >> >> diff --git a/meta-oe/recipes-core/minizip/minizip_1.3.1.bb b/meta-oe/recipes-core/minizip/minizip_1.3.1.bb >> new file mode 100644 >> index 0000000000..c9c92ad6bd >> --- /dev/null >> +++ b/meta-oe/recipes-core/minizip/minizip_1.3.1.bb >> @@ -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: openembedded-devel+owner@lists.openembedded.org >> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] >> -=-=-=-=-=-=-=-=-=-=-=- >>
On Tue, Mar 11, 2025 at 10:37 PM Yu, Mingli <mingli.yu@windriver.com> wrote: > > Hi Khem, > > On 3/12/25 11:45, Khem Raj wrote: > > 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/). Are there use cases where more than meta-qt6 needs it ? that's what I am looking for > > Thanks, > Mingli > > > > > On Tue, Mar 11, 2025 at 8:34 PM Yu, Mingli via lists.openembedded.org > > <mingli.yu=eng.windriver.com@lists.openembedded.org> wrote: > >> > >> From: Mingli Yu <mingli.yu@windriver.com> > >> > >> 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 > >> > >> Signed-off-by: Mingli Yu <mingli.yu@windriver.com> > >> --- > >> 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 > >> > >> diff --git a/meta-oe/recipes-core/minizip/minizip_1.3.1.bb b/meta-oe/recipes-core/minizip/minizip_1.3.1.bb > >> new file mode 100644 > >> index 0000000000..c9c92ad6bd > >> --- /dev/null > >> +++ b/meta-oe/recipes-core/minizip/minizip_1.3.1.bb > >> @@ -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: openembedded-devel+owner@lists.openembedded.org > >> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] > >> -=-=-=-=-=-=-=-=-=-=-=- > >>
On 3/12/25 15:13, Khem Raj wrote: > 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. > > On Tue, Mar 11, 2025 at 10:37 PM Yu, Mingli <mingli.yu@windriver.com> wrote: >> >> Hi Khem, >> >> On 3/12/25 11:45, Khem Raj wrote: >>> 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/). > > 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 > >> >> Thanks, >> Mingli >> >>> >>> On Tue, Mar 11, 2025 at 8:34 PM Yu, Mingli via lists.openembedded.org >>> <mingli.yu=eng.windriver.com@lists.openembedded.org> wrote: >>>> >>>> From: Mingli Yu <mingli.yu@windriver.com> >>>> >>>> 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 >>>> >>>> Signed-off-by: Mingli Yu <mingli.yu@windriver.com> >>>> --- >>>> 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 >>>> >>>> diff --git a/meta-oe/recipes-core/minizip/minizip_1.3.1.bb b/meta-oe/recipes-core/minizip/minizip_1.3.1.bb >>>> new file mode 100644 >>>> index 0000000000..c9c92ad6bd >>>> --- /dev/null >>>> +++ b/meta-oe/recipes-core/minizip/minizip_1.3.1.bb >>>> @@ -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: openembedded-devel+owner@lists.openembedded.org >>>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] >>>> -=-=-=-=-=-=-=-=-=-=-=- >>>>
diff --git a/meta-oe/recipes-core/minizip/minizip_1.3.1.bb b/meta-oe/recipes-core/minizip/minizip_1.3.1.bb new file mode 100644 index 0000000000..c9c92ad6bd --- /dev/null +++ b/meta-oe/recipes-core/minizip/minizip_1.3.1.bb @@ -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"