All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: eu@felipetonello.com
Cc: "Felipe F. Tonello" <ftonello@cercacor.com>,
	openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v2 3/3] qt-mobility: added list of modules to be compiled
Date: Sat, 16 Mar 2013 14:38:30 -0700	[thread overview]
Message-ID: <5144E656.7050808@linux.intel.com> (raw)
In-Reply-To: <1363193354-6895-4-git-send-email-eu@felipetonello.com>

On 03/13/2013 09:49 AM, eu@felipetonello.com wrote:
> From: "Felipe F. Tonello" <ftonello@cercacor.com>
>
> This is useful for users that want to .bbappend this recipe to select specific
> modules to be compiled.
>
> Signed-off-by: Felipe F. Tonello <ftonello@cercacor.com>
> ---
>   meta/recipes-qt/qt4/qt-mobility_1.2.0.inc |    6 ++++--
>   1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc b/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc
> index fca4cb0..849235c 100644
> --- a/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc
> +++ b/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc
> @@ -18,7 +18,7 @@ SRC_URI = "http://get.qt.nokia.com/qt/add-ons/qt-mobility-opensource-src-${PV}.t
>   SRC_URI[md5sum]="ea5db5a8d3dd4709c2926dceda646bd8"
>   SRC_URI[sha256sum]="ee3c88975e04139ac9589f76d4be646d44fcbc4c8c1cf2db621abc154cf0ba44"
>
> -PR = "r7"
> +PR = "r8"
>
>   S = "${WORKDIR}/qt-mobility-opensource-src-${PV}"
>
> @@ -31,6 +31,8 @@ qtm_plugins	:= "/usr/lib/${qtm_dir}/plugins/QtMobility"
>   qtm_data	:= "/usr/share/${qtm_dir}"
>   qtm_imports	:= "/usr/lib/${qtm_dir}/imports"
>
> +qtm_modules_list ?= "bearer contacts gallery location publishsubscribe messaging multimedia \
> +systeminfo serviceframework sensors versit organizer feedback connectivity"
>   qtm_bluezflag ?= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'yes', 'no', d)}"
>
>   do_configure_prepend() {
> @@ -44,7 +46,7 @@ do_configure_prepend() {
>   	cp staticconfig.pri staticconfig.pri.old
>   	echo "include(${STAGING_DATADIR}/${qtm_dir}/mkspecs/qconfig.pri)" >staticconfig.pri
>   	cat staticconfig.pri.old >>staticconfig.pri
> -	./configure -qmake-exec qmake2 -prefix /usr -examples -demos
> +	./configure -qmake-exec qmake2 -prefix /usr -examples -demos -modules ${qtm_modules_list}
This change seems to generate an error from the configure scripts

> | Unknown option: contacts
> | Usage: configure [-prefix <dir>] [headerdir <dir>] [libdir <dir>]
> |                  [-bindir <dir>] [-tests] [-examples] [-no-docs]
> |                  [-no-tools] [-debug] [-release] [-silent]
> |                  [-modules <list>]


I think you need to add quotes to the around the list based on this from 
the help:

> | -modules <list> ... Restrict list of modules to build (default all supported)
> |                     Choose from: bearer contacts gallery location publishsubscribe
> |                     messaging multimedia systeminfo serviceframework
> |                     sensors versit organizer feedback connectivity
> |                     Modules should be separated by a space and surrounded
> |                     by double quotation. If a selected module depends on other modules
> |                     those modules (and their dependencies) will automatically be enabled.


Thanks
	Sau!

>   	echo QT_MOBILITY_BIN = ${qtm_bin} >>./config.pri
>   	echo QT_MOBILITY_LIB = ${qtm_lib} >>./config.pri
>   	echo QT_MOBILITY_INCLUDE = ${qtm_include} >>./config.pri
>



      reply	other threads:[~2013-03-16 21:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-13 16:49 [PATCH v2 0/3] qt-mobility: improved recipe eu
2013-03-13 16:49 ` [PATCH v2 1/3] qt-mobility: Add bluez dependency if DISTRO_FEATURES has bluetooth eu
2013-03-13 16:49 ` [PATCH v2 2/3] qt-mobility: Add pulseaudio dependency if DISTRO_FEATURES has pulseaudio eu
2013-03-13 16:49 ` [PATCH v2 3/3] qt-mobility: added list of modules to be compiled eu
2013-03-16 21:38   ` Saul Wold [this message]

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=5144E656.7050808@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=eu@felipetonello.com \
    --cc=ftonello@cercacor.com \
    --cc=openembedded-core@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.