Skip to contentSkip to conversation

package/jbig2dec: new package.

PATCH New raphael.melotte at essensium.com 5 participants 5 messages Sep 13, 2019 – Mar 29, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/jbig2dec: new package.

From: Rapha?l M?lotte <[email protected]>

jbig2dec is a decoder implementation of the JBIG2 image compression format.

---
 DEVELOPERS                     |  3 +++
 package/Config.in              |  1 +
 package/jbig2dec/Config.in     |  7 +++++++
 package/jbig2dec/jbig2dec.hash |  7 +++++++
 package/jbig2dec/jbig2dec.mk   | 13 +++++++++++++
 5 files changed, 31 insertions(+)
 create mode 100644 package/jbig2dec/Config.in
 create mode 100644 package/jbig2dec/jbig2dec.hash
 create mode 100644 package/jbig2dec/jbig2dec.mk
DEVELOPERS +3 -0
index 7604cfe2b7..5f1e37a063 100644
@@ -1928,6 +1928,9 @@ F:	package/ustream-ssl/
 N:	Refik Tuzakli <[email protected]>
 F:	package/paho-mqtt-cpp/
 
+N:	Rapha?l M?lotte <[email protected]>
+F:	package/jbig2dec/
+
 N:	R?mi R?rolle <[email protected]>
 F:	package/libfreeimage/
 
package/Config.in +1 -0
index 7d915ea4d7..b2f315ae69 100644
@@ -1306,6 +1306,7 @@ menu "Graphics"
 	source "package/intel-mediasdk/Config.in"
 	source "package/irrlicht/Config.in"
 	source "package/jasper/Config.in"
+	source "package/jbig2dec/Config.in"
 	source "package/jpeg/Config.in"
 	source "package/kmsxx/Config.in"
 	source "package/lcms2/Config.in"
package/jbig2dec/Config.in new file +7 -0
new file mode 100644
index 0000000000..d1440dca3d
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_JBIG2DEC
+	bool "jbig2dec"
+	help
+	  jbig2dec is a decoder implementation of the JBIG2
+	  image compression format.
+
+	  https://jbig2dec.com/
package/jbig2dec/jbig2dec.hash new file +7 -0
new file mode 100644
index 0000000000..eb2b674443
@@ -0,0 +1,7 @@
+# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs927/MD5SUMS
+# and SHA512SUMS are missing the hashes for this file.
+# Locally computed:
+sha256 a4f6bf15d217e7816aa61b92971597c801e81f0a63f9fe1daee60fb88e0f0602  jbig2dec-0.16.tar.gz
+
+# Hash for license files:
+sha256 1bf5258afe453934484fd0cea97508b72301633a6a78b0ae8a9ee44ac78f26d9  LICENSE
package/jbig2dec/jbig2dec.mk new file +13 -0
new file mode 100644
index 0000000000..5ac5b87a72
@@ -0,0 +1,13 @@
+################################################################################
+#
+# jbig2dec
+#
+################################################################################
+
+JBIG2DEC_VERSION = 0.16
+JBIG2DEC_SITE = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs927
+JBIG2DEC_LICENSE = AGPL-3.0+
+JBIG2DEC_LICENSE_FILES = LICENSE
+JBIG2DEC_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
Signature · 1 line
2.21.0
#1 lore raw

PATCH 1/1 package/jbig2dec: new package.

Am Fri, 13 Sep 2019 13:24:13 +0200
schrieb raphael.melotte at essensium.com:

Quoted 83 lines

From: Rapha?l M?lotte <[email protected]>

jbig2dec is a decoder implementation of the JBIG2 image compression format.

---
 DEVELOPERS                     |  3 +++
 package/Config.in              |  1 +
 package/jbig2dec/Config.in     |  7 +++++++
 package/jbig2dec/jbig2dec.hash |  7 +++++++
 package/jbig2dec/jbig2dec.mk   | 13 +++++++++++++
 5 files changed, 31 insertions(+)
 create mode 100644 package/jbig2dec/Config.in
 create mode 100644 package/jbig2dec/jbig2dec.hash
 create mode 100644 package/jbig2dec/jbig2dec.mk
DEVELOPERS +3 -0
index 7604cfe2b7..5f1e37a063 100644
@@ -1928,6 +1928,9 @@ F:	package/ustream-ssl/
 N:	Refik Tuzakli <[email protected]>
 F:	package/paho-mqtt-cpp/
 
+N:	Rapha?l M?lotte <[email protected]>
+F:	package/jbig2dec/
+
 N:	R?mi R?rolle <[email protected]>
 F:	package/libfreeimage/
 
package/Config.in +1 -0
index 7d915ea4d7..b2f315ae69 100644
@@ -1306,6 +1306,7 @@ menu "Graphics"
 	source "package/intel-mediasdk/Config.in"
 	source "package/irrlicht/Config.in"
 	source "package/jasper/Config.in"
+	source "package/jbig2dec/Config.in"
 	source "package/jpeg/Config.in"
 	source "package/kmsxx/Config.in"
 	source "package/lcms2/Config.in"
package/jbig2dec/Config.in new file +7 -0
new file mode 100644
index 0000000000..d1440dca3d
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_JBIG2DEC
+	bool "jbig2dec"
+	help
+	  jbig2dec is a decoder implementation of the JBIG2
+	  image compression format.
+
+	  https://jbig2dec.com/
(quoted diff) +0 -0

b/package/jbig2dec/jbig2dec.hash new file mode 100644 index 0000000000..eb2b674443

package/jbig2dec/jbig2dec.hash new file +1 -0
@@ -0,0 +1,7 @@
+#

https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs927/MD5SUMS
+# and SHA512SUMS are missing the hashes for this file. +# Locally
computed: +sha256 a4f6bf15d217e7816aa61b92971597c801e81f0a63f9fe1daee60fb88e0f0602 jbig2dec-0.16.tar.gz + +# Hash for license files:
+sha256 1bf5258afe453934484fd0cea97508b72301633a6a78b0ae8a9ee44ac78f26d9 LICENSE diff --git a/package/jbig2dec/jbig2dec.mk b/package/jbig2dec/jbig2dec.mk new file mode 100644 index 0000000000..5ac5b87a72 --- /dev/null
+++ b/package/jbig2dec/jbig2dec.mk

package/jbig2dec/jbig2dec.hash new file +8 -0
@@ -0,0 +1,13 @@
+################################################################################
+#
+# jbig2dec
+#
+################################################################################
+
+JBIG2DEC_VERSION = 0.16
+JBIG2DEC_SITE =
Quoted 1 line

https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs927

For packages located on github, you better use the github helper function, see:

https://buildroot.org/downloads/manual/manual.html#github-download-url

Thomas

#2 lore raw

PATCH 1/1 package/jbig2dec: new package.

Hi Thomas,

Quoted 8 lines · Thomas Huth
Quoted 3 lines
(quoted diff) +2 -0
+JBIG2DEC_VERSION = 0.16
+JBIG2DEC_SITE =

https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs927

For packages located on github, you better use the github helper function, see:

https://buildroot.org/downloads/manual/manual.html#github-download-url

This is true only when upstream does not provide an official tarball. See the first sentence in the paragraph that this URL refers to:

Packages on GitHub often don?t have a download area with release tarballs.

Tarballs are preferred when available.

baruch

--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

#4 lore raw

PATCH 1/1 package/jbig2dec: new package.

In reply to raphael.melotte at essensium.com
Quoted 5 lines · On Fri, 13 Sep 2019 13:24:13 +0200 raphael.melotte at essensium.com wrote:

From: Rapha?l M?lotte <[email protected]>

jbig2dec is a decoder implementation of the JBIG2 image compression format.

Quoted 10 lines
---
 DEVELOPERS                     |  3 +++
 package/Config.in              |  1 +
 package/jbig2dec/Config.in     |  7 +++++++
 package/jbig2dec/jbig2dec.hash |  7 +++++++
 package/jbig2dec/jbig2dec.mk   | 13 +++++++++++++
 5 files changed, 31 insertions(+)
 create mode 100644 package/jbig2dec/Config.in
 create mode 100644 package/jbig2dec/jbig2dec.hash
 create mode 100644 package/jbig2dec/jbig2dec.mk

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com