From: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] MokoTouch
Date: Thu, 5 Nov 2009 23:22:07 +0100 [thread overview]
Message-ID: <200911052322.08199.marcin@juszkiewicz.com.pl> (raw)
In-Reply-To: <200911052316.23264.david.lanzendoerfer@o2s.ch>
Dnia czwartek, 5 listopada 2009 o 23:16:19 David Lanzendörfer napisał(a):
> +++ b/recipes/mokotouch/mokotouch-apps-helloworld_2.bb
> @@ -0,0 +1,24 @@
> +require mokotouch.inc
> +
> +DEPENDS = "mokotouch-coreservices-mokotouch"
> +
> +do_configure(){
> +cd ${S}/MokoTouch/Apps/HelloWorld
> +rm UIKit.framework
> +ln -s "${S}/MokoTouch/Frameworks/UIKit/" UIKit.framework
> +${OE_QMAKE_QMAKE} HelloWorld.pro
> +}
> +
> +do_compile(){
> +cd ${S}/MokoTouch/Apps/HelloWorld
> +oe_runmake
> +}
> +
> +do_install(){
> +install -d "${D}/${libdir}"
> +install "${S}/MokoTouch/Apps/HelloWorld/BUILD/App/libHelloWorld.so.1.0.0"
> "${D}/${libdir}/libHelloWorld.so.1.0.0" +install
> "${S}/MokoTouch/Apps/HelloWorld/BUILD/App/libHelloWorld.so.1.0.0"
> "${D}/${libdir}/libHelloWorld.so.1.0" +install
> "${S}/MokoTouch/Apps/HelloWorld/BUILD/App/libHelloWorld.so.1.0.0"
> "${D}/${libdir}/libHelloWorld.so.1" +install
> "${S}/MokoTouch/Apps/HelloWorld/BUILD/App/libHelloWorld.so.1.0.0"
> "${D}/${libdir}/libHelloWorld.so" +}
My version of that recipe:
=============================
require mokotouch.inc
MTCOMPONENT = "HelloWorld"
=============================
Rest of code should be in mokotouch.inc as you only change component name in
all recipes. Each and each repeats same errors:
- no setting of ${S} but use of "cd somewhere to make it build"
- big duplication of code
- no use of qmake* bbclasses which remove need of do_configure/do_compile in
your recipes
- again waste of space by strange installation of libraries (fix loader to use
*.so maybe and skip all *.so.1.0.0 stuff?)
Still nack from me.
Regards,
--
JID: hrw@jabber.org
Website: http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
next prev parent reply other threads:[~2009-11-05 22:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-26 20:25 [PATCH] MokoTouch David Lanzendörfer
2009-10-26 20:43 ` Marcin Juszkiewicz
2009-10-26 20:55 ` Koen Kooi
2009-11-05 20:01 ` Michael 'Mickey' Lauer
2009-11-05 22:16 ` David Lanzendörfer
2009-11-05 22:22 ` Marcin Juszkiewicz [this message]
2010-04-08 9:35 ` Stefan Schmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200911052322.08199.marcin@juszkiewicz.com.pl \
--to=marcin@juszkiewicz.com.pl \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.