[OE-core] [PATCH] jpeg: To enable non-JPEG file formats for djpeg/cjpeg command.

Burton, Ross ross.burton at intel.com
Mon Jan 4 17:01:59 UTC 2016


Hi,

oe-core is about to move to libjpeg-turbo (see ross/mut and the recent
patches), so this will need to be retested and rebased if required.

Ross

On 30 December 2015 at 01:07, Lei, Maohui <leimaohui at cn.fujitsu.com> wrote:

> ping
>
> > -----Original Message-----
> > From: Lei, Maohui
> > Sent: Friday, December 18, 2015 5:08 PM
> > To: openembedded-core at lists.openembedded.org
> > Cc: Lei, Maohui
> > Subject: [OE-core][PATCH] jpeg: To enable non-JPEG file formats for
> djpeg/cjpeg
> > command.
> >
> > To fix the error as following when use djpeg/cjpeg command:
> > Unsupported output file format
> >
> > Signed-off-by: Lei Maohui <leimaohui at cn.fujitsu.com>
> > ---
> >  meta/recipes-core/jpeg/jpeg_9a.bb | 13 +++++++++++++
> >  1 file changed, 13 insertions(+)
> >
> > diff --git a/meta/recipes-core/jpeg/jpeg_9a.bb b/meta/recipes-
> > core/jpeg/jpeg_9a.bb
> > index ea2e65d..092057d 100644
> > --- a/meta/recipes-core/jpeg/jpeg_9a.bb
> > +++ b/meta/recipes-core/jpeg/jpeg_9a.bb
> > @@ -21,6 +21,19 @@ FILES_jpeg-tools =         "${bindir}/*"
> >
> >  BBCLASSEXTEND = "native"
> >
> > +#To enable non-JPEG(bmp,gif,ppm and targa) file formats for djpeg/cjpeg
> > command
> > +do_compile_prepend() {
> > +        echo '#ifdef JPEG_CJPEG_DJPEG '
>    >> jconfig.h
> > +        echo '#define BMP_SUPPORTED    /* BMP image file format */'
>    >>
> > jconfig.h
> > +        echo '#define GIF_SUPPORTED    /* GIF image file format */'
>    >> jconfig.h
> > +        echo '#define PPM_SUPPORTED    /* PBMPLUS PPM/PGM image file
> format
> > */' >> jconfig.h
> > +        echo '#undef RLE_SUPPORTED     /* Utah RLE image file format
> */'  >>
> > jconfig.h
> > +        echo '#define TARGA_SUPPORTED  /* Targa image file format */'
>    >>
> > jconfig.h
> > +        echo '#endif /* JPEG_CJPEG_DJPEG */'
>   >> jconfig.h
> > +}
> > +
> > +
> > +
> >  pkg_postinst_${PN}_linuxstdbase () {
> >      if [ ! -e $D${libdir}/libjpeg.so.62 ]; then
> >          JPEG=`find $D${libdir} -type f -name libjpeg.so.\*.\*.\*`
> > --
> > 1.8.4.2
>
>
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160104/47ada9cd/attachment-0002.html>


More information about the Openembedded-core mailing list