Permalink
Browse files

Camerra Hack Initial Import

  • Loading branch information...
0 parents commit 1de2ff66bfc85c1615f6f6636048b71ed97245ee @thp thp committed Jan 12, 2012
Showing with 1,015 additions and 0 deletions.
  1. +674 −0 COPYING
  2. +6 −0 README
  3. BIN camerra-instructions.png
  4. +5 −0 camerra.desktop
  5. BIN camerra.png
  6. +74 −0 camerra.py
  7. +29 −0 camerra.qml
  8. +5 −0 debian/changelog
  9. +1 −0 debian/compat
  10. +159 −0 debian/control
  11. +29 −0 debian/copyright
  12. +13 −0 debian/rules
  13. +1 −0 debian/source/format
  14. +19 −0 makefile
674 COPYING

Large diffs are not rendered by default.

Oops, something went wrong.
6 README
@@ -0,0 +1,6 @@
+
+ Harmattan Camerra Hack
+ ----------------------
+
+See http://thp.io/2012/camerra/ for more information.
+
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Type=Application
+Name=CamerraH
+Icon=/opt/camerra/camerra.png
+Exec=python /usr/bin/camerra.py
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,74 @@
+
+#
+# Ye Olde Camerra Hack - Another fine Harmattan Hack Powered by Python(tm)!
+# 2012-01-12; Thomas Perl <thp.io/about>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This package is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# On Debian systems, the complete text of the GNU General
+# Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+#
+
+
+from QmSystem import *
+from PySide.QtGui import *
+from PySide.QtDeclarative import *
+
+import sys
+import subprocess
+import re
+import time
+
+app = QApplication(sys.argv)
+keys = QmKeys()
+last_time = time.time()
+
+WAIT_BETWEEN_CLICKS = 3
+WINID_REGEX = r'_NET_ACTIVE_WINDOW\(WINDOW\): window id # (0x[0-9a-f]*)'
+CAMERA_REGEX = r'WM_CLASS\(STRING\) = "camera-ui"'
+
+def camera_app_on_top():
+ # Is the window of the camera app currently on top or some other app?
+ root = subprocess.Popen(['xprop', '-root'], stdout=subprocess.PIPE)
+ stdout, stderr = root.communicate()
+ win_id = re.search(WINID_REGEX, stdout).group(1)
+
+ win_info = subprocess.Popen(['xprop', '-id', win_id],
+ stdout=subprocess.PIPE)
+ stdout, stderr = win_info.communicate()
+
+ return re.search(CAMERA_REGEX, stdout) is not None
+
+def keyEvent(key, state):
+ # Callback for QmKeys key events
+ global last_time
+
+ if time.time() - last_time < WAIT_BETWEEN_CLICKS:
+ # Avoid hammering the cam app when Vol+ is being kept pressed
+ return
+
+ if key == state == 2 and camera_app_on_top():
+ last_time = time.time()
+ p = subprocess.Popen(['xresponse', '-d', '820x240,820x240', '-w', '1'],
+ stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ p.wait()
+
+keys.keyEvent.connect(keyEvent)
+
+view = QDeclarativeView()
+view.setSource('/opt/camerra/camerra.qml')
+view.showFullScreen()
+
+app.exec_()
+
@@ -0,0 +1,29 @@
+
+import QtQuick 1.1
+import com.nokia.meego 1.0
+
+PageStackWindow {
+ initialPage: Page {
+ Text {
+ anchors.centerIn: parent
+ width: parent.width * .8
+ font.pixelSize: 20
+ text: '<p style="text-align: center;">
+ <b>Ye Olde Camerra Hack!</b><br><br>
+ While this application is running, you can<br>
+ use the <b>Volume +</b> button on your N9<br>
+ to capture photos in the camera application.<br>
+ <br><br>
+ http://thp.io/2012/camerra/
+ </p>'
+ }
+
+ Image {
+ anchors {
+ horizontalCenter: parent.horizontalCenter
+ bottom: parent.bottom
+ }
+ source: 'camerra-instructions.png'
+ }
+ }
+}
@@ -0,0 +1,5 @@
+camerra (1.0.0) harmattan; urgency=low
+
+ * Initial release of the Camerra Hack.
+
+ -- Thomas Perl <m@thp.io> Thu, 12 Jan 2012 14:43:03 +0100
@@ -0,0 +1 @@
+8
@@ -0,0 +1,159 @@
+Source: camerra
+Section: user/desktop
+Priority: extra
+Maintainer: Thomas Perl <m@thp.io>
+Build-Depends: debhelper (>= 8.0.0)
+Standards-Version: 3.9.2
+Homepage: http://thp.io/2012/camerra/
+
+Package: camerra
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, python, python-qmsystem, python-pyside.qtgui, python-pyside.qtdeclarative, x11-utils, xresponse
+Description: Use "Volume +" as Camera Shutter button
+ When this application is running, it will monitor the
+ state of your "Volume +" hardware key and (when the
+ camera application is running in the foreground) on
+ press click on the on-screen shutter button.
+ Cool for self-portraits (N950 photo wall *hint,hint*).
+XSBC-Maemo-Display-Name: Camerra Hack
+XSBC-Maemo-Icon-26: iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAKQ2lDQ1BJQ0MgcHJvZmlsZQAAeNqd
+ U3dYk/cWPt/3ZQ9WQtjwsZdsgQAiI6wIyBBZohCSAGGEEBJAxYWIClYUFRGcSFXEgtUKSJ2I4qAo
+ uGdBiohai1VcOO4f3Ke1fXrv7e371/u855zn/M55zw+AERImkeaiagA5UoU8Otgfj09IxMm9gAIV
+ SOAEIBDmy8JnBcUAAPADeXh+dLA//AGvbwACAHDVLiQSx+H/g7pQJlcAIJEA4CIS5wsBkFIAyC5U
+ yBQAyBgAsFOzZAoAlAAAbHl8QiIAqg0A7PRJPgUA2KmT3BcA2KIcqQgAjQEAmShHJAJAuwBgVYFS
+ LALAwgCgrEAiLgTArgGAWbYyRwKAvQUAdo5YkA9AYACAmUIszAAgOAIAQx4TzQMgTAOgMNK/4Klf
+ cIW4SAEAwMuVzZdL0jMUuJXQGnfy8ODiIeLCbLFCYRcpEGYJ5CKcl5sjE0jnA0zODAAAGvnRwf44
+ P5D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X6ttfX169POuRTuL9mACsoinIqTXkSJUr3m5GV7lIV6vV6GcRLl7px
+ 8eK30Ov1KCgshD3XDnteHuz2vJT7TliWxfDwEIaHhjA8MowBIc3YuHEj7A4H7jhwQIyoJBAYDAbR
+ QqR7QbQ2G5jcXFGB019/HYzDAbfbLcITAmaXwAIZKRAAWlpaagC0qVlxEL+WULpznWVZhEIhWWdZ
+ VtxbnGpNHlGM3+9PSCfis4AHH3wQt98udw1Hjx6Fx+NJgDd37lwYjUYMHzyIkWPHxMVFAHD8+HEx
+ eRY+P7uhoaF9TAAFiOKhY2pKP9JBvDTRJqZNwBF40pM81BzcKFU4qY4TiMXFxbLDJrxer+yshGum
+ r8Odd94pW6Ug5MGiiyGHkDU0NIz96Kd4iJkoUVrZkSpS2on6CEA115cqkChLCk16UofSaR0Mw8iq
+ Qn6/P2N4qgFmCjEdSGKy5DXTY0PjTywiKpPuNIofUandkS58ThW8jAACwOHDh8UDGDOp6Kaq7hJo
+ Uveg9ugnSYRMOIljrGdokQMYGxsbs38AowSiLRAIbDUajWsyXRKXqlQ+npZqo3SG4ABgO4DmxsbG
+ 63cEaBxI2SG0YwWZ7TYGcC0CuBtzCG0ykMFgcLVerx/T1NvNOoBRo9Hs43l++1jBZQ0gaS+99FLh
+ 3LlzH4PkIO5bqUkP4jYajfvmzJlzaxzEnawdOnRIehT8bOH1ZrQWSI6CX7Ro0a17FLwKqDf0f0aw
+ aNGidvy53frt/wFH/oWT+LuYAwAAAABJRU5ErkJggg==
+
@@ -0,0 +1,29 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: camerra
+Source: http://thp.io/2012/camerra/
+
+Files: *
+Copyright: 2012 Thomas Perl <m@thp.io>
+License: GPL-3.0+
+
+Files: debian/*
+Copyright: 2012 Thomas Perl <m@thp.io>
+License: GPL-3.0+
+
+License: GPL-3.0+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@
@@ -0,0 +1 @@
+3.0 (native)
@@ -0,0 +1,19 @@
+
+# Ye Olde Camerra Hack (http://thp.io/2012/camerra/)
+# Copyright (c) 2012 Thomas Perl <thp.io/about>
+
+APP_NAME = camerra
+
+all:
+ true
+
+install:
+ mkdir -p $(DESTDIR)/opt/$(APP_NAME)/
+ cp *.qml *.png $(DESTDIR)/opt/$(APP_NAME)/
+ mkdir -p $(DESTDIR)/usr/bin/
+ cp $(APP_NAME).py $(DESTDIR)/usr/bin/
+ mkdir -p $(DESTDIR)/usr/share/applications/
+ cp $(APP_NAME).desktop $(DESTDIR)/usr/share/applications/
+
+.PHONY: all install
+

0 comments on commit 1de2ff6

Please sign in to comment.