--- qtmir-0.4.4+15.04.20150306.1~rtm.orig/debian/changelog +++ qtmir-0.4.4+15.04.20150306.1~rtm/debian/changelog @@ -0,0 +1,515 @@ +qtmir (0.4.4+15.04.20150306.1~rtm-0ubuntu1) 14.09; urgency=medium + + [ Gerry Boland ] + * Refactor wakelock handling. Lifecycle exempt apps now release + wakelock when shell tries to suspend them (LP: #1423787) + + -- CI Train Bot Fri, 06 Mar 2015 14:20:33 +0000 + +qtmir (0.4.4+15.04.20150121~rtm-0ubuntu1) 14.09; urgency=medium + + [ Gerry Boland ] + * Add Wakelock support - ensures device drops to deep-sleep mode only + when all AppMan suspend tasks have completed (LP: #1309915) + + [ Ricardo Mendoza ] + * Reduce suspend timeout to half of the previous value because the + long value was too apparent on fast paced apps, like web games of + music players; it broke the user experience according to design. + (LP: #1402650) + + -- Ubuntu daily release Wed, 21 Jan 2015 11:36:24 +0000 + +qtmir (0.4.4+15.04.20150120~rtm-0ubuntu1) 14.09; urgency=low + + [ CI Train Bot ] + * Resync trunk + * Resync trunk + * Resync trunk + * Resync trunk + + [ Michał Sawicz ] + * Declare the QByteArray in callDispatcher so it doesn't get deleted + before it's copied. (LP: #1408819) + + -- Ubuntu daily release Tue, 20 Jan 2015 11:22:12 +0000 + +qtmir (0.4.4+15.04.20150112.3~rtm-0ubuntu1) 14.09; urgency=medium + + [ Nick Dedekind ] + * Compatibility for Mir 0.8.1 + * Notify prompt sessions that sessions have been suspended/resumed. + (LP: #1355173, #1384950) + + [ Ricardo Salveti de Araujo ] + * qteventfeeder: adding bt and wired headset multimedia keys (LP: + #1398427) + + -- Ubuntu daily release Mon, 12 Jan 2015 13:38:21 +0000 + +qtmir (0.4.4+15.04.20141218~rtm-0ubuntu1) 14.09; urgency=low + + [ Gerry Boland ] + * Backport to RTM: + + -- Ubuntu daily release Thu, 18 Dec 2014 10:14:57 +0000 + +qtmir (0.4.4+15.04.20141208~rtm-0ubuntu1) 14.09; urgency=medium + + [ josharenson ] + * Add support for enabling/disabling orientation sensor based on + screen power state. (LP: #1375297) + + -- Ubuntu daily release Mon, 08 Dec 2014 09:35:48 +0000 + +qtmir (0.4.4+15.04.20141112.1~rtm-0ubuntu1) 14.09; urgency=medium + + [ Michael Zanetti ] + * Use QSGDefaultImageNode instead of QSGSimpleTexture to gain surface + manipulation features such as antialiasing (LP: #1351559) + + [ Ubuntu daily release ] + * New rebuild forced + + -- Ubuntu daily release Wed, 12 Nov 2014 09:10:57 +0000 + +qtmir (0.4.4+15.04.20141030.2-0ubuntu1) vivid; urgency=low + + [ Ted Gould ] + * Use UAL pause/resume functions for stopping/continuing all tasks in + the cgroup (LP: #1379786) + + [ Timo Jyrinki ] + * Add libmtdev-dev build dependency (LP: #1379152) (LP: #1379152) + + -- Ubuntu daily release Thu, 30 Oct 2014 21:48:30 +0000 + +qtmir (0.4.4+15.04.20141030.1-0ubuntu1) vivid; urgency=low + + [ Ricardo Mendoza ] + * Clean up QML Compilation cache if application fails to start + correctly. + + -- Ubuntu daily release Thu, 30 Oct 2014 11:55:27 +0000 + +qtmir (0.4.4+14.10.20141013-0ubuntu1) utopic; urgency=medium + + [ Daniel d'Andrada ] + * Turn UbuntuKeyboardInfo into a QML singleton + + [ Gerry Boland ] + * Rewrite DesktopFileReader to use GDesktopAppInfo, enables reading + localized keys (LP: #1350360) + + [ Michał Sawicz ] + * Ensure unity8-dash is less likely to be killed than other background + apps. (LP: #1379296) + + [ Robert Carr ] + * Pass key auto-repeat flag through QtEventFeeder. + + -- Ubuntu daily release Mon, 13 Oct 2014 10:08:04 +0000 + +qtmir (0.4.3+14.10.20141010-0ubuntu1) utopic; urgency=low + + [ Ubuntu daily release ] + * New rebuild forced + + [ Cemil Azizoglu ] + * Rebuild for Mir 0.8.0. + + -- Ubuntu daily release Fri, 10 Oct 2014 16:33:24 +0000 + +qtmir (0.4.3+14.10.20141006-0ubuntu1) utopic; urgency=low + + [ Michael Zanetti ] + * Fix some bugs in app lifecycle management. + + [ Albert Astals ] + * Wait for ApplicationManager to be there + + -- Ubuntu daily release Mon, 06 Oct 2014 12:00:01 +0000 + +qtmir (0.4.3+14.10.20141001.5-0ubuntu1) utopic; urgency=low + + [ Daniel d'Andrada ] + * CONFIG+=no_tests to avoid building the tests and therefore speed up + the build + * Provide a global clipboard via D-Bus (LP: #1367814) + + [ josharenson ] + * Remove check to see if application is already focused before + focusing. + + [ Robert Carr ] + * MirSurfaceItem::consume Set motion event tooltypes based on + QTouchPoints (LP: #1371282) + + [ Gerry Boland ] + * Fix AppMan handling Upstart resuming a Stopped application + + -- Ubuntu daily release Wed, 01 Oct 2014 18:43:00 +0000 + +qtmir (0.4.3+14.10.20140922.1-0ubuntu1) utopic; urgency=low + + [ Gerry Boland ] + * Expose Mir surface orientation property to QML (LP: #1288332) + * Add splash screen properties to Application + + [ Florian Boucault ] + * Add splash screen properties to Application + + [ Daniel d'Andrada ] + * Add splash screen properties to Application + + -- Ubuntu daily release Mon, 22 Sep 2014 17:38:51 +0000 + +qtmir (0.4.3+14.10.20140918.3-0ubuntu1) utopic; urgency=low + + [ Gerry Boland ] + * TaskController may call processStarted synchronously, so check for + that in startApplication before adding (LP: #1371047) + + -- Ubuntu daily release Thu, 18 Sep 2014 16:57:48 +0000 + +qtmir (0.4.3+14.10.20140918.1-0ubuntu1) utopic; urgency=low + + [ Gerry Boland ] + * Fix unstable test - be more careful about synchronizing the Qt image + provider and Mir snapshot threads + + -- Ubuntu daily release Thu, 18 Sep 2014 09:38:52 +0000 + +qtmir (0.4.3+14.10.20140915-0ubuntu1) utopic; urgency=low + + [ Daniel d'Andrada ] + * MirSurfaceItem: Ensure all touch sequences sent to Mir surface are + properly ended. + + -- Ubuntu daily release Mon, 15 Sep 2014 14:50:16 +0000 + +qtmir (0.4.3+14.10.20140907-0ubuntu1) utopic; urgency=low + + [ Daniel d'Andrada ] + * QtEventFeeder: validate touches before sending them to Qt + + [ josharenson ] + * Fix a small typo in the README file + + [ Alan Griffiths ] + * Provide Mir with a handler for any command-line arguments it fails + to parse. For the moment, these are simply ignored. + + [ Gerry Boland ] + * Add LTTng tracepoints + + -- Ubuntu daily release Sun, 07 Sep 2014 19:42:56 +0000 + +qtmir (0.4.3+14.10.20140903-0ubuntu1) utopic; urgency=medium + + [ Nick Dedekind ] + * Use a model for child surfaces/sessions. Add surface tests. + * Support for nesting prompt sessions. + + + -- Ubuntu daily release Wed, 03 Sep 2014 08:03:52 +0000 + +qtmir (0.4.2+14.10.20140829-0ubuntu1) utopic; urgency=low + + [ Ubuntu daily release ] + * New rebuild forced + + [ Cemil Azizoglu ] + * Rebuild for the Mir 0.7.0 release. + + -- Ubuntu daily release Fri, 29 Aug 2014 18:59:49 +0000 + +qtmir (0.4.2+14.10.20140825-0ubuntu1) utopic; urgency=low + + [ Daniel d'Andrada ] + * Revamp screenshotting to use an image provider again, removing + screenshot-related methods on Application + + [ Daniel van Vugt ] + * Add support for building against Mir when it's installed somewhere + other than /usr (like with a custom $PKG_CONFIG_PATH). + + -- Ubuntu daily release Mon, 25 Aug 2014 07:46:36 +0000 + +qtmir (0.4.1+14.10.20140817-0ubuntu1) utopic; urgency=medium + + [ Michał Sawicz ] + * Unrevert "MirSurfaceItem: always try to consume new mir frames" + + -- Ubuntu daily release Sun, 17 Aug 2014 00:41:51 +0000 + +qtmir (0.4.1+14.10.20140815.is.0.4.1+14.10.20140811.1-0ubuntu1) utopic; urgency=medium + + * Reverting previous commit since unity8 started deadlocking in ap + test runs (requested by Saviq) + + -- Ricardo Salveti de Araujo Sat, 16 Aug 2014 17:18:12 -0300 + +qtmir (0.4.1+14.10.20140815-0ubuntu1) utopic; urgency=low + + [ Daniel d'Andrada ] + * MirSurfaceItem: always try to consume new mir frames Otherwise those + frames will get dropped and MirSurfaceItem will therefore never use + them, being left displaying an old, stale, frame until the + application renders again.This could happen for instance if an + application was rendering between the time the Application object + goes to Suspended state and the actual process getting SIG_STOPPED + (ie, suspended for real). Frames rendered in this interval were + getting dropped and once that app was resumed and its MirSurfaceItem + brought to front the user would see an old stale frame until some + new event caused the application to render a new frame (e.g. an + input event) (LP: #1353374) + + -- Ubuntu daily release Fri, 15 Aug 2014 17:13:24 +0000 + +qtmir (0.4.1+14.10.20140811.1-0ubuntu1) utopic; urgency=low + + [ Ubuntu daily release ] + * New rebuild forced + + [ Michał Sawicz ] + * Bumped dependency for Mir 0.6.0. Switch to using supported API + (the_ipc_factory -> new_ipc_factory). + + [ Cemil Azizoglu ] + * Bumped dependency for Mir 0.6.0. Switch to using supported API + (the_ipc_factory -> new_ipc_factory). + + [ Alan Griffiths ] + * Bumped dependency for Mir 0.6.0. Switch to using supported API + (the_ipc_factory -> new_ipc_factory). + + [ Kevin Gunn ] + * Bumped dependency for Mir 0.6.0. Switch to using supported API + (the_ipc_factory -> new_ipc_factory). + + -- Ubuntu daily release Mon, 11 Aug 2014 21:12:34 +0000 + +qtmir (0.4.1+14.10.20140811-0ubuntu1) utopic; urgency=low + + [ Gerry Boland ] + * AppMan: fix dbus GetWindowStack & GetAppFromPid APIs. On suspend, + mark focused application unfocused, and reverse on resume. + + -- Ubuntu daily release Mon, 11 Aug 2014 15:53:40 +0000 + +qtmir (0.4.1+14.10.20140808-0ubuntu1) utopic; urgency=medium + + [ Nick Dedekind ] + * Added prompt surfaces to application + + -- Ubuntu daily release Fri, 08 Aug 2014 12:19:29 +0000 + +qtmir (0.4.0+14.10.20140805.1-0ubuntu1) utopic; urgency=low + + [ Nick Dedekind ] + * Only add prompt session surfaces to the surface stack once their + first frame has been drawn. + + -- Ubuntu daily release Tue, 05 Aug 2014 19:23:27 +0000 + +qtmir (0.4.0+14.10.20140805-0ubuntu1) utopic; urgency=low + + [ Daniel d'Andrada ] + * Don't take screenshots automatically and emit focusRequested() + reliably (LP: #1350917) + + -- Ubuntu daily release Tue, 05 Aug 2014 12:01:39 +0000 + +qtmir (0.4.0+14.10.20140729-0ubuntu1) utopic; urgency=medium + + [ Gerry Boland ] + * Update for Mir 0.4.0 compatibility + * Remove unneeded properties from SurfaceManager and restore support + for surface with no app parent + * Add patches to ubuntuclient plugin to enable sharing of GL context - + needed for oxide + * Rename client plugin to ubuntumirclient (to match that of qtubuntu) + There are some apps which check the QPA name is ubuntumirclient, and + fail with ubuntuclient. Worst offender is Oxide, which is hard to + rebuild, so this change is easier fix. + * Revert 125, incorrect branch merged + * Rename client plugin to ubuntumirclient (to match that of qtubuntu) + There are some apps which check the QPA name is ubuntumirclient, and + fail with ubuntuclient. Worst offender is Oxide, which is hard to + rebuild, so this change is easier fix. + * Remove surface observer on MirSurfaceItem destruction + * New apps placed at start of model and are focused immediately. + AppMan model has proper surface and fullscreen roles now. Whitespace + fixes + * Enable UbuntuPlatformServices for a mirserver + * Fix FTBFS - header file moved + * Remove ubuntumirclient plugin as it moved to qtubuntu + * Empty commit to force rebuild for Qt5.3 + * debian: update package name, fixes dependency wait in PPA + * Fix Qt5.3 compile - QQmlProfiler changed to QQuickProfiler + * Update README, rename root pro file to match project name + * debian: replace old libplatform-api-dev with newer libubuntu- + application-api-dev + * Fix lifecycle by pulling latest unity-mir code. Rename QML module + back to Unity.Application. Import unity-mir tests. Use category + logging + * Restore code to override side-stage apps to be on main stage on + single-stage devices + * Remove unused *toBeFocused state savers + * debian: update mir & papi version dependencies + * Fix out-of-tree builds + * Using const QString ref to save possible QString copy + * Small header file cleaning + * Fix test fails - do not run moc again on headers used by tests + * Downgrade error warning of unmanaged session startup + * Simplify focus logic, fix tablet lifecycle + * Workaround GL/GLES conflict between Qt and Mir. Split into 3 + packages: GL qpa, GLES qpa & QML plugin Mir is GLES only. Qt on + desktop is desktop-GL only. To workaround this, (ab)use the fact + that MESA on the desktop allows you to bind GL apis to a GLES + context via eglBindAPI. To use this, need to compile with QPA + separately for GL and GLES targets. Thus need to split the packaging + into: + qtmir-android - qpa plugin for GLES targets + qtmir-desktop + - qpa plugin for desktop-GL targets (uses MESA hack) + + qtdeclarative5-qtmir-plugin - the QML plugin Also stopped unit tests + from being installed + * Re-enable Buffer Queueing OpenGL, should improve graphics + performance + * Remove refresh-rate override as Mir now returns correct value + * MirGLContext - temporary gl context from mir does not have + attributes defined by GLConfig applied, so need to do so manually + * DisplayWindow listens for Hide/Show events with its event handler, + not via a static variable + * QtEventFeeder - add deconstructor to delete the mTouchDevice + * Application: delete TODO comment in setSession as nonsensical + * SessionName removed. PID matching was introduced some time ago and + so session name unnecessary + * Application: remove hack to guess app supported orientations, + implement properly later + * Fixed threading issue when screen-shotting application about to be + stopped. By Nick Dedekind + * Revert rev 179, add comment to clarify + * Application: replace direct call into MirSurfaceItem with a + signal/slot. Removes FIXME + * MirSurfaceItem: setting unfocused on creation breaks camera & videos + app, so disabling and added fixme + * Add FIXME about the custom roles + * Remove redundant comment + * Remove ApplicationManager::topmostApplication + * AppMan: if foreground app closes, set all unfocused to let shell + decide what next to focus + * Useless static_cast removed + * DebugHelpers: do not use default state for last option in the enum + today, the enum may grow in future + * MirBufferSGTexture: remove the Qt5.3 ifdefs, were probably broken + for older Qt versions + * MirSurfaceItem - standardize on qCDebug(QTMIR_SURFACES) + * MirSurfaceManager: generate roleNames only on read + * MirSurfaceManager: remove commented line + * TaskController: add a few more consts + * Removed WindowScreenshotProvider as not needed for now + * AppMan: be slightly more verbose with desktop file locating for + desktop_file_hint. Also use faster exists() static function + * AppMan: data - remove nonsensical default role + * ProcessController: expand documentation + * Clarify licences + * Give AppMan & SurfMan objectNames + * MirSurfaceItem: do not print keystrokes to log + * Fix crash bug - disable input events going to MirSurfaceItem whose + backing mir surface was destroyed + * SurfaceManager: do not add each surface to the model twice silly + * debian: only use gcc4.9 compiler to prevent ABI breaks due to some + C++11 features still being experimental in gcc + * AppMan: emit unfocus dbus event on suspend, and focus on resume + * Revert 214 - breaks install of qtmir and qtubuntu + * Input Event timestamp - do not overwrite timestamp of events sent to + client + + [ Nick Dedekind ] + * Compatibility with mir-0.5 + + [ Robert Bruce Park ] + * CI Train packaging cleanup. Minor packaging cleanup for CI Train + standards. + * Slightly more readable debian/rules. + + [ Michael Zanetti ] + * append newly focused apps instead of prepending them. Allows the ui + to do the regular app focused animation for newly started apps too + * Fix multi touch points on mirsurfaceitems. Patch kindly provided by + anpok. + * also mir specific key codes through the QKeyEvent + + [ Michael Terry ] + * Use virtual package names in Conflicts/Replaces fields and clean + build dirs when doing dh_clean. + + [ Daniel d'Andrada ] + * ubuntuclient: Properly handle mir's resize event Take it as a + promise for a future buffer size instead of immediately obeying it. + * Some MirSurfaceItem fixes Don't assume that it always have an + Application. Slightly improve its ownership mess. + * Work around crash in MirSurfaceManager::onSurfaceAttributeChanged + * Improve debug output of surfaces handled by MirSurfaceManager + * Make mirserver QPA implement QPlatformIntegration::inputContext() So + that shell can get a virtual keyboard + * Wait for screen orientation to stabilize before committing to it + * Reduce orientation stabilization time and cancel pending change when + facing up/down + * Merge multiple qml size changes into a single mir surface resize + Resizing a mir surface is a costly operation and qml items can get + resized multiple times in a single event loop iteration. Besides, a + qml item changes its width and height separately + * Add WindowScreenshotProvider + * s/upstart-app-launch-2/ubuntu-app-launch-2 + * Add clipboard support had to remove the dependency of mirserver to + platform-api-client as it caused a clash as both libs are loading + unityrpc.proto. That's a protobuffer limitation. Added the protobuf + generated files directly (unityrpc.cpp and unityrpc.h) as I couldn't + bend qmake to my will. + * UbuntuPlatformServices is no longer shared by both QPAs + * Update Application::fullscreen when the application gets its surface + * MirSurfaceManager: s/DLOG/qCDebug Use Qt's new categorized logging + system + * MirSurfaceManager: improve debug output + * Hold back this commit for now as qtmir trunk still uses an old mir + version + * adapt to latest mir/devel + input_sender branch + * MirSurfaceManager: improve debug output + * Revert to the old ways regarding rotation Where unity8 doesn't move + and apps rotate by themselves. Retake that rotation approach at a + later time + * Forward item focus to the underlying mir surface + * Dispatch keys to mir surface + * Add a comment with the rationale behind the frame dropper + * Fix copyright headers + * Fix and update debian/copyright + * Removing debian/qtdeclarative5-qtmir-plugin.maintscript This came + with the copy-pasting unity-mir packaging. Makes no sense in qtmir + as it never installed a com.canonical.Unity.conf file in the first + place. That's unity-mir's problems. + * Add a TODO notice + * Fix copy-and-paste error in log message + * Improve Application::setState debug output + + [ Kevin Gunn ] + * merge lp:~nick-dedekind/qtmir/prompt_sessions + * no change, rebuild + + [ Ubuntu daily release ] + * New rebuild forced + + -- Ubuntu daily release Tue, 29 Jul 2014 15:13:00 +0000 + +qtmir (0.0.1-ppa5) utopic; urgency=medium + + * packaging works now + + -- Michael Zanetti Fri, 16 May 2014 14:04:29 +0200 + +qtmir (0.0.1-ppa1) utopic; urgency=medium + + * Initial release. + + -- Michael Zanetti Wed, 14 May 2014 14:28:17 +0200 --- qtmir-0.4.4+15.04.20150306.1~rtm.orig/debian/compat +++ qtmir-0.4.4+15.04.20150306.1~rtm/debian/compat @@ -0,0 +1 @@ +9 --- qtmir-0.4.4+15.04.20150306.1~rtm.orig/debian/control +++ qtmir-0.4.4+15.04.20150306.1~rtm/debian/control @@ -0,0 +1,101 @@ +Source: qtmir +Section: libs +Priority: optional +Maintainer: Ubuntu Developers +Build-Depends: debhelper (>= 9), + google-mock (>= 1.6.0+svn437), +# We rely on C++11 features, and to prevent from ABI breaks +# in libstdc++ causing us issues, we explicitly select a G++ +# version. + g++-4.9, + libboost-system-dev, + libfontconfig1-dev, + libglib2.0-dev, + liblttng-ust-dev, + libmirclient-dev (>= 0.6.0), + libmirserver-dev (>= 0.8.1), + libmtdev-dev, + libprocess-cpp-dev, + libqtdbusmock1-dev (>= 0.2), + libqtdbustest1-dev (>= 0.2), + libqt5sensors5-dev, + libubuntu-app-launch2-dev, + libubuntu-application-api-dev (>= 2.1.0), + libudev-dev, + libunity-api-dev (>= 7.92), + liburl-dispatcher1-dev, + libxkbcommon-dev, + libxrender-dev, + libmircommon-dev, + pkg-config, + protobuf-compiler, +# lttng-gen-ts needs python3, but doesn't depend on it itself: bug 1359147 + python3:any, + qt5-default, + qtbase5-dev, + qtbase5-private-dev, + qtdeclarative5-dev, + qtdeclarative5-private-dev, +Standards-Version: 3.9.5 +Homepage: https://launchpad.net/qtmir +# if you don't have have commit access to this branch but would like to upload +# directly to Ubuntu, don't worry: your changes will be merged back into the +# upstream branch +Vcs-Bzr: lp:qtmir +Vcs-Browser: http://bazaar.launchpad.net/~mir-team/qtmir/trunk/files + +Package: qtmir-android +Architecture: armhf +Multi-Arch: same +Conflicts: qtmir-desktop, + qtubuntu-desktop, + libqtmir, +Replaces: qtmir-desktop, + qtubuntu-desktop, + libqtmir, +Provides: qtmir +Depends: ${misc:Depends}, + ${shlibs:Depends} +Description: Qt platform abstraction (QPA) plugin for a Mir server (mobile) + QtMir is a set of Qt5 components to enable one to write a Mir server with Qt. + It contains a QPA (Qt Platform Abstraction) plugin which creates and manages + a Mir server. It also exposes some internal Mir functionality. + . + This variant of the package is for Android-based phones and tablets. + +Package: qtmir-desktop +Architecture: any +Multi-Arch: same +Conflicts: qtmir-android, + qtubuntu-android, +Replaces: qtmir-android, + qtubuntu-android, + libqtmir, +Provides: qtmir +Depends: ${misc:Depends}, + ${shlibs:Depends} +Description: Qt platform abstraction (QPA) plugin for a Mir server (desktop) + QtMir is a set of Qt5 components to enable one to write a Mir server with Qt. + It contains a QPA (Qt Platform Abstraction) plugin which creates and manages + a Mir server. It also exposes some internal Mir functionality. + . + This variant of the package is for GNU-based desktops. + + +Package: qtdeclarative5-qtmir-plugin +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends}, +Depends: ${misc:Depends}, + ${shlibs:Depends}, + qtmir-desktop | qtmir-android +Replaces: libunity-mir1, + libqtmir, +Conflicts: libunity-mir1, + libqtmir, +Provides: unity-application-impl, + unity-application-impl-4, +Description: Qt plugin for Unity specific Mir APIs + QtMir provides Qt/QML bindings for Mir features that are exposed through the + qtmir-desktop or qtmir-android QPA plugin such as Application management + (start/stop/suspend/resume) and surface management. --- qtmir-0.4.4+15.04.20150306.1~rtm.orig/debian/copyright +++ qtmir-0.4.4+15.04.20150306.1~rtm/debian/copyright @@ -0,0 +1,48 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: qtmir + +Files: * +Copyright: 2013-2014 Canonical Ltd. +License: LGPL-3 + +Files: debian/* +Copyright: 2013-2014 Canonical Ltd. +License: GPL-3 + +Files: tests/* +Copyright: 2013-2014 Canonical Ltd. +License: GPL-3 + +License: LGPL-3 + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation, version 3 of + the License. + . + 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 + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in `/usr/share/common-licenses/LGPL-3'. + +License: GPL-3 + 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, version 3 of the License. + . + This program 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 . + . + On Debian systems, the full text of the GNU General Public License + version 3 can be found in the file /usr/share/common-licenses/GPL-3. --- qtmir-0.4.4+15.04.20150306.1~rtm.orig/debian/docs +++ qtmir-0.4.4+15.04.20150306.1~rtm/debian/docs @@ -0,0 +1 @@ +README --- qtmir-0.4.4+15.04.20150306.1~rtm.orig/debian/qtdeclarative5-qtmir-plugin.install +++ qtmir-0.4.4+15.04.20150306.1~rtm/debian/qtdeclarative5-qtmir-plugin.install @@ -0,0 +1 @@ +usr/lib/*/qt5/qml/* --- qtmir-0.4.4+15.04.20150306.1~rtm.orig/debian/qtmir-android.install +++ qtmir-0.4.4+15.04.20150306.1~rtm/debian/qtmir-android.install @@ -0,0 +1 @@ +usr/lib/*/qt5/plugins/platforms/* --- qtmir-0.4.4+15.04.20150306.1~rtm.orig/debian/qtmir-desktop.install +++ qtmir-0.4.4+15.04.20150306.1~rtm/debian/qtmir-desktop.install @@ -0,0 +1 @@ +usr/lib/*/qt5/plugins/platforms/* --- qtmir-0.4.4+15.04.20150306.1~rtm.orig/debian/rules +++ qtmir-0.4.4+15.04.20150306.1~rtm/debian/rules @@ -0,0 +1,68 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +export DPKG_GENSYMBOLS_CHECK_LEVEL=4 + +include /usr/share/dpkg/default.mk + +# Explicitly selecting a G{CC,++}-version here to avoid accidental +# ABI breaks introduced by toolchain updates. +export CC=$(DEB_HOST_GNU_TYPE)-gcc-4.9 +export CXX=$(DEB_HOST_GNU_TYPE)-g++-4.9 + +FLAGS = "QMAKE_CXX=$(CXX)" "QMAKE_LINK=$(CXX)" "QMAKE_LINK_SHLIB=$(CXX)" + +ANDROID_DIR = build-android +DESKTOP_DIR = build-desktop +TMP1_DIR = $(CURDIR)/debian/tmp1 +TMP2_DIR = $(CURDIR)/debian/tmp2 + +# We only want to build qtmir-android on arches using Qt built with OpenGL ES2.0 +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) +gles2_architectures = armhf + +USES_GLES2 = $(findstring $(DEB_HOST_ARCH), $(gles2_architectures)) + +%: + dh $@ --parallel --fail-missing + +override_dh_clean: +ifeq ($(DEB_HOST_ARCH),$(USES_GLES2)) + rm -rf $(TMP1_DIR) +endif + rm -rf $(TMP2_DIR) + dh_clean + +override_dh_auto_configure: +ifeq ($(DEB_HOST_ARCH),$(USES_GLES2)) + mkdir -p $(ANDROID_DIR) && dh_auto_configure -B$(ANDROID_DIR) -- $(FLAGS) $(CURDIR) +endif + mkdir -p $(DESKTOP_DIR) && dh_auto_configure -B$(DESKTOP_DIR) -- $(FLAGS) "QMAKE_CXXFLAGS=-DQTMIR_USE_OPENGL" $(CURDIR) + +override_dh_auto_build: +ifeq ($(DEB_HOST_ARCH),$(USES_GLES2)) + dh_auto_build -B$(ANDROID_DIR) +endif + dh_auto_build -B$(DESKTOP_DIR) + +override_dh_auto_test: +ifeq ($(DEB_HOST_ARCH),$(USES_GLES2)) + dh_auto_test -B$(ANDROID_DIR) +endif + dh_auto_test -B$(DESKTOP_DIR) + +override_dh_auto_install: +ifeq ($(DEB_HOST_ARCH),$(USES_GLES2)) + mkdir -p $(TMP1_DIR) && cd $(ANDROID_DIR) && INSTALL_ROOT=$(TMP1_DIR) make install + cd $(CURDIR) +endif + mkdir -p $(TMP2_DIR) && cd $(DESKTOP_DIR) && INSTALL_ROOT=$(TMP2_DIR) make install + cd $(CURDIR) + +override_dh_install: +ifeq ($(DEB_HOST_ARCH),$(USES_GLES2)) + dh_install --sourcedir=$(TMP1_DIR) -pqtmir-android +endif + dh_install --sourcedir=$(TMP2_DIR) -pqtmir-desktop + dh_install --sourcedir=$(TMP2_DIR) -pqtdeclarative5-qtmir-plugin +