Planet maemo

Andrew Flegg

MWKN Weekly News for Monday, 19 Mar 2012

2012-03-19 14:26 UTC  by  Andrew Flegg
0
0
Front Page

Time for the election of the next Maemo Community Council

RM Bauer has announced the start of the spring 2012 election for the Maemo Community Council. Six months ago, only three candidates stood and so were selected without a vote. RM Bauer has been the most visible member, with Momcilo Majic and Jeremiah Foster being mostly quiet. This term has seen the growth of the Harmattan community, and the death of MeeGo - which has led some, including Nokia's Matti Airas to ask if the future of the Harmattan community lies within its maemo.org roots. Rob's announcement says:

"Please give consideration to nominating people you trust with the future of maemo. Nokia will stop future funding for maemo.org and cannot commit to handing over or licensing the website or parts of the infrastructure to the community. The current council has concluded that reorganizing maemo.org is not feasible and has started looking into a Plan B. There have also been proposals to bring Harmattan into maemo.org, and to coordinate with other similar projects such as WebOS, Qt or Nemo. It is preferable that the future of maemo be made by a deliberate decision of the community. Please help that happen by nominating and voting in the election."

Anyone can put forward a community member by posting to the maemo-community list, although they must accept the nomination to be a candidate. Similarly, people can put themselves forward directly - which has historically been the main mechanism.

Read more (maemo.org)

In this edition (Download)...

  1. Front Page
    • Time for the election of the next Maemo Community Council
  2. Applications
    • NFC friending in Facebook for N9 https://t.co/kMOPRUA7
    • Fixing AGTL geocaching tool on N900
  3. Development
    • MeeCast for Tizen
    • Qt SDK Harmattan tooling updates
    • UX guidelines documentation for Nokia N9 updated to latest standards
    • Differential updates in QML models
  4. Devices
    • Nokia N900 charging an N9 via USB host mode
  5. Announcements
    • Metro theme for Harmattan
Henri Bergius

Open Advice

2012-03-19 10:51 UTC  by  Henri Bergius
0
0

Open Advice coverI seem to have not blogged about this, but Open Advice, our book on Free and Open Source Software: what we wish we had known when we started, was published last month.

The book was edited by Lydia Pintscher and includes essays from 42 authors, many of whom you'll recognize if you tend to go to FOSS conferences. The LWN book review concludes:

Open Advice is a book that will be helpful to those who are new to FOSS, but, because of the individual voices, styles, and tones, it doesn't read like a "how to". It could even be recommended to those who aren't necessarily interested in contributing, but are curious about what this "free software thing" is all about. It is, in short, a great book for a variety of audiences and the (mostly) two or three page essays make it easy to read, while the anecdotes and recollections personalize it. The authors, editor, and everyone else who helped should be very pleased with the result. Readers will be too.

I probably shouldn't give the ending away, but my essay on cross-project collaboration, a subject I've also blogged about, ends with:

Good luck with breaking down the project boundaries! In most cases it works if your ideas are good and presented with an open mind. But even if you do not find a common ground, as long as your implementation solves the use case for you it has not been in vain. After all, delivering software, and delivering great user experience is what counts.

The book is licensed under CC-BY-SA, and is available as free download in ePub, mobi and PDF formats, and as paperback from Lulu. The book sources are available on GitHub, patches welcome!

Categories: business
Stephen Gadsby

maemo.org Extras Bug Jar 2012.12

2012-03-18 23:02 UTC  by  Stephen Gadsby
0
0

A Quick Look at Extras in Bugzilla
2012-03-12 through 2012-03-18

Click to read 2382 more words
Categories: Extras
sd69

Maemo Elections

2012-03-17 16:43 UTC  by  sd69
0
0

It's time for the next Maemo election.  Any community member who has karma of 100 or more may be nominated for Council or may nominate themselves via the maemo community mailing list (nominations must also be accepted on the mailing list).  The nomination period will close on Saturday, 31 March.

The voting is preliminarily scheduled to run from Thursday, 5 April, to Wednesday, 11 April.  If there are less than four nominees, then they will be considered to be the consensus choice of the community in the election and no vote will be necessary.

Each member of maemo.org, who has an account that is more than 3 months old and who has earned over 10 karma points on that account, gets an electronic ballot.  The election is a "single transferrable vote."  They rank their Council candidates in order of preference; if their top candidate cannot get elected with the votes they receive, the votes are redistributed until all council seats have been allocated.

 

Please give consideration to nominating people you trust with the future of maemo.  Nokia will stop future funding for maemo.org and cannot commit to handing over or licensing the website or parts of the infrastructure to the community.  The current council has concluded that reorganizing maemo.org is not feasible and has started looking into a Plan B.  There have also been proposals to bring Harmattan into maemo.org, and to coordinate with other similar projects such as WebOS, Qt or Nemo.  It is preferable that the future of maemo be made by a deliberate decision of the community.  Please help that happen by nominating and voting in the election.

Categories: council
Murray Cumming

Openismus Getting Smaller

2012-03-16 12:01 UTC  by  Murray Cumming
0
0

Openismus has recently had to let some great developers, and good friends, go. We are now much smaller.

Click to read 972 more words
Categories: Berlin
José Dapena Paz

Epiphany meets the web app stores

2012-03-16 10:33 UTC  by  José Dapena Paz
0
0

In last weeks, I’ve been taking a look at the web applications standards support in Epiphany, as part of my work at Igalia. Xan wrote about the Save as web application feature present in Epiphany 3.2, that is a base for very simple (and userful) web applications support in Gnome desktop.

To continue with this work, I’ve been investigating on adding support for some web app stores. So I’ve done an experimental implementation for Mozilla Open Web Apps (as in 2011 tech preview), Chrome Web Store hosted and packaged apps, and Chrome CRX-less apps.


Screencast using Chrome Web Store.

This is an experiment. Not supported, and it may actually stay out of official Epiphany. So there are lots of things not working at all. This is first a way to have a big number of apps to play with our application mode, and improve it. So no permissions check, URL’s match may be broken, many apps will fail to even log in… Did I say it is an experiment? Most obvious issues are related with this external links handling bug.

But, if you just want to play with it, just try my branch webapp in my Epiphany Github repository. By default, support is disabled, so you’ll have to enable these keys:

$ gsettings set org.gnome.Epiphany.web enable-chrome-apps true
$ gsettings set org.gnome.Epiphany.web enable-open-web-apps true

You can try with Mozilla Labs Apps Dir from 2011 tech preview and Chrome Web Store.

Categories: Gnome
monkeyiq

QML BOM: Weather on the go...

2012-03-14 17:29 UTC  by  monkeyiq
0
0
As part of my foray into n9 apps, a new one that displays information from the Australian Bureau of Meteorology on the n9. Being pure QML + Javascript it also runs on the desktop. The forecasts include min and max temps, and for the Europeans reading this, the middle line "10..." is the UV prediction and roasting window for the day... all your sunscreen are belong to us.



Apart from saving a little on downloads for the topology and background images when on the move, you get to customize those as they are just png files living in the images subdirectory. So I have the local rocket launch site indicated. I'd like to make a LOTR style topology overlay, perhaps mt Glorious becomes Mordor?

Code available at https://github.com/monkeyiq/qmlbom
Categories: bom
admin

We have published a new example application for Harmattan developers.

The application's source code is available on harmattan-dev. It can be built in Qt SDK using the enclosed project-file.

The application features several key elements in the Harmattan application programming interface, and thus provides a good starting point for learning about specific technologies and application development for N9 in general.

The initial version of the showcase application concentrates on Qt Mobility interfaces (ranging from maps, multimedia and messaging to visualizing the sensor data with a compass overlaid on camera input).

In the messaging area it provides insight how NFC is easily integrated into an application.

Feedback on the application are best given as comments in this blog entry.

N9 showing the compass in the showcase application.

Categories: Hardware
admin

Developer Library latest update

2012-03-14 11:30 UTC  by  Unknown author
0
0

This Developer Library and API reference update includes documentation for PR 1.2 features and documentation enhancements for existing features:

As always, your feedback about the Developer Library is very welcome!

 

 

Categories: Debugging
admin

Developer tooling update

2012-03-13 16:37 UTC  by  Unknown author
0
0

We have released updates for both software development kits.

The Harmattan target for the Qt SDK can now be updated online, using the SDK maintenance tool. The additional functionalities concern mostly improved runtimes for testing. The Qt Quick Components in the Simulator have been upgraded to the same version as is used on the device, and the Simulator now supports both landscape and portrait orientations. Also, there are now three separate QEMU images - one for PR1.0, 1.1 and 1.2 each. The full release notes are available in harmattan-dev.

The Platform SDK is no longer tagged beta, though some usability issues remain, as described in the release notes.

The API baseline remains at PR1.0 (to ensure that all users can safely obtain and use the applications), but a few additional interfaces are now available as extensions: Frankencamera is supported in all Harmattan releases, Simple NDEF Exchange Protocol is supported only in PR1.2. The development packages containing the additional interfaces are available for download.

Categories: Tools
admin

UX documentation up to date

2012-03-13 13:37 UTC  by  Unknown author
0
0

The Nokia N9 UX Guidelines site is now up to date, so go have a look. We've also improved the organisation of the site to serve UI designers and developers better. Improved linking between the UX site and the developer documentation means that it's easier to match what you want to do with how to do it.

However, the Chinese-language UX materials have not been updated at this point. If you are using them, we'd like to hear from you! Do you think it's useful having some material available in Chinese? Should there be more? Less? Different materials?

Categories: Chinese, Simplified
madman2k

I recently ran into this problem and could not find any good solution on the Internet. So next comes a small summary of the problem with hopefully enough buzzwords, so Google can lead you here.

If you want to do C++ development on Android, you need the NDK for cross compilation. It comes by default with its own build system called ndk-build, which basically is a bunch of custom makefiles. But if you are sharing code between the Android Platform and lets say plain Linux, you have likely already a build system installed. For C/C++ CMake is quite popular as it supports different platforms and compilers. Fortunately there is already a project which adds Android support to CMake. I will not cover that – instead I assume you are using it already.

Unfortunately you cant use the ndk-gdb script supplied with the NDK to debug your application as it relies on the behaviour of ndk-build. But as said earlier, ndk-build is no wizardy, but just a bunch of scripts. So it is possible to emulate the behaviour using CMake, as following:

Add the following macro to your CMakeLists.txt file

macro(ndk_gdb_debuggable TARGET_NAME)
    get_property(TARGET_LOCATION TARGET ${TARGET_NAME} PROPERTY LOCATION)
    
    # create custom target that depends on the real target so it gets executed afterwards
    add_custom_target(NDK_GDB ALL) 
    add_dependencies(NDK_GDB ${TARGET_NAME})
    
    set(GDB_SOLIB_PATH ${PROJECT_SOURCE_DIR}/obj/local/${ANDROID_NDK_ABI_NAME}/)
    
    # 1. generate essential Android Makefiles
    file(WRITE ${PROJECT_SOURCE_DIR}/jni/Android.mk "APP_ABI := ${ANDROID_NDK_ABI_NAME}\n")
    file(WRITE ${PROJECT_SOURCE_DIR}/jni/Application.mk "APP_ABI := ${ANDROID_NDK_ABI_NAME}\n")

    # 2. generate gdb.setup
    get_directory_property(PROJECT_INCLUDES DIRECTORY ${PROJECT_SOURCE_DIR} INCLUDE_DIRECTORIES)
    string(REGEX REPLACE ";" " " PROJECT_INCLUDES "${PROJECT_INCLUDES}")
    file(WRITE ${PROJECT_SOURCE_DIR}/libs/${ANDROID_NDK_ABI_NAME}/gdb.setup "set solib-search-path ${GDB_SOLIB_PATH}\n")
    file(APPEND ${PROJECT_SOURCE_DIR}/libs/${ANDROID_NDK_ABI_NAME}/gdb.setup "directory ${PROJECT_INCLUDES}\n")

    # 3. copy gdbserver executable
    file(COPY ${ANDROID_NDK}/prebuilt/android-arm/gdbserver/gdbserver DESTINATION ${PROJECT_SOURCE_DIR}/libs/${ANDROID_NDK_ABI_NAME}/)

    # 4. copy lib to obj
    add_custom_command(TARGET NDK_GDB POST_BUILD COMMAND mkdir -p ${GDB_SOLIB_PATH})
    add_custom_command(TARGET NDK_GDB POST_BUILD COMMAND cp ${TARGET_LOCATION} ${GDB_SOLIB_PATH})

    # 5. strip symbols
    add_custom_command(TARGET NDK_GDB POST_BUILD COMMAND ${CMAKE_STRIP} ${TARGET_LOCATION})
endmacro()

Then use it like

add_library(YourTarget ...)
ndk_gdb_debuggable(YourTarget)

You should now be able to use ndk-gdb with CMake, just as if you would have used ndk-build.

Note that steps 4 and 5 are optional for debugging. They just reduce the size of the library that has to be transferred to the device. If you dont care, you can just leave them out. But then the solib search path from step 2 must be set to:

file(WRITE ./libs/${ANDROID_NDK_ABI_NAME}/gdb.setup "set solib-search-path ./libs/${ANDROID_NDK_ABI_NAME}\n")

Ideally someone should integrate that in the Android toolchain linked above.

Update Merged Upstream

Categories: Articles