From 5bc743f2cac5aa6a2f50800492a486e87d874e18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pertti=20Kellom=C3=A4ki?= Date: Wed, 2 Mar 2011 11:22:19 +0200 Subject: [PATCH] Changes: Copied the splash screen section from README to README-QDECLARATIVEBOOSTER. RevBy: TrustMe --- meego/0.18.1/meegotouch-applauncherd.spec | 4 +++ .../README-QDECLARATIVEBOOSTER | 27 +++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/meego/0.18.1/meegotouch-applauncherd.spec b/meego/0.18.1/meegotouch-applauncherd.spec index 50c114d..77e1eff 100644 --- a/meego/0.18.1/meegotouch-applauncherd.spec +++ b/meego/0.18.1/meegotouch-applauncherd.spec @@ -102,6 +102,10 @@ rm -rf %{buildroot} # move them elsewhere and leave a symlink in place. mv %{buildroot}/usr/share/applauncherd-tests %{buildroot}/usr/lib (cd %{buildroot}/usr/share; ln -s ../lib/applauncherd-tests) + +# applauncherd expects the theme daemon socket in /var/tmp in Harmattan, +# but it is in /tmp in MeeGo. Drop in a symbolic link as an interim solution. +(cd %{buildroot}/var/tmp; ln -s ../../tmp/m.mthemedaemon) # << install post diff --git a/src/qdeclarativebooster/README-QDECLARATIVEBOOSTER b/src/qdeclarativebooster/README-QDECLARATIVEBOOSTER index ff04240..6d29f86 100644 --- a/src/qdeclarativebooster/README-QDECLARATIVEBOOSTER +++ b/src/qdeclarativebooster/README-QDECLARATIVEBOOSTER @@ -193,6 +193,33 @@ Note, that in this case the launcher is not used. Consider using --single-instance instead of the single instance functionality provided by D-Bus, because it very likely is much faster. +2.4 Splash screen + +Applauncherd supports showing a splash screen if there is mcompositor +(the MeeGo window manager) running. + +The splash screen is not shown by default. If an application wants it +to be shown, it must pass --splash, and optionally --splash-landscape +arguments to the invoker. + +For instance, + +/usr/bin/invoker --splash=/usr/share/application_name/splash.jpg \ + --splash-landscape=/usr/share/application_name/splash-l.jpg \ + --type=d \ + /usr/bin/application_name + +shows the splash screen with splash.jpg as its content when the device +is in the portrait orientation. Otherwise splash-l.jpg is shown. If +only --splash is given, that image is shown in both orientations. + +Invoker passes the splash request to the booster. The booster sends +the splash request to the window manager by setting a window property +to window manager's window. + +If the filenames do not include absolute paths, the window manager +looks for the files from a default location. + 3. PACKAGE DEPENDENCIES Applications using the launcher must depend on the applauncherd Debian package.