efl: remove broken JP2K loader
authorArnout Vandecappelle <arnout@mind.be>
Tue, 7 Mar 2017 23:50:54 +0000 (00:50 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 9 Mar 2017 21:20:23 +0000 (22:20 +0100)
This option has been marked as broken since 2016.08. Since nobody
repaired it, we'll just remove it.

Since technically it was already removed in 2016.08, it's added to the
2016.08 section of the legacy menu.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Gustavo Sverzut Barbieri <barbieri@profusion.mobi>
Reviewed-By: Gustavo Sverzut Barbieri <barbieri@profusion.mobi>
Acked-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Config.in.legacy
package/efl/Config.in
package/efl/efl.mk

index 1f3d09b3895f159d059c15139311aff8f5afbc37..67f6e4e3a02a47cf0efd096ae17dbd6492facdc8 100644 (file)
@@ -475,6 +475,13 @@ config BR2_LINUX_KERNEL_CUSTOM_LOCAL
 ###############################################################################
 comment "Legacy options removed in 2016.08"
 
+config BR2_PACKAGE_EFL_JP2K
+       bool "libevas jp2k loader has been removed"
+       select BR2_LEGACY
+         JP2K support in EFL requires openjpeg 1.x (libopenjpeg1.pc)
+         while Buildroot only packages openjpeg 2.x. Therefore, the
+         JP2K loader has been removed from EFL.
+
 config BR2_PACKAGE_SYSTEMD_COMPAT
        bool "systemd compatibility libraries have been removed"
        select BR2_LEGACY
index 5e89af602c662440eac5c4f1ac8f73150e6039d8..960f2752c36eac2eae3bfe3b8fe7b07d12f16817 100644 (file)
@@ -252,16 +252,6 @@ config BR2_PACKAGE_EFL_PNG
          This enables the loader code that loads png files using
          libpng.
 
-# JP2K support require openjpeg 1.x (libopenjpeg1.pc) which is not
-# available in Buildroot anymore.
-config BR2_PACKAGE_EFL_JP2K
-       bool "libevas jp2k loader"
-       select BR2_PACKAGE_OPENJPEG
-       depends on BROKEN # require openjpeg 1.x
-       help
-         This enables the loader code that loads jp2k files using
-         openjpeg.
-
 config BR2_PACKAGE_EFL_JPEG
        bool "libevas jpeg loader"
        help
index 1e54f7281052d76dd14c8df828c53be3500f263a..e0ec6d6bcc04d1d4e017998991589b364898c8a2 100644 (file)
@@ -38,6 +38,7 @@ EFL_CONF_OPTS = \
        --with-elm-prefs-cc=$(HOST_DIR)/usr/bin/elm_prefs_cc \
        --with-elua=$(HOST_DIR)/usr/bin/elua \
        --with-eolian-gen=$(HOST_DIR)/usr/bin/eolian_gen \
+       --disable-image-loader-jp2k \
        --disable-lua-old \
        --disable-poppler \
        --disable-sdl \
@@ -251,13 +252,6 @@ else
 EFL_CONF_OPTS += --disable-image-loader-tiff
 endif
 
-ifeq ($(BR2_PACKAGE_EFL_JP2K),y)
-EFL_CONF_OPTS += --enable-image-loader-jp2k=yes
-EFL_DEPENDENCIES += openjpeg
-else
-EFL_CONF_OPTS += --disable-image-loader-jp2k
-endif
-
 ifeq ($(BR2_PACKAGE_EFL_WEBP),y)
 EFL_CONF_OPTS += --enable-image-loader-webp=yes
 EFL_DEPENDENCIES += webp