All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 08/30] jpeg: convert to a real package
Date: Fri, 1 Mar 2013 00:13:35 +0100	[thread overview]
Message-ID: <20130301001335.2dbd4b21@skate> (raw)
In-Reply-To: <CAHXCMMLphnmd1K_xMX3QR2pga-ptZK9+vRJ2O-4KeJM8BHTjuA@mail.gmail.com>

Dear Samuel Martin,

On Thu, 28 Feb 2013 23:13:03 +0100, Samuel Martin wrote:

> > Instead to implement such a make target manually, make jpeg a normal
> > generic-package, except that it doesn't have any source.
> Nice, it also prevents from fault positive match (about the
> infrastructure) in the autobuilder stats :)

Yes, the point is that by re-using the package infrastructure, we are
much cleaner in terms of integration with the download stuff, the
licensing feature and so on.

> > diff --git a/package/jpeg/jpeg.mk b/package/jpeg/jpeg.mk
> > index 3caacaa..962908d 100644
> > --- a/package/jpeg/jpeg.mk
> > +++ b/package/jpeg/jpeg.mk
> > @@ -1,10 +1,24 @@
> >  #############################################################
> >  #
> > -# jpeg
> > +# Virtual jpeg package
> >  #
> >  #############################################################
> >
> > -jpeg: $(if $(BR2_PACKAGE_JPEG_TURBO),jpeg-turbo,libjpeg)
> > +JPEG_SOURCE =
> >
> > -host-jpeg: host-libjpeg
> Does this change break few packages?
> AFAICS, libeet and libevas seem depend on host-jpeg.

Looks like I miss a $(eval $(host-generic-package)) at the end of the
file, and maybe a few more things. I'll look into this. Good point,
thanks for raising it!

> A bit off-topic: this is the first virtual package, it'd be good to
> have a clean and known way of handling virtual packages.

Yes. I would maybe wait that we have a few of them to see what is the
real pattern between them, but then documenting it will definitely be
useful, of course.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2013-02-28 23:13 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-27 23:25 [Buildroot] [PATCH] Add Qt5 packages Thomas Petazzoni
2013-02-27 23:25 ` [Buildroot] [PATCH 01/30] pcre: add support for 16 bits and 32 bits variants Thomas Petazzoni
2013-02-28  0:00   ` Gustavo Zacarias
2013-02-28  8:28     ` Thomas Petazzoni
2013-02-27 23:25 ` [Buildroot] [PATCH 02/30] x11r7/xcb-util: bump to 0.3.9 Thomas Petazzoni
2013-02-27 23:25 ` [Buildroot] [PATCH 03/30] x11r7/xcb-util-wm: new package Thomas Petazzoni
2013-02-27 23:25 ` [Buildroot] [PATCH 04/30] x11r7/xcb-util-image: " Thomas Petazzoni
2013-02-27 23:25 ` [Buildroot] [PATCH 05/30] package: create virtual package for libGLES, libOpenVG and libEGL Thomas Petazzoni
2013-02-27 23:25 ` [Buildroot] [PATCH 06/30] rpi-userland: provides OpenGL ES, EGL and OpenVG Thomas Petazzoni
2013-02-27 23:25 ` [Buildroot] [PATCH 07/30] rpi-userland: add .pc files for OpenGLESv2 and EGL libs Thomas Petazzoni
2013-02-27 23:25 ` [Buildroot] [PATCH 08/30] jpeg: convert to a real package Thomas Petazzoni
2013-02-28 22:13   ` Samuel Martin
2013-02-28 23:13     ` Thomas Petazzoni [this message]
2013-02-27 23:26 ` [Buildroot] [PATCH 09/30] qt5: base infrastructure Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 10/30] qt5: add macro to fixup Qt5 .la and .prl files Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 11/30] qt5base: new package Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 12/30] qt5base: add GUI support Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 13/30] qt5base: support debug or release modes Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 14/30] qt5base: add OpenSSL support Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 15/30] qt5base: add eglfs graphics backend Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 16/30] qt5base: add support for fontconfig, png, jpeg, gif Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 17/30] qt5base: add D-Bus support Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 18/30] qt5base: add glib support Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 19/30] qt5base: add support to build against ICU Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 20/30] qt5: factor Qt5 version Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 21/30] qt5/qt5svg: new package Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 22/30] qt5/qt5script: " Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 23/30] qt5/qt5imageformats: " Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 24/30] qt5/qt5xmlpatterns: " Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 25/30] qt5/qt5jsbackend: " Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 26/30] qt5/qt5declarative: " Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 27/30] qt5/qt5graphicaleffects: " Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 28/30] qt5/qt5multimedia: " Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 29/30] qt5/qt5quick1: " Thomas Petazzoni
2013-02-27 23:26 ` [Buildroot] [PATCH 30/30] qt5/qt5webkit: " Thomas Petazzoni
2013-03-01  2:26 ` [Buildroot] [PATCH] Add Qt5 packages Floris Bos
2013-03-01  4:25   ` Daniel Price
2013-03-01  9:19     ` Thomas Petazzoni
2013-03-01  9:08   ` Thomas Petazzoni
2013-03-01 16:39     ` Floris Bos
2013-03-01 16:54       ` Thomas Petazzoni

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=20130301001335.2dbd4b21@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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 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.