I have made the following changes intended for : CE:Apps / qmlcalc Please review and accept or decline. BOSS has already run some checks on this request. See the "Messages from BOSS" section below.
https://build.pub.meego.com//request/show/5436 Thank You, sviox [This message was auto-generated] --- Request # 5436: Messages from BOSS: State: review at 2012-08-09T12:58:55 by bossbot Reviews: accepted by bossbot : Prechecks succeeded. new for CE-maintainers : Please replace this text with a review and approve/reject the review (not the SR). BOSS will take care of the rest Changes: submit: home:sviox:branches:CE:Apps / qmlcalc -> CE:Apps / qmlcalc changes files: -------------- --- qmlcalc.changes +++ qmlcalc.changes @@ -0,0 +1,3 @@ +* Thu Aug 9 2012 Olli Kasari <[email protected]> - 0.0.9 +- Fixes: NEMO#219 - Pressing calculator icon on homescreen should not open multiple calculator instances. + new: ---- 0001-Modified-.desktop-to-only-allow-one-instance-of-qmlc.patch spec files: ----------- --- qmlcalc.spec +++ qmlcalc.spec @@ -1,6 +1,6 @@ # # Do NOT Edit the Auto-generated Part! -# Generated by: spectacle version 0.24.1 +# Generated by: spectacle version 0.24 # Name: qmlcalc @@ -17,6 +17,7 @@ Source0: %{name}-%{version}.tar.bz2 Source1: qmlcalc-screenshot.png Source100: qmlcalc.yaml +Patch0: 0001-Modified-.desktop-to-only-allow-one-instance-of-qmlc.patch BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(QtOpenGL) BuildRequires: pkgconfig(QtDeclarative) @@ -32,6 +33,8 @@ %prep %setup -q -n %{name} +# 0001-Modified-.desktop-to-only-allow-one-instance-of-qmlc.patch +%patch0 -p1 # >> setup # << setup other changes: -------------- ++++++ 0001-Modified-.desktop-to-only-allow-one-instance-of-qmlc.patch (new) --- 0001-Modified-.desktop-to-only-allow-one-instance-of-qmlc.patch +++ 0001-Modified-.desktop-to-only-allow-one-instance-of-qmlc.patch @@ -0,0 +1,24 @@ +From f3aedeae41841280ecf7aa580f65f542e1a7f002 Mon Sep 17 00:00:00 2001 +From: Developer <developer@MerEnv.(none)> +Date: Thu, 9 Aug 2012 12:58:16 +0300 +Subject: [PATCH] Modified .desktop to only allow one instance of qmlcalc + +--- + qmlcalc.desktop | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/qmlcalc.desktop b/qmlcalc.desktop +index 698d01d..90d0822 100644 +--- a/qmlcalc.desktop ++++ b/qmlcalc.desktop +@@ -2,6 +2,6 @@ + Type=Application + Name=Calculator + Categories=Applications +-Exec=/usr/bin/qmlcalc ++Exec=invoker --type=e --single-instance /usr/bin/qmlcalc + Icon=icon-l-calculator + +-- +1.7.9.5 + ++++++ qmlcalc.yaml --- qmlcalc.yaml +++ qmlcalc.yaml @@ -8,6 +8,8 @@ Sources: - "%{name}-%{version}.tar.bz2" - qmlcalc-screenshot.png +Patches: + - 0001-Modified-.desktop-to-only-allow-one-instance-of-qmlc.patch Description: | Calculator application written using QML
