[-]
[+]
|
Changed |
_service:tar_git:gestured.spec
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -6,7 +6,7 @@
<service name="tar_git">
<param name="url">https://github.com/kimmoli/gesture-daemon.git</param>
<param name="branch">master</param>
- <param name="revision">cb665bb57da1465c461bb3c16a1e724c520aa93f</param>
+ <param name="revision">815f0f303523f79b4d734e1a528399ca81d9f708</param>
<param name="token"/>
<param name="debian">N</param>
<param name="dumb">N</param>
|
[-]
[+]
|
Deleted |
_service:tar_git:gestured-0.0.3+master.20160302085844.1.gcb665bb.tar.bz2/.gitmodules
^
|
@@ -1,3 +0,0 @@
-[submodule "mce-dev"]
- path = mce-dev
- url = https://github.com/kimmoli/mce-dev.git
|
[-]
[+]
|
Deleted |
_service:tar_git:gestured-0.0.3+master.20160302085844.1.gcb665bb.tar.bz2/mce-dev
^
|
-(directory)
|
[-]
[+]
|
Deleted |
_service:tar_git:gestured-0.0.3+master.20160302085844.1.gcb665bb.tar.bz2/mce-dev/COPYING
^
|
@@ -1,510 +0,0 @@
-
- GNU LESSER GENERAL PUBLIC LICENSE
- Version 2.1, February 1999
-
- Copyright (C) 1991, 1999 Free Software Foundation, Inc.
- 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-[This is the first released version of the Lesser GPL. It also counts
- as the successor of the GNU Library Public License, version 2, hence
- the version number 2.1.]
-
- Preamble
-
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-Licenses are intended to guarantee your freedom to share and change
-free software--to make sure the software is free for all its users.
-
- This license, the Lesser General Public License, applies to some
-specially designated software packages--typically libraries--of the
-Free Software Foundation and other authors who decide to use it. You
-can use it too, but we suggest you first think carefully about whether
-this license or the ordinary General Public License is the better
-strategy to use in any particular case, based on the explanations
-below.
-
- When we speak of free software, we are referring to freedom of use,
-not price. Our General Public Licenses are designed to make sure that
-you have the freedom to distribute copies of free software (and charge
-for this service if you wish); that you receive source code or can get
-it if you want it; that you can change the software and use pieces of
-it in new free programs; and that you are informed that you can do
-these things.
-
- To protect your rights, we need to make restrictions that forbid
-distributors to deny you these rights or to ask you to surrender these
-rights. These restrictions translate to certain responsibilities for
-you if you distribute copies of the library or if you modify it.
-
- For example, if you distribute copies of the library, whether gratis
-or for a fee, you must give the recipients all the rights that we gave
-you. You must make sure that they, too, receive or can get the source
-code. If you link other code with the library, you must provide
-complete object files to the recipients, so that they can relink them
-with the library after making changes to the library and recompiling
-it. And you must show them these terms so they know their rights.
-
- We protect your rights with a two-step method: (1) we copyright the
-library, and (2) we offer you this license, which gives you legal
-permission to copy, distribute and/or modify the library.
-
- To protect each distributor, we want to make it very clear that
-there is no warranty for the free library. Also, if the library is
-modified by someone else and passed on, the recipients should know
-that what they have is not the original version, so that the original
-author's reputation will not be affected by problems that might be
-introduced by others.
-
- Finally, software patents pose a constant threat to the existence of
-any free program. We wish to make sure that a company cannot
-effectively restrict the users of a free program by obtaining a
-restrictive license from a patent holder. Therefore, we insist that
-any patent license obtained for a version of the library must be
-consistent with the full freedom of use specified in this license.
-
- Most GNU software, including some libraries, is covered by the
-ordinary GNU General Public License. This license, the GNU Lesser
-General Public License, applies to certain designated libraries, and
-is quite different from the ordinary General Public License. We use
-this license for certain libraries in order to permit linking those
-libraries into non-free programs.
-
- When a program is linked with a library, whether statically or using
-a shared library, the combination of the two is legally speaking a
-combined work, a derivative of the original library. The ordinary
-General Public License therefore permits such linking only if the
-entire combination fits its criteria of freedom. The Lesser General
-Public License permits more lax criteria for linking other code with
-the library.
-
- We call this license the "Lesser" General Public License because it
-does Less to protect the user's freedom than the ordinary General
-Public License. It also provides other free software developers Less
-of an advantage over competing non-free programs. These disadvantages
-are the reason we use the ordinary General Public License for many
-libraries. However, the Lesser license provides advantages in certain
-special circumstances.
-
- For example, on rare occasions, there may be a special need to
-encourage the widest possible use of a certain library, so that it
-becomes a de-facto standard. To achieve this, non-free programs must
-be allowed to use the library. A more frequent case is that a free
-library does the same job as widely used non-free libraries. In this
-case, there is little to gain by limiting the free library to free
-software only, so we use the Lesser General Public License.
-
- In other cases, permission to use a particular library in non-free
-programs enables a greater number of people to use a large body of
-free software. For example, permission to use the GNU C Library in
-non-free programs enables many more people to use the whole GNU
-operating system, as well as its variant, the GNU/Linux operating
-system.
-
- Although the Lesser General Public License is Less protective of the
-users' freedom, it does ensure that the user of a program that is
-linked with the Library has the freedom and the wherewithal to run
-that program using a modified version of the Library.
-
- The precise terms and conditions for copying, distribution and
-modification follow. Pay close attention to the difference between a
-"work based on the library" and a "work that uses the library". The
-former contains code derived from the library, whereas the latter must
-be combined with the library in order to run.
-
- GNU LESSER GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License Agreement applies to any software library or other
-program which contains a notice placed by the copyright holder or
-other authorized party saying it may be distributed under the terms of
-this Lesser General Public License (also called "this License").
-Each licensee is addressed as "you".
-
- A "library" means a collection of software functions and/or data
-prepared so as to be conveniently linked with application programs
-(which use some of those functions and data) to form executables.
-
- The "Library", below, refers to any such software library or work
-which has been distributed under these terms. A "work based on the
-Library" means either the Library or any derivative work under
-copyright law: that is to say, a work containing the Library or a
-portion of it, either verbatim or with modifications and/or translated
-straightforwardly into another language. (Hereinafter, translation is
-included without limitation in the term "modification".)
-
- "Source code" for a work means the preferred form of the work for
-making modifications to it. For a library, complete source code means
-all the source code for all modules it contains, plus any associated
-interface definition files, plus the scripts used to control
-compilation and installation of the library.
-
- Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running a program using the Library is not restricted, and output from
-such a program is covered only if its contents constitute a work based
-on the Library (independent of the use of the Library in a tool for
-writing it). Whether that is true depends on what the Library does
-and what the program that uses the Library does.
-
- 1. You may copy and distribute verbatim copies of the Library's
-complete source code as you receive it, in any medium, provided that
-you conspicuously and appropriately publish on each copy an
-appropriate copyright notice and disclaimer of warranty; keep intact
-all the notices that refer to this License and to the absence of any
-warranty; and distribute a copy of this License along with the
-Library.
-
- You may charge a fee for the physical act of transferring a copy,
-and you may at your option offer warranty protection in exchange for a
-fee.
-
- 2. You may modify your copy or copies of the Library or any portion
-of it, thus forming a work based on the Library, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
- a) The modified work must itself be a software library.
-
- b) You must cause the files modified to carry prominent notices
- stating that you changed the files and the date of any change.
-
- c) You must cause the whole of the work to be licensed at no
- charge to all third parties under the terms of this License.
-
- d) If a facility in the modified Library refers to a function or a
- table of data to be supplied by an application program that uses
- the facility, other than as an argument passed when the facility
- is invoked, then you must make a good faith effort to ensure that,
- in the event an application does not supply such function or
- table, the facility still operates, and performs whatever part of
- its purpose remains meaningful.
-
- (For example, a function in a library to compute square roots has
- a purpose that is entirely well-defined independent of the
- application. Therefore, Subsection 2d requires that any
- application-supplied function or table used by this function must
- be optional: if the application does not supply it, the square
- root function must still compute square roots.)
-
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Library,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Library, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
|
[-]
[+]
|
Deleted |
_service:tar_git:gestured-0.0.3+master.20160302085844.1.gcb665bb.tar.bz2/mce-dev/Doxyfile
^
|
@@ -1,1514 +0,0 @@
-# Doxyfile 1.5.9
-
-# This file describes the settings to be used by the documentation system
-# doxygen (www.doxygen.org) for a project
-#
-# All text after a hash (#) is considered a comment and will be ignored
-# The format is:
-# TAG = value [value, ...]
-# For lists items can also be appended using:
-# TAG += value [value, ...]
-# Values that contain spaces should be placed between quotes (" ")
-
-#---------------------------------------------------------------------------
-# Project related configuration options
-#---------------------------------------------------------------------------
-
-# This tag specifies the encoding used for all characters in the config file
-# that follow. The default is UTF-8 which is also the encoding used for all
-# text before the first occurrence of this tag. Doxygen uses libiconv (or the
-# iconv built into libc) for the transcoding. See
-# http://www.gnu.org/software/libiconv for the list of possible encodings.
-
-DOXYFILE_ENCODING = UTF-8
-
-# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
-# by quotes) that should identify the project.
-
-PROJECT_NAME = "MCE D-Bus Interface"
-
-# The PROJECT_NUMBER tag can be used to enter a project or revision number.
-# This could be handy for archiving the generated documentation or
-# if some version control system is used.
-
-PROJECT_NUMBER = 1.10.x
-
-# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
-# base path where the generated documentation will be put.
-# If a relative path is entered, it will be relative to the location
-# where doxygen was started. If left blank the current directory will be used.
-
-OUTPUT_DIRECTORY = doc
-
-# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
-# 4096 sub-directories (in 2 levels) under the output directory of each output
-# format and will distribute the generated files over these directories.
-# Enabling this option can be useful when feeding doxygen a huge amount of
-# source files, where putting all generated files in the same directory would
-# otherwise cause performance problems for the file system.
-
-CREATE_SUBDIRS = NO
-
-# The OUTPUT_LANGUAGE tag is used to specify the language in which all
-# documentation generated by doxygen is written. Doxygen will use this
-# information to generate all constant output in the proper language.
-# The default language is English, other supported languages are:
-# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional,
-# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German,
-# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English
-# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian,
-# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrilic, Slovak,
-# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese.
-
-OUTPUT_LANGUAGE = English
-
-# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
-# include brief member descriptions after the members that are listed in
-# the file and class documentation (similar to JavaDoc).
-# Set to NO to disable this.
-
-BRIEF_MEMBER_DESC = YES
-
-# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
-# the brief description of a member or function before the detailed description.
-# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
-# brief descriptions will be completely suppressed.
-
-REPEAT_BRIEF = YES
-
-# This tag implements a quasi-intelligent brief description abbreviator
-# that is used to form the text in various listings. Each string
-# in this list, if found as the leading text of the brief description, will be
-# stripped from the text and the result after processing the whole list, is
-# used as the annotated text. Otherwise, the brief description is used as-is.
-# If left blank, the following values are used ("$name" is automatically
-# replaced with the name of the entity): "The $name class" "The $name widget"
-# "The $name file" "is" "provides" "specifies" "contains"
-# "represents" "a" "an" "the"
-
-ABBREVIATE_BRIEF =
-
-# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
-# Doxygen will generate a detailed section even if there is only a brief
-# description.
-
-ALWAYS_DETAILED_SEC = NO
-
-# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
-# inherited members of a class in the documentation of that class as if those
-# members were ordinary class members. Constructors, destructors and assignment
-# operators of the base classes will not be shown.
-
-INLINE_INHERITED_MEMB = NO
-
-# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
-# path before files name in the file list and in the header files. If set
-# to NO the shortest path that makes the file name unique will be used.
-
-FULL_PATH_NAMES = YES
-
-# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
-# can be used to strip a user-defined part of the path. Stripping is
-# only done if one of the specified strings matches the left-hand part of
-# the path. The tag can be used to show relative paths in the file list.
-# If left blank the directory from which doxygen is run is used as the
-# path to strip.
-
-STRIP_FROM_PATH =
-
-# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
-# the path mentioned in the documentation of a class, which tells
-# the reader which header file to include in order to use a class.
-# If left blank only the name of the header file containing the class
-# definition is used. Otherwise one should specify the include paths that
-# are normally passed to the compiler using the -I flag.
-
-STRIP_FROM_INC_PATH =
-
-# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
-# (but less readable) file names. This can be useful is your file systems
-# doesn't support long names like on DOS, Mac, or CD-ROM.
-
-SHORT_NAMES = NO
-
-# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
-# will interpret the first line (until the first dot) of a JavaDoc-style
-# comment as the brief description. If set to NO, the JavaDoc
-# comments will behave just like regular Qt-style comments
-# (thus requiring an explicit @brief command for a brief description.)
-
-JAVADOC_AUTOBRIEF = YES
-
-# If the QT_AUTOBRIEF tag is set to YES then Doxygen will
-# interpret the first line (until the first dot) of a Qt-style
-# comment as the brief description. If set to NO, the comments
-# will behave just like regular Qt-style comments (thus requiring
-# an explicit \brief command for a brief description.)
-
-QT_AUTOBRIEF = NO
-
-# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen
-# treat a multi-line C++ special comment block (i.e. a block of //! or ///
-# comments) as a brief description. This used to be the default behaviour.
-# The new default is to treat a multi-line C++ comment block as a detailed
-# description. Set this tag to YES if you prefer the old behaviour instead.
-
-MULTILINE_CPP_IS_BRIEF = NO
-
-# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
-# member inherits the documentation from any documented member that it
-# re-implements.
-
-INHERIT_DOCS = YES
-
-# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce
-# a new page for each member. If set to NO, the documentation of a member will
-# be part of the file/class/namespace that contains it.
-
-SEPARATE_MEMBER_PAGES = NO
-
-# The TAB_SIZE tag can be used to set the number of spaces in a tab.
-# Doxygen uses this value to replace tabs by spaces in code fragments.
-
-TAB_SIZE = 8
-
-# This tag can be used to specify a number of aliases that acts
-# as commands in the documentation. An alias has the form "name=value".
-# For example adding "sideeffect=\par Side Effects:\n" will allow you to
-# put the command \sideeffect (or @sideeffect) in the documentation, which
-# will result in a user-defined paragraph with heading "Side Effects:".
-# You can put \n's in the value part of an alias to insert newlines.
-
-ALIASES =
-
-# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C
-# sources only. Doxygen will then generate output that is more tailored for C.
-# For instance, some of the names that are used will be different. The list
-# of all members will be omitted, etc.
-
-OPTIMIZE_OUTPUT_FOR_C = YES
-
-# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java
-# sources only. Doxygen will then generate output that is more tailored for
-# Java. For instance, namespaces will be presented as packages, qualified
-# scopes will look different, etc.
-
-OPTIMIZE_OUTPUT_JAVA = NO
-
-# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
-# sources only. Doxygen will then generate output that is more tailored for
|
[-]
[+]
|
Deleted |
_service:tar_git:gestured-0.0.3+master.20160302085844.1.gcb665bb.tar.bz2/mce-dev/Makefile
^
|
@@ -1,42 +0,0 @@
-# This file is part of mce-dev
-#
-# Copyright © 2005-2009 Nokia Corporation.
-#
-# Author: David Weinehall <david.weinehall@nokia.com>
-# Modified by: Ilya Dogolazky, Tuomo Tanskanen
-
-INSTALL_DIR := install -d
-INSTALL_DATA := install --mode=644
-
-DOXYGEN := doxygen
-
-PCDIR := $(DESTDIR)/usr/lib/pkgconfig
-INCLUDEDIR := $(DESTDIR)/usr/include/mce
-
-TOPDIR := $(shell /bin/pwd)
-INCDIR := $(TOPDIR)/include/mce
-DOCDIR := $(TOPDIR)/doc
-
-PCFILE := mce.pc
-INCLUDE_FILES := $(INCDIR)/dbus-names.h $(INCDIR)/mode-names.h
-
-.PHONY: doc
-doc: doc/warnings
-
-doc/warnings: $(INCLUDE_FILES) Doxyfile
- @if [ ! -d "$(DOCDIR)" ]; then mkdir "$(DOCDIR)"; fi
- @$(DOXYGEN) 2> $(TOPDIR)/doc/warnings > /dev/null
-
-clean:
- @if [ x"$(DOCDIR)" != x"" ]; then \
- rm -rf "$(DOCDIR)"; \
- fi
-
-.PHONY: install
-install: doc
- $(INSTALL_DIR) $(PCDIR) $(INCLUDEDIR) &&\
- $(INSTALL_DATA) $(PCFILE) $(PCDIR) &&\
- $(INSTALL_DATA) $(INCLUDE_FILES) $(INCLUDEDIR)
-
-.PHONY: distclean
-distclean: clean
|
[-]
[+]
|
Deleted |
_service:tar_git:gestured-0.0.3+master.20160302085844.1.gcb665bb.tar.bz2/mce-dev/debian/api
^
|
@@ -1,4 +0,0 @@
-interface: mce
-type: dbus
-state: unstable
-scope: Internal
|
[-]
[+]
|
Deleted |
_service:tar_git:gestured-0.0.3+master.20160302085844.1.gcb665bb.tar.bz2/mce-dev/debian/changelog
^
|
@@ -1,474 +0,0 @@
-mce-dev (1.18.0) unstable; urgency=low
-
- * [powerkey] Add constants for powerkey events. Fixes MER#1310
-
- -- Simo Piiroinen <simo.piiroinen@jollamobile.com> Mon, 14 Sep 2015 11:44:27 +0300
-
-mce-dev (1.17.0) unstable; urgency=low
-
- * [mce] Add D-Bus constants for exposing display blanking policy.
- Contributes to JB#29675
-
- -- Simo Piiroinen <simo.piiroinen@jollamobile.com> Thu, 18 Jun 2015 12:28:10 +0300
-
-mce-dev (1.16.1) unstable; urgency=low
-
- * [packaging] Remove old spectacle cruft. Fixes JB#28938
- * [packaging] Remove rpm build time patch for file ownership
-
- -- Simo Piiroinen <simo.piiroinen@jollamobile.com> Wed, 27 May 2015 08:09:56 +0300
-
-mce-dev (1.16.0) unstable; urgency=low
-
- * [mce] Add D-Bus constants for exposing blanking pause and inhibit
- states. Contributes to JB#28929
-
- -- Simo Piiroinen <simo.piiroinen@jollamobile.com> Wed, 20 May 2015 12:54:50 +0300
-
-mce-dev (1.15.0) unstable; urgency=low
-
- * [mce] Add dbus method for requesting settings reset. Contributes to
- JB#24286
-
- -- Simo Piiroinen <simo.piiroinen@jollamobile.com> Tue, 17 Feb 2015 10:42:49 +0200
-
-mce-dev (1.14.0) unstable; urgency=low
-
- * [mce] Add dbus method for requesting display low power mode.
- Contributes to JB#20906
-
- -- Simo Piiroinen <simo.piiroinen@jollamobile.com> Tue, 05 Aug 2014 12:55:05 +0300
-
-mce-dev (1.13.0) unstable; urgency=low
-
- * [mce-headers] Add D-Bus signals for led pattern active state changes
- * [mce-headers] Document tracking id parameter for cpu keepalive method calls
-
- -- Simo Piiroinen <simo.piiroinen@jollamobile.com> Tue, 18 Mar 2014 15:00:14 +0200
-
-mce-dev (1.12.5) unstable; urgency=low
-
- * [mce-headers] Fix MCE_CPU_KEEPALIVE_PERIOD_REQ method call documentation
-
- -- Simo Piiroinen <simo.piiroinen@jollamobile.com> Wed, 11 Sep 2013 08:26:03 +0300
-
-mce-dev (1.12.4) unstable; urgency=low
-
- * [packaging] move to git based packaging
- * [mce-headers] Configuration value methods and signals added
-
- -- Simo Piiroinen <simo.piiroinen@jollamobile.com> Wed, 04 Sep 2013 13:23:08 +0300
-
-mce-dev (1.12.3) unstable; urgency=low
-
- * Added cpu-keepalive methods
- * Removed unintentional mce-doc -> mce-headers dependency
-
- -- Simo Piiroinen <simo.piiroinen@jollamobile.com> Wed, 06 Mar 2013 11:41:15 +0200
-
-mce-dev (1.12.2) oneiric; urgency=low
-
- * Added MCE_TK_LOCKED_DELAY
- * Version sync with mce itself
-
- -- Simo Piiroinen <simo.piiroinen@jollamobile.com> Wed, 31 Oct 2012 19:38:56 +0200
-
-mce-dev (1.11.0) unstable; urgency=low
-
- * Added MCE_COLOR_PROFILE_GET, MCE_COLOR_PROFILE_IDS_GET,
- MCE_COLOR_PROFILE_CHANGE_REQ, MCE_COLOR_PROFILE_SIG (Fixes: NB#269000)
-
- -- Santtu Lakkala <ext-santtu.1.lakkala@nokia.com> Mon, 12 Sep 2011 12:56:11 +0300
-
-mce-dev (1.10.28) unstable; urgency=low
-
- * Added MCE_ADD_ACTIVITY_CALLBACK_REQ and MCE_REMOVE_ACTIVITY_CALLBACK_REQ
- (Fixes: NB#239760)
-
- -- David Weinehall <david.weinehall@nokia.com> Fri, 08 Apr 2011 15:43:13 +0300
-
-mce-dev (1.10.27) unstable; urgency=low
-
- * Added credential annotations (Fixes: NB#231412)
- * Removed deprecated MCE_TK_SILENT variants
-
- -- David Weinehall <david.weinehall@nokia.com> Mon, 28 Feb 2011 14:25:23 +0200
-
-mce-dev (1.10.26) unstable; urgency=low
-
- * Fixed errors in the doc-base file
-
- -- David Weinehall <david.weinehall@nokia.com> Mon, 24 Jan 2011 20:49:02 +0200
-
-mce-dev (1.10.25) unstable; urgency=low
-
- * Added radio state flags for NFC and FM transmitter
-
- -- David Weinehall <david.weinehall@nokia.com> Thu, 20 Jan 2011 13:54:23 +0200
-
-mce-dev (1.10.24) unstable; urgency=low
-
- * MCE_RADIO_STATES_CHANGE_REQ does not return the updated radio states
- (they are signalled separately); fixed Doxygen comment accordingly
- (Fixes: NB#210404)
- * Removed deprecated defines and types:
- radio_state_t, radio_state_u, MCE_PSM_MODE_GET and MCE_PSM_MODE_IND
-
- -- David Weinehall <david.weinehall@nokia.com> Fri, 17 Dec 2010 08:02:12 +0200
-
-mce-dev (1.10.23) unstable; urgency=low
-
- * Removed MCE_DEVICE_MODE_GET, MCE_DEVICE_MODE_CHANGE_REQ
- and MCE_DEVICE_MODE_SIG
- * Removed MCE_NORMAL_MODE, MCE_FLIGHT_MODE,
- MCE_OFFLINE_MODE, MCE_INVALID_MODE and MCE_CONFIRM_SUFFIX
- * Added information on the return values for MCE_RADIO_STATES_CHANGE_REQ
- and MCE_CABC_MODE_REQ
-
- -- David Weinehall <david.weinehall@nokia.com> Tue, 26 Oct 2010 09:47:22 +0300
-
-mce-dev (1.10.22) unstable; urgency=low
-
- * Fixed a Doxygen comment
-
- -- David Weinehall <david.weinehall@nokia.com> Wed, 18 Aug 2010 10:49:12 +0300
-
-mce-dev (1.10.21) unstable; urgency=low
-
- * Added MCE_RADIO_STATE_MASTER, MCE_RADIO_STATE_CELLULAR,
- MCE_RADIO_STATE_WLAN and MCE_RADIO_STATE_BLUETOOTH
- * Deprecated radio_state_t and radio_state_u
-
- -- David Weinehall <david.weinehall@nokia.com> Fri, 16 Jul 2010 15:41:43 +0300
-
-mce-dev (1.10.20) unstable; urgency=low
-
- * Added a debian/api file
-
- -- David Weinehall <david.weinehall@nokia.com> Fri, 18 Jun 2010 14:41:44 +0300
-
-mce-dev (1.10.19) unstable; urgency=low
-
- * Added @since information for all defines
- * Added information about alternate argument type
- for MCE_TRIGGER_POWERKEY_EVENT_REQ
-
- -- David Weinehall <david.weinehall@nokia.com> Tue, 15 Jun 2010 06:58:57 +0300
-
-mce-dev (1.10.18) unstable; urgency=low
-
- * Rename wireless to wlan
-
- -- David Weinehall <david.weinehall@nokia.com> Fri, 04 Jun 2010 14:11:25 +0300
-
-mce-dev (1.10.17) unstable; urgency=low
-
- * Fixed some typos
-
- -- David Weinehall <david.weinehall@nokia.com> Wed, 02 Jun 2010 13:58:00 +0300
-
-mce-dev (1.10.16) unstable; urgency=low
-
- * Added MCE_RADIO_STATES_GET, MCE_RADIO_STATES_CHANGE_REQ
- and MCE_RADIO_STATES_SIG
- * Added radio_state_t and radio_state_u
- * Deprecated MCE_DEVICE_MODE_GET, MCE_DEVICE_MODE_CHANGE_REQ
- and MCE_DEVICE_MODE_SIG
- * Deprecated MCE_NORMAL_MODE, MCE_FLIGHT_MODE,
- MCE_OFFLINE_MODE, MCE_INVALID_MODE and MCE_CONFIRM_SUFFIX
- * Deprecated MCE_PSM_MODE_GET and MCE_PSM_MODE_IND
- * Removed MCE_DEVLOCK_MODE_GET, MCE_DEVLOCK_MODE_CHANGE_REQ
- and MCE_DEVLOCK_MODE_SIG
-
- -- David Weinehall <david.weinehall@nokia.com> Tue, 01 Jun 2010 22:07:32 +0300
-
-mce-dev (1.10.15) unstable; urgency=low
-
- * Added MCE_CANCEL_PREVENT_BLANK_REQ
- * Use debhelper compat level 5
-
- -- David Weinehall <david.weinehall@nokia.com> Mon, 19 Apr 2010 13:08:02 +0300
-
-mce-dev (1.10.14) unstable; urgency=low
-
- * Added MCE_KEY_BACKLIGHT_STATE_GET
-
- -- David Weinehall <david.weinehall@nokia.com> Fri, 26 Mar 2010 12:00:14 +0200
-
-mce-dev (1.10.13) unstable; urgency=low
-
|
[-]
[+]
|
Deleted |
_service:tar_git:gestured-0.0.3+master.20160302085844.1.gcb665bb.tar.bz2/mce-dev/debian/compat
^
|
@@ -1 +0,0 @@
-5
|
[-]
[+]
|
Deleted |
_service:tar_git:gestured-0.0.3+master.20160302085844.1.gcb665bb.tar.bz2/mce-dev/debian/control
^
|
@@ -1,24 +0,0 @@
-Source: mce-dev
-Section: devel
-Priority: optional
-Maintainer: Santtu Lakkala <ext-santtu.1.lakkala@nokia.com>
-Uploaders: Tuomo Tanskanen <ext-tuomo.1.tanskanen@nokia.com>, Jukka Turunen <ext-jukka.t.turunen@nokia.com>
-Build-Depends: debhelper (>= 5.0.0)
-Build-Depends-Indep: doxygen
-Standards-Version: 3.7.3
-
-Package: mce-dev
-Depends: ${misc:Depends}
-Suggests: mce-doc
-Architecture: all
-Description: development files for mce
- This package contains headers defining the D-Bus method calls
- provided by the Mode Control Entity, and the signals emitted by it.
-
-Package: mce-doc
-Section: doc
-Depends: lynx | www-browser, ${misc:Depends}
-Architecture: all
-Description: Documentation files for mce D-Bus API
- This package contains documentation describing the D-Bus method calls
- provided by the Mode Control Entity, and the signals emitted by it.
|
[-]
[+]
|
Deleted |
_service:tar_git:gestured-0.0.3+master.20160302085844.1.gcb665bb.tar.bz2/mce-dev/debian/copyright
^
|
@@ -1,25 +0,0 @@
-This package was debianized by David Weinehall <david.weinehall@nokia.com> on
-Mon, 6 Nov 2005 23:58:42 +0300.
-
-Upstream Author: David Weinehall <david.weinehall@nokia.com>
-
-Copyright © 2004-2010 Nokia Corporation and/or its subsidiary(-ies)
-
-
-License:
-
- These headers are free software; you can redistribute them
- and/or modify them under the terms of the GNU Lesser General Public
- License version 2.1 as published by the Free Software Foundation.
-
- These headers are 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 Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with these headers.
- If not, see <http://www.gnu.org/licenses/>.
-
-On Debian systems, the complete text of the GNU Lesser General
-Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
|
[-]
[+]
|
Deleted |
_service:tar_git:gestured-0.0.3+master.20160302085844.1.gcb665bb.tar.bz2/mce-dev/debian/mce-dev.dirs
^
|
@@ -1,2 +0,0 @@
-usr/lib/pkgconfig
-usr/include/mce
|
[-]
[+]
|
Deleted |
_service:tar_git:gestured-0.0.3+master.20160302085844.1.gcb665bb.tar.bz2/mce-dev/debian/mce-dev.install
^
|
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/pkgconfig/*
-debian/tmp/usr/include/mce/*
|
[-]
[+]
|
Deleted |
_service:tar_git:gestured-0.0.3+master.20160302085844.1.gcb665bb.tar.bz2/mce-dev/debian/mce-doc.doc-base
^
|
@@ -1,14 +0,0 @@
-Document: mce
-Title: MCE D-Bus Interface
-Author: David Weinehall
-Abstract: The MCE daemon is used on the Maemo platform for various
- low-level services, such as the LEDs, display control,
- touchscreen/keypad lock, etc.
- .
- The D-Bus API provided by MCE allows applications to get information
- about the state of these services and to make various requests.
-Section: Programming
-
-Format: HTML
-Index: /usr/share/doc/mce-doc/html/index.html
-Files: /usr/share/doc/mce-doc/html/*
|
[-]
[+]
|
Deleted |
_service:tar_git:gestured-0.0.3+master.20160302085844.1.gcb665bb.tar.bz2/mce-dev/debian/mce-doc.install
^
|
@@ -1 +0,0 @@
-doc/html /usr/share/doc/mce-doc/
|
[-]
[+]
|
Deleted |
_service:tar_git:gestured-0.0.3+master.20160302085844.1.gcb665bb.tar.bz2/mce-dev/debian/rules
^
|
@@ -1,64 +0,0 @@
-#!/usr/bin/make -f
-# debian/rules for mce-dev using debhelper.
-# Copyright © 2004-2009 Nokia Corporation. All rights reserved.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
-
-pkgdir = $(CURDIR)/debian/tmp
-
-pcfileversion := $$(grep -m1 '^Version' mce.pc | sed -e 's/Version: *//')
-changelogversion := $$(grep -m1 'mce-dev (' debian/changelog | sed -e 's/mce-dev (\(.*\)).*/\1/;s/\(^'$(pcfileversion)'\).*/\1/')
-
-.PHONY: clean
-clean:
- dh_testdir
- dh_testroot
-
- $(MAKE) distclean
-
- dh_clean
-
-.PHONY: check
-check:
- @if [ x"$(pcfileversion)" != x"$(changelogversion)" ]; then \
- printf "error: version-number mismatch\n"; \
- printf "changelog version: $(changelogversion)\n"; \
- printf ".pc-file version: $(pcfileversion)\n"; \
- exit 1; \
- fi
-
-.PHONY: build
-build: check
- dh_testdir
-
- $(MAKE) doc
-
-.PHONY: install
-install:
- $(MAKE) install DESTDIR="$(pkgdir)"
-
-.PHONY: binary-indep
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installchangelogs
- dh_install -i
- dh_link
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-.PHONY: binary-arch
-binary-arch: build install
-# nothing to see here, move along
-
-.PHONY: binary
-binary: binary-indep binary-arch
|
[-]
[+]
|
Deleted |
_service:tar_git:gestured-0.0.3+master.20160302085844.1.gcb665bb.tar.bz2/mce-dev/include/mce/dbus-names.h
^
|
@@ -1,684 +0,0 @@
-/**
- * @file dbus-names.h
- * D-Bus Interface to the Mode Control Entity
- * <p>
- * This file is part of mce-dev
- * <p>
- * Copyright © 2004-2011 Nokia Corporation and/or its subsidiary(-ies).
- * <p>
- * @author David Weinehall <david.weinehall@nokia.com>
- *
- * These headers are free software; you can redistribute them
- * and/or modify them under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * These headers are distributed in the hope that they will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with these headers.
- * If not, see <http://www.gnu.org/licenses/>.
- */
-#ifndef _MCE_DBUS_NAMES_H_
-#define _MCE_DBUS_NAMES_H_
-
-/**
- * @name D-Bus Daemon
- */
-
-/*@{*/
-
-/**
- * MCE D-Bus service
- *
- * @since v0.3
- */
-#define MCE_SERVICE "com.nokia.mce"
-
-/**
- * MCE D-Bus Request interface
- *
- * @since v0.3
- */
-#define MCE_REQUEST_IF "com.nokia.mce.request"
-/**
- * MCE D-Bus Signal interface
- *
- * @since v0.3
- */
-#define MCE_SIGNAL_IF "com.nokia.mce.signal"
-/**
- * MCE D-Bus Request path
- *
- * @since v0.3
- */
-#define MCE_REQUEST_PATH "/com/nokia/mce/request"
-/**
- * MCE D-Bus Signal path
- *
- * @since v0.3
- */
-#define MCE_SIGNAL_PATH "/com/nokia/mce/signal"
-
-/**
- * The MCE D-Bus error interface; currently not used
- *
- * @since v0.3
- */
-#define MCE_ERROR_FATAL "com.nokia.mce.error.fatal"
-/**
- * The D-Bus interface for invalid arguments; currently not used
- *
- * @since v0.3
- */
-#define MCE_ERROR_INVALID_ARGS "org.freedesktop.DBus.Error.InvalidArgs"
-
-/*@}*/
-
-/**
- * @name Generic D-Bus methods
- */
-
-/*@{*/
-
-/**
- * Query radio states
- *
- * @since v1.10.60
- * @return @c dbus_uint32_t Radio states or:ed together
- * (see @ref mce/mode-names.h for defines for the radio states)
- */
-#define MCE_RADIO_STATES_GET "get_radio_states"
-
-/**
- * Query the call state
- *
- * @since v1.8.1
- * @return @c gchar @c * with the new call state
- * (see @ref mce/mode-names.h for valid call states)
- * @return @c gchar @c * with the new emergency state type
- * (see @ref mce/mode-names.h for valid emergency state types)
- */
-#define MCE_CALL_STATE_GET "get_call_state"
-
-/**
- * Query the touchscreen/keypad lock mode
- *
- * @since v1.4.0
- * @return @c gchar @c * with the touchscreen/keypad lock mode
- * (see @ref mce/mode-names.h for valid lock modes)
- */
-#define MCE_TKLOCK_MODE_GET "get_tklock_mode"
-
-/**
- * Query the display status
- *
- * @since v1.5.21
- * @return @c gchar @c * with the display state
- * (see @ref mce/mode-names.h for valid display states)
- */
-#define MCE_DISPLAY_STATUS_GET "get_display_status"
-
-/**
- * Query CABC mode
- *
- * @since v1.10.0
- * @return @c gchar @c * with the CABC mode
- * (see @ref mce/mode-names.h for valid CABC modes)
- */
-#define MCE_CABC_MODE_GET "get_cabc_mode"
-
-/**
- * Query the automatic power saving mode
- *
- * @since v1.10.44
- * @return @c dbus_bool_t @c TRUE if automatic power saving mode is active,
- * @c FALSE if automatic power saving mode is inactive
- */
-#define MCE_PSM_STATE_GET "get_psm_state"
-
-/**
- * Query key backlight state
- *
- * @since v1.10.30
- * @return @c dbus_bool_t @c TRUE if the key backlight is on,
- * @c FALSE if the key backlight is off
- */
-#define MCE_KEY_BACKLIGHT_STATE_GET "get_key_backlight_state"
-
-/**
- * Add an activity notification callback;
- * the next user activity will trigger this callback
- * callbacks are one-shot -- once the callback has been invoked,
- * it will be unregistered
- *
- * @since 1.10.106
- * @param service @c gchar @c * The method call service
- * @param path @c gchar @c * The method call path
- * @param interface @c gchar @c * The method call interface
- * @param name @c gchar @c * The name of the method to call
- * @return @c dbus_bool_t @c TRUE if registration was successful,
- * @c FALSE if registration was a failure
- * (too many registered clients)
- */
-#define MCE_ADD_ACTIVITY_CALLBACK_REQ "add_activity_callback"
-
-/**
- * Remove any activity notification callback belonging to the calling process
- *
- * @since 1.10.106
- */
-#define MCE_REMOVE_ACTIVITY_CALLBACK_REQ "remove_activity_callback"
-
-/**
- * Query the inactivity status
- *
- * @since v1.5.2
- * @return @c dbus_bool_t @c TRUE if the system is inactive,
- * @c FALSE if the system is active
- */
-#define MCE_INACTIVITY_STATUS_GET "get_inactivity_status"
-
-/**
- * Query the current color profile id
- *
- * @since v1.11.2
- * @return @c gchar @c * with the the current profile id
- */
-#define MCE_COLOR_PROFILE_GET "get_color_profile"
-
-/**
- * Query the list of the available color profile ids
- *
- * @since v1.11.2
- * @return @c gchar @c ** with the nul-terminated array of the color profile ids
- */
-#define MCE_COLOR_PROFILE_IDS_GET "get_color_profile_ids"
-
|
[-]
[+]
|
Deleted |
_service:tar_git:gestured-0.0.3+master.20160302085844.1.gcb665bb.tar.bz2/mce-dev/include/mce/mode-names.h
^
|
@@ -1,299 +0,0 @@
-/**
- * @file mode-names.h
- * Defines for names of various modes and submodes for Mode Control Entity
- * <p>
- * This file is part of mce-dev
- * <p>
- * Copyright © 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
- * <p>
- * @author David Weinehall <david.weinehall@nokia.com>
- *
- * These headers are free software; you can redistribute them
- * and/or modify them under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * These headers are distributed in the hope that they will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with these headers.
- * If not, see <http://www.gnu.org/licenses/>.
- */
-#ifndef _MCE_MODE_NAMES_H_
-#define _MCE_MODE_NAMES_H_
-
-/**
- * Master switch; set - radios enabled, unset - radios disabled
- *
- * @since v1.10.60
- */
-#define MCE_RADIO_STATE_MASTER (1 << 0)
-/**
- * Cellular; set - enabled, unset - disabled
- *
- * @since v1.10.60
- */
-#define MCE_RADIO_STATE_CELLULAR (1 << 1)
-/**
- * WLAN; set - enabled, unset - disabled
- *
- * @since v1.10.60
- */
-#define MCE_RADIO_STATE_WLAN (1 << 2)
-/**
- * Bluetooth; set - enabled, unset - disabled
- *
- * @since v1.10.60
- */
-#define MCE_RADIO_STATE_BLUETOOTH (1 << 3)
-/**
- * NFC; set - enabled, unset - disabled
- *
- * @since v1.10.93
- */
-#define MCE_RADIO_STATE_NFC (1 << 4)
-/**
- * FM transmitter; set - enabled, unset - disabled
- *
- * @since v1.10.93
- */
-#define MCE_RADIO_STATE_FMTX (1 << 5)
-
-/**
- * No ongoing call
- *
- * @since v1.8.4
- */
-#define MCE_CALL_STATE_NONE "none"
-/**
- * Call ringing
- *
- * @since v1.8.29
- */
-#define MCE_CALL_STATE_RINGING "ringing"
-/**
- * Call on-going
- *
- * @since v1.8.29
- */
-#define MCE_CALL_STATE_ACTIVE "active"
-/**
- * Service operation on-going
- * use to prevent calls from being initiated;
- * will not prevent emergency calls
- *
- * @since v1.8.29
- */
-#define MCE_CALL_STATE_SERVICE "service"
-
-/**
- * Normal call
- *
- * @since v1.8.4
- */
-#define MCE_NORMAL_CALL "normal"
-/**
- * Emergency call
- *
- * @since v1.8.4
- */
-#define MCE_EMERGENCY_CALL "emergency"
-
-/**
- * Touchscreen/Keypad locked
- *
- * @since v1.4.5
- */
-#define MCE_TK_LOCKED "locked"
-/**
- * Touchscreen/Keypad silently locked
- *
- * @since v1.4.15
- */
-#define MCE_TK_SILENT_LOCKED "silent-locked"
-/**
- * Touchscreen/Keypad locked with fadeout
- *
- * @since v1.4.15
- */
-#define MCE_TK_LOCKED_DIM "locked-dim"
-/**
- * Touchscreen/Keypad locked with delay
- *
- * @since v1.12.2
- */
-#define MCE_TK_LOCKED_DELAY "locked-delay"
-/**
- * Touchscreen/Keypad silently locked with fadeout
- *
- * @since v1.4.15
- */
-#define MCE_TK_SILENT_LOCKED_DIM "silent-locked-dim"
-/**
- * Touchscreen/Keypad unlocked
- *
- * @since v1.4.5
- */
-#define MCE_TK_UNLOCKED "unlocked"
-/**
- * Touchscreen/Keypad silently unlocked
- *
- * @since v1.6.33
- */
-#define MCE_TK_SILENT_UNLOCKED "silent-unlocked"
-
-/**
- * Display state name for display on
- *
- * @since v1.5.21
- */
-#define MCE_DISPLAY_ON_STRING "on"
-/**
- * Display state name for display dim
- *
- * @since v1.5.21
- */
-#define MCE_DISPLAY_DIM_STRING "dimmed"
-/**
- * Display state name for display off
- *
- * @since v1.5.21
- */
-#define MCE_DISPLAY_OFF_STRING "off"
-
-/** Blank prevent state name for active
- *
- * @since v1.51.0
- */
-#define MCE_PREVENT_BLANK_ACTIVE_STRING "active"
-/** Blank prevent state name for inactive
- *
- * @since v1.51.0
- */
-#define MCE_PREVENT_BLANK_INACTIVE_STRING "inactive"
-
-/** Blank inhibit state name for active
- *
- * @since v1.51.0
- */
-#define MCE_INHIBIT_BLANK_ACTIVE_STRING "active"
-/** Blank inhibit state name for inactive
- *
- * @since v1.51.0
- */
-#define MCE_INHIBIT_BLANK_INACTIVE_STRING "inactive"
-
-/** Default blanking policy active
- *
- * @since v1.55.0
- */
-#define MCE_BLANKING_POLICY_DEFAULT_STRING "default"
-
-/** Default blanking policy disabled due to notifications
- *
- * @since v1.55.0
- */
-#define MCE_BLANKING_POLICY_NOTIFICATION_STRING "notification"
-
|
[-]
[+]
|
Deleted |
_service:tar_git:gestured-0.0.3+master.20160302085844.1.gcb665bb.tar.bz2/mce-dev/mce.pc
^
|
@@ -1,9 +0,0 @@
-prefix=/usr
-includedir=${prefix}/include
-
-Name: mce
-Description: Mode Control Entity
-Version: 1.18.0
-Requires:
-Libs:
-Cflags: -I${includedir}
|
[-]
[+]
|
Deleted |
_service:tar_git:gestured-0.0.3+master.20160302085844.1.gcb665bb.tar.bz2/mce-dev/verify_version
^
|
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-# Check that all files that should have the current version agree on it
-
-PC_PATH=mce.pc
-PC_VERS=$(grep '^Version:' $PC_PATH |sed -e 's/^.*:[[:space:]]*//')
-
-DEB_PATH=debian/changelog
-DEB_VERS=$(head -1 $DEB_PATH | sed -e 's/^.*(//' -e 's/).*$//')
-
-SPEC_PATH=${RPM_SOURCE_DIR:-rpm}/${RPM_PACKAGE_NAME:-mce-headers}.spec
-SPEC_VERS=$(grep '^Version:' $SPEC_PATH |sed -e 's/^.*:[[:space:]]*//')
-
-RES=0
-
-
-if [ "$DEB_VERS" != "$PC_VERS" ]; then
- echo >&2 "$PC_PATH $PC_VERS vs $DEB_PATH $DEB_VERS"
- RES=1
-fi
-
-if [ "$SPEC_VERS" != "$PC_VERS" ]; then
- echo >&2 "$PC_PATH $PC_VERS vs $SPEC_PATH $SPEC_VERS"
- RES=1
-fi
-
-
-if [ $RES != 0 ]; then
- echo >&2 "Conflicting package versions"
-fi
-
-exit $RES
|
[-]
[+]
|
Changed |
_service:tar_git:gestured-0.0.4.tar.bz2/gesture-daemon.pro
^
|
@@ -14,8 +14,6 @@
message($${DEFINES})
-INCLUDEPATH += mce-dev/include/
-
SOURCES += \
src/gesture-daemon.cpp \
src/gesture-actions.cpp
@@ -25,6 +23,4 @@
config/$${TARGET}.service
HEADERS += \
- src/gesture-actions.h \
- mce-dev/include/mce/dbus-names.h \
- mce-dev/include/mce/mode-names.h
+ src/gesture-actions.h
|
[-]
[+]
|
Changed |
_service:tar_git:gestured-0.0.4.tar.bz2/src/gesture-actions.cpp
^
|
@@ -7,14 +7,19 @@
#include <stdio.h>
#include "gesture-actions.h"
-#include "mce/dbus-names.h"
-#include "mce/mode-names.h"
#include <QFile>
#include <QTextStream>
Gestures::Gestures(QObject *parent) :
QObject(parent)
{
+ _mpris2Service = QString();
+
+ QDBusConnection bus = QDBusConnection::sessionBus();
+
+ _serviceWatcher->setConnection(bus);
+
+ connect(_serviceWatcher, SIGNAL(serviceOwnerChanged(QString,QString,QString)), this, SLOT(ownerChanged(QString,QString,QString)));
}
Gestures::~Gestures()
@@ -24,45 +29,57 @@
void Gestures::handleGestureEvent(const QDBusMessage & msg)
{
QList<QVariant> args = msg.arguments();
+ QString gestureEvent = args.at(0).toString();
- printf("MCE signal gesture_event_ind says: %s\n", qPrintable(args.at(0).toString()));
+ qDebug() << "MCE signal power_button_trigger says" << gestureEvent;
- QString gestureEvent = args.at(0).toString();
+ /* event type EV_MSC
+ * event code MSC_GESTURE
+ *
+ * event value 5 --> event5 --> flashlight
+ * event value 6 --> event6 --> camera
+ * event value 7 --> event7 --> voicecall
+ * event value 8 --> event8 --> play/pause
+ * event value 9 --> event9 --> next
+ * event value 10 -> event10 -> previous
+ */
- if (gestureEvent.compare(MCE_GESTURE_EVENT_FLASHLIGHT) == 0)
+ if (gestureEvent.compare("event5") == 0)
{
- if (!toggleFlashlight())
- printf("Flashlight toggle failed.");
+ toggleFlashlight();
}
- else if (gestureEvent.compare(MCE_GESTURE_EVENT_CAMERA) == 0)
+ else if (gestureEvent.compare("event6") == 0)
{
showCameraViewfinder();
}
- else if (gestureEvent.compare(MCE_GESTURE_EVENT_VOICECALL) == 0)
+ else if (gestureEvent.compare("event7") == 0)
{
showVoicecallUi();
}
- else if (gestureEvent.compare(MCE_GESTURE_EVENT_MUSIC_PLAY_PAUSE) == 0)
+ else if (gestureEvent.compare("event8") == 0)
{
sendMpris2("PlayPause");
}
- else if (gestureEvent.compare(MCE_GESTURE_EVENT_MUSIC_NEXT_TRACK) == 0)
+ else if (gestureEvent.compare("event9") == 0)
{
sendMpris2("Next");
}
- else if (gestureEvent.compare(MCE_GESTURE_EVENT_MUSIC_PREV_TRACK) == 0)
+ else if (gestureEvent.compare("event10") == 0)
{
sendMpris2("Previous");
}
}
-bool Gestures::toggleFlashlight()
+void Gestures::toggleFlashlight()
{
int brightness = 0;
QFile brf("/sys/class/leds/led:flash_torch/brightness");
if (!brf.open(QIODevice::ReadOnly | QIODevice::Text))
- return false;
+ {
+ qWarning() << "Flashlight toggle failed.";
+ return;
+ }
QTextStream in( &brf );
brightness = in.readLine().toInt();
@@ -75,32 +92,101 @@
brightness = 0;
if (!brf.open(QIODevice::WriteOnly))
- return false;
+ {
+ qWarning() << "Flashlight toggle failed.";
+ return;
+ }
QTextStream out (&brf);
out << QString("%1").arg(brightness);
brf.close();
- return true;
}
-void Gestures::sendMpris2(const QString &methodName)
+void Gestures::showCameraViewfinder()
{
- Q_UNUSED(methodName)
+ QDBusConnection bus = QDBusConnection::sessionBus();
+ QDBusMessage call = QDBusMessage::createMethodCall("com.jolla.camera", "/", "com.jolla.camera.ui", "showViewfinder");
+
+ QDBusError error = bus.call(call);
+
+ if (error.isValid())
+ {
+ qWarning() << "camera launch failed:" << error.message();
+ }
}
-void Gestures::showCameraViewfinder()
+void Gestures::showVoicecallUi()
{
+ QDBusConnection bus = QDBusConnection::sessionBus();
+ QDBusMessage call = QDBusMessage::createMethodCall("com.jolla.voicecall.ui", "/org/maemo/m", "com.nokia.telephony.callhistory", "launch");
+
+ QVariantList args;
+ args << QString("hello");
+ call.setArguments(args);
+ QDBusError error = bus.call(call);
+
+ if (error.isValid())
+ {
+ qWarning() << "voicecall ui launch failed:" << error.message();
+ }
}
-void Gestures::showVoicecallUi()
+void Gestures::sendMpris2(const QString &methodName)
{
+ if (_mpris2Service.isEmpty())
+ {
+ if (!getMpris2Service())
+ {
+ qDebug() << "no mpris2 service available";
+ return;
+ }
+ }
+ QDBusConnection bus = QDBusConnection::sessionBus();
+ QDBusMessage call = QDBusMessage::createMethodCall(_mpris2Service,
+ "/org/mpris/MediaPlayer2",
+ "org.mpris.MediaPlayer2.Player",
+ methodName);
+
+ QDBusError error = bus.call(call);
+
+ if (error.isValid())
+ {
+ qWarning() << "mpris2 " << _mpris2Service << " failed:" << error.message();
+ }
}
-QString Gestures::getMpris2Interface()
+bool Gestures::getMpris2Service()
{
- return QString("org.mpris.MediaPlayer2.jolla-mediaplayer");
+ bool ret = false;
+
+ QDBusConnection bus = QDBusConnection::sessionBus();
+ QDBusConnectionInterface *bus_iface = bus.interface();
+
+ const QStringList &services = bus_iface->registeredServiceNames();
+ foreach (QString service, services)
+ {
+ if (service.startsWith("org.mpris.MediaPlayer2."))
+ {
+ _mpris2Service = service;
+ qDebug() << "found mpris2 service:" << _mpris2Service;
+ ret = true;
+ break;
+ }
+ }
+ return ret;
+}
+
+void Gestures::ownerChanged(const QString &name, const QString &oldOwner, const QString &newOwner)
+{
+ Q_UNUSED(oldOwner);
+
+ if (name == _mpris2Service && newOwner.isEmpty())
+ {
+ qDebug() << "mpris2 service" << _mpris2Service << "removed from bus";
+ _mpris2Service = QString();
|
[-]
[+]
|
Changed |
_service:tar_git:gestured-0.0.4.tar.bz2/src/gesture-actions.h
^
|
@@ -24,12 +24,18 @@
public slots:
void handleGestureEvent(const QDBusMessage&);
+private slots:
+ void ownerChanged(const QString &name, const QString &oldOwner, const QString &newOwner);
+
private:
- bool toggleFlashlight();
+ void toggleFlashlight();
void sendMpris2(const QString &methodName);
void showCameraViewfinder();
void showVoicecallUi();
- QString getMpris2Interface();
+ bool getMpris2Service();
+
+ QString _mpris2Service;
+ QDBusServiceWatcher *_serviceWatcher;
};
|
[-]
[+]
|
Changed |
_service:tar_git:gestured-0.0.4.tar.bz2/src/gesture-daemon.cpp
^
|
@@ -9,9 +9,14 @@
#include <unistd.h>
#include <sys/types.h>
#include "gesture-actions.h"
-#include "mce/dbus-names.h"
#include <QtCore/QCoreApplication>
+#define MCE_SERVICE "com.nokia.mce"
+#define MCE_SIGNAL_PATH "/com/nokia/mce/signal"
+#define MCE_SIGNAL_IF "com.nokia.mce.signal"
+#define POWER_BUTTON_TRIGGER_SIG "power_button_trigger"
+
+
int main(int argc, char **argv)
{
QCoreApplication app(argc, argv);
@@ -19,7 +24,7 @@
setlinebuf(stdout);
setlinebuf(stderr);
- printf("Starting gesture-daemon version %s\n", APPVERSION);
+ qDebug() << "Starting gesture-daemon version" << APPVERSION;
Gestures gestures;
@@ -27,8 +32,8 @@
systembusConnection.connect(MCE_SERVICE,
MCE_SIGNAL_PATH,
MCE_SIGNAL_IF,
- MCE_GESTURE_EVENT_SIG,
- &gestures, SLOT(handleGestureEvent(const QDBusMessage&)));
+ POWER_BUTTON_TRIGGER_SIG,
+ &gestures, SLOT(handleGestureEvent(const QDBusMessage&)));
return app.exec();
}
|