Bug#599206: dpkg-cross should leave files in converted package

2010-10-13 Thread Loïc Minier
On Wed, Oct 13, 2010, Goswin von Brederlow wrote: > "share" is for things that are architecture independent which this is > obviously not. This is it's high-level title, but if your pathnames are different when the architecture differs, I think it essentially fits the bill for the use cases of

Bug#599206: dpkg-cross should leave files in converted package

2010-10-13 Thread Goswin von Brederlow
Loïc Minier writes: > On Wed, Oct 06, 2010, Goswin von Brederlow wrote: >> Create a wrapper script that defaults to the natgive arch but accepts an >> arch triplet as argumen, like: >> >> cat >tclConfig.sh <> #!/bin/sh >> >> ARCH=${1:$(DEB_HOST_GNU_TYPE)} >> >> exec /usr/lib/$ARCH/tcl8.5/$0 >>

Bug#599206: dpkg-cross should leave files in converted package

2010-10-06 Thread Neil Williams
On Wed, 6 Oct 2010 19:27:57 +0200 Loïc Minier wrote: > On Wed, Oct 06, 2010, Neil Williams wrote: > > No. pkg-config specifies architecture-independent metadata which is > > static within any single source release, not architecture-dependent > > variables deduced at build time. > > it's not arc

Bug#599206: dpkg-cross should leave files in converted package

2010-10-06 Thread Loïc Minier
On Wed, Oct 06, 2010, Neil Williams wrote: > No. pkg-config specifies architecture-independent metadata which is > static within any single source release, not architecture-dependent > variables deduced at build time. it's not architecture independent at all (which is why it's mostly in /usr/lib

Bug#599206: dpkg-cross should leave files in converted package

2010-10-06 Thread Neil Williams
On Wed, 6 Oct 2010 15:38:37 +0200 Loïc Minier wrote: > On Wed, Oct 06, 2010, Neil Williams wrote: > > Non-standard build configuration - you'll need to discuss with upstream > > just how this is meant to support cross-compilation. Probably just have > > to patch the source to make this script tru

Bug#599206: dpkg-cross should leave files in converted package

2010-10-06 Thread Loïc Minier
On Wed, Oct 06, 2010, Neil Williams wrote: > Non-standard build configuration - you'll need to discuss with upstream > just how this is meant to support cross-compilation. Probably just have > to patch the source to make this script truly cross-platform by having > all the variables defined and sel

Bug#599206: dpkg-cross should leave files in converted package

2010-10-06 Thread Neil Williams
On Wed, 6 Oct 2010 13:22:08 +0200 Loïc Minier wrote: > On Tue, Oct 05, 2010, Neil Williams wrote: > > This script is a "build-tool", it is not a "cross-build-dependency" in > > that it is not a header file, it is not a pkg-config file and it is not > > used when linking the cross built applicatio

Bug#599206: dpkg-cross should leave files in converted package

2010-10-06 Thread Neil Williams
On Wed, 6 Oct 2010 14:31:13 +0200 Loïc Minier wrote: > On Wed, Oct 06, 2010, Goswin von Brederlow wrote: > > Create a wrapper script that defaults to the natgive arch but accepts an > > arch triplet as argumen, like: > > > > cat >tclConfig.sh < > #!/bin/sh > > > > ARCH=${1:$(DEB_HOST_GNU_TYPE)}

Bug#599206: dpkg-cross should leave files in converted package

2010-10-06 Thread Loïc Minier
On Wed, Oct 06, 2010, Goswin von Brederlow wrote: > Create a wrapper script that defaults to the natgive arch but accepts an > arch triplet as argumen, like: > > cat >tclConfig.sh < #!/bin/sh > > ARCH=${1:$(DEB_HOST_GNU_TYPE)} > > exec /usr/lib/$ARCH/tcl8.5/$0 > EOF Yup, that's fair; I would u

Bug#599206: dpkg-cross should leave files in converted package

2010-10-06 Thread Goswin von Brederlow
Loïc Minier writes: > On Tue, Oct 05, 2010, Neil Williams wrote: >> This script is a "build-tool", it is not a "cross-build-dependency" in >> that it is not a header file, it is not a pkg-config file and it is not >> used when linking the cross built application. The file is therefore >> not arc

Bug#599206: dpkg-cross should leave files in converted package

2010-10-06 Thread Loïc Minier
On Tue, Oct 05, 2010, Neil Williams wrote: > This script is a "build-tool", it is not a "cross-build-dependency" in > that it is not a header file, it is not a pkg-config file and it is not > used when linking the cross built application. The file is therefore > not architecture-dependent and canno

Bug#599206: dpkg-cross should leave files in converted package

2010-10-06 Thread Neil Williams
On Wed, 06 Oct 2010 09:14:28 +0200 Goswin von Brederlow wrote: > > dpkg-cross only cares about specific files types in the -cross package > > - typically files which are architecture-dependent and which are > > easily identifiable as such. > > I should care about the copyright and changelogs tho

Bug#599206: dpkg-cross should leave files in converted package

2010-10-06 Thread Goswin von Brederlow
Neil Williams writes: > notfound 599206 2.5.8ubuntu2 > found 599206 2.5.8 > severity 599206 wishlist > retitle 599206 "dpkg-cross: document file removal process > quit > > On Tue, 05 Oct 2010 18:10:32 +0200 > Marcin Juszkiewicz wrote: > >> Package: dpkg-cross >> Version: 2.5.8ubuntu2 > > Wrong v

Bug#599206: dpkg-cross should leave files in converted package

2010-10-05 Thread Neil Williams
notfound 599206 2.5.8ubuntu2 found 599206 2.5.8 severity 599206 wishlist retitle 599206 "dpkg-cross: document file removal process quit On Tue, 05 Oct 2010 18:10:32 +0200 Marcin Juszkiewicz wrote: > Package: dpkg-cross > Version: 2.5.8ubuntu2 Wrong version - please report this in Launchpad only

Bug#599206: dpkg-cross should leave files in converted package

2010-10-05 Thread Marcin Juszkiewicz
Package: dpkg-cross Version: 2.5.8ubuntu2 Severity: important -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 dpkg-cross by default removes lot of files from converted packages. Effect it that sqlite3 can not be cross built because tcl8.5-dev-armel-cross package does not contain tclConfig.sh (which