ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] qtopia package build failure while building ltib from CVS (Sa


From: Stuart Hughes
Subject: Re: [Ltib] qtopia package build failure while building ltib from CVS (Savannah)
Date: Fri, 28 Aug 2009 11:07:01 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Daniel,

What's odd is that in some cases it must run without doing that copy as the team that added qtopia would have tested this. Maybe they had some other fonts selected?

I'm curious as to why Xlib-dev is needed, I didn't know that was needed for qtopia2, however the whole build mechanism for qtopia seems rather odd to me (at least).

Thanks for your help with this.

Regards, Stuart

Daniel Widyanto wrote:
Hi Stuart,

I added that one ("Copy the fonts or Qtopia won't run"). Actually without the fonts, the compilation will succeed, but the qtopia will crash (it will return to command prompt after I run it, with some error message if I'm not mistaken).
Regarding the X library, I partially remember adding Xlib-dev package to my 
Ubuntu 9.10 to build Qtopia, but I cannot remember exactly which library that 
I've added.

Anyway, Rajesh Marathe has succeed compiling Qtopia 2 for his board. So, we'll 
know whether this thing really works or not on other platform =)

Regards,
-daniel


-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Stuart Hughes
Sent: Friday, August 28, 2009 5:17 PM
To: Hamilton Vera
Cc: address@hidden
Subject: Re: [Ltib] qtopia package build failure while building ltib from CVS 
(Savannah)

Hi Hamilton,

Nothing significant has been changed in qtopia-4 lately, but I don't normally build this (not one of the packages I added) so am not best to comment.

I've just tried a rebuild of qtopia (2) for imx27 and it build without any problems (I do have X and a number of other non-default packages enabled). My host distro is Dreamlinux 3.5 (Debian Lenny). I'm guessing in my build environment that directory got created by the Qtopia build due to some configure/environment test. I'm not really sure why that clause was added (the comment is: "Copy the fonts, or Qtopia won't run", but I would have expected Qtopia's build system to take care of that. As a hack (maybe someone understand how to build Qtopia properly?) I've checked in this patch to qtopia.spec which should relieve the symptom:

@@ -186,7 +186,9 @@
  install -d $RPM_BUILD_ROOT/%{pfx}

  # Copy the fonts, or Qtopia won't run
-cp -a qt2/lib/fonts/* qtopia/image/opt/Qtopia/lib/fonts/
+FONTDIR=qtopia/image/opt/Qtopia/lib/fonts/
+test -d $FONTDIR || install -d $FONTDIR
+cp -a qt2/lib/fonts/* $FONTDIR
  cp -a qtopia/image/opt $RPM_BUILD_ROOT/%{pfx}

  install -d $RPM_BUILD_ROOT/%{pfx}/etc/rc.d/init.d

Regards, Stuart



_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib





reply via email to

[Prev in Thread] Current Thread [Next in Thread]