rename powerkey dir back to plain ui v0.2-2
authorTuomo Tanskanen <tumi@tumi.fi>
Tue, 22 Dec 2009 09:09:35 +0000 (11:09 +0200)
committerTuomo Tanskanen <tumi@tumi.fi>
Tue, 22 Dec 2009 09:09:35 +0000 (11:09 +0200)
24 files changed:
cell-modem-ui-powerkey/COPYING [deleted file]
cell-modem-ui-powerkey/INSTALL [deleted file]
cell-modem-ui-powerkey/README [deleted file]
cell-modem-ui-powerkey/TODO [deleted file]
cell-modem-ui-powerkey/debian/cell-modem-ui.install [deleted file]
cell-modem-ui-powerkey/debian/changelog [deleted file]
cell-modem-ui-powerkey/debian/compat [deleted file]
cell-modem-ui-powerkey/debian/control [deleted file]
cell-modem-ui-powerkey/debian/copyright [deleted file]
cell-modem-ui-powerkey/debian/rules [deleted file]
cell-modem-ui-powerkey/etc/systemui/cell-modem-ui.xml [deleted file]
cell-modem-ui-powerkey/icon.png [deleted file]
cell-modem-ui/COPYING [new file with mode: 0644]
cell-modem-ui/INSTALL [new file with mode: 0644]
cell-modem-ui/README [new file with mode: 0644]
cell-modem-ui/TODO [new file with mode: 0644]
cell-modem-ui/debian/cell-modem-ui.install [new file with mode: 0644]
cell-modem-ui/debian/changelog [new file with mode: 0644]
cell-modem-ui/debian/compat [new file with mode: 0644]
cell-modem-ui/debian/control [new file with mode: 0644]
cell-modem-ui/debian/copyright [new file with mode: 0644]
cell-modem-ui/debian/rules [new file with mode: 0755]
cell-modem-ui/etc/systemui/cell-modem-ui.xml [new file with mode: 0644]
cell-modem-ui/icon.png [new file with mode: 0644]

diff --git a/cell-modem-ui-powerkey/COPYING b/cell-modem-ui-powerkey/COPYING
deleted file mode 100644 (file)
index cc38897..0000000
+++ /dev/null
@@ -1 +0,0 @@
-This is released under BSD licence, see debian/copyright for more details.
diff --git a/cell-modem-ui-powerkey/INSTALL b/cell-modem-ui-powerkey/INSTALL
deleted file mode 100644 (file)
index 900ba98..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-INSTALL:
---------
-
-dpkg-buildpackage -rfakeroot -us -uc -sa -D
-dpkg -i ../cell-modem-ui*_armel.deb
diff --git a/cell-modem-ui-powerkey/README b/cell-modem-ui-powerkey/README
deleted file mode 100644 (file)
index 1289e45..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-cell-modem-ui:
---------------
-Installs a XML-file to /etc/systemui/ for controlling cellular modem.
-
diff --git a/cell-modem-ui-powerkey/TODO b/cell-modem-ui-powerkey/TODO
deleted file mode 100644 (file)
index 40c0d86..0000000
+++ /dev/null
@@ -1 +0,0 @@
-This is a placeholder for TODO.
diff --git a/cell-modem-ui-powerkey/debian/cell-modem-ui.install b/cell-modem-ui-powerkey/debian/cell-modem-ui.install
deleted file mode 100644 (file)
index 376a032..0000000
+++ /dev/null
@@ -1 +0,0 @@
-etc/systemui/*
diff --git a/cell-modem-ui-powerkey/debian/changelog b/cell-modem-ui-powerkey/debian/changelog
deleted file mode 100644 (file)
index d4b4a5f..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-cell-modem-ui (0.2-2) unstable; urgency=low
-
-  * Bugtracker added to debian/control
-  * Icon added for application via XB-Maemo-Icon-26
-  * Dependency corrected from osso-systemui to osso-systemuimenu
-  * Revised priorities some more to make it stick next to Phone
-
- -- Tuomo Tanskanen <tumi@tumi.fi>  Tue, 22 Dec 2009 09:57:36 +0200
-
-cell-modem-ui (0.2-1) unstable; urgency=low
-
-  * Revised priorities in XML
-  * Added icons for buttons
-  * Rewrote button texts
-  * Added disclaimer to control about requiring a reboot
-
- -- Tuomo Tanskanen <tumi@tumi.fi>  Mon, 21 Dec 2009 01:12:48 +0200
-
-cell-modem-ui (0.1-1) unstable; urgency=low
-
-  * Initial version
-
- -- Tuomo Tanskanen <tumi@tumi.fi>  Sun, 20 Dec 2009 22:46:20 +0200
diff --git a/cell-modem-ui-powerkey/debian/compat b/cell-modem-ui-powerkey/debian/compat
deleted file mode 100644 (file)
index b8626c4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-4
diff --git a/cell-modem-ui-powerkey/debian/control b/cell-modem-ui-powerkey/debian/control
deleted file mode 100644 (file)
index 3debf86..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-Source: cell-modem-ui
-Section: user/system
-Priority: optional
-Maintainer: Tuomo Tanskanen <tumi@tumi.fi>
-Build-Depends: debhelper (>= 4.1.0)
-Standards-Version: 3.8.0
-
-Package: cell-modem-ui
-Section: user/system
-Architecture: any
-Depends: ${shlibs:Depends}, osso-systemui-powerkeymenu (>= 0.2.0.0)
-Description: Add Enable/Disable Phone buttons to powerkey menu
- Enables switching cellular modem on or off individually, without
- going to full Offline mode. Handy for having WLAN enabled, but
- phone off (e.g. flights, hospitals).
- Requires reboot (or "killall systemui") to activate/deactivate.
-XB-Maemo-Display-Name: Cellular Modem Control UI - Powerkey buttons
-XSBC-Bugtracker: https://garage.maemo.org/tracker/?atid=4408&group_id=1176&func=browse
-XB-Maemo-Icon-26:
- iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAGXRFWHRTb2Z0
- d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABEJJREFUeNrsmE1sW0UQgGff
- n2MnjuP436WxFYTF3yEiVEAPECHUA2qVqj1QCQ6tVDiDIvWGBHcOleACnKpG
- MgcOSMABUEUgCE4VnIpqWtUhwW4cEtvx77O97zHz+uw4wfVPioQq7UijnX0/
- 6/l2Z2b3mZmmCQ+zSPCQiwAQAAJAAAgAASAABIAAEAAC4NCitA3G2Mgv3zn7
- 2rxH0ybQXOi6HLe1l6x02QXU38iYTl79YdTfbn+IsY4xAOCnV08mIk7XgibJ
- L0kM5hyy/KR1o8XBrFbvDdpqdeyeyz05uddxOIA5NOgB1NYVf3J57UEBtK9e
- OXHyqSnvpQlVfc7UdTB2d1FLQLaJ7QOLLAMbdwGz2nFgLhdI1EdA9CyNT3yB
- ejl4AGYYgMivi2c+jrpcp/jWFrSym31n978WWh3J6wUlEm7DnA8nl68MCxC7
- vnjmw4imnWqm/rBmv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-modem-ui-powerkey/debian/copyright b/cell-modem-ui-powerkey/debian/copyright
deleted file mode 100644 (file)
index 44b21b5..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-Released under the terms of BSD License.
-
-Copyright: (c) 2009 Tuomo Tanskanen <tumi@tumi.fi>
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-    * Redistributions of source code must retain the above copyright
-      notice, this list of conditions and the following disclaimer.
-    * Redistributions in binary form must reproduce the above copyright
-      notice, this list of conditions and the following disclaimer in the
-      documentation and/or other materials provided with the distribution.
-    * Neither the name of the Copyright holders nor the
-      names of its contributors may be used to endorse or promote products
-      derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/cell-modem-ui-powerkey/debian/rules b/cell-modem-ui-powerkey/debian/rules
deleted file mode 100755 (executable)
index d1acf3e..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/usr/bin/make -f
-# -*- makefile -*-
-
-config.status: configure
-       dh_testdir
-
-configure: configure-stamp
-
-configure-stamp:
-#      libtoolize --automake
-#      aclocal-1.7 || aclocal
-#      autoconf
-#      autoheader
-#      automake-1.7 --add-missing --foreign || automake --add-missing> --foreign
-       touch configure-stamp
-
-
-build: build-stamp
-
-build-stamp:  config.status
-       dh_testdir
-       touch build-stamp
-
-clean:
-       dh_testdir
-       dh_testroot
-       rm -f build-stamp 
-       [ ! -f Makefile ] || $(MAKE) distclean
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-       cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-       cp -f /usr/share/misc/config.guess config.guess
-endif
-       rm -f configure Makefile.in aclocal.m4 configure-stamp build-stamp config.guess config.sub depcomp install-sh ltmain.sh missing mkinstalldirs config.h.in
-       dh_clean 
-
-install: build
-       dh_testdir
-       dh_testroot
-       dh_clean -k 
-       dh_installdirs
-       mkdir -p $(CURDIR)/debian/tmp/etc/systemui/
-       cp $(CURDIR)/etc/systemui/*.xml $(CURDIR)/debian/tmp/etc/systemui/
-
-binary-indep: build install
-
-binary-arch: build install
-       dh_testdir
-       dh_testroot
-       dh_installchangelogs
-       dh_installdocs
-       dh_install -v --sourcedir=debian/tmp
-       dh_link
-       dh_strip --dbg-package=cell-modem-ui
-       dh_compress
-       dh_fixperms
-       dh_makeshlibs -V
-       dh_installdeb
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
diff --git a/cell-modem-ui-powerkey/etc/systemui/cell-modem-ui.xml b/cell-modem-ui-powerkey/etc/systemui/cell-modem-ui.xml
deleted file mode 100644 (file)
index 973bb4c..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-<powerkeymenu path="/">
- <menuitem priority="401" name="Enable cellular" visible="tablet_state">
-  <keyfile>/var/run/ssc</keyfile>
-  <callback service="com.nokia.phone.SSC"
-       path="/com/nokia/phone/SSC"
-       interface="com.nokia.phone.SSC" 
-       method="launch_pin_query"
-       bus="system" 
-       autostart="true">
-    <argument type="boolean">true</argument>
-  </callback>
-  <icon>general_application_call</icon>
- </menuitem>
-
- <menuitem priority="401" name="Enable cellular" visible="inactive">
-  <keyfile>/var/run/ssc</keyfile>
-  <callback service="com.nokia.phone.SSC"
-       path="/com/nokia/phone/SSC"
-       interface="com.nokia.phone.SSC" 
-       method="set_radio"
-       bus="system" 
-       autostart="true">
-    <argument type="boolean">true</argument>
-  </callback>
-  <icon>general_application_call</icon>
- </menuitem>
-
- <menuitem priority="401" name="Disable cellular" visible="online">
-  <keyfile>/var/run/ssc</keyfile>
-  <callback service="com.nokia.phone.SSC"
-       path="/com/nokia/phone/SSC"
-       interface="com.nokia.phone.SSC" 
-       method="set_radio"
-       bus="system" 
-       autostart="true">
-    <argument type="boolean">false</argument>
-  </callback>
-  <icon>red_end_call</icon>
- </menuitem>
-
- <menuitem priority="401" name="Disable cellular" visible="activation_pending">
-  <keyfile>/var/run/ssc</keyfile>
-  <callback service="com.nokia.phone.SSC"
-       path="/com/nokia/phone/SSC"
-       interface="com.nokia.phone.SSC" 
-       method="set_radio"
-       bus="system" 
-       autostart="true">
-    <argument type="boolean">false</argument>
-  </callback>
-  <icon>red_end_call</icon>
- </menuitem>
-
- <menuitem priority="401" name="Disable cellular" visible="activation_failed">
-  <keyfile>/var/run/ssc</keyfile>
-  <callback service="com.nokia.phone.SSC"
-       path="/com/nokia/phone/SSC"
-       interface="com.nokia.phone.SSC" 
-       method="set_radio"
-       bus="system" 
-       autostart="true">
-    <argument type="boolean">false</argument>
-  </callback>
-  <icon>red_end_call</icon>
- </menuitem>
-
- <menuitem priority="401" name="Disable cellular" visible="selection_failed">
-  <keyfile>/var/run/ssc</keyfile>
-  <callback service="com.nokia.phone.SSC"
-       path="/com/nokia/phone/SSC"
-       interface="com.nokia.phone.SSC" 
-       method="set_radio"
-       bus="system" 
-       autostart="true">
-    <argument type="boolean">false</argument>
-  </callback>
-  <icon>red_end_call</icon>
- </menuitem>
-</powerkeymenu>
diff --git a/cell-modem-ui-powerkey/icon.png b/cell-modem-ui-powerkey/icon.png
deleted file mode 100644 (file)
index 41a9b39..0000000
Binary files a/cell-modem-ui-powerkey/icon.png and /dev/null differ
diff --git a/cell-modem-ui/COPYING b/cell-modem-ui/COPYING
new file mode 100644 (file)
index 0000000..cc38897
--- /dev/null
@@ -0,0 +1 @@
+This is released under BSD licence, see debian/copyright for more details.
diff --git a/cell-modem-ui/INSTALL b/cell-modem-ui/INSTALL
new file mode 100644 (file)
index 0000000..900ba98
--- /dev/null
@@ -0,0 +1,5 @@
+INSTALL:
+--------
+
+dpkg-buildpackage -rfakeroot -us -uc -sa -D
+dpkg -i ../cell-modem-ui*_armel.deb
diff --git a/cell-modem-ui/README b/cell-modem-ui/README
new file mode 100644 (file)
index 0000000..1289e45
--- /dev/null
@@ -0,0 +1,4 @@
+cell-modem-ui:
+--------------
+Installs a XML-file to /etc/systemui/ for controlling cellular modem.
+
diff --git a/cell-modem-ui/TODO b/cell-modem-ui/TODO
new file mode 100644 (file)
index 0000000..40c0d86
--- /dev/null
@@ -0,0 +1 @@
+This is a placeholder for TODO.
diff --git a/cell-modem-ui/debian/cell-modem-ui.install b/cell-modem-ui/debian/cell-modem-ui.install
new file mode 100644 (file)
index 0000000..376a032
--- /dev/null
@@ -0,0 +1 @@
+etc/systemui/*
diff --git a/cell-modem-ui/debian/changelog b/cell-modem-ui/debian/changelog
new file mode 100644 (file)
index 0000000..d4b4a5f
--- /dev/null
@@ -0,0 +1,23 @@
+cell-modem-ui (0.2-2) unstable; urgency=low
+
+  * Bugtracker added to debian/control
+  * Icon added for application via XB-Maemo-Icon-26
+  * Dependency corrected from osso-systemui to osso-systemuimenu
+  * Revised priorities some more to make it stick next to Phone
+
+ -- Tuomo Tanskanen <tumi@tumi.fi>  Tue, 22 Dec 2009 09:57:36 +0200
+
+cell-modem-ui (0.2-1) unstable; urgency=low
+
+  * Revised priorities in XML
+  * Added icons for buttons
+  * Rewrote button texts
+  * Added disclaimer to control about requiring a reboot
+
+ -- Tuomo Tanskanen <tumi@tumi.fi>  Mon, 21 Dec 2009 01:12:48 +0200
+
+cell-modem-ui (0.1-1) unstable; urgency=low
+
+  * Initial version
+
+ -- Tuomo Tanskanen <tumi@tumi.fi>  Sun, 20 Dec 2009 22:46:20 +0200
diff --git a/cell-modem-ui/debian/compat b/cell-modem-ui/debian/compat
new file mode 100644 (file)
index 0000000..b8626c4
--- /dev/null
@@ -0,0 +1 @@
+4
diff --git a/cell-modem-ui/debian/control b/cell-modem-ui/debian/control
new file mode 100644 (file)
index 0000000..3debf86
--- /dev/null
@@ -0,0 +1,47 @@
+Source: cell-modem-ui
+Section: user/system
+Priority: optional
+Maintainer: Tuomo Tanskanen <tumi@tumi.fi>
+Build-Depends: debhelper (>= 4.1.0)
+Standards-Version: 3.8.0
+
+Package: cell-modem-ui
+Section: user/system
+Architecture: any
+Depends: ${shlibs:Depends}, osso-systemui-powerkeymenu (>= 0.2.0.0)
+Description: Add Enable/Disable Phone buttons to powerkey menu
+ Enables switching cellular modem on or off individually, without
+ going to full Offline mode. Handy for having WLAN enabled, but
+ phone off (e.g. flights, hospitals).
+ Requires reboot (or "killall systemui") to activate/deactivate.
+XB-Maemo-Display-Name: Cellular Modem Control UI - Powerkey buttons
+XSBC-Bugtracker: https://garage.maemo.org/tracker/?atid=4408&group_id=1176&func=browse
+XB-Maemo-Icon-26:
+ iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAGXRFWHRTb2Z0
+ d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABEJJREFUeNrsmE1sW0UQgGff
+ n2MnjuP436WxFYTF3yEiVEAPECHUA2qVqj1QCQ6tVDiDIvWGBHcOleACnKpG
+ MgcOSMABUEUgCE4VnIpqWtUhwW4cEtvx77O97zHz+uw4wfVPioQq7UijnX0/
+ 6/l2Z2b3mZmmCQ+zSPCQiwAQAA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WmbX0W9TdXrnR+//5JWb1jJcX7TNle/
+ rpQ01BWPJEUfUx2RoCK7pyXZHVYUH5ZWDdtoZ+PDHfqJhp7prEjXRhbDZulc
+ ODqvl8tY45tUHbLpZpNiVbcrDemmHbJU72u2TbX9hREr0DbqL7ZNJ1qHvT+4
+ 6CRAOUnhZd9zH1XUeFCWfSFFGXOGQh98fvvWtwcBKPgS9os5u65XbQfL/9Nx
+ X+uCIv/c9mRuoN98H4D4IhMAAkAACAABIAAEgAAQAAJgVPlHgAEAiDjnTGDJ
+ FcsAAAAASUVORK5CYII=
+ ====
diff --git a/cell-modem-ui/debian/copyright b/cell-modem-ui/debian/copyright
new file mode 100644 (file)
index 0000000..44b21b5
--- /dev/null
@@ -0,0 +1,27 @@
+Released under the terms of BSD License.
+
+Copyright: (c) 2009 Tuomo Tanskanen <tumi@tumi.fi>
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+    * Neither the name of the Copyright holders nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/cell-modem-ui/debian/rules b/cell-modem-ui/debian/rules
new file mode 100755 (executable)
index 0000000..d1acf3e
--- /dev/null
@@ -0,0 +1,66 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+config.status: configure
+       dh_testdir
+
+configure: configure-stamp
+
+configure-stamp:
+#      libtoolize --automake
+#      aclocal-1.7 || aclocal
+#      autoconf
+#      autoheader
+#      automake-1.7 --add-missing --foreign || automake --add-missing> --foreign
+       touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp:  config.status
+       dh_testdir
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp 
+       [ ! -f Makefile ] || $(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+       cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+       cp -f /usr/share/misc/config.guess config.guess
+endif
+       rm -f configure Makefile.in aclocal.m4 configure-stamp build-stamp config.guess config.sub depcomp install-sh ltmain.sh missing mkinstalldirs config.h.in
+       dh_clean 
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k 
+       dh_installdirs
+       mkdir -p $(CURDIR)/debian/tmp/etc/systemui/
+       cp $(CURDIR)/etc/systemui/*.xml $(CURDIR)/debian/tmp/etc/systemui/
+
+binary-indep: build install
+
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs
+       dh_installdocs
+       dh_install -v --sourcedir=debian/tmp
+       dh_link
+       dh_strip --dbg-package=cell-modem-ui
+       dh_compress
+       dh_fixperms
+       dh_makeshlibs -V
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
diff --git a/cell-modem-ui/etc/systemui/cell-modem-ui.xml b/cell-modem-ui/etc/systemui/cell-modem-ui.xml
new file mode 100644 (file)
index 0000000..973bb4c
--- /dev/null
@@ -0,0 +1,79 @@
+<powerkeymenu path="/">
+ <menuitem priority="401" name="Enable cellular" visible="tablet_state">
+  <keyfile>/var/run/ssc</keyfile>
+  <callback service="com.nokia.phone.SSC"
+       path="/com/nokia/phone/SSC"
+       interface="com.nokia.phone.SSC" 
+       method="launch_pin_query"
+       bus="system" 
+       autostart="true">
+    <argument type="boolean">true</argument>
+  </callback>
+  <icon>general_application_call</icon>
+ </menuitem>
+
+ <menuitem priority="401" name="Enable cellular" visible="inactive">
+  <keyfile>/var/run/ssc</keyfile>
+  <callback service="com.nokia.phone.SSC"
+       path="/com/nokia/phone/SSC"
+       interface="com.nokia.phone.SSC" 
+       method="set_radio"
+       bus="system" 
+       autostart="true">
+    <argument type="boolean">true</argument>
+  </callback>
+  <icon>general_application_call</icon>
+ </menuitem>
+
+ <menuitem priority="401" name="Disable cellular" visible="online">
+  <keyfile>/var/run/ssc</keyfile>
+  <callback service="com.nokia.phone.SSC"
+       path="/com/nokia/phone/SSC"
+       interface="com.nokia.phone.SSC" 
+       method="set_radio"
+       bus="system" 
+       autostart="true">
+    <argument type="boolean">false</argument>
+  </callback>
+  <icon>red_end_call</icon>
+ </menuitem>
+
+ <menuitem priority="401" name="Disable cellular" visible="activation_pending">
+  <keyfile>/var/run/ssc</keyfile>
+  <callback service="com.nokia.phone.SSC"
+       path="/com/nokia/phone/SSC"
+       interface="com.nokia.phone.SSC" 
+       method="set_radio"
+       bus="system" 
+       autostart="true">
+    <argument type="boolean">false</argument>
+  </callback>
+  <icon>red_end_call</icon>
+ </menuitem>
+
+ <menuitem priority="401" name="Disable cellular" visible="activation_failed">
+  <keyfile>/var/run/ssc</keyfile>
+  <callback service="com.nokia.phone.SSC"
+       path="/com/nokia/phone/SSC"
+       interface="com.nokia.phone.SSC" 
+       method="set_radio"
+       bus="system" 
+       autostart="true">
+    <argument type="boolean">false</argument>
+  </callback>
+  <icon>red_end_call</icon>
+ </menuitem>
+
+ <menuitem priority="401" name="Disable cellular" visible="selection_failed">
+  <keyfile>/var/run/ssc</keyfile>
+  <callback service="com.nokia.phone.SSC"
+       path="/com/nokia/phone/SSC"
+       interface="com.nokia.phone.SSC" 
+       method="set_radio"
+       bus="system" 
+       autostart="true">
+    <argument type="boolean">false</argument>
+  </callback>
+  <icon>red_end_call</icon>
+ </menuitem>
+</powerkeymenu>
diff --git a/cell-modem-ui/icon.png b/cell-modem-ui/icon.png
new file mode 100644 (file)
index 0000000..41a9b39
Binary files /dev/null and b/cell-modem-ui/icon.png differ