Skip to contentSkip to conversation

package/libminizip: new package

PATCH New Bartosz Bilas 2 participants 7 messages Apr 6, 2020 – Apr 7, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libminizip: new package

libminizip is a minimalistic library that supports compressing, extracting, viewing, and manipulating zip files.

---
 DEVELOPERS                         |  1 +
 package/Config.in                  |  1 +
 package/libminizip/Config.in       | 11 +++++++++++
 package/libminizip/libminizip.hash |  2 ++
 package/libminizip/libminizip.mk   | 15 +++++++++++++++
 5 files changed, 30 insertions(+)
 create mode 100644 package/libminizip/Config.in
 create mode 100644 package/libminizip/libminizip.hash
 create mode 100644 package/libminizip/libminizip.mk
DEVELOPERS +1 -0
index e9ac2b7460..b6243276a3 100644
@@ -282,6 +282,7 @@ F:	package/orbit/
 N:	Bartosz Bilas <[email protected]>
 F:	board/stmicroelectronics/stm32mp157a-dk1/
 F:	configs/stm32mp157a_dk1_defconfig
+F:	package/libminizip/
 F:	package/python-esptool/
 F:	package/python-pyaes/
 F:	package/qt5/qt5scxml/
package/Config.in +1 -0
index 373868ca82..95727396ea 100644
@@ -1278,6 +1278,7 @@ endmenu
 
 menu "Compression and decompression"
 	source "package/libarchive/Config.in"
+	source "package/libminizip/Config.in"
 	source "package/libmspack/Config.in"
 	source "package/libsquish/Config.in"
 	source "package/libzip/Config.in"
package/libminizip/Config.in new file +11 -0
new file mode 100644
index 0000000000..5307db3c4f
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBMINIZIP
+	bool "libminizip"
+	select BR2_PACKAGE_ZLIB
+	help
+	  LibMinizip is a minimalistic library that supports compressing,
+	  extracting, viewing, and manipulating zip files.
+
+	  This package includes development support files
+	  for the minizip library.
+
+	  http://www.winimage.com/zLibDll/minizip.html
package/libminizip/libminizip.hash new file +2 -0
new file mode 100644
index 0000000000..1aa87a2901
@@ -0,0 +1,2 @@
+# Locally computed
+sha256  78d87c463dd6bd446292fe0d3ee72878355b3b7fa52add5722671dfe9290f262  libminizip-1.1.tar.gz
package/libminizip/libminizip.mk new file +15 -0
new file mode 100644
index 0000000000..6ae3c6cb01
@@ -0,0 +1,15 @@
+################################################################################
+#
+# libminizip
+#
+################################################################################
+
+LIBMINIZIP_VERSION = 1.1
+LIBMINIZIP_SITE = $(call github,nmoinvaz,minizip,$(LIBMINIZIP_VERSION))
+LIBMINIZIP_DEPENDENCIES = zlib
+LIBMINIZIP_AUTORECONF = YES
+LIBMINIZIP_INSTALL_STAGING = YES
+LIBMINIZIP_LICENSE = Zlib
+LIBMINIZIP_LICENSE_FILES = LICENSE
+
+$(eval $(autotools-package))
Signature · 1 line
2.26.0
#1 lore raw

PATCH 1/1 package/libminizip: new package

Bartosz, All,

On 2020-04-06 20:35 +0200, Bartosz Bilas spake thusly:

Quoted 4 lines

libminizip is a minimalistic library that supports compressing, extracting, viewing, and manipulating zip files.

How is it different from package/minizip/ ?

I've marked as "not applicable", then.

Regards,
Yann E. MORIN.

Quoted 88 lines
---
 DEVELOPERS                         |  1 +
 package/Config.in                  |  1 +
 package/libminizip/Config.in       | 11 +++++++++++
 package/libminizip/libminizip.hash |  2 ++
 package/libminizip/libminizip.mk   | 15 +++++++++++++++
 5 files changed, 30 insertions(+)
 create mode 100644 package/libminizip/Config.in
 create mode 100644 package/libminizip/libminizip.hash
 create mode 100644 package/libminizip/libminizip.mk
DEVELOPERS +1 -0
index e9ac2b7460..b6243276a3 100644
@@ -282,6 +282,7 @@ F:	package/orbit/
 N:	Bartosz Bilas <[email protected]>
 F:	board/stmicroelectronics/stm32mp157a-dk1/
 F:	configs/stm32mp157a_dk1_defconfig
+F:	package/libminizip/
 F:	package/python-esptool/
 F:	package/python-pyaes/
 F:	package/qt5/qt5scxml/
package/Config.in +1 -0
index 373868ca82..95727396ea 100644
@@ -1278,6 +1278,7 @@ endmenu
 
 menu "Compression and decompression"
 	source "package/libarchive/Config.in"
+	source "package/libminizip/Config.in"
 	source "package/libmspack/Config.in"
 	source "package/libsquish/Config.in"
 	source "package/libzip/Config.in"
package/libminizip/Config.in new file +11 -0
new file mode 100644
index 0000000000..5307db3c4f
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBMINIZIP
+	bool "libminizip"
+	select BR2_PACKAGE_ZLIB
+	help
+	  LibMinizip is a minimalistic library that supports compressing,
+	  extracting, viewing, and manipulating zip files.
+
+	  This package includes development support files
+	  for the minizip library.
+
+	  http://www.winimage.com/zLibDll/minizip.html
package/libminizip/libminizip.hash new file +2 -0
new file mode 100644
index 0000000000..1aa87a2901
@@ -0,0 +1,2 @@
+# Locally computed
+sha256  78d87c463dd6bd446292fe0d3ee72878355b3b7fa52add5722671dfe9290f262  libminizip-1.1.tar.gz
package/libminizip/libminizip.mk new file +15 -0
new file mode 100644
index 0000000000..6ae3c6cb01
@@ -0,0 +1,15 @@
+################################################################################
+#
+# libminizip
+#
+################################################################################
+
+LIBMINIZIP_VERSION = 1.1
+LIBMINIZIP_SITE = $(call github,nmoinvaz,minizip,$(LIBMINIZIP_VERSION))
+LIBMINIZIP_DEPENDENCIES = zlib
+LIBMINIZIP_AUTORECONF = YES
+LIBMINIZIP_INSTALL_STAGING = YES
+LIBMINIZIP_LICENSE = Zlib
+LIBMINIZIP_LICENSE_FILES = LICENSE
+
+$(eval $(autotools-package))
Signature · 6 lines
2.26.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 package/libminizip: new package

Hello Yann,

Quoted 8 lines · Yann E. MORIN

Bartosz, All,

On 2020-04-06 20:35 +0200, Bartosz Bilas spake thusly:

Quoted 4 lines

libminizip is a minimalistic library that supports compressing, extracting, viewing, and manipulating zip files.

How is it different from package/minizip/ ?

That's the old, original version of minizip which contains some of necessary headers such as unzip.h which is required for one of buildroot's package which started failing due to lack of it. The current version of minizip doesn't have it unfortunately. Therefore I decided to create a new-separate package to provide that library only. I was wondering how to handle that, using the existing minizip/libzlib package but nothing good came my mind :/ So it would be great if you had some idea? :)

[0]
http://autobuild.buildroot.net/results/65fa719e8b2466409a12eb103a8938e1488efc0c

Quoted 90 lines

I've marked as "not applicable", then.

Regards,
Yann E. MORIN.

Quoted 84 lines
---
  DEVELOPERS                         |  1 +
  package/Config.in                  |  1 +
  package/libminizip/Config.in       | 11 +++++++++++
  package/libminizip/libminizip.hash |  2 ++
  package/libminizip/libminizip.mk   | 15 +++++++++++++++
  5 files changed, 30 insertions(+)

create mode 100644 package/libminizip/Config.in create mode 100644 package/libminizip/libminizip.hash create mode 100644 package/libminizip/libminizip.mk

DEVELOPERS +1 -0
index e9ac2b7460..b6243276a3 100644
@@ -282,6 +282,7 @@ F:	package/orbit/
  N:	Bartosz Bilas <[email protected]>
  F:	board/stmicroelectronics/stm32mp157a-dk1/
  F:	configs/stm32mp157a_dk1_defconfig
+F:	package/libminizip/
  F:	package/python-esptool/
  F:	package/python-pyaes/
  F:	package/qt5/qt5scxml/
package/Config.in +1 -0
index 373868ca82..95727396ea 100644
@@ -1278,6 +1278,7 @@ endmenu
 
  menu "Compression and decompression"
  	source "package/libarchive/Config.in"
+	source "package/libminizip/Config.in"
  	source "package/libmspack/Config.in"
  	source "package/libsquish/Config.in"
  	source "package/libzip/Config.in"
package/libminizip/Config.in new file +11 -0
new file mode 100644
index 0000000000..5307db3c4f
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBMINIZIP
+	bool "libminizip"
+	select BR2_PACKAGE_ZLIB
+	help
+	  LibMinizip is a minimalistic library that supports compressing,
+	  extracting, viewing, and manipulating zip files.
+
+	  This package includes development support files
+	  for the minizip library.
+
+	  http://www.winimage.com/zLibDll/minizip.html
package/libminizip/libminizip.hash new file +2 -0
new file mode 100644
index 0000000000..1aa87a2901
@@ -0,0 +1,2 @@
+# Locally computed
+sha256  78d87c463dd6bd446292fe0d3ee72878355b3b7fa52add5722671dfe9290f262  libminizip-1.1.tar.gz
package/libminizip/libminizip.mk new file +15 -0
new file mode 100644
index 0000000000..6ae3c6cb01
@@ -0,0 +1,15 @@
+################################################################################
+#
+# libminizip
+#
+################################################################################
+
+LIBMINIZIP_VERSION = 1.1
+LIBMINIZIP_SITE = $(call github,nmoinvaz,minizip,$(LIBMINIZIP_VERSION))
+LIBMINIZIP_DEPENDENCIES = zlib
+LIBMINIZIP_AUTORECONF = YES
+LIBMINIZIP_INSTALL_STAGING = YES
+LIBMINIZIP_LICENSE = Zlib
+LIBMINIZIP_LICENSE_FILES = LICENSE
+
+$(eval $(autotools-package))
Signature · 1 line
2.26.0
Quoted 4 lines
Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Best
Bartek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200407/b693f632/attachment.html>

#3 lore raw

PATCH 1/1 package/libminizip: new package

Bartosz, All,

On 2020-04-07 09:16 +0200, Bartosz Bilas spake thusly:

Quoted 7 lines · Yann E. MORIN

How is it different from package/minizip/ ?

That's the old, original version of minizip which contains some of necessary headers such as unzip.h which is required for one of buildroot's package which started failing due to lack of it. The current version of minizip doesn't have it unfortunately . Therefore I decided to create a new-separate package to provide that library only. I was wondering how to handle that, using the existing minizip/libzlib package but nothing good came my mind :/ So it would be great if you had some idea? :)

Why don't you just update our version of minizip to the newer version?

Regards,
Yann E. MORIN.

Quoted 63 lines

[0] [2]http://autobuild.buildroot.net/results/65fa719e8b2466409a12eb103a8938e1488efc0c

I've marked as "not applicable", then.Regards,
Yann E. MORIN.

 --- DEVELOPERS                         |  1 +
  package/Config.in                  |  1 +
  package/libminizip/Config.in       | 11 +++++++++++
  package/libminizip/libminizip.hash |  2 ++
  package/libminizip/libminizip.mk   | 15 +++++++++++++++
  5 files changed, 30 insertions(+) create mode 100644 package/libminizip/Config.in
  create mode 100644 package/libminizip/libminizip.hash
  create mode 100644 package/libminizip/libminizip.mk
 diff --git a/DEVELOPERS b/DEVELOPERSindex e9ac2b7460..b6243276a3 100644
 --- a/DEVELOPERS+++ b/DEVELOPERS@@ -282,6 +282,7 @@ F:  package/orbit/
  N:     Bartosz Bilas
 [3]<[email protected]> F:   board/stmicroelectronics/stm32mp157a-dk1/
  F:     configs/stm32mp157a_dk1_defconfig+F:    package/libminizip/
  F:     package/python-esptool/ F:      package/python-pyaes/
  F:     package/qt5/qt5scxml/diff --git a/package/Config.in b/package/Config.in
 index 373868ca82..95727396ea 100644--- a/package/Config.in
 +++ b/package/Config.in@@ -1278,6 +1278,7 @@ endmenu
   menu "Compression and decompression"  source "package/libarchive/Config.in"
 +       source "package/libminizip/Config.in"   source "package/libmspack/Config.in"
         source "package/libsquish/Config.in"    source "package/libzip/Config.in"
 diff --git a/package/libminizip/Config.in b/package/libminizip/Config.in
 new file mode 100644index 0000000000..5307db3c4f
 --- /dev/null+++ b/package/libminizip/Config.in
 @@ -0,0 +1,11 @@+config BR2_PACKAGE_LIBMINIZIP
 +       bool "libminizip"+      select BR2_PACKAGE_ZLIB
 +       help+     LibMinizip is a minimalistic library that supports compressing,
 +         extracting, viewing, and manipulating zip files.
 ++        This package includes development support files
 +         for the minizip library.++     

[4]http://www.winimage.com/zLibDll/minizip.html
diff --git a/package/libminizip/libminizip.hash b/package/libminizip/libminizip.hash
new file mode 100644index 0000000000..1aa87a2901
--- /dev/null+++ b/package/libminizip/libminizip.hash
@@ -0,0 +1,2 @@+# Locally computed+sha256 78d87c463dd6bd446292fe0d3ee72878355b3b7fa52add5722671dfe9290f262 libminizip-1.1.tar.gz diff --git a/package/libminizip/libminizip.mk b/package/libminizip/libminizip.mk
new file mode 100644index 0000000000..6ae3c6cb01
--- /dev/null+++ b/package/libminizip/libminizip.mk
@@ -0,0 +1,15 @@+################################################################################
+#+# libminizip+#+################################################################################ ++LIBMINIZIP_VERSION = 1.1+LIBMINIZIP_SITE = $(call github,nmoinvaz,minizip,$(LIBMINIZIP_VERSION)) +LIBMINIZIP_DEPENDENCIES = zlib+LIBMINIZIP_AUTORECONF = YES
+LIBMINIZIP_INSTALL_STAGING = YES+LIBMINIZIP_LICENSE = Zlib
+LIBMINIZIP_LICENSE_FILES = LICENSE++$(eval $(autotools-package))
-- 2.26.0_______________________________________________
buildroot mailing list
[5]buildroot at busybox.net
[6]http://lists.busybox.net/mailman/listinfo/buildroot

Best
Bartek

Links:
1. mailto:b.bilas at grinn-global.com/
2. http://autobuild.buildroot.net/results/65fa719e8b2466409a12eb103a8938e1488efc0c
3. mailto:b.bilas at grinn-global.com/
4. http://www.winimage.com/zLibDll/minizip.html
5. mailto:buildroot at busybox.net/
6. http://lists.busybox.net/mailman/listinfo/buildroot

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#4 lore raw

PATCH 1/1 package/libminizip: new package

Hi Yann,

Quoted 6 lines · Yann E. MORIN

Bartosz, All,

On 2020-04-07 09:16 +0200, Bartosz Bilas spake thusly:

Quoted 3 lines · Yann E. MORIN

How is it different from package/minizip/ ?

Quoted 6 lines
Quoted 4 lines

That's the old, original version of minizip which contains some of necessary headers such as unzip.h which is required for one of buildroot's package which started failing due to lack of it. The current version of minizip doesn't have it unfortunately . Therefore I decided to create a new-separate package to provide that library only. I was wondering how to handle that, using the existing minizip/libzlib package but nothing good came my mind :/ So it would be great if you had some idea? :)

Why don't you just update our version of minizip to the newer version?

My answer was related to the topic's package, buildroot's minizip is a fork and is already updated but as I said, it doesn't contain the necessary header for cegui...

Quoted 67 lines

Regards,
Yann E. MORIN.

Quoted 63 lines

[0] [2]http://autobuild.buildroot.net/results/65fa719e8b2466409a12eb103a8938e1488efc0c

I've marked as "not applicable", then.Regards,
Yann E. MORIN.

  --- DEVELOPERS                         |  1 +
   package/Config.in                  |  1 +
   package/libminizip/Config.in       | 11 +++++++++++
   package/libminizip/libminizip.hash |  2 ++
   package/libminizip/libminizip.mk   | 15 +++++++++++++++
   5 files changed, 30 insertions(+) create mode 100644 package/libminizip/Config.in
   create mode 100644 package/libminizip/libminizip.hash
   create mode 100644 package/libminizip/libminizip.mk
  diff --git a/DEVELOPERS b/DEVELOPERSindex e9ac2b7460..b6243276a3 100644
  --- a/DEVELOPERS+++ b/DEVELOPERS@@ -282,6 +282,7 @@ F:  package/orbit/
   N:     Bartosz Bilas
  [3]<[email protected]> F:   board/stmicroelectronics/stm32mp157a-dk1/
   F:     configs/stm32mp157a_dk1_defconfig+F:    package/libminizip/
   F:     package/python-esptool/ F:      package/python-pyaes/
   F:     package/qt5/qt5scxml/diff --git a/package/Config.in b/package/Config.in
  index 373868ca82..95727396ea 100644--- a/package/Config.in
  +++ b/package/Config.in@@ -1278,6 +1278,7 @@ endmenu
    menu "Compression and decompression"  source "package/libarchive/Config.in"
  +       source "package/libminizip/Config.in"   source "package/libmspack/Config.in"
          source "package/libsquish/Config.in"    source "package/libzip/Config.in"
  diff --git a/package/libminizip/Config.in b/package/libminizip/Config.in
  new file mode 100644index 0000000000..5307db3c4f
  --- /dev/null+++ b/package/libminizip/Config.in
  @@ -0,0 +1,11 @@+config BR2_PACKAGE_LIBMINIZIP
  +       bool "libminizip"+      select BR2_PACKAGE_ZLIB
  +       help+     LibMinizip is a minimalistic library that supports compressing,
  +         extracting, viewing, and manipulating zip files.
  ++        This package includes development support files
  +         for the minizip library.++

[4]http://www.winimage.com/zLibDll/minizip.html
diff --git a/package/libminizip/libminizip.hash b/package/libminizip/libminizip.hash
new file mode 100644index 0000000000..1aa87a2901
--- /dev/null+++ b/package/libminizip/libminizip.hash
@@ -0,0 +1,2 @@+# Locally computed+sha256 78d87c463dd6bd446292fe0d3ee72878355b3b7fa52add5722671dfe9290f262 libminizip-1.1.tar.gz diff --git a/package/libminizip/libminizip.mk b/package/libminizip/libminizip.mk
new file mode 100644index 0000000000..6ae3c6cb01
--- /dev/null+++ b/package/libminizip/libminizip.mk
@@ -0,0 +1,15 @@+################################################################################
+#+# libminizip+#+################################################################################ ++LIBMINIZIP_VERSION = 1.1+LIBMINIZIP_SITE = $(call github,nmoinvaz,minizip,$(LIBMINIZIP_VERSION)) +LIBMINIZIP_DEPENDENCIES = zlib+LIBMINIZIP_AUTORECONF = YES
+LIBMINIZIP_INSTALL_STAGING = YES+LIBMINIZIP_LICENSE = Zlib
+LIBMINIZIP_LICENSE_FILES = LICENSE++$(eval $(autotools-package))
-- 2.26.0_______________________________________________
buildroot mailing list
[5]buildroot at busybox.net
[6]http://lists.busybox.net/mailman/listinfo/buildroot

Best
Bartek

Links:
1. mailto:b.bilas at grinn-global.com/
2. http://autobuild.buildroot.net/results/65fa719e8b2466409a12eb103a8938e1488efc0c
3. mailto:b.bilas at grinn-global.com/
4. http://www.winimage.com/zLibDll/minizip.html
5. mailto:buildroot at busybox.net/
6. http://lists.busybox.net/mailman/listinfo/buildroot

Best
Bartek

#5 lore raw

PATCH 1/1 package/libminizip: new package

Bartosz, All,

On 2020-04-07 09:53 +0200, Bartosz Bilas spake thusly:

Quoted 10 lines · Yann E. MORIN
Quoted 9 lines

On 2020-04-07 09:16 +0200, Bartosz Bilas spake thusly:

Quoted 7 lines · Yann E. MORIN

How is it different from package/minizip/ ?

That's the old, original version of minizip which contains some of necessary headers such as unzip.h which is required for one of buildroot's package which started failing due to lack of it. The current version of minizip doesn't have it unfortunately . Therefore I decided to create a new-separate package to provide that library only. I was wondering how to handle that, using the existing minizip/libzlib package but nothing good came my mind :/ So it would be great if you had some idea? :)

Quoted 4 lines
Quoted 1 line

Why don't you just update our version of minizip to the newer version?

My answer was related to the topic's package, buildroot's minizip is a fork and is already updated but as I said, it doesn't contain the necessary header for cegui...

Ah, sorry, that was not clear at all... In fact, you libminizip is adding an _older_ version...

OK, but the newer version has an option, MZ_COMPAT, to install the compatibility stuff:

    diff --git a/package/minizip/minizip.mk b/package/minizip/minizip.mk
    index 313fe87a49..32a46d61dc 100644
    --- a/package/minizip/minizip.mk
    +++ b/package/minizip/minizip.mk
    @@ -13,7 +13,7 @@ MINIZIP_DEPENDENCIES = \
     MINIZIP_INSTALL_STAGING = YES
     MINIZIP_CONF_OPTS = \
     	$(if $(BR2_PACKAGE_MINIZIP_DEMOS),-DMZ_BUILD_TEST=ON) \
    -	-DMZ_COMPAT=OFF
    +	-DMZ_COMPAT=ON
     MINIZIP_LICENSE = Zlib
     MINIZIP_LICENSE_FILES = LICENSE

But they are installed in .usr/include, rather than /usr/include/minizip I think this is better to work with upstream to fix the compat stuff rather than introduce another package. And in the meantime, disable minizip support in cegui (and work with their upstream to use the newer minizip API).

Regards,
Yann E. MORIN.

Quoted 68 lines
Quoted 66 lines

Regards,
Yann E. MORIN.

Quoted 63 lines

[0] [2]http://autobuild.buildroot.net/results/65fa719e8b2466409a12eb103a8938e1488efc0c

I've marked as "not applicable", then.Regards,
Yann E. MORIN.

 --- DEVELOPERS                         |  1 +
  package/Config.in                  |  1 +
  package/libminizip/Config.in       | 11 +++++++++++
  package/libminizip/libminizip.hash |  2 ++
  package/libminizip/libminizip.mk   | 15 +++++++++++++++
  5 files changed, 30 insertions(+) create mode 100644 package/libminizip/Config.in
  create mode 100644 package/libminizip/libminizip.hash
  create mode 100644 package/libminizip/libminizip.mk
 diff --git a/DEVELOPERS b/DEVELOPERSindex e9ac2b7460..b6243276a3 100644
 --- a/DEVELOPERS+++ b/DEVELOPERS@@ -282,6 +282,7 @@ F:  package/orbit/
  N:     Bartosz Bilas
 [3]<[email protected]> F:   board/stmicroelectronics/stm32mp157a-dk1/
  F:     configs/stm32mp157a_dk1_defconfig+F:    package/libminizip/
  F:     package/python-esptool/ F:      package/python-pyaes/
  F:     package/qt5/qt5scxml/diff --git a/package/Config.in b/package/Config.in
 index 373868ca82..95727396ea 100644--- a/package/Config.in
 +++ b/package/Config.in@@ -1278,6 +1278,7 @@ endmenu
   menu "Compression and decompression"  source "package/libarchive/Config.in"
 +       source "package/libminizip/Config.in"   source "package/libmspack/Config.in"
         source "package/libsquish/Config.in"    source "package/libzip/Config.in"
 diff --git a/package/libminizip/Config.in b/package/libminizip/Config.in
 new file mode 100644index 0000000000..5307db3c4f
 --- /dev/null+++ b/package/libminizip/Config.in
 @@ -0,0 +1,11 @@+config BR2_PACKAGE_LIBMINIZIP
 +       bool "libminizip"+      select BR2_PACKAGE_ZLIB
 +       help+     LibMinizip is a minimalistic library that supports compressing,
 +         extracting, viewing, and manipulating zip files.
 ++        This package includes development support files
 +         for the minizip library.++

[4]http://www.winimage.com/zLibDll/minizip.html
diff --git a/package/libminizip/libminizip.hash b/package/libminizip/libminizip.hash
new file mode 100644index 0000000000..1aa87a2901
--- /dev/null+++ b/package/libminizip/libminizip.hash
@@ -0,0 +1,2 @@+# Locally computed+sha256 78d87c463dd6bd446292fe0d3ee72878355b3b7fa52add5722671dfe9290f262 libminizip-1.1.tar.gz diff --git a/package/libminizip/libminizip.mk b/package/libminizip/libminizip.mk
new file mode 100644index 0000000000..6ae3c6cb01
--- /dev/null+++ b/package/libminizip/libminizip.mk
@@ -0,0 +1,15 @@+################################################################################
+#+# libminizip+#+################################################################################ ++LIBMINIZIP_VERSION = 1.1+LIBMINIZIP_SITE = $(call github,nmoinvaz,minizip,$(LIBMINIZIP_VERSION)) +LIBMINIZIP_DEPENDENCIES = zlib+LIBMINIZIP_AUTORECONF = YES
+LIBMINIZIP_INSTALL_STAGING = YES+LIBMINIZIP_LICENSE = Zlib
+LIBMINIZIP_LICENSE_FILES = LICENSE++$(eval $(autotools-package))
-- 2.26.0_______________________________________________
buildroot mailing list
[5]buildroot at busybox.net
[6]http://lists.busybox.net/mailman/listinfo/buildroot

Best
Bartek

Links:
1. mailto:b.bilas at grinn-global.com/
2. http://autobuild.buildroot.net/results/65fa719e8b2466409a12eb103a8938e1488efc0c
3. mailto:b.bilas at grinn-global.com/
4. http://www.winimage.com/zLibDll/minizip.html
5. mailto:buildroot at busybox.net/
6. http://lists.busybox.net/mailman/listinfo/buildroot

Best
Bartek

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#6 lore raw

PATCH 1/1 package/libminizip: new package

Hi Yann,

Quoted 36 lines · Yann E. MORIN

Bartosz, All,

On 2020-04-07 09:53 +0200, Bartosz Bilas spake thusly:

Quoted 5 lines · Yann E. MORIN
Quoted 4 lines

On 2020-04-07 09:16 +0200, Bartosz Bilas spake thusly:

Quoted 3 lines · Yann E. MORIN

How is it different from package/minizip/ ?

Quoted 8 lines
Quoted 5 lines
Quoted 4 lines

That's the old, original version of minizip which contains some of necessary headers such as unzip.h which is required for one of buildroot's package which started failing due to lack of it. The current version of minizip doesn't have it unfortunately . Therefore I decided to create a new-separate package to provide that library only. I was wondering how to handle that, using the existing minizip/libzlib package but nothing good came my mind :/ So it would be great if you had some idea? :)

Why don't you just update our version of minizip to the newer version?

My answer was related to the topic's package, buildroot's minizip is a fork and is already updated but as I said, it doesn't contain the necessary header for cegui...

Ah, sorry, that was not clear at all... In fact, you libminizip is adding an _older_ version...

OK, but the newer version has an option, MZ_COMPAT, to install the compatibility stuff:

     diff --git a/package/minizip/minizip.mk b/package/minizip/minizip.mk
     index 313fe87a49..32a46d61dc 100644
     --- a/package/minizip/minizip.mk
     +++ b/package/minizip/minizip.mk
     @@ -13,7 +13,7 @@ MINIZIP_DEPENDENCIES = \
      MINIZIP_INSTALL_STAGING = YES
      MINIZIP_CONF_OPTS = \
      	$(if $(BR2_PACKAGE_MINIZIP_DEMOS),-DMZ_BUILD_TEST=ON) \
     -	-DMZ_COMPAT=OFF
     +	-DMZ_COMPAT=ON
      MINIZIP_LICENSE = Zlib
      MINIZIP_LICENSE_FILES = LICENSE
Quoted 5 lines

But they are installed in .usr/include, rather than /usr/include/minizip I think this is better to work with upstream to fix the compat stuff rather than introduce another package. And in the meantime, disable minizip support in cegui (and work with their upstream to use the newer minizip API).

I noticed the MZ_COMPAT option but as you said, it doesn't solve the problem... I thought about disable minizip support but I wanted to fix this issue correctly than just disable the support of that but as we can see there is no other possibility than to disable that... Upstream is already notified about that so I'm gonna prepare a patch for cegui then.

Quoted 71 lines

Regards,
Yann E. MORIN.

Quoted 68 lines
Quoted 66 lines

Regards,
Yann E. MORIN.

Quoted 63 lines

[0] [2]http://autobuild.buildroot.net/results/65fa719e8b2466409a12eb103a8938e1488efc0c

I've marked as "not applicable", then.Regards,
Yann E. MORIN.

  --- DEVELOPERS                         |  1 +
   package/Config.in                  |  1 +
   package/libminizip/Config.in       | 11 +++++++++++
   package/libminizip/libminizip.hash |  2 ++
   package/libminizip/libminizip.mk   | 15 +++++++++++++++
   5 files changed, 30 insertions(+) create mode 100644 package/libminizip/Config.in
   create mode 100644 package/libminizip/libminizip.hash
   create mode 100644 package/libminizip/libminizip.mk
  diff --git a/DEVELOPERS b/DEVELOPERSindex e9ac2b7460..b6243276a3 100644
  --- a/DEVELOPERS+++ b/DEVELOPERS@@ -282,6 +282,7 @@ F:  package/orbit/
   N:     Bartosz Bilas
  [3]<[email protected]> F:   board/stmicroelectronics/stm32mp157a-dk1/
   F:     configs/stm32mp157a_dk1_defconfig+F:    package/libminizip/
   F:     package/python-esptool/ F:      package/python-pyaes/
   F:     package/qt5/qt5scxml/diff --git a/package/Config.in b/package/Config.in
  index 373868ca82..95727396ea 100644--- a/package/Config.in
  +++ b/package/Config.in@@ -1278,6 +1278,7 @@ endmenu
    menu "Compression and decompression"  source "package/libarchive/Config.in"
  +       source "package/libminizip/Config.in"   source "package/libmspack/Config.in"
          source "package/libsquish/Config.in"    source "package/libzip/Config.in"
  diff --git a/package/libminizip/Config.in b/package/libminizip/Config.in
  new file mode 100644index 0000000000..5307db3c4f
  --- /dev/null+++ b/package/libminizip/Config.in
  @@ -0,0 +1,11 @@+config BR2_PACKAGE_LIBMINIZIP
  +       bool "libminizip"+      select BR2_PACKAGE_ZLIB
  +       help+     LibMinizip is a minimalistic library that supports compressing,
  +         extracting, viewing, and manipulating zip files.
  ++        This package includes development support files
  +         for the minizip library.++

[4]http://www.winimage.com/zLibDll/minizip.html
diff --git a/package/libminizip/libminizip.hash b/package/libminizip/libminizip.hash
new file mode 100644index 0000000000..1aa87a2901
--- /dev/null+++ b/package/libminizip/libminizip.hash
@@ -0,0 +1,2 @@+# Locally computed+sha256 78d87c463dd6bd446292fe0d3ee72878355b3b7fa52add5722671dfe9290f262 libminizip-1.1.tar.gz diff --git a/package/libminizip/libminizip.mk b/package/libminizip/libminizip.mk
new file mode 100644index 0000000000..6ae3c6cb01
--- /dev/null+++ b/package/libminizip/libminizip.mk
@@ -0,0 +1,15 @@+################################################################################
+#+# libminizip+#+################################################################################ ++LIBMINIZIP_VERSION = 1.1+LIBMINIZIP_SITE = $(call github,nmoinvaz,minizip,$(LIBMINIZIP_VERSION)) +LIBMINIZIP_DEPENDENCIES = zlib+LIBMINIZIP_AUTORECONF = YES
+LIBMINIZIP_INSTALL_STAGING = YES+LIBMINIZIP_LICENSE = Zlib
+LIBMINIZIP_LICENSE_FILES = LICENSE++$(eval $(autotools-package))
-- 2.26.0_______________________________________________
buildroot mailing list
[5]buildroot at busybox.net
[6]http://lists.busybox.net/mailman/listinfo/buildroot

Best
Bartek

Links:
1. mailto:b.bilas at grinn-global.com/
2. http://autobuild.buildroot.net/results/65fa719e8b2466409a12eb103a8938e1488efc0c
3. mailto:b.bilas at grinn-global.com/
4. http://www.winimage.com/zLibDll/minizip.html
5. mailto:buildroot at busybox.net/
6. http://lists.busybox.net/mailman/listinfo/buildroot

Best
Bartek

Best
Bartek