--- mtp-0.0.4+15.04.20141103.orig/debian/changelog +++ mtp-0.0.4+15.04.20141103/debian/changelog @@ -0,0 +1,146 @@ +mtp (0.0.4+15.04.20141103-0ubuntu1) vivid; urgency=low + + [ Mathieu Trudel-Lapierre ] + * Watch for exceptions in the dbus thread; and stop mtp-server + gracefully if there are any. (LP: #1378576) + + -- Ubuntu daily release Mon, 03 Nov 2014 19:24:01 +0000 + +mtp (0.0.4+14.10.20140909-0ubuntu1) utopic; urgency=low + + [ Mathieu Trudel-Lapierre ] + * Fix duplicated entries when copying files/directories on Windows. + (LP: #1351042) + + -- Ubuntu daily release Tue, 09 Sep 2014 03:47:19 +0000 + +mtp (0.0.4+14.10.20140904-0ubuntu1) utopic; urgency=low + + [ Mathieu Trudel-Lapierre ] + * Fixes for critical bugs: - Avoid crashing in dbus timeouts, just + don't ask for the locking state, we can save that. - Allow + dragging/copying files on the root of the SD card. - Add support for + translating the display name of storage paths; only used for local + storage. (LP: #1361181) + + -- Ubuntu daily release Thu, 04 Sep 2014 20:50:33 +0000 + +mtp (0.0.4+14.10.20140827-0ubuntu1) utopic; urgency=medium + + [ Mathieu Trudel-Lapierre ] + * Fix daemon to not crash when the greeter service is not available. + (LP: #1360569) + + -- Ubuntu daily release Wed, 27 Aug 2014 14:51:13 +0000 + +mtp (0.0.4+14.10.20140821-0ubuntu1) utopic; urgency=medium + + [ Mathieu Trudel-Lapierre ] + * New release: + - Bugfixes. + - Enhancements on error handling. + - Add support for working with Windows systems. + - Add support for locking: don't allow access to storage while the screen + is locked. + - Support removable storage by watching for mounted storage in the /media + directory tree. + + -- Ubuntu daily release Thu, 21 Aug 2014 20:05:32 +0000 + +mtp (0.0.3+14.04.20140409-0ubuntu3) utopic; urgency=medium + + * make sure mtp-server only gets started in user sessions and not in lightdm + greeter sessions + + -- Oliver Grawert Tue, 03 Jun 2014 13:24:56 +0200 + +mtp (0.0.3+14.04.20140409-0ubuntu2) utopic; urgency=high + + * No change rebuild against boost1.55. + + -- Dimitri John Ledkov Tue, 29 Apr 2014 04:38:54 +0100 + +mtp (0.0.3+14.04.20140409-0ubuntu1) trusty; urgency=medium + + [ Mathieu Trudel-Lapierre ] + * New release: + - Do better logging; with logging levels for verbosity. + - Listen to inotify events to know about changes happening on the + filesystem but not initiated by the MTP protocol. + + -- Ubuntu daily release Wed, 09 Apr 2014 03:00:23 +0000 + +mtp (0.0.2+14.04.20140307-0ubuntu1) trusty; urgency=low + + [ Oliver Grawert ] + * Fix the installation of the mtp-state.conf upstart job file + + -- Ubuntu daily release Fri, 07 Mar 2014 19:40:09 +0000 + +mtp (0.0.2+14.04.20131205-0ubuntu2) trusty; urgency=medium + + * add mtp-state upstart job to monitor persist.sys.usb.config for mtp setup + * do not stop mtp-server on usb disconnect else re-plugging produces even more + races + + -- Oliver Grawert Fri, 07 Mar 2014 14:21:07 +0100 + +mtp (0.0.2+14.04.20131205-0ubuntu1) trusty; urgency=low + + [ Mathieu Trudel-Lapierre ] + * New release. + + [ Sergio Schvezov ] + * Enabling/disabling mtp by tracking the cable state. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 37 + + -- Ubuntu daily release Thu, 05 Dec 2013 07:38:37 +0000 + +mtp (0.0.1+13.10.20130926.3-0ubuntu2) trusty; urgency=low + + * No change rebuild for Boost 1.54 transition. + + -- Dmitrijs Ledkovs Tue, 22 Oct 2013 18:08:40 +0100 + +mtp (0.0.1+13.10.20130926.3-0ubuntu1) saucy; urgency=low + + [ Stéphane Graber ] + * Fix upstart jobs. The system job was marked as task but wasn't a + task and was therefore keeping lxc-android-config in post-start. The + user job was working fine, but was backgrounding the process on the exec + line instead of just letting upstart track it directly. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 33 + + -- Ubuntu daily release Thu, 26 Sep 2013 22:02:01 +0000 + +mtp (0.0.1+13.10.20130918-0ubuntu1) saucy; urgency=low + + [ Oliver Grawert ] + * fix property handling so existing property settings are respected and mtp + is only added/removed to/from the set + * make sure we disable mtp on the usb gadget driver during shutdown so gvfsd + on the host doesnt spill errors when the phone is rebooted because there is + a mtp device but no server attached to it (LP: #1226825). + + [ Ubuntu daily release ] + * Automatic snapshot from revision 31 + + -- Ubuntu daily release Wed, 18 Sep 2013 14:38:45 +0000 + +mtp (0.0.1+13.10.20130913-0ubuntu1) saucy; urgency=low + + [ Mathieu Trudel-Lapierre ] + * Initial release + * Automatic snapshot from revision 27 (bootstrap) + * Relicense our code to GPL-3. + * Expose only Music, Videos, Pictures, Downloads and Documents, plus + set the name of the device storage to the device model. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 29 + + -- Ubuntu daily release Fri, 13 Sep 2013 19:59:55 +0000 --- mtp-0.0.4+15.04.20141103.orig/debian/compat +++ mtp-0.0.4+15.04.20141103/debian/compat @@ -0,0 +1 @@ +9 --- mtp-0.0.4+15.04.20141103.orig/debian/control +++ mtp-0.0.4+15.04.20141103/debian/control @@ -0,0 +1,55 @@ +Source: mtp +Section: utils +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Thomas Voß +Build-Depends: debhelper (>= 9), + dh-translations, + cmake, + pkg-config, + libboost-dev, + libboost-thread-dev, + libboost-filesystem-dev, + libboost-test-dev, + libandroid-properties-dev, + libgoogle-glog-dev, + libdbus-1-dev, + libproperties-cpp-dev, + libdbus-cpp-dev, +Standards-Version: 3.9.4 +Homepage: http://launchpad.net/mtp +# If you aren't ~phablet-team but need to upload packaging changes, +# just go ahead. ~phablet-team will notice and sync up the code again. +Vcs-Bzr: https://code.launchpad.net/~phablet-team/mtp/trunk +Vcs-Browser: https://bazaar.launchpad.net/~phablet-team/mtp/trunk/files +X-Ubuntu-Use-Langpack: yes + +Package: libmtpserver1 +Section: libs +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Description: Library for implementing MTP protocol servers - shared library + Exposes phone storage over MTP. + . + This package contains the shared library for MTP. + +Package: libmtpserver-dev +Section: libdevel +Architecture: any +Depends: libmtpserver1 (= ${binary:Version}), + ${misc:Depends}, +Description: Library for implementing MTP protocol servers - development files + Exposes phone storage over MTP. + . + Contains header files required to develop actual services. + +Package: mtp-server +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Description: Small server implementation of MTP. + Exposes phone storage over MTP. + . + Contains a simple MTP server that exposes images, videos, and music. + --- mtp-0.0.4+15.04.20141103.orig/debian/copyright +++ mtp-0.0.4+15.04.20141103/debian/copyright @@ -0,0 +1,45 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: mtp +Source: http://launchpad.net/mtp + +Files: debian/* tests/* server/* +Copyright: 2013 Canonical Ltd. +License: GPL-3 + +Files: * +Copyright: 2010 The Android Open Source Project +License: Apache-2.0 + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the complete text of the Apache License, Version 2.0 + can be found in `/usr/share/common-licenses/Apache-2.0'. + +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, either version 3 of the License, or + (at your option) any later version. + . + 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, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. --- mtp-0.0.4+15.04.20141103.orig/debian/libmtpserver-dev.install +++ mtp-0.0.4+15.04.20141103/debian/libmtpserver-dev.install @@ -0,0 +1,2 @@ +usr/include/mtp +usr/lib/libmtpserver.so --- mtp-0.0.4+15.04.20141103.orig/debian/libmtpserver1.install +++ mtp-0.0.4+15.04.20141103/debian/libmtpserver1.install @@ -0,0 +1 @@ +usr/lib/libmtpserver.so.* --- mtp-0.0.4+15.04.20141103.orig/debian/mtp-server.1 +++ mtp-0.0.4+15.04.20141103/debian/mtp-server.1 @@ -0,0 +1,23 @@ +.TH mtp-server 1 "12 September 2013" "" "Linux User's Manual" + +.SH NAME +mtp-server \- A simple MTP server implementation + +.SH SYNOPSIS +.B mtp-server +.br + +.SH DESCRIPTION +.B mtp-server +expects no command-line parameters. It is used to provide access to files over the MTP protocol, +for use when connecting devices via USB. + +.SH OPTIONS +.B mtp-server +expects no options. + +.SH NOTES +This program requires a +.B /dev/mtp_usb +device, which is normally only available on Android-based devices using the gadget driver. + --- mtp-0.0.4+15.04.20141103.orig/debian/mtp-server.conf +++ mtp-0.0.4+15.04.20141103/debian/mtp-server.conf @@ -0,0 +1,14 @@ +description "MTP protocol server" + +start on :sys:android-mtp-on or :sys:android-usb-connected +stop on desktop-end or :sys:android-mtp-off + +pre-start script + [ "$USER" != "lightdm" ] || { stop; exit 0; } +end script + +env GOOGLE_LOGTOSTDERR=1 + +respawn + +exec /usr/bin/mtp-server --- mtp-0.0.4+15.04.20141103.orig/debian/mtp-server.install +++ mtp-0.0.4+15.04.20141103/debian/mtp-server.install @@ -0,0 +1,3 @@ +usr/bin/mtp-server +usr/share/locale +debian/mtp-server.conf /usr/share/upstart/sessions/ --- mtp-0.0.4+15.04.20141103.orig/debian/mtp-server.manpages +++ mtp-0.0.4+15.04.20141103/debian/mtp-server.manpages @@ -0,0 +1 @@ +debian/mtp-server.1 --- mtp-0.0.4+15.04.20141103.orig/debian/mtp-server.mtp-state.upstart +++ mtp-0.0.4+15.04.20141103/debian/mtp-server.mtp-state.upstart @@ -0,0 +1,18 @@ +start on android-container persist.sys.usb.config=* and started lightdm + +task + +emits android-mtp-on +emits android-mtp-off + +script + VAL=$(env | grep persist.sys.usb.config=) + case ${VAL##*=} in + mtp*) + /sbin/initctl emit android-mtp-on + ;; + *) + /sbin/initctl emit android-mtp-off + ;; + esac +end script --- mtp-0.0.4+15.04.20141103.orig/debian/rules +++ mtp-0.0.4+15.04.20141103/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 + +export DPKG_GENSYMBOLS_CHECK_LEVEL = 4 + +%: + dh $@ --with translations -- --fail-missing + +override_dh_installinit: + dh_installinit -pmtp-server --name=mtp-state --no-start -r -n + dh_installinit + --- mtp-0.0.4+15.04.20141103.orig/debian/source/format +++ mtp-0.0.4+15.04.20141103/debian/source/format @@ -0,0 +1 @@ +1.0