Re: hellox disappeared from the desktop after it is minimized

2009-01-16 Thread Kimmo Hämäläinen
On Thu, 2009-01-15 at 15:58 +0800, ext Alex T. W. LEUNG wrote:
 Hi maemo developers,
  
 I am working to port a legacy xlib based GUI program to maemo, sort of
 like porting the below hellox.c:
 http://www.paulgriffiths.net/program/c/srcs/helloxsrc.html
  
 The program can be readily compiled in scratchbox and run in N810.
 However, as soon as I clicked its minimized button, it will disappear
 from the taskbar, and I will no longer be able to maximize it.

You should install .desktop file to /usr/share/applications/hildon
direactory and put X-Osso-Service=hellox, Exec=/usr/bin/hellox, and
put hellox as your WM_CLASS.

BR, Kimmo

  
 Any clues?
  
 Alex Leung.
 
 
 
 __
 This message (including any attachments) is for the named addressee
 (s)'s use only. It may contain sensitive, confidential, private
 proprietary or legally privileged information intended for a specific
 individual and purpose, and is protected by law. If you are not the
 intended recipient, please immediately delete it and all copies of it
 from your system, destroy any hard copies of it and notify the sender.
 Any use, disclosure, copying, or distribution of this message and/or
 any attachments is strictly prohibited. 
 __
 
 
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Some conceptual doubts

2009-01-16 Thread Chandra
Hi Euro,

Excellent. Thank you very much.

Regards
Chandra

--- On Thu, 1/15/09, Eero Tamminen eero.tammi...@nokia.com wrote:

From: Eero Tamminen eero.tammi...@nokia.com
Subject: Re: Some conceptual doubts
To: ext Chandra crazymoon...@yahoo.com
Cc: maemo-developers@maemo.org
Date: Thursday, January 15, 2009, 4:39 AM

Hi,

ext Chandra wrote:
 Can anybody clear the below doubts:
 
 1) What is the use of scratchbox-devkit-apt-https-1.0.3-i386.tar.gz package?
 
 2) What is the use of scratchbox-devkit-doctools-1.0.7-i386.tar.gz
 package?. It is a document generation tool. We can use this package to
 generate which type of documents?

It provides some documentation generation tools that are needed in
building the source packages included into the SDK.  Other open
source software may also require these (common) documentation
tools for their built to succeed.  But in most cases you can
disable document building if you want to though.  Building
docs can take a long time (I think it's about half of Gtk
package build time).


 3) What is the use of scratchbox-devkit-cputransp-1.0.7-i386.tar.gz 
 package? CPU Transparency refers what?

Being able to run ARM binaries on your x86 Desktop Maemo
development environment.

By default GNU autotools (used to configure  build most of open source)
configures the software for the environment where the code is built.
Configuring tests the build environment by building and running small
test binaries.  When you're cross-compiling in the ARM Scratchbox target
on your x86 host, the produced binaries can run only on (real or
emulated) ARM CPU.

Qemu CPU transparency method allows these ARM binaries to be
run (transparently) on the qemu user-space emulator and sbrsh
method[1] would run them on a separate ARM machine.

transparently meaning that the program or script running the ARM
binary doesn't notice that it was for another CPU architecture,
it behaves like a native one.

[1] Sbrsh is much harder to setup as you need real ARM machine on your
network and NFS export between it and your desktop, but it's sometimes
useful. It's not technically possible for Qemu user-space emulation to
emulate everything.  In practice this problem should be very rare and
concern only certain threaded programs used in building documentation
(which can be resolved by disabling documentation building[2]).

[2] IMHO software should always have a separate build target for
    documentation, it's shouldn't be built by default.  You need new
    docs only when your API changes and you do a new release, so
    re-generating it usually just wastes developer time.


 4)  What is the use of Nokia EUSA licensed binary packages package?

It contains binaries (I think mainly applications) from the device which
Nokia hasn't open sourced (at least yet) and which developers might want
to have present when testing their own software in the SDK.


 5) In the above query, EUSA refers what?

To the license.  It has many additional limitations compared to Open
Source licenses.


 6) What is the use of maemo-sdk-rootstrap_4.1.2_i386.tgz package?
 
 7) In the above query, what is meant by rootstrap?

Rootstrap is a root file system corresponding to a set of
software that you have on the device.  It's used to bootstrap
your development environment for given Maemo operating system
version and CPU architecture.

You cannot install a distribution from scratch, it needs to
be bootstrapped with things needed for installing additional
packages to the distribution (same as on Debian  Ubuntu).

Minimal rootstrap include only essential things like package
management, sdk-rootstrap includes also pre-installed development
packages.


 8) In Xephyr command: -ac, -extension, Composite options refers what?

X server XComposite extension provides window content update redirection
(to a pixmap that can be used e.g. as a texture in OpenGL operations)
feature.  This is used by so called composite manager (often part of
window manager) which redirects the top level application window content
to window backbuffers and then composites these window content
(textures) to the screen using different OpenGL transformations.

To know more, read documentation at freedesktop.org and your Linux
distribution Composite manager (KDE v4 kwin, Gnome metacity, Beryl,
Compiz...) source code.


    - Eero




  ___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: hellox disappeared from the desktop after it is minimized

2009-01-16 Thread Eero Tamminen
Hi,

ext Kimmo Hämäläinen wrote:
 On Thu, 2009-01-15 at 15:58 +0800, ext Alex T. W. LEUNG wrote:
 Hi maemo developers,
  
 I am working to port a legacy xlib based GUI program to maemo, sort of
 like porting the below hellox.c:
 http://www.paulgriffiths.net/program/c/srcs/helloxsrc.html
  
 The program can be readily compiled in scratchbox and run in N810.
 However, as soon as I clicked its minimized button, it will disappear
 from the taskbar, and I will no longer be able to maximize it.
 
 You should install .desktop file to /usr/share/applications/hildon
 direactory

Yes.

 and put X-Osso-Service=hellox

No.  Unless the program provides corresponding D-BUS service, otherwise
D-BUS daemon just kills it.  (and service names should use full path)


 Exec=/usr/bin/hellox, and put hellox as your WM_CLASS.

(WM_CLASS is window property, it's set to binary name automatically
by Gtk, for plain X programs the program needs to do that manually.
Hildon Task Navigator uses it to match the window to the corresponding
.desktop file that contains more information about the application.)


- Eero
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Beta testing a simple communication package

2009-01-16 Thread Andrew Flegg
On Fri, Jan 16, 2009 at 8:57 PM, Cedric Cellier ri...@happyleptic.org wrote:

 I'm working on a new unified communication system for gadgets (mainly for my
 own use). I'm approaching the point where I would like to have other users
 (with good hacking potential) to help me beta-test a first version.

Sounds interesting.

 For now it does (well, try to) email, calendar, bookmarks, contacts and mere
 file synchronization. Later it could do realtime communication (VoIP) as well.
 It's very very alpha pre production etc, absolutely not suitable for any
 serious use, and still far from any release date. But I harldy need tests,
 advices and criticisms.

How does it relate to Telepathy, Conduit and OpenSync; if at all?

 So if you are interrested by unified communication and/or cloud computing
 (sorry for so many buzwords), curious or just plain masochist, and are able to
 ssh you way through your tablet's file system, please drop me a note.

Definitely.

Cheers,

Andrew

-- 
Andrew Flegg -- mailto:and...@bleb.org  |  http://www.bleb.org/
Maemo Community Council member
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Native gcc for development on N810

2009-01-16 Thread Klaus Rotter
Hi there,

I want to install a gcc toolchain directly on the N810. Unfortunately, I
didn't find one. It seems, that there _was_ a toolchain, at least for
chinook. See here:
http://www.thisismobility.com/blog/2008/02/08/native-gcc-on-the-n810/

I searched through all the repositories mentioned. But I didn't find 
anything. Do anyone know where I can find it?

-Klaus

-- 
  Klaus Rotter * klaus at rotters dot de * www.rotters.de
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: maemo.org News and Feeds (was Re: N810 WE)

2009-01-16 Thread Jeffrey Taylor
Quoting Quim Gil quim@nokia.com:
 
 
 ext Ryan Abel wrote:
 
  http://planet.maemo.org is a URL everybody should pay attention to. ;)
 
 Or even better: http://maemo.org/news so you also get the rest of news
 coming from other streams.
 
 Feeds available:
 
 http://maemo.org/news/items.xml (selected items)
 http://maemo.org/news/latest.xml (everything)
 
The latter seems to be broken, i.e. 404 Page could not be found.

The former works, the latter is a link on the news page, but it leads nowhere.

Jeffrey
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: hellox disappeared from the desktop after it is minimized

2009-01-16 Thread Alex T. W. LEUNG
Hi all,

It works after applying your suggestions! Thanks.

Alex Leung.


-Original Message-
From: Kimmo Hamalainen [mailto:kimmo.hamalai...@nokia.com]
Sent: 2009/1/16 [星期五] 下午 06:57
To: Alex T. W. LEUNG
Cc: maemo-dev
Subject: Re: hellox disappeared from the desktop after it is minimized
 
On Thu, 2009-01-15 at 15:58 +0800, ext Alex T. W. LEUNG wrote:
 Hi maemo developers,
  
 I am working to port a legacy xlib based GUI program to maemo, sort of
 like porting the below hellox.c:
 http://www.paulgriffiths.net/program/c/srcs/helloxsrc.html
  
 The program can be readily compiled in scratchbox and run in N810.
 However, as soon as I clicked its minimized button, it will disappear
 from the taskbar, and I will no longer be able to maximize it.

You should install .desktop file to /usr/share/applications/hildon
direactory and put X-Osso-Service=hellox, Exec=/usr/bin/hellox, and
put hellox as your WM_CLASS.

BR, Kimmo

  
 Any clues?
  
 Alex Leung.
 
 


~
This message (including any attachments) is for the named
addressee(s)'s use only. It may contain sensitive, confidential,
private proprietary or legally privileged information intended for a
specific individual and purpose, and is protected by law. If you are
not the intended recipient, please immediately delete it and all copies
of it from your system, destroy any hard copies of it
and notify the sender. Any use, disclosure, copying, or distribution of
this message and/or any attachments is strictly prohibited.


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Native gcc for development on N810

2009-01-16 Thread ds
Hi,

I don't know what you want to do, but if you want to compile
applications directly on N810 an alternative is installing
Debian within VNCviewer

http://physik.de/770

has an alpha one click installer. Debian comes with full gcc and by the
way you can use nearly all other applications without loosing the Maemo
applications:-) I did not try, but I think you could use anjuta as a
graphical development environment. At least it is marked as functional
on armel.

Detlef

Am Samstag, den 17.01.2009, 00:25 +0100 schrieb Klaus Rotter:
 Hi there,
 
 I want to install a gcc toolchain directly on the N810. Unfortunately, I
 didn't find one. It seems, that there _was_ a toolchain, at least for
 chinook. See here:
 http://www.thisismobility.com/blog/2008/02/08/native-gcc-on-the-n810/
 
 I searched through all the repositories mentioned. But I didn't find 
 anything. Do anyone know where I can find it?
 
 -Klaus
 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers