[Buildroot] [PATCH v5 13/36] package/efl/libefl: add jp2k config option

Romain Naour romain.naour at openwide.fr
Mon Oct 26 22:04:27 UTC 2015


Hi Yann, All,

Le 25/10/2015 15:48, Yann E. MORIN a écrit :
> Romain, All,
> 
> On 2015-10-24 23:00 +0200, Romain Naour spake thusly:
>> Like for webp format, add an option to enable the JPEG 2000
>> codec support in the efl libraries.
> 
> Suddenly, I wonder why you added a bunch of image loaders in the first
> patch adding libelf, but you add a few more such loaders in separate
> patches.
> 
> Can't you do either:
>   - introduce all of them as separate patches, or
>   - introduce all of them in the first patch adding libefl?
> 
> Or is there an underlying good reason to do as you did?

Yes there is a reason (good maybe), I wanted to add in the first patch all
images loader that are already present in the previous version of efl package.
So, I added new one in separate patches.

Best regards,
Romain

> 
> Regards,
> Yann E. MORIN.
> 
>> Signed-off-by: Romain Naour <romain.naour at openwide.fr>
>> ---
>> v4: rename to libefl
>>     improve commit log
>> ---
>>  package/efl/libefl/Config.in | 7 +++++++
>>  package/efl/libefl/libefl.mk | 7 +++++++
>>  2 files changed, 14 insertions(+)
>>
>> diff --git a/package/efl/libefl/Config.in b/package/efl/libefl/Config.in
>> index e25911f..53adea2 100644
>> --- a/package/efl/libefl/Config.in
>> +++ b/package/efl/libefl/Config.in
>> @@ -51,6 +51,13 @@ config BR2_PACKAGE_LIBEFL_PNG
>>  	  This enables the loader code that loads png files using
>>  	  libpng.
>>  
>> +config BR2_PACKAGE_LIBEFL_JP2K
>> +	bool "libevas jp2k loader"
>> +	select BR2_PACKAGE_OPENJPEG
>> +	help
>> +	  This enables the loader code that loads jp2k files using
>> +	  openjpeg.
>> +
>>  config BR2_PACKAGE_LIBEFL_JPEG
>>  	bool "libevas jpeg loader"
>>  	help
>> diff --git a/package/efl/libefl/libefl.mk b/package/efl/libefl/libefl.mk
>> index 3a4aab1..e53470d 100644
>> --- a/package/efl/libefl/libefl.mk
>> +++ b/package/efl/libefl/libefl.mk
>> @@ -201,6 +201,13 @@ else
>>  LIBEFL_CONF_OPTS += --enable-image-loader-tiff=no
>>  endif
>>  
>> +ifeq ($(BR2_PACKAGE_LIBEFL_JP2K),y)
>> +LIBEFL_CONF_OPTS += --enable-image-loader-jp2k=yes
>> +LIBEFL_DEPENDENCIES += openjpeg
>> +else
>> +LIBEFL_CONF_OPTS += --enable-image-loader-jp2k=no
>> +endif
>> +
>>  ifeq ($(BR2_PACKAGE_LIBEFL_WEBP),y)
>>  LIBEFL_CONF_OPTS += --enable-image-loader-webp=yes
>>  LIBEFL_DEPENDENCIES += webp
>> -- 
>> 2.4.3
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
> 

-- 
Romain Naour

OPEN WIDE Ingénierie - Paris
23/25, rue Daviel| 75013 PARIS
http://ingenierie.openwide.fr

Le blog des technologies libres et embarquées :
http://www.linuxembedded.fr


More information about the buildroot mailing list