Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/1] zlib-ng: new package
@ 2017-11-05  5:01 Stefan Fröberg
  2017-11-25 12:31 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Fröberg @ 2017-11-05  5:01 UTC (permalink / raw)
  To: buildroot


Signed-off-by: Stefan Fr?berg <stefan.froberg@petroprogram.com>

Changes v1 -> v2:

- Use correct license file (by Marcus)
- Use github helper (by Arnout)
- Add hash file (by Arnout)

---
 package/Config.in            |  1 +
 package/zlib-ng/Config.in    |  7 +++++++
 package/zlib-ng/zlib-ng.hash | 10 ++++++++++
 package/zlib-ng/zlib-ng.mk   | 13 +++++++++++++
 4 files changed, 31 insertions(+)
 create mode 100644 package/zlib-ng/Config.in
 create mode 100644 package/zlib-ng/zlib-ng.hash
 create mode 100644 package/zlib-ng/zlib-ng.mk

diff --git a/package/Config.in b/package/Config.in
index fe5ccc4..07f38d0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1003,6 +1003,7 @@ menu "Compression and decompression"
 	source "package/snappy/Config.in"
 	source "package/szip/Config.in"
 	source "package/zlib/Config.in"
+	source "package/zlib-ng/Config.in"
 endmenu
 
 menu "Crypto"
diff --git a/package/zlib-ng/Config.in b/package/zlib-ng/Config.in
new file mode 100644
index 0000000..55bbd57
--- /dev/null
+++ b/package/zlib-ng/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_ZLIB_NG
+	bool "zlib-ng"
+	help
+	  zlib replacement with optimizations for
+	  "next generation" systems.
+
+	  https://github.com/Dead2/zlib-ng
diff --git a/package/zlib-ng/zlib-ng.hash b/package/zlib-ng/zlib-ng.hash
new file mode 100644
index 0000000..c78f974
--- /dev/null
+++ b/package/zlib-ng/zlib-ng.hash
@@ -0,0 +1,10 @@
+# Locally calculated
+
+md5	87676f8d7fcdea908476029f92b8103f  zlib-ng-e07a52dbaa35d003f5659b221b29d220c091667b.tar.gz
+sha1	126b84064783aa00d29e3a149e7c9701e6af243e  zlib-ng-e07a52dbaa35d003f5659b221b29d220c091667b.tar.gz
+sha256	c762c24d24d3ead93a21a0d540c49751b45058dbe5b00f71f48526b335e85b37  zlib-ng-e07a52dbaa35d003f5659b221b29d220c091667b.tar.gz
+
+md5	b133671347d1c0879cb72e6691debfe3  LICENSE.md
+sha1	1e0b08e7a2124c67c42261ac819e2340a2dd912c LICENSE.md
+sha256	d3c80be055d94d798eaa786116e84fa0b010bc11420b5d2060d978ea77845436 LICENSE.md
+
diff --git a/package/zlib-ng/zlib-ng.mk b/package/zlib-ng/zlib-ng.mk
new file mode 100644
index 0000000..97d269f
--- /dev/null
+++ b/package/zlib-ng/zlib-ng.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# zlib-ng
+#
+################################################################################
+
+ZLIB_NG_VERSION = e07a52dbaa35d003f5659b221b29d220c091667b
+ZLIB_NG_SITE = $(call github,Dead2,zlib-ng,$(ZLIB_NG_VERSION))
+ZLIB_NG_LICENSE = Zlib
+ZLIB_NG_LICENSE_FILES = LICENSE.md
+ZLIB_NG_INSTALL_STAGING = YES
+
+$(eval $(cmake-package))
-- 
2.7.3

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

* [Buildroot] [PATCH v2 1/1] zlib-ng: new package
  2017-11-05  5:01 [Buildroot] [PATCH v2 1/1] zlib-ng: new package Stefan Fröberg
@ 2017-11-25 12:31 ` Thomas Petazzoni
  2017-11-26 19:32   ` Stefan Fröberg
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2017-11-25 12:31 UTC (permalink / raw)
  To: buildroot

Hello,

On Sun,  5 Nov 2017 05:01:09 +0000, Stefan Fr?berg wrote:

>  package/Config.in            |  1 +
>  package/zlib-ng/Config.in    |  7 +++++++
>  package/zlib-ng/zlib-ng.hash | 10 ++++++++++
>  package/zlib-ng/zlib-ng.mk   | 13 +++++++++++++
>  4 files changed, 31 insertions(+)

You forgot to update the DEVELOPERS file.

However, there is a bigger problem: zlib-ng overwrites zlib. I.e, both
install the same libz.so and libz.so.1 libraries.

So installing both packages at the same time does not make sense. So,
we need to do something like jpeg/libjpeg/jpeg-turbo.

Could you look into doing this ?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

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

* [Buildroot] [PATCH v2 1/1] zlib-ng: new package
  2017-11-25 12:31 ` Thomas Petazzoni
@ 2017-11-26 19:32   ` Stefan Fröberg
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Fröberg @ 2017-11-26 19:32 UTC (permalink / raw)
  To: buildroot

Hi

Sure. No problem at all, just have to quickly lookup howto make virutal
pacakge (never done that before)

-S-


Thomas Petazzoni kirjoitti 25.11.2017 klo 14:31:
> Hello,
>
> On Sun,  5 Nov 2017 05:01:09 +0000, Stefan Fr?berg wrote:
>
>>  package/Config.in            |  1 +
>>  package/zlib-ng/Config.in    |  7 +++++++
>>  package/zlib-ng/zlib-ng.hash | 10 ++++++++++
>>  package/zlib-ng/zlib-ng.mk   | 13 +++++++++++++
>>  4 files changed, 31 insertions(+)
> You forgot to update the DEVELOPERS file.
>
> However, there is a bigger problem: zlib-ng overwrites zlib. I.e, both
> install the same libz.so and libz.so.1 libraries.
>
> So installing both packages at the same time does not make sense. So,
> we need to do something like jpeg/libjpeg/jpeg-turbo.
>
> Could you look into doing this ?
>
> Thanks!
>
> Thomas

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

end of thread, other threads:[~2017-11-26 19:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-05  5:01 [Buildroot] [PATCH v2 1/1] zlib-ng: new package Stefan Fröberg
2017-11-25 12:31 ` Thomas Petazzoni
2017-11-26 19:32   ` Stefan Fröberg

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