Re: [ptxdist] ptxdist 1.0.0 trunk opened

2007-05-07 Thread Robert Schwebel
On Mon, May 07, 2007 at 08:32:11AM +0200, Arno Euteneuer wrote:
> I thought this would be nice to have in the stable release but unfortunately 
> I 
> don't know how to submit this as a regular ptxdist patch. Maybe my findings 
> can 
> help nevertheless :
> 
> Python on my target did not have the readline functionality in interactive 
> mode 
> and I found that during crosscompiling the header files "readline.h" and 
> "history.h" were missing. I was able to fix that by installing a symbolic 
> link 
> into OSELAS/local-host/include named "readline" and pointing to 
> OSELAS/build-target/readline-5.0
> 
>  > cd ~/OSEALS/local-host/include
>  > ln -s ../../build-target/readline-5.0 readline
> 
> A subsequent
>  > ptxdist clean python24; ptxdist go
> finally resulted in a python on the target that included readline.

It's a conceptual thing: packets with huge dependencies for system
libraries like python do a lot of autoprobing (find out if libsomething
is there, then build the python wrappers for it). So if Python is built
early, it finds less libraries than when it is built late.

We maybe need something like a separation into libs and apps, then build
all libs first and then all apps. But I doubt it will catch all cases,
as there are surely packets out there which are both, lib and app.

Could you look how other distributions handle that case? It may give us
some hints what to do.

Robert 
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
 Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9


-- 
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] ptxdist 1.0.0 trunk opened

2007-05-07 Thread Marc Kleine-Budde
Robert Schwebel wrote:

> It's a conceptual thing: packets with huge dependencies for system
> libraries like python do a lot of autoprobing (find out if libsomething
> is there, then build the python wrappers for it). So if Python is built
> early, it finds less libraries than when it is built late.

you "just" have to add all dependencies libs and the corresponding 
--with/without and/or --enable/disable switches

> We maybe need something like a separation into libs and apps, then build
> all libs first and then all apps. But I doubt it will catch all cases,
> as there are surely packets out there which are both, lib and app.

> Could you look how other distributions handle that case? It may give us
> some hints what to do.

gentoo has useflags. It a globaly "i want to use readline" or "i don't 
want to use it"

Marc

-- 
  Dipl.-Ing. Marc Kleine-Budde | http://www.pengutronix.de
   Pengutronix - Linux Solutions for Science and Industry
 Handelsregister: Amtsgericht Hildesheim, HRA 2686
   Hannoversche Str. 2, 31134 Hildesheim, Germany
 Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9

-- 
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] ptxdist 1.0.0 trunk opened

2007-05-07 Thread Arno Euteneuer
> It's a conceptual thing: packets with huge dependencies for system
> libraries like python do a lot of autoprobing (find out if libsomething
> is there, then build the python wrappers for it). So if Python is built
> early, it finds less libraries than when it is built late.

Hmm. But shouldn't then a "ptxdist clean python; ptxdist go" be enough when 
done 
after all libraries have been build? I had the impression that my problem had 
to 
do with cross compilation issues because the header files where probed in 
local-host/include and not somewhere where the target-readline might have 
installed its headers. But I might be wrong since I'm not a ptxdist expert (yet 
;o) ).

> We maybe need something like a separation into libs and apps, then build
> all libs first and then all apps. But I doubt it will catch all cases,
> as there are surely packets out there which are both, lib and app.
> 
> Could you look how other distributions handle that case? It may give us
> some hints what to do.

Sorry, I don't really have experience with other distributions but I will try 
to 
find out ...

Regards

Arno

-- 
ptxdist mailing list
ptxdist@pengutronix.de


[ptxdist] [ANNOUNCE] ptxdist-1.0.0 released

2007-05-07 Thread Robert Schwebel
Hildesheim, Germany - Pengutronix has released version 1.0.0 of the
userland build system PTXdist for embedded systems. PTXdist is one of
the major technology components of Pengutronix' professional Open Source
Embedded Linux Automation Services (OSELAS - http://www.oselas.com). 

This revision is the beginning of a new stable series; all subsequent
releases in the 1.0.x series will be bugfix-only. New features will be
added to the next release in the 1.1.x series.

Changes since 0.10.6:

* new busybox version
* true quilt operation for patch handling
* lots of bug fixes and packet improvements all over the place

A complete ptxdist insallation now consists of 

tar xf ptxdist-1.0.0.tgz
tar xf ptxdist-1.0.0-patches.tgz
tar xf ptxdist-1.0.0-projects.tgz

in the same directory, then

cd ptxdist-1.0.0
./configure && make && make install

Please also visit our IRC channel #ptxdist on irc.freenode.net. 

PTXdist is a GPL licensed tool which can be used to customize Linux and
the GNU userland for all kinds of embedded systems, like PLCs, data
loggers, firewalls etc. It provides a kconfig configuration system and a
Makefile based framework to document how an embedded Linux was created.
The archive is small and downloads all necessary source archives from
the original web sites with wget.  

The release can be found on the PTXdist download site: 

http://www.pengutronix.de/software/ptxdist/download/v1.0/

Here's the ChangeLog:

--8<--8<--8<--8<--8<--

2007-05-05  Robert Schwebel <[EMAIL PROTECTED]>

* release: released 1.0.0

2007-05-04  Robert Schwebel <[EMAIL PROTECTED]>

* figlet: fix output
* db41: cleanup; patch by Randall Loomis
* db41: fixed build issues with the patch above
* sysfsutils: fixed install path for systool; patch by Jari
Takkala
* alsa-lib: resmgr support is broken, because it needs libresmgr
* Rules.make: remove internal quotes in pkg-config path; patch
by Jari Takkala

2007-05-04  Marc Kleine-Budde <[EMAIL PROTECTED]>

* apply_patch_series.sh: removed debug 
* apply_patch_series.sh: be a bit more sane, don't fail on
existing patches subdirs or series files

* rules/pre/Rules.make: set PKG_CONFIG_PATH to nix, in HOST ENV
prevent host stuff leak into our own stuff

2007-05-04  Juergen Beisert <[EMAIL PROTECTED]>

* alsa-utils: consider new alsa-lib menu entries
* alsa-lib: adding more menu entries and help for more specific
configuration
* utelnetd.make: Using correct packet name for user's startup script
* u-boot.in: some help added

2007-05-04  Sascha Hauer <[EMAIL PROTECTED]>

* kernel: do not use kernel-patches-target and
kernel-patches-native anymore. The kernel patches are now placed
under patches/linux-version like for every other package

* ptxdist: check a ptxdist version against a configfile version.

- The ptxdist major version has to be equal to the configfile major 
version
- The ptxdist minor version has to be equal to the configfile minor 
version
- The ptxdist micro version has to greater than or equal to the 
configfile
  micro version
- If the configfile has no minor or micro version stop here and assume
  everything is ok (this means 'can build with 0.10.x or 0.x').
- If the ptxdist minor or micro version is "svn" then no further checks 
are
  done. You know what you are doing when you use svn, don't you?

* ptxdist: use quilt to apply patch stacks if we have it
* setterm: add setterm installation option

2007-04-26  Robert Schwebel <[EMAIL PROTECTED]>

* overall: removed some obsolete files

2007-04-26  Sascha Hauer <[EMAIL PROTECTED]>

* u-boot: add some help text

2007-04-26  Robert Schwebel <[EMAIL PROTECTED]>

* iptables: typo in lib name

* busybox: revert BB_ vs. BB_CONFIG_ change which comes due to
the fact that busybox uses a new kconfig. This patch makes it
possible to migrate old configurations in a sane time again ...

2007-04-20  Sascha Hauer <[EMAIL PROTECTED]>

* gdbserver: fixed get stage. We need to depend on gdb.get here
too, because otherwise, when gdbserver is selected but not gdb,
ptxdist will try to do a gdb.extract without doing gdb.get
beforehand

2007-04-23  Robert Schwebel <[EMAIL PROTECTED]>

* sqlite: version bump

2007-04-23  Bjoern Buerger <[EMAIL PROTECTED]>

* projects directory is not mandatory anymore

2007-04-20  Sascha Hauer <[EMAIL PROTECTED]>

* busybox: add patch for stty

2007-04-18  Robert Schwebel <[EMAIL PROTECTED]>

* mgetty: fixed URL; patch by Juergen Kilb
* pcre: fixed URL; patch by Juergen Kilb
* rsync: fixed U