mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: christian.melki@t2data.com
Cc: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] [PATCH 1/4] libjpeg: enable building libturbojpeg
Date: Tue, 22 Feb 2022 13:03:47 +0100	[thread overview]
Message-ID: <265c507271c52e523e8d77deef6d528a28299584.camel@pengutronix.de> (raw)
In-Reply-To: <427ed28f-68e0-0a36-c4a9-90e060591d06@t2data.com>

Hi Christian,

On Fr, 2022-02-18 at 17:27 +0100, Christian Melki wrote:
> On 2/18/22 17:08, Philipp Zabel wrote:
> > Enable building libturbojpeg for users of the simplified API.
> > 
> > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> > ---
> >  rules/libjpeg.in   | 7 +++++++
> >  rules/libjpeg.make | 5 ++++-
> >  2 files changed, 11 insertions(+), 1 deletion(-)
> > 
> > diff --git a/rules/libjpeg.in b/rules/libjpeg.in
> > index 53a9d9e09701..3304c6ac896f 100644
> > --- a/rules/libjpeg.in
> > +++ b/rules/libjpeg.in
> > @@ -19,4 +19,11 @@ config LIBJPEG_BIN
> >           cjpeg and djpeg are simple bineries to convert some basic
> > image
> >           formats to jpeg (cjpeg) or convert them back from jpeg
> > (djpeg)
> >  
> > +config LIBJPEG_TURBO
> > +       bool
> > +       prompt "Build and install libturbojpeg"
> > +       help
> > +         In addition to the traditional libjpeg API, also provide
> > the less
> > +         powerful but more straightforward TurboJPEG API.
> > +
> >  endif
> > diff --git a/rules/libjpeg.make b/rules/libjpeg.make
> > index 559a6d08d504..704f810a4bd4 100644
> > --- a/rules/libjpeg.make
> > +++ b/rules/libjpeg.make
> > @@ -60,7 +60,7 @@ LIBJPEG_CONF_OPT := \
> >         -DWITH_JPEG8=ON \
> >         -DWITH_MEM_SRCDST=ON \
> >         -DWITH_SIMD=$(call ptx/onoff,LIBJPEG_SIMD) \
> > -       -DWITH_TURBOJPEG=OFF
> > +       -DWITHOUT_TURBOJPEG=$(call ptx/ifdef,
> > PTXCONF_LIBJPEG_TURBO,OFF,ON)
> 
> Looks weird. Didn't -DWITH work?

Thank you, that's just an artifact of parallel history. I initially
wrote this when the libjpeg rule still had -DWITHOUT_TURBOJPEG=ON and
didn't notice this was changed with the 2.0.5 -> 2.1.0 version bump.

Using -DWITH_TURBOJPEG=$(call ptx/onoff,PTXCONF_LIBJPEG_TURBO) works
just fine. Will fix and resend this patch.

regards
Philipp

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

      parent reply	other threads:[~2022-02-22 12:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-18 16:08 Philipp Zabel
2022-02-18 16:08 ` [ptxdist] [PATCH 2/4] aml: new package Philipp Zabel
2022-02-28 12:09   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-02-18 16:08 ` [ptxdist] [PATCH 3/4] neatvnc: " Philipp Zabel
2022-02-28 12:09   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-02-18 16:08 ` [ptxdist] [PATCH 4/4] wayvnc: " Philipp Zabel
2022-02-28 12:09   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-02-18 16:27 ` [ptxdist] [PATCH 1/4] libjpeg: enable building libturbojpeg Christian Melki
2022-02-22  7:35   ` Michael Olbrich
2022-02-22 12:03   ` Philipp Zabel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=265c507271c52e523e8d77deef6d528a28299584.camel@pengutronix.de \
    --to=p.zabel@pengutronix.de \
    --cc=christian.melki@t2data.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox