[MeeGo-dev] Gstreamer pipeline setup

2011-02-28 Thread Violeta.Tudose
Hi all,
I just want to ask you if there is some way to setup the gstreamer
pipelines manually and what could be the API (assuming playbin2 and
camera2). Thank you!

best regards

___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Re: [MeeGo-dev] can't overrride virtual keyboard

2011-02-28 Thread Yoon, Youngsik
Hi, 

I don't know which version you are using...
But It seems that you need to check this bug.
https://bugs.meego.com/show_bug.cgi?id=13893(VKB doesn't launch and HWKB 
doesn't work)

I recommend that you should build development environment that default virtual 
keyboard works fine first.
And then replace default keyboard with your custom keyboard for test.

Thanks,
Yoon

-Original Message-
From: yuvaraj.ragupa...@tieto.com [mailto:yuvaraj.ragupa...@tieto.com] 
Sent: Monday, February 28, 2011 1:44 PM
To: Yoon, Youngsik
Cc: meego-dev@meego.com
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard

Hi Youngsik

I invoked my virtual keyboard plugin by 

gconftool-2 --direct --config-source 
xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set 
/meegotouch/inputmethods/plugins/onscreen mypluginname.

After that I tried to type something in input filed of sms. But I didn't get 
any virtual keyboard there (not able to type through hard keyboard also).

Then again invoked default virtual keyboard through 
gconftool-2 --direct --config-source 
xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set 
/meegotouch/inputmethods/plugins/onscreen MeegoKeyboard. Didn't get default 
virtual keyboard UI.

Please correct if I am going anywhere wrong.

Thanks

Yuvaraj R

-Original Message-
From: meego-dev-boun...@meego.com [mailto:meego-dev-boun...@meego.com] On 
Behalf Of yuvaraj.ragupa...@tieto.com
Sent: Friday, February 25, 2011 4:41 PM
To: youngsik.y...@intel.com
Cc: meego-dev@meego.com
Subject: Re: [MeeGo-dev] can't overrride virtual keyboard

Hi

I followed your steps. But I am not getting my UI there. Just I over written 
the show () and hide () method in MKeyboardHost.cpp file. 

Sample stubs

MWidget myUI(sceneWindow);
void MKeyboardHost::show()
{
 myUI.show();
}
Void MKeyboardHost::hide()
{
myUI.hide();
}

Thanks

Yuvaraj R

-Original Message-
From: Yoon, Youngsik [mailto:youngsik.y...@intel.com] 
Sent: Friday, February 25, 2011 9:44 AM
To: Ragupathi Yuvaraj
Cc: meego-dev@meego.com
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard

Did you implement plugin class something like MKeyboardPlugin?
Or you are just using MKeyboardPlugin class as is from 
meegotouch-inputmethodkeyboard package?

If the former, you need to set exactly the same value in gconf as what you set 
in MInputMethodPlugin::name().

If the latter, you can just replace 
/usr/lib/meego-in-plugin/libmeego-keyboard.so with your libxxx.so. And test it.
(it means that you just use the same plugin name as default named 
MeegoKeyboard. don't need to set plugin name in gconf.)

Thanks,
Yoon

-Original Message-
From: yuvaraj.ragupa...@tieto.com [mailto:yuvaraj.ragupa...@tieto.com] 
Sent: Friday, February 25, 2011 12:30 PM
To: Yoon, Youngsik
Cc: meego-dev@meego.com
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard

Hi Youngsik

To override default virtual keyboard, followed below steps

1) Created  my own plugin (as library)

Sample code:
class MKeyboardHost: public MAbstractInputMethod
{
Q_OBJECT
private:
QWidget wid;
public:
MKeyboardHost(MAbstractInputMethodHost *imHost, QObject *parent = 
0):MAbstractInputMethod(imHost, parent)
{
   scene =new MSceneWindow;
 scene-setManagedManually(true);
 MPlainWindow::instance()-sceneManager()-appearSceneWindow(scene);
}

virtual ~MKeyboardHost()
{
 //Destructor 
}
 void show()
 {
 wid.show();

 }

 void hide()
 {
 wid.hide();
 }

};

Step2:

Copied plugin to /usr/lib/meego-in-plugins

Step3: 

Restarted meego-im-uiserver 


Please correct, if I am doing anything wrong here


Thanks

Yuvaraj R

-Original Message-
From: Yoon, Youngsik [mailto:youngsik.y...@intel.com] 
Sent: Friday, February 25, 2011 5:18 AM
To: Ragupathi Yuvaraj; mich...@taschenorakel.de
Cc: meego-dev@meego.com
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard

I think it should not be library name like xxx.so.
It should be your plugin name setting in MInputMethodPlugin::name().

Thanks,
Yoon

-Original Message-
From: meego-dev-boun...@meego.com [mailto:meego-dev-boun...@meego.com] On 
Behalf Of yuvaraj.ragupa...@tieto.com
Sent: Thursday, February 24, 2011 8:53 PM
To: yuvaraj.ragupa...@tieto.com; mich...@taschenorakel.de
Cc: meego-dev@meego.com
Subject: Re: [MeeGo-dev] can't overrride virtual keyboard

Hi
I executed gconftool-2 --direct --config-source 
xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set 
/meegotouch/inputmethods/plugins/onscreen libmylibrary.so.

But no changes happened. How can I verify whether meego-im-uiserver is running 
or not?


Thanks

Yuvaraj R

-Original Message-
From: Ragupathi Yuvaraj 
Sent: Wednesday, February 23, 2011 9:18 AM
To: 'Michael Hasselmann'
Cc: meego-dev@meego.com
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard

Hi
Thanks for your reply. I will try and let you know

Thanks
Yuvaraj R


Re: [MeeGo-dev] Gstreamer pipeline setup

2011-02-28 Thread Violeta.Tudose
Hi,


   I just want to ask you if there is some way to setup the gstreamer
pipelines manually and what could be the API (assuming playbin2 and
camera2).
You want to write a test program to see camera preview?

For seeing camera preview use this pipeline:
$ gst-launch v4l2src ! ffmpegcolorspace ! xvimagesink

You can do the same using a program. But I am not sure what your doubt
was.

Thank you! 
For example, if I need to setup and run a video playback pipeline, is
this the right command:
 
gst-launch filesrc location=test.ogg ! oggdemux name=demux demux. !
MixVideoDecoderH264 ! queue ! vaimagesink demux. ! queue ! vorbisdec !
pulsesink
 
My question is also around the used Qt Multimedia APIs, how a Meego
video application that uses QtM APIs controls the gstreamer pipelines?

I have to be sure that Meego video sets up correctly the pipeline.
Is it using the right HW accelerated gst element?
How the needed properties are passed when the playbin2 is used?
 
Thanks for your help! 
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] can't overrride virtual keyboard

2011-02-28 Thread Yuvaraj.Ragupathi
Hi,

I compiled default virtual keyboard and invoked with 

gconftool-2 --direct --config-source 
xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set 
/meegotouch/inputmethods/plugins/onscreen MeegoKeyboard

But same thing is happening.

My images are 

File system - meego-handset-armv7l-n900-1.1.90.2.20110209.4-mmcblk0p.raw.bz2
Kernel  - 
meego-handset-armv7l-n900-devel-1.1.90.2.20110209.4-vmlinuz-2.6.37-6.2-adaptation-n900


Note: before doing modifications I seen default virtual keyboard. Problem is 
occurred after excuting gconftool-2 command


How do I restart meego-im-uiserver?

Thanks

Yuvaraj R



-Original Message-
From: Yoon, Youngsik [mailto:youngsik.y...@intel.com] 
Sent: Monday, February 28, 2011 3:58 PM
To: Ragupathi Yuvaraj
Cc: meego-dev@meego.com
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard

Hi, 

I don't know which version you are using...
But It seems that you need to check this bug.
https://bugs.meego.com/show_bug.cgi?id=13893(VKB doesn't launch and HWKB 
doesn't work)

I recommend that you should build development environment that default virtual 
keyboard works fine first.
And then replace default keyboard with your custom keyboard for test.

Thanks,
Yoon

-Original Message-
From: yuvaraj.ragupa...@tieto.com [mailto:yuvaraj.ragupa...@tieto.com] 
Sent: Monday, February 28, 2011 1:44 PM
To: Yoon, Youngsik
Cc: meego-dev@meego.com
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard

Hi Youngsik

I invoked my virtual keyboard plugin by 

gconftool-2 --direct --config-source 
xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set 
/meegotouch/inputmethods/plugins/onscreen mypluginname.

After that I tried to type something in input filed of sms. But I didn't get 
any virtual keyboard there (not able to type through hard keyboard also).

Then again invoked default virtual keyboard through 
gconftool-2 --direct --config-source 
xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set 
/meegotouch/inputmethods/plugins/onscreen MeegoKeyboard. Didn't get default 
virtual keyboard UI.

Please correct if I am going anywhere wrong.

Thanks

Yuvaraj R

-Original Message-
From: meego-dev-boun...@meego.com [mailto:meego-dev-boun...@meego.com] On 
Behalf Of yuvaraj.ragupa...@tieto.com
Sent: Friday, February 25, 2011 4:41 PM
To: youngsik.y...@intel.com
Cc: meego-dev@meego.com
Subject: Re: [MeeGo-dev] can't overrride virtual keyboard

Hi

I followed your steps. But I am not getting my UI there. Just I over written 
the show () and hide () method in MKeyboardHost.cpp file. 

Sample stubs

MWidget myUI(sceneWindow);
void MKeyboardHost::show()
{
 myUI.show();
}
Void MKeyboardHost::hide()
{
myUI.hide();
}

Thanks

Yuvaraj R

-Original Message-
From: Yoon, Youngsik [mailto:youngsik.y...@intel.com] 
Sent: Friday, February 25, 2011 9:44 AM
To: Ragupathi Yuvaraj
Cc: meego-dev@meego.com
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard

Did you implement plugin class something like MKeyboardPlugin?
Or you are just using MKeyboardPlugin class as is from 
meegotouch-inputmethodkeyboard package?

If the former, you need to set exactly the same value in gconf as what you set 
in MInputMethodPlugin::name().

If the latter, you can just replace 
/usr/lib/meego-in-plugin/libmeego-keyboard.so with your libxxx.so. And test it.
(it means that you just use the same plugin name as default named 
MeegoKeyboard. don't need to set plugin name in gconf.)

Thanks,
Yoon

-Original Message-
From: yuvaraj.ragupa...@tieto.com [mailto:yuvaraj.ragupa...@tieto.com] 
Sent: Friday, February 25, 2011 12:30 PM
To: Yoon, Youngsik
Cc: meego-dev@meego.com
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard

Hi Youngsik

To override default virtual keyboard, followed below steps

1) Created  my own plugin (as library)

Sample code:
class MKeyboardHost: public MAbstractInputMethod
{
Q_OBJECT
private:
QWidget wid;
public:
MKeyboardHost(MAbstractInputMethodHost *imHost, QObject *parent = 
0):MAbstractInputMethod(imHost, parent)
{
   scene =new MSceneWindow;
 scene-setManagedManually(true);
 MPlainWindow::instance()-sceneManager()-appearSceneWindow(scene);
}

virtual ~MKeyboardHost()
{
 //Destructor 
}
 void show()
 {
 wid.show();

 }

 void hide()
 {
 wid.hide();
 }

};

Step2:

Copied plugin to /usr/lib/meego-in-plugins

Step3: 

Restarted meego-im-uiserver 


Please correct, if I am doing anything wrong here


Thanks

Yuvaraj R

-Original Message-
From: Yoon, Youngsik [mailto:youngsik.y...@intel.com] 
Sent: Friday, February 25, 2011 5:18 AM
To: Ragupathi Yuvaraj; mich...@taschenorakel.de
Cc: meego-dev@meego.com
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard

I think it should not be library name like xxx.so.
It should be your plugin name setting in MInputMethodPlugin::name().

Thanks,
Yoon

-Original Message-
From: 

Re: [MeeGo-dev] Gstreamer pipeline setup

2011-02-28 Thread Sharavana Ram Kumar S
Hi,

  For example, if I need to setup and run a video playback pipeline, is
  this the right command:

  gst-launch filesrc location=test.ogg ! oggdemux name=demux demux. !
  MixVideoDecoderH264 ! queue ! vaimagesink demux. ! queue ! vorbisdec !
  pulsesink

 'MixVideoDecoderH264'?
Usually theora is the video codec used in ogg containers. 'theoradec' plugin 
will decode that.

  My question is also around the used Qt Multimedia APIs, how a Meego
  video application that uses QtM APIs controls the gstreamer pipelines?

Internally meegovideo uses 'playbin2'

  I have to be sure that Meego video sets up correctly the pipeline.
  Is it using the right HW accelerated gst element?

Just run $ gst-launch playbin2 uri=file://$PWD/test.ogg -v
This will give you details of what plugins playbin2 chooses to demux and decode.

  How the needed properties are passed when the playbin2 is used?
Based on the caps and the RANK of the plugins, sorry I don't know in detail.

Regards,
Sharavana,
Aricent Technologies,
Bangalore.

DISCLAIMER: This message is proprietary to Aricent and is intended solely for 
the use of the individual to whom it is addressed. It may contain privileged or 
confidential information and should not be circulated or used for any purpose 
other than for what it is intended. If you have received this message in error, 
please notify the originator immediately. If you are not the intended 
recipient, you are notified that you are strictly prohibited from using, 
copying, altering, or disclosing the contents of this message. Aricent accepts 
no responsibility for loss or damage arising from the use of the information 
transmitted by this email including damage from virus.
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] Gstreamer pipeline setup

2011-02-28 Thread Violeta.Tudose

  My question is also around the used Qt Multimedia APIs, how a Meego
 video application that uses QtM APIs controls the gstreamer
pipelines?

Internally meegovideo uses 'playbin2'

  How the needed properties are passed when the playbin2 is used?
Based on the caps and the RANK of the plugins, sorry I don't know in
detail.

I'll check it in details in the QtM plugins/multimedia/gstreamer.
Hopefully I can find there what API's are used to link the meegovideo
app and gstreamer. 

Thank you so much for your help!
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] Are there applications in meego netbook use tracker as metadata backend?

2011-02-28 Thread Arjan van de Ven

On 2/27/2011 11:37 PM, Zhou, Ting Z wrote:

Hello:

Are there applications in meego netbook use tracker as metadata backend?
As I know, in meego netbook, the music and video player banshee doesn't need 
tracker, the image viewer - eye of gnome also has no dependency on tracker.



Tracker daemons will consume some resources to extract and store metadata.
If no applications in netbook use tracker, could we make tracker not installed 
in netbook by default, or make tracker daemons not auto start?


tracker is *THE* meego store for these things currently.
Unfortunately not all the legacy netbook applications use this correctly 
yet; that needs to get fixed.


(and yes, tracker and tumbler are pretty heavy animals that are in dire 
need of optimization)


___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


[MeeGo-dev] not authorized to access bug

2011-02-28 Thread Antti Kaijanmäki
Hello,

I was looking through curl changelog in MeeGo trunk and came across this
entry:

* Mon Nov 15 2010 Martin Xu martin...@intel.com - 7.21.2
- upgrade to 7.21.2 to fix BMC #9292


I then tried to access https://bugs.meego.com/show_bug.cgi?id=9292 but
all I got was a unfriendly notification You are not authorized to
access bug #9292. Why is that bug not accessible even though the bug
has been fixed three months ago? And why is it restricted in the first
place? A security vulnerability procedure, perhaps? 


-- 
Antti Kaijanmäki
Software Architect
Team Manager
m. +358 41 440 4187
linkedin.com/in/anttikaijanmaki
www.nomovok.com

Nomovok Ltd.
Keilasatama 3
FI-02150 Espoo
Finland

___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Re: [MeeGo-dev] not authorized to access bug

2011-02-28 Thread Ryan Ware
On 2/28/11 9:58 AM, Antti Kaijanmäki antti.kaijanm...@nomovok.com
wrote:

Hello,

I was looking through curl changelog in MeeGo trunk and came across this
entry:

* Mon Nov 15 2010 Martin Xu martin...@intel.com - 7.21.2
- upgrade to 7.21.2 to fix BMC #9292


I then tried to access https://bugs.meego.com/show_bug.cgi?id=9292 but
all I got was a unfriendly notification You are not authorized to
access bug #9292. Why is that bug not accessible even though the bug
has been fixed three months ago? And why is it restricted in the first
place? A security vulnerability procedure, perhaps?


Sorry.  You should have access now.

The policy is that security bugs are closed while MeeGo is still
vulnerable to them.  Once a fix is released and available in the update
repos, the policy is to remove all restrictions on the bug to make it
publicly accessible.

Ryan


___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] CDSA

2011-02-28 Thread Ryan Ware


From:  Praveen Gupta pgu...@mobilestack.com
Date:  Thu, 24 Feb 2011 13:43:58 -0800
To:  meego-security-discuss...@meego.com, meego-dev@meego.com
Subject:  [MeeGo-dev] CDSA


Hello,
 
Does Meego has any plans to support CDSA security framework ?
 
Thx, -Praveen

We don't currently have any feature requests to support CDSA.

Ryan


 


___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


[MeeGo-dev] Is there recently viewed files and thumbnail manager in meego to do the cleanup work?

2011-02-28 Thread Zhou, Ting Z
Hello:

I plan to add recently viewed files support in media player of MeeGo netbook, 
but I had some concerns and questions.

1.  How many items are allowed to store in ~/.recently-used? Is there api 
to set the upper limit?
I have a look at gtkrecentmanager api and didn't find relevant description. 
http://developer.gimp.org/api/2.0/gtk/GtkRecentManager.html

2.  If there is upper limit in  ~/.recently-used, what's the behavior when 
the programmer try to add new item and the upper limit is reached? Will gtk 
recent manager automatically remove the oldest item according to added time 
and add the new item?

3.  As to thumbnail files sync and clean up, according to the spec. 
http://jens.triq.net/thumbnail-spec/delete.html , is there daemon or script to 
do the thumbnail cleanup work periodically in meego?


Thanks
Zhou Ting
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


[MeeGo-dev] pk-debuginfo-install the debuginfo package and runs into fail to get repo list.

2011-02-28 Thread jms yang
hi there..
I try to install the relevant -debuginfo- package for gdb debugging on
PulseAudio step by step, or for stack tracing.
but I was fail to install it via pk-debuginfo-install on my first step due
to *failed to get repo list*
Any clue to help me solve this?
I am using the image ...
]# cat /etc/meego-release
MeeGo release 1.1.90 (MeeGo)
BUILD: meego-tablet-ia32-mrst-1.1.90.4.20110218.2

and the content of /etc/zypp/repos.d/core.repo is
.
[core-debuginfo]
name=core-debuginfo
enabled=0
autorefresh=0
baseurl=
http://download.meego.com/snapshots/1.1.90.4.20110218.2/repos/oss/ia32/debug
type=NONE
gpgcheck=1
gpgkey=file:/etc/pki/rpm-gpg/RPM-GPG-KEY-meego
.

Return error message
[root@localhost meego]# pk-debuginfo-install -v pulseaudio-0.9.19-4.2.i586
02:58:50 PackageKit  Verbose debugging enabled (on console 1)
*1. Getting sources lis*t...02:58:50 PackageKit  role now
get-repo-list
02:58:50 PackageKit  state array add 0x9b85690 (0x1)
02:58:50 PackageKit  state array remove 0x9b85690
02:58:50 PackageKit  tid = /7_dbdaccee_data
02:58:50 PackageKit  transaction_id now /7_dbdaccee_data
02:58:50 PackageKit  sent locale request, started DBus call:
0x9b95848 (0x1)
02:58:50 PackageKit  state array add 0x9b95848
02:58:50 PackageKit  set hints, ended DBus call: 0x9b95848 (0x1)
02:58:50 PackageKit  new method 'get-repo-list', started DBus call:
0x9b95848 (0x2)
02:58:50 PackageKit  got reply to request, ended DBus call:
0x9b95848 (0x2)
02:58:50 PackageKit  status now finished
02:58:50 PackageKit  state array remove 0x9b95848
*FAILED. Failed to enable sources list: failed to get repo list: Unknown
filter part: unknown*
*2. Disabling sources previously enabled...OK. Disabled 0 debugging sources.
*
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines