All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] jasper: bump to version 2.0.10
@ 2017-01-12 20:47 Baruch Siach
  2017-01-13 15:14 ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Baruch Siach @ 2017-01-12 20:47 UTC (permalink / raw)
  To: buildroot

Use upstream provided tarball.

Upstream switched to cmake.

libjpeg dependency is now optional.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 package/jasper/Config.in   |  1 -
 package/jasper/jasper.hash |  2 +-
 package/jasper/jasper.mk   | 20 +++++++++++++-------
 3 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/package/jasper/Config.in b/package/jasper/Config.in
index 087b520f11ce..72969365701d 100644
--- a/package/jasper/Config.in
+++ b/package/jasper/Config.in
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_JASPER
 	bool "jasper"
-	select BR2_PACKAGE_JPEG
 	help
 	  JPEG-2000 decoder
 
diff --git a/package/jasper/jasper.hash b/package/jasper/jasper.hash
index 64ddfa4841a9..6c3ab473cf91 100644
--- a/package/jasper/jasper.hash
+++ b/package/jasper/jasper.hash
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256 0099084dce9fa0a318b48a5ed2a12ac7cff3324f3fd4459833e6fe2ff583fb2c  jasper-version-1.900.31.tar.gz
+sha256 54d85428e35263642358a11c312d61cbc054170546fae780e11271df5d1502e8 jasper-2.0.10.tar.gz
diff --git a/package/jasper/jasper.mk b/package/jasper/jasper.mk
index 32aa61829292..f4db8c492064 100644
--- a/package/jasper/jasper.mk
+++ b/package/jasper/jasper.mk
@@ -4,16 +4,22 @@
 #
 ################################################################################
 
-JASPER_VERSION = version-1.900.31
-JASPER_SITE = $(call github,mdadams,jasper,$(JASPER_VERSION))
+JASPER_VERSION = 2.0.10
+JASPER_SITE = http://www.ece.uvic.ca/~frodo/jasper/software
 JASPER_INSTALL_STAGING = YES
-JASPER_DEPENDENCIES = jpeg
 JASPER_LICENSE = JasPer License Version 2.0
 JASPER_LICENSE_FILES = LICENSE
+JASPER_SUPPORTS_IN_SOURCE_BUILD = NO
 
-# No configure script included. We need to generate it.
-JASPER_AUTORECONF = YES
+ifeq ($(BR2_STATIC_LIBS),y)
+JASPER_CONF_OPTS += -DJAS_ENABLE_SHARED=OFF
+endif
 
-JASPER_CONF_OPTS = --disable-strict
+ifeq ($(BR2_PACKAGE_JPEG),y)
+JASPER_CONF_OPTS += -DJAS_ENABLE_LIBJPEG=ON
+JASPER_DEPENDENCIES += jpeg
+else
+JASPER_CONF_OPTS += -DJAS_ENABLE_LIBJPEG=OFF
+endif
 
-$(eval $(autotools-package))
+$(eval $(cmake-package))
-- 
2.11.0

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

* [Buildroot] [PATCH] jasper: bump to version 2.0.10
  2017-01-12 20:47 [Buildroot] [PATCH] jasper: bump to version 2.0.10 Baruch Siach
@ 2017-01-13 15:14 ` Peter Korsgaard
  2017-01-14 17:35   ` Baruch Siach
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2017-01-13 15:14 UTC (permalink / raw)
  To: buildroot

>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

 > Use upstream provided tarball.
 > Upstream switched to cmake.

 > libjpeg dependency is now optional.

 > Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Committed, thanks.

Did you verify that none of the reverse dependencies need the jpeg
support?

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH] jasper: bump to version 2.0.10
  2017-01-13 15:14 ` Peter Korsgaard
@ 2017-01-14 17:35   ` Baruch Siach
  2017-01-16 12:13     ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Baruch Siach @ 2017-01-14 17:35 UTC (permalink / raw)
  To: buildroot

Hi Peter,

On Fri, Jan 13, 2017 at 04:14:59PM +0100, Peter Korsgaard wrote:
> >>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
> 
>  > Use upstream provided tarball.
>  > Upstream switched to cmake.
> 
>  > libjpeg dependency is now optional.
> 
>  > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> 
> Committed, thanks.
> 
> Did you verify that none of the reverse dependencies need the jpeg
> support?

I just build tested libraw, opencv, and opencv3. All built fine without 
BR2_PACKAGE_JPEG.

Kodi selects both BR2_PACKAGE_JASPER and BR2_PACKAGE_JPEG unconditionally, so 
it should not be affected by this change.

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 -

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

* [Buildroot] [PATCH] jasper: bump to version 2.0.10
  2017-01-14 17:35   ` Baruch Siach
@ 2017-01-16 12:13     ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2017-01-16 12:13 UTC (permalink / raw)
  To: buildroot

>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

Hi,

 >> Committed, thanks.
 >> 
 >> Did you verify that none of the reverse dependencies need the jpeg
 >> support?

 > I just build tested libraw, opencv, and opencv3. All built fine without 
 > BR2_PACKAGE_JPEG.

 > Kodi selects both BR2_PACKAGE_JASPER and BR2_PACKAGE_JPEG unconditionally, so 
 > it should not be affected by this change.

Ok, great - Thanks!

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2017-01-16 12:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-12 20:47 [Buildroot] [PATCH] jasper: bump to version 2.0.10 Baruch Siach
2017-01-13 15:14 ` Peter Korsgaard
2017-01-14 17:35   ` Baruch Siach
2017-01-16 12:13     ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.