Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [pull request] Pull request for branch package-infrastructure
@ 2009-12-15 19:30 Thomas Petazzoni
  2009-12-15 19:30 ` [Buildroot] [PATCH 01/39] Add generic package infrastructure Thomas Petazzoni
                   ` (40 more replies)
  0 siblings, 41 replies; 46+ messages in thread
From: Thomas Petazzoni @ 2009-12-15 19:30 UTC (permalink / raw)
  To: buildroot

Hello,

This patchset :

 * implements a new infrastructure to support all type of packages,
   not only packages relying on the autotools build system. Through
   the new GENTARGETS macro, implemented in
   package/Makefile.package.in, we will be able to write simpler .mk
   files and be able to factorize the common parts of the different
   .mk files. This infrastructure support building both host and
   target packages.

 * rebases the existing autotools infrastructure on top of the new
   generic infrastructure. This rebasing has no impact on the existing
   .mk files for autotools packages. With this rebasing, the autotools
   infrastructure gains the ability to build host packages.

 * simplifies most (if not all) .mk files of autotools-based packages
   that required an host version to be compiled (xutil_makedepend,
   xproto_xproto, pixman, m4, mtd-utils, lzo, libusb, libgtk2, gob2,
   expat, dbus-glib, shared-mime-info, libxml2, freetype, fontconfig,
   directfb, dbus, atk, pango, libtool, libglib2, cairo, automake,
   pkg-config)

 * bumps the version of autoconf to 2.65 and finally fixes the
   host-autoconf build problem when sh is symlinked to dash.

 * converts a few packages to the generic infrastructure (zlib, olsr,
   udev)

 * updates and extends the documentation to cover the new
   infrastructures with examples and reference information

I have tested this patchset in various conditions, but the changes are
sufficiently complicated that I cannot guarantee a bug-free transition
to these infrastructures. That's why I think such changes should be
merge early in the Buildroot development period, so that we have
enough time before 2010.02 to stabilize these changes (and make a
larger use of the new infrastructures).




The following changes since commit f3f1a94313361c251c4dfa164921d475835c763d:
  Peter Korsgaard (1):
        Merge branch 'avr32-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot

are available in the git repository at:

  git://git.busybox.net/~tpetazzoni/git/buildroot package-infrastructure

Thomas Petazzoni (39):
      Add generic package infrastructure
      Define TARGET_MAKE_ENV similarly to HOST_MAKE_ENV
      Rework autotools infrastructure on top of the generic infrastructure
      olsr: rework on top of the generic infrastructure
      zlib: rework on top of the generic infrastructure
      Add $(HOST_DIR)/usr/sbin to the PATH
      pkg-config: convert to autotools infrastructure for host package
      host-pkgconfig is now host-pkg-config
      Add package statistics script
      autoconf: convert to autotools infrastructure for host package
      autoconf: bump version to 2.65
      autoconf: add patch to make it work under dash
      automake: convert to autotools infrastructure for host package
      cairo: convert to autotools infrastructure for host package
      libglib2: convert to autotools infrastructure for host package
      libtool: convert to autotools infrastructure for host package
      pango: convert to autotools infrastructure for host package
      atk: convert to autotools infrastructure for host package
      dbus: convert to autotools infrastructure for host package
      directfb: convert to autotools infrastructure for host package
      fontconfig: convert to autotools infrastructure for host package
      freetype: convert to autotools infrastructure for host package
      libxml2: convert to autotools infrastructure for host package
      shared-mime-info: convert to autotools infrastructure for host package
      dbus-glib: convert to autotools infrastructure for host package
      expat: convert to autotools infrastructure for host package
      gob2: convert to autotools infrastructure for host package
      libgtk2: convert to autotools infrastructure for host package
      libusb: convert to autotools infrastructure for host package
      lzo: convert to autotools infrastructure for host package
      mtd-utils: fix dependency on host package
      m4: convert to autotools infrastructure for host package
      pixman: convert to autotools infrastructure for host package
      xproto_xproto: convert to autotools infrastructure for host package
      xutil_makedepend: convert to autotools infrastructure for host package
      i2c-tools: convert to the generic package infrastructure
      udev: convert to generic package infrastructure
      documentation: update about new package infrastructures
      documentation: slightly improve CSS

 docs/buildroot.html                                |  692 +++++++++++++++++---
 docs/stylesheet.css                                |   10 +
 package/Makefile.autotools.in                      |  624 ++++++------------
 package/Makefile.in                                |    7 +-
 package/Makefile.package.in                        |  397 +++++++++++
 package/atk/atk.mk                                 |   50 +--
 ...toconf-2.65-fix-m4-detection-test-on-dash.patch |   36 +
 package/autoconf/autoconf.mk                       |   53 +--
 package/automake/automake.mk                       |   47 +--
 package/cairo/cairo.mk                             |   50 +--
 package/dbus-glib/dbus-glib.mk                     |   52 +--
 package/dbus/dbus.mk                               |   74 +--
 package/directfb/directfb.mk                       |   55 +--
 package/dnsmasq/dnsmasq.mk                         |    2 +-
 package/docker/docker.mk                           |    2 +-
 package/editors/vim/vim.mk                         |    2 +-
 package/enchant/enchant.mk                         |    2 +-
 package/expat/expat.mk                             |   46 +--
 package/fontconfig/fontconfig.mk                   |   49 +--
 package/freetype/freetype.mk                       |   48 +--
 package/gettext/gettext.mk                         |    2 +-
 package/gob2/gob2.mk                               |   46 +--
 package/gqview/gqview.mk                           |    2 +-
 package/gvfs/gvfs.mk                               |    2 +-
 package/hal/hal.mk                                 |    2 +-
 package/i2c-tools/i2c-tools.mk                     |   44 +-
 package/java/classpath/classpath.mk                |    2 +-
 package/java/jamvm/jamvm.mk                        |    2 +-
 package/libdaemon/libdaemon.mk                     |    2 +-
 package/libdrm/libdrm.mk                           |    2 +-
 package/libglade/libglade.mk                       |    2 +-
 package/libglib2/libglib2.mk                       |   57 +--
 package/libgtk2/libgtk2.mk                         |   57 +--
 package/libidn/libidn.mk                           |    2 +-
 package/libpng/libpng.mk                           |    2 +-
 package/libsoup/libsoup.mk                         |    2 +-
 package/libtool/libtool.mk                         |   51 +--
 package/libusb/libusb.mk                           |    4 +-
 package/libxml2/libxml2.mk                         |   52 +--
 package/lzo/lzo.mk                                 |   43 +--
 package/m4/m4.mk                                   |   46 +--
 package/matchbox/matchbox.mk                       |    2 +-
 package/midori/midori.mk                           |    2 +-
 package/mtd/mtd-utils/mtd.mk                       |    2 +-
 package/multimedia/gstreamer/gstreamer.mk          |    2 +-
 package/multimedia/libmms/libmms.mk                |    2 +-
 package/multimedia/libogg/libogg.mk                |    2 +-
 package/multimedia/libtheora/libtheora.mk          |    2 +-
 package/multimedia/libvorbis/libvorbis.mk          |    3 +-
 package/multimedia/swfdec/swfdec.mk                |    2 +-
 package/neon/neon.mk                               |    2 +-
 package/olsr/olsr.mk                               |   60 +--
 package/pango/pango.mk                             |   58 +--
 package/pcmanfm/pcmanfm.mk                         |    2 +-
 package/pixman/pixman.mk                           |   44 +--
 package/pkg-config/pkg-config.mk                   |   51 +--
 package/shared-mime-info/shared-mime-info.mk       |   54 +--
 package/sylpheed/sylpheed.mk                       |    2 +-
 package/tiff/tiff.mk                               |    2 +-
 package/udev/udev.mk                               |  273 +++------
 package/usbutils/usbutils.mk                       |    2 +-
 package/wpa_supplicant/wpa_supplicant.mk           |    2 +-
 package/x11r7/xfont_font-util/xfont_font-util.mk   |    2 +-
 package/x11r7/xproto_xproto/xproto_xproto.mk       |   44 +--
 package/x11r7/xutil_makedepend/xutil_makedepend.mk |   46 +--
 package/zlib/zlib.mk                               |   93 +--
 scripts/pkg-stats                                  |  200 ++++++
 67 files changed, 1793 insertions(+), 1885 deletions(-)
 create mode 100644 package/Makefile.package.in
 create mode 100644 package/autoconf/autoconf-2.65-fix-m4-detection-test-on-dash.patch
 create mode 100755 scripts/pkg-stats

Thanks,
-- 
Thomas Petazzoni

^ permalink raw reply	[flat|nested] 46+ messages in thread

end of thread, other threads:[~2009-12-16 15:39 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-15 19:30 [Buildroot] [pull request] Pull request for branch package-infrastructure Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 01/39] Add generic package infrastructure Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 02/39] Define TARGET_MAKE_ENV similarly to HOST_MAKE_ENV Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 03/39] Rework autotools infrastructure on top of the generic infrastructure Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 04/39] olsr: rework " Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 05/39] zlib: " Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 06/39] Add $(HOST_DIR)/usr/sbin to the PATH Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 07/39] pkg-config: convert to autotools infrastructure for host package Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 08/39] host-pkgconfig is now host-pkg-config Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 09/39] Add package statistics script Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 10/39] autoconf: convert to autotools infrastructure for host package Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 11/39] autoconf: bump version to 2.65 Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 12/39] autoconf: add patch to make it work under dash Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 13/39] automake: convert to autotools infrastructure for host package Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 14/39] cairo: " Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 15/39] libglib2: " Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 16/39] libtool: " Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 17/39] pango: " Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 18/39] atk: " Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 19/39] dbus: " Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 20/39] directfb: " Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 21/39] fontconfig: " Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 22/39] freetype: " Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 23/39] libxml2: " Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 24/39] shared-mime-info: " Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 25/39] dbus-glib: " Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 26/39] expat: " Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 27/39] gob2: " Thomas Petazzoni
2009-12-15 19:30 ` [Buildroot] [PATCH 28/39] libgtk2: " Thomas Petazzoni
2009-12-15 19:31 ` [Buildroot] [PATCH 29/39] libusb: " Thomas Petazzoni
2009-12-16 15:38   ` Peter Korsgaard
2009-12-15 19:31 ` [Buildroot] [PATCH 30/39] lzo: " Thomas Petazzoni
2009-12-15 19:31 ` [Buildroot] [PATCH 31/39] mtd-utils: fix dependency on " Thomas Petazzoni
2009-12-16 15:39   ` Peter Korsgaard
2009-12-15 19:31 ` [Buildroot] [PATCH 32/39] m4: convert to autotools infrastructure for " Thomas Petazzoni
2009-12-15 19:31 ` [Buildroot] [PATCH 33/39] pixman: " Thomas Petazzoni
2009-12-15 19:31 ` [Buildroot] [PATCH 34/39] xproto_xproto: " Thomas Petazzoni
2009-12-15 19:31 ` [Buildroot] [PATCH 35/39] xutil_makedepend: " Thomas Petazzoni
2009-12-15 19:31 ` [Buildroot] [PATCH 36/39] i2c-tools: convert to the generic package infrastructure Thomas Petazzoni
2009-12-15 19:31 ` [Buildroot] [PATCH 37/39] udev: convert to " Thomas Petazzoni
2009-12-15 19:31 ` [Buildroot] [PATCH 38/39] documentation: update about new package infrastructures Thomas Petazzoni
2009-12-15 19:31 ` [Buildroot] [PATCH 39/39] documentation: slightly improve CSS Thomas Petazzoni
2009-12-16  9:29   ` Paulius Zaleckas
2009-12-15 21:45 ` [Buildroot] [pull request] Pull request for branch package-infrastructure Sven Neumann
2009-12-16  6:46   ` Lionel Landwerlin
2009-12-16 15:33 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox