[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kde4libs vs qt4



On Wednesday 11 June 2008, Helge Deller wrote:
> Hello Sune,
>
> Sune Vuorela wrote:
> > I now hacked a bit and got stuff working on one of those cluster
> > machines. http://svn.debian.org/wsvn/pkg-kde/trunk/packages/qt4-
> > x11/debian/patches/72_generic_arch_atomic_header_fix.diff?op=file&rev=0&s
> >c=0
> >
> > This isn't the "real solution" though.
> >
> > Qt4 has arch specific code for most archs (and a "generic" arch mostly
> > used for bootstrapping of Qt), but no arch for linux/hppa, so we use the
> > "generic" arch here.
> >
> > The real solution involves some hppa assembler (which is way out of my
> > league). There is a patch in the package by lamont about patching the
> > hpux code, but I couldn't get taht to work with my quick tests.
>
> Attached are the basic pieces which should get it working with the
> qt4-x11_4.4.0-3 source package. My machine is still compiling, but it
> seems OK so far...

Okay.

> This piece makes configure detect hppa as a parisc-architecture:
>
> diff -up ./debian/patches/07_trust_dpkg-arch_over_uname-m.diff.org
> ./debian/patches/07_trust_dpkg-arch_over_uname-m.diff
> --- ./debian/patches/07_trust_dpkg-arch_over_uname-m.diff.org	2008-06-11
> 23:34:12.000000000 +0200
> +++ ./debian/patches/07_trust_dpkg-arch_over_uname-m.diff	2008-06-11
> 23:34:23.000000000 +0200
> @@ -22,7 +22,7 @@ Reported to trolltech as N180631 - and t
>   +		UNAME_MACHINE="armv5tel"
>   +	;;
>   +	hppa)
> -+		UNAME_MACHINE="parisc64"
> ++		UNAME_MACHINE="parisc"
>   +	;;
>   +	hurd-i386)
>   +		UNAME_MACHINE="i686-AT386"
>

This part is definately wrong, as this gets hardcoded into the binaries and 
changes here will make all modules refuse to load. 

I think doing something around line 2333 of configure might work.


> Full patch attached as well, just in case my mailer breaks the lines.
> Could you test it ? Do you need more ?

There is some tests here:

http://chaos.troll.no/~bhughes/qatomicint/
http://chaos.troll.no/~bhughes/qatomicpointer/

and trying to build kde4libs (experimental) against it might also show 
something.

I would like if some of you hppa people could test it a bit. I don't feel like 
throwing it at the debian buildds before that, as it takes a couple of days on 
some archs to build.

/Sune
-- 
I'm not able to reset the GPU, how does it work?

The point is that you neither have to insert a TCP/IP provider on a head of a 
bus of the Ultra-wide GUI, nor can ever digit from the 4-bit IDE prompt, so 
that from Photoshop or from the tools within Outlook 93 you should ping the 
front-side bus for saving on a clock to a controller over the command prompt.

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: