ltib
[Top][All Lists]
Advanced

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

RE : [Ltib] LTIB IMX27 ADS - INTEGRATION OF QTOP IA 4.3.0 - mediaplayer


From: Selso LIBERADO
Subject: RE : [Ltib] LTIB IMX27 ADS - INTEGRATION OF QTOP IA 4.3.0 - mediaplayer is not generated (compi le, rpm ...)
Date: Thu, 28 Aug 2008 19:13:23 +0200

Hello !
Sorry I did not notice the quote in the spec file you sent to me .
You can close the service request.
I was talking about putting code in the spec file for unsupported platfroms (for new imx/mpc platforms at ltib integration step), but it is minor thing.
Bye bye.

-------- Message d'origine--------
De: Estevam Fabio-R49496 [mailto:address@hidden]
Date: jeu. 28/08/2008 14:35
À: Selso LIBERADO
Objet : RE: [Ltib] LTIB IMX27 ADS - INTEGRATION OF QTOPIA 4.3.0 - mediaplayer is not generated (compile, rpm ...)

Hi Selso,

Did you use the qtopia-4.spec file I sent you yesterday in response to your service request?

I attached here for your reference. Yes, what you mentioned below was fixed in the attached spec file. Also, we do check the platform in this spec file.

Should I close your service request in the system?

Regards,

Fabio Estevam

________________________________

From: address@hidden [mailto:address@hidden] On Behalf Of Selso LIBERADO
Sent: Thursday, August 28, 2008 6:03 AM
To: Estevam Fabio-R49496
Cc: address@hidden
Subject: RE : [Ltib] LTIB IMX27 ADS - INTEGRATION OF QTOPIA 4.3.0 - mediaplayer is not generated (compile, rpm ...)
Importance: High



Thanks for you help Fabio. Actually I have found more other problems added to the missing '$' in qtopia-4.spec file.
As I am not really a shell programmer I have not seen it directly, but the error is in qtopia-4.spec file with the test -n condition ( ex : if [ -n $CONFIG_PKG_QTOPIA_WANT_MEDIA_NONE ]). As we do not quote the variable the resulting test is
'[-n ]' which always return TRUE. If you add the quote ("$CONFIG_PKG_QTOPIA_WANT_MEDIA_NONE") you will be sure that if expanded variables are empty you will have an empty string.

After that qtopia is correctly generated with gstreamer (and all plugins), and media player plays sounds.

May I also suggest to add some lines to the spec file to check that configured platform is supported ? (if it is not the case qtopia is still generated but not launched).



-------- Message d'origine--------
De: Estevam Fabio-R49496 [mailto:address@hidden]
Date: mar. 26/08/2008 22:03
À: Selso LIBERADO
Objet : FW: [Ltib] LTIB IMX27 ADS - INTEGRATION OF QTOPIA 4.3.0 - mediaplayer is not generated (compile, rpm ...)

Hi Selso,

If you send me your Service Request number I can further investigate that for you.

Regards,

Fabio Estevam

-----Original Message-----
From: address@hidden on behalf of Stuart Hughes
Sent: Tue 26/8/2008 11:29
To: Selso LIBERADO
Cc: address@hidden
Subject: Re: [Ltib] LTIB IMX27 ADS - INTEGRATION OF QTOPIA 4.3.0 - mediaplayer is not generated (compile, rpm ...)

Hi Selso,

You'll need to contact Freescale support for this one, I've not worked
on that package.  To do this:

   * go to http://www.freescale.com
   * click on "Support / Technical support"
   * click on "Submit a Service Request"
   * register to get a user name and password.
   * login in with your user name and password
   * on the "New Service Request" page:
      * category = Technical Request
      * topic = Linux BSP
      * Click on "Continue"
   * fill out the information for the service request
   * click on the "Submit" button at the bottom of the page.

Regards, Stuart

On Tue, 2008-08-26 at 15:22 +0200, Selso LIBERADO wrote:
>
> Hello !
>
> I am in integration of qtopia-4 package delivered by freescale for
> imx27ads.
> All steps have been checked
> 1 .config/userspace/package.lkc has qtopia features (see 1 at bottom):
> 2. ./dist/lfs-5.1/common/pkgmap has qtopia-4 entry (i added it)
> 3. .dist/lfs-5.1/qtopia/qtopia-4.spec is written. I printf here the
> interesting lines at (3 see at bottom).
>
> In ltib configuration i select qtopia packages with all features to
> compile (in particular media player) and i select gstreamer media
> engine, so I have theses lines in plateform configuration file (see
> 2).
> At generation all qtopia and qtopia apps are generated except the
> media player ! But no compilation error !
>
> Therefore I am using --leavesrc to check qtopia config files and I see
> it in rpm/BUILD/qtopia-opensource-4.3.0/ltibqtopiaconfig  :
> export EXTRA_QPE_CONFIG="... -no-qtopiamedia ...". So I understand
> that there is a problem passing env variables from ltib conf
> environnment to qtopia-4.spec file.
> Actually I do not know if such thing can be done in ltib spec file.
>
> Here are som correction I have made :
> 1. qtopia-4.spec : add '$' to symbol PKG_QTOPIA_WANT_MEDIA_GSTREAMER
> 2. package.lkc : delete blank line (in ltib config when i called for
> help in this section symbol was not found).
>
> After that I cleaned (rm rpm/BUILD/... rpm/RPMS/...) and restart
> generation, but media player is still not generated because of
> ltibqtopiaconfig.
> So I tried adding prefix 'CONFIG_' in qtopia-4 spec file to check if
> symbol name must not be as in .config file. But it is still not
> working.
>
> Know I force the Q_MEDIA_CONFIG option to generate mediaplay and it is
> OK.
>
> Problem for me is in qtopia-4.spec file, using .conf env variables,
> but I don't know what to do more !
> Any idea is welcome :) !
> Many thanks.
>
>
> (1){
> ...
> choice
>     depends PKG_QTOPIA_4
>     prompt "Media player engine"
>     default PKG_QTOPIA_WANT_MEDIA_GSTREAMER
>     help
>       Choose the media engine which the Qtopia audio/video player will
> use.
>     config PKG_QTOPIA_WANT_MEDIA_NONE
>         bool "No media engine"
>     "THERES IS A BLANK LINE HERE"
>     config PKG_QTOPIA_WANT_MEDIA_GSTREAMER
>         select PKG_GSTREAMER_CORE
>         bool "GStreamer media engine"
>         help
>           Qtopia will use the GStreamer plugin framework for its media
> player.
> endchoice
> ...
> }
>
> (2)
> {
> #
> # Qtopia
> #
> ...
> CONFIG_PKG_QTOPIA_4=y
> CONFIG_PKG_QTOPIA_WANT_TSLIB=y
> # CONFIG_PKG_QTOPIA_WANT_MEDIA_NONE is not set
> CONFIG_PKG_QTOPIA_WANT_MEDIA_GSTREAMER=y
> ...
>
> #
> # Applications
> #
> ...
> CONFIG_PKG_QTOPIA_WANT_APP_MEDIAPLAYER=y
> CONFIG_PKG_QTOPIA_WANT_APP_MEDIARECORDER=y
> ...
> }
>
> (3)
> {
> if [ -n $CONFIG_PKG_QTOPIA_WANT_MEDIA_NONE ]; then
>        Q_MEDIA_CONFIG="-no-qtopiamedia"
> elif [ -n CONFIG_PKG_QTOPIA_WANT_MEDIA_GSTREAMER ]; then
>        Q_MEDIA_CONFIG="-mediaengines gstreamer"
> fi
> }
>
> _______________________________________________
> LTIB home page: http://bitshrine.org
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib



_______________________________________________
LTIB home page: http://bitshrine.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]