Re: multiarch and pkg-config

2010-02-06 Thread Goswin von Brederlow
Josselin Mouette writes: > Le mercredi 03 février 2010 à 10:48 +0100, Goswin von Brederlow a > écrit : >> > If we want to support multiarch compilation, this sounds ok to me. I'm >> > personally not convinced by the point of doing it. Though. >> >> We probably don't want multiarch compilat

Re: multiarch and pkg-config

2010-02-06 Thread Goswin von Brederlow
Peter Samuelson writes: > [Goswin von Brederlow] >> Then installing the i386 package on amd64 would create the symlink >> and make sources building for 64bit find the 32bit libraries. Verry >> bad idea. You completly missed the point. > 1) People shouldn't be installing -dev packages from the w

Re: multiarch and pkg-config

2010-02-05 Thread Josselin Mouette
Le mercredi 03 février 2010 à 10:48 +0100, Goswin von Brederlow a écrit : > > If we want to support multiarch compilation, this sounds ok to me. I'm > > personally not convinced by the point of doing it. Though. > > We probably don't want multiarch compilation as such but cross > compilation is

Re: multiarch and pkg-config

2010-02-05 Thread Peter Samuelson
[Goswin von Brederlow] > Then installing the i386 package on amd64 would create the symlink > and make sources building for 64bit find the 32bit libraries. Verry > bad idea. 1) People shouldn't be installing -dev packages from the wrong architecture. It is too early in the game to rely on that s

Re: multiarch and pkg-config

2010-02-05 Thread Hendrik Sattler
Am Freitag 05 Februar 2010 09:04:45 schrieb Tollef Fog Heen: > | #get the location of the .pc file > | PC_NONOPTS=`echo $@ | sed -e 's/\(--[^ ]* \)*//g'` > | PC_FILEDIR=`pkg-config --variable=pcfiledir "$PC_NONOPTS"` > | PC_RESULT=$? > | test "$PC_FILEDIR" || exit $PC_RESULT > > This one is not, i

Re: multiarch and pkg-config

2010-02-05 Thread Tollef Fog Heen
]] Hendrik Sattler Please don't send me copies, I'm subscribed and set my mail-followup-to as well as mail-copies-to. | Am Dienstag 02 Februar 2010 21:43:21 schrieb Tollef Fog Heen: | > ]] Hendrik Sattler | > | pkg-config actually does support relocation of the libraries but for a | > | strange

Re: multiarch and pkg-config

2010-02-04 Thread Hendrik Sattler
Am Dienstag 02 Februar 2010 21:43:21 schrieb Tollef Fog Heen: > ]] Hendrik Sattler > > | Am Dienstag 02 Februar 2010 16:14:27 schrieb Simon McVittie: > | > However, this would also require that pkg-config itself was multiarch > | > or otherwise supported cross-compilation > | > (/usr/bin/i486-linu

Re: multiarch and pkg-config

2010-02-04 Thread Tollef Fog Heen
]] Goswin von Brederlow | But how would -dev packages signal that they need support for this? They | do not depend on pkg-config as they are usable without. Should they | Breaks: pkg-config (<< ver)? Seems too strong. Breaks sounds fine to me. -- Tollef Fog Heen UNIX is user friendly, it's jus

Re: multiarch and pkg-config

2010-02-04 Thread Goswin von Brederlow
Peter Samuelson writes: > [Goswin von Brederlow] >> But how would -dev packages signal that they need support for this? >> They do not depend on pkg-config as they are usable without. Should >> they Breaks: pkg-config (<< ver)? Seems too strong. > > Alternatively, create a symlink into /usr/lib/p

Re: multiarch and pkg-config

2010-02-03 Thread Peter Samuelson
[Goswin von Brederlow] > But how would -dev packages signal that they need support for this? > They do not depend on pkg-config as they are usable without. Should > they Breaks: pkg-config (<< ver)? Seems too strong. Alternatively, create a symlink into /usr/lib/pkgconfig/ in postinst, if one isn

Re: multiarch and pkg-config

2010-02-03 Thread Goswin von Brederlow
Tollef Fog Heen writes: > ]] Simon McVittie > > | `pkg-config --debug 2>&1 | grep i486` (on my i386) reveals that pkg-config > | already looks in /usr/lib/pkgconfig/i486-linux-gnu; perhaps it could be made > | to search /usr/lib/TRIPLET/pkgconfig too (hackish version: > | /usr/lib/pkgconfig/TRIP

Re: multiarch and pkg-config

2010-02-02 Thread Tollef Fog Heen
]] Hendrik Sattler | Am Dienstag 02 Februar 2010 16:14:27 schrieb Simon McVittie: | > However, this would also require that pkg-config itself was multiarch or | > otherwise supported cross-compilation (/usr/bin/i486-linux-gnu-pkg-config, | > like AC_CHECK_TOOL would use? pkg-config --arch=i486-li

Re: multiarch and pkg-config

2010-02-02 Thread Tollef Fog Heen
]] Simon McVittie | `pkg-config --debug 2>&1 | grep i486` (on my i386) reveals that pkg-config | already looks in /usr/lib/pkgconfig/i486-linux-gnu; perhaps it could be made | to search /usr/lib/TRIPLET/pkgconfig too (hackish version: | /usr/lib/pkgconfig/TRIPLET could be a symlink there, on Debi

Re: multiarch and pkg-config

2010-02-02 Thread Hendrik Sattler
Am Dienstag 02 Februar 2010 16:14:27 schrieb Simon McVittie: > However, this would also require that pkg-config itself was multiarch or > otherwise supported cross-compilation (/usr/bin/i486-linux-gnu-pkg-config, > like AC_CHECK_TOOL would use? pkg-config --arch=i486-linux-gnu? etc.); > until then