Code Monkey home page Code Monkey logo

flightoggle's Introduction

flightoggle's People

Contributors

rasjani avatar

Stargazers

 avatar

Watchers

 avatar  avatar

flightoggle's Issues

Fix translation loading

It looks like that MLocale::addTranslationDir() call in main.cpp is either wrong or that particular api is not working or files are named wrong somehow .. Anyway, string catalog won't get loaded atm ..

Add package manager icon

To add a Package Manager icon:

Create an icon that meets the following criteria:

        PNG format
        between 26 x 26 and 64 x 64 pixels in size
            64 x 64 pixels is recommended.
        Reasonably minimal file size

To convert the PNG file into a base64 encoded format, enter the following command:

    base64 icon.png > icon.txt

Add the contents of the converted file to the package's debian/control file under the XB-Maemo-Icon-26 section. For example:

[...]
Description: Terminal emulator for MeeGo.
XB-Maemo-Display-Name: MeeGo Terminal
XB-Maemo-Icon-26:
iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABHNCSVQICAgI
fAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAABl0RVh0U29mdHdhcmUAd3d3
[...]

Localize the metadata

Localising metadata of your application

You can provide the following metadata of your Harmattan application in more than one language:

application description displayed by the Package Manager
application name displayed by the Package Manager
application name displayed in the launcher

The displayed metadata depends on the Harmattan device language settings. For example, if the selected language is Finnish, the metadata value with the Finnish language code is shown. If this does not exist, the default value is shown instead.

Note: In addition to the localised metadata fields in the control and desktop files, you must also include the default metadata that has not been localised.
Localising the description and name displayed in the Package Manager

Open the control file of your application.
To localise the name displayed for your application in the Package Manager, add a new line with the two-letter language code:

    XSBC-Maemo-Display-Name-<uncapitalised language code>_<capitalised language code>: <localised name>

To localise the description of your application, add a new line with the two-letter language code:

    XB-Description-<uncapitalised language code>_<capitalised language code>: <localised short description>

If you want to provide more details on the application in the target language, start this description on the next line. You need to leave Column 1 of the line empty.

Example of localised metadata values in the control file:

In this example, the short description and the name displayed in the Package Manager are provided in the default language (English) and Finnish.

Description: An application for storing your favourite photos.
XB-Description-fi_FI: Tällä sovelluksella voit tallentaa suosikkikuvasi.
XSBC-Maemo-Display-Name: Photo Album
XSBC-Maemo-Display-Name-fi_FI: Valokuva-albumi

Localising the name displayed in the launcher

Open the .desktop file of your application.
Add a new line with the two-letter language code:

    Name[<language code>]=<localised application name>

Example of localised metadata values in the desktop file:

In this example, the name displayed in the launcher is provided in the default language (English) and Finnish.

Name=Photo Album
Name[fi]=Valokuva-albumi

Add rest of the missing metadata

Mandatory metadata to add manually Field name Accepted value Description
Package String that meets the following requirements:

starts with an alphanumeric character.
does not contain more than 100 characters
includes only lower-case letters (a-z), digits (0-9), periods, plus (+) or minus (-) signs.
does not contain underscores.

Package name

Note: To make sure that the package name is unique in Nokia Store, it is recommended that you add a distinctive developer name or ID in the package name, such as a name or nickname of the developer or the company.
Version #.#.# or #.# or #, where #= string {0-9}, <50 characters

If you wish to publish your application in Nokia Store, do not use the debian revision in the version number.
Version number

Note: If the content has already been tested and published in Nokia Store:

You cannot decrease the major version.
You can only decrease the minor version if you increase the major version.
You can only decrease the patch version if you increase either the major or minor version.

Description Free text Description of the application. Add a short description of less than 60 characters on the first line after Description in the control file. If you want to provide more details on the package, start this description on the next line. You need to leave Column 1 of each line empty. Do not leave more than one blank line after the long description.

Note: When adding a longer description for our application, you can use HTML-formatted Rich Text. This means that you can add links and tables to the description, if necessary. For more information on the supported HTML subset, see Qt documentation online.
XSBC-Maemo-Display-Name One-line string Name for the package displayed in the Package Manager UI instead of the value given in the Package field.
XB-Maemo-Icon-26 base64 coded icon Icon to be shown by the Package Manager. When adding the text, you need to leave Column 1 of each line empty.

Fixing *.pro files to not link against unnecessery libraries.

dpkg-shlibdeps: warning: debian/flightoggle/opt/flightoggle/bin/flightoggle contains an unresolvable reference to symbol __aeabi_unwind_cpp_pr1@GCC_3.5: it's probably a plugin.
dpkg-shlibdeps: warning: 1 other similar warnings have been skipped (use -v to see them all).
dpkg-shlibdeps: warning: dependency on libgcc_s.so.1 could be avoided if "debian/flightoggle/opt/flightoggle/bin/flightoggle" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libtimed.so.0 could be avoided if "debian/flightoggle/opt/flightoggle/bin/flightoggle" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libmeegotouchsettings.so.0 could be avoided if "debian/flightoggle/opt/flightoggle/bin/flightoggle" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libmeegotouchextensions.so.0 could be avoided if "debian/flightoggle/opt/flightoggle/bin/flightoggle" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libQtDBus.so.4 could be avoided if "debian/flightoggle/opt/flightoggle/bin/flightoggle" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libpthread.so.0 could be avoided if "debian/flightoggle/opt/flightoggle/bin/flightoggle" were not uselessly linked against it (they use none of its symbols).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.