Search
SailfishOS Open Build Service
>
Projects
>
home:tangtao77
>
buteo-sync-plugins-qt5
> buteo-mtp-qt5.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File buteo-mtp-qt5.spec of Package buteo-sync-plugins-qt5
Name: buteo-mtp-qt5 Version: 0.4.7 Release: 1.2.6 Summary: MTP library Group: System/Libraries License: LGPLv2.1 URL: https://github.com/nemomobile/buteo-mtp Source0: %{name}-%{version}.tar.gz BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Sparql) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(Qt5Qml) BuildRequires: pkgconfig(Qt5Test) BuildRequires: pkgconfig(buteosyncfw5) BuildRequires: pkgconfig(Qt5SystemInfo) BuildRequires: pkgconfig(blkid) BuildRequires: pkgconfig(mount) # for the thumbnailer unit test BuildRequires: pkgconfig(Qt5Gui) Requires: mtp-vendor-configuration # buteo-mtp can use org.freedesktop.thumbnails.Thumbnailer1 to create # thumbnails on request; at least Windows 8 requires thumbnails to be # generated on the device. Requires: tumbler Requires: libqt5sparql-tracker-direct Requires: libqt5sparql-tracker Requires(pre): shadow-utils Requires(pre): /usr/bin/groupadd-user Provides: buteo-mtp = %{version} Obsoletes: buteo-mtp < %{version} %description %{summary}. # TODO: once proper activation as msyncd plugin works as expected, # move user session startup into sub-package %files %defattr(-,root,root,-) /usr/lib/systemd/user/buteo-mtp.service %{_unitdir}/*.mount %{_unitdir}/local-fs.target.wants/*.mount %{_bindir}/buteo-mtp %{_libdir}/*.so.* %{_libdir}/mtp/*.so %{_libdir}/mtp/mtp_service %{_libdir}/mtp/start-mtp.sh %package sample-vendor-configuration Summary: Vendor configuration example for MTP Group: System/Libraries Provides: mtp-vendor-configuration %description sample-vendor-configuration %{summary}. # TODO: the deviceinfo xml here should only contain things like model, # vendor, ... -- the supported datatypes are tied in tighly with # the mtp daemon currently, and therefore can't be changed that # easily %files sample-vendor-configuration %defattr(-,root,root,-) %{_datadir}/mtp/*.xml %{_datadir}/mtp/*.ico %config %{_sysconfdir}/fsstorage.d/* %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel %{summary}. %files devel %defattr(-,root,root,-) %{_includedir}/* %{_libdir}/*.so %package sync-plugin Summary: MTP plugin for buteo-sync Group: System/Libraries %description sync-plugin %{summary}. %files sync-plugin %defattr(-,root,root,-) %{_libdir}/buteo-plugins-qt5/*.so %config %{_sysconfdir}/buteo/profiles/server/*.xml %package tests Summary: Tests for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Conflicts: buteo-mtp-tests %description tests %{summary}. %files tests %defattr(-,root,root,-) /opt/tests/buteo-mtp %prep %setup -q %build %qmake5 make %{_smp_mflags} %install make INSTALL_ROOT=%{buildroot} install chmod +x %{buildroot}/%{_bindir}/buteo-mtp mkdir -p %{buildroot}/%{_unitdir}/local-fs.target.wants ln -s ../dev-mtp.mount %{buildroot}/%{_unitdir}/local-fs.target.wants/ # create group if it does not exist yet, though don't remove it # as it should come from other packages %pre groupadd -f -g 1024 mtp groupadd-user mtp %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %changelog * Tue Oct 7 2014 faenil <and.bernabei@gmail.com> - 0.4.7 - [compilation] Fix compilation on glibc 2.19/gcc 4.8 * Thu Sep 18 2014 Slava Monich <monich@users.noreply.github.com> - 0.4.6 - [buteo-mtp] Fix build break * Wed Aug 27 2014 Richard Braakman <richard.braakman@jollamobile.com> - 0.4.5 - [rpm] Also pull in libqt5sparql-tracker * Mon Jul 28 2014 chriadam <chris.adams@jollamobile.com> - 0.4.4 - [buteo-mtp] Fix build break * Thu Jun 12 2014 chriadam <chris.adams@jollamobile.com> - 0.4.3 - [buteo-mtp] Fix build of mtpserver * Mon May 19 2014 Richard Braakman <richard.braakman@jollamobile.com> - 0.4.2 - [tests] fix MTPResponder_test::testSetObjectReferences() - [tests] wait until storages are ready * Tue May 6 2014 Richard Braakman <richard.braakman@jollamobile.com> - 0.4.1 - [fsstorage] ensure absolute FSStoragePlugin::m_storagePath - [fsstorage] ensure storage path exists when instantiating the plugin - [fsstorage] remove legacy PUOID database - [fsstorage] remove unused m_rootFolderPath - [fsstorage] remove unused m_uniqueObjectHandle - [fsstorage] use unique filenames for PUOID databases - [storage] move StoragePlugin::m_storagePath to FsStoragePlugin - [storage] remove HalProxy - [tests] don't link storage-test with libblkid and libmount - [tests] remove some Qt4 legacy in a project file - [W] QCoreApplicationPrivate::QCoreApplicationPrivate:416 - WARNING: \ * Tue Apr 8 2014 Richard Braakman <richard.braakman@jollamobile.com> - 0.4.0 - [mtp] Do the file scan in the background * Thu Mar 27 2014 Jakub Adam <jakub.adam@ktknet.cz> - 0.3.9 - [propertycache] dispose ObjectPropertyCache together with StorageFactory * Mon Mar 17 2014 Richard Braakman <richard.braakman@jollamobile.com> - 0.3.8 - [fsstorage] ignore ObjectProp_Not_Supported from getObjectPropertyValueF... - [fsstorage] ignore ObjectProp_Not_Supported from getObjectPropertyValueFromStorage() * Thu Mar 13 2014 Richard Braakman <richard.braakman@jollamobile.com> - 0.3.7 - [storagefactory] prevent repeating mass queries with getChildPropertyValues() - [tests] add a case testing excessive getChildPropertyValues() call prevention - [tests] add utility StorageFactory_test::m_queryForObjSize - [tests] remember storage root path in StorageFactory_test * Wed Mar 12 2014 Richard Braakman <richard.braakman@jollamobile.com> - 0.3.6 - [build] remove nonexistent ptest.h from HEADERS in test.pro - [deviceinfo] add support for reporting BatteryLevel (0x5001) - [deviceinfo] refactor DeviceInfo::getBatteryLevelForm() - [deviceinfo] remove Buteo::SyncDBusConnection from DeviceInfoProvider - [deviceinfo] send both OS and HW adaptation versions in MTP device info - [doc] Add doc for StorageFactory::getObjectPropertyValue() - [mtp] Don't send undefined properties to initiator in getObjectPropListReq - [mtp] ignore storage ID sent in MTP object info - [mtp] Report battery level as a device property - [mtp] send DevicePropChanged on battery level change - [performance] Reduce number of queries to tracker - [performance] Speed up reading from USB - [propertycache] Abridge ObjectPropertyCache method names - [propertycache] Let ObjectPropertyCache manage its own lifetime - [propertycache] Move handling of ObjectPropertyCache to StorageFactory - [propertycache] Remove ObjectPropertyCache::setAllProps() hint - [propertypod] convert if-else if to switch statement in constructor - [storage] discard object's all cached properties on ObjectInfoChanged - [storage] Factor out storageOfHandle - [storage] (get|set)ObjectPropertyValue aren't private in FsStoragePlugin - [storage] Move getObjectPropertyValue() call out of serializePropList() - [storage] remove filePath argument from StoragePlugin::eventGenerated() - [storage] Remove getFromObjInfo and getDynamically flags from getObjectPropertyValue - [storage] Remove pointless getObjectPropertyValue() call - [storage] Rename serializePropListQuantum -> serializePropList - [storage] Speculative caching of object properties - [tests] Add test case for FSStoragePlugin::getChildPropertyValues() - [tests] add testGetDevicePropValueAfterObjectInfoChanged() - [tests] make StorageFactory_test compile and pass - [tracker] Don't query Tracker for values it doesn't support * Thu Feb 20 2014 Jakub Adam <jakub.adam@ktknet.cz> - 0.3.5.1 - [mtp] fix possible null dereference in MTPResponder::getObjectPropListReq() * Wed Feb 19 2014 Richard Braakman <richard.braakman@jollamobile.com> - 0.3.4 - [packaging] Require libqt5sparql-tracker-direct * Thu Feb 13 2014 Richard Braakman <richard.braakman@jollamobile.com> - 0.3.3 - [mtp] Support initiators that leave mtpParentObject blank * Wed Feb 12 2014 Richard Braakman <richard.braakman@jollamobile.com> - 0.3.2 - [mtp] Support pathless sd card configuration * Tue Feb 4 2014 Richard Braakman <richard.braakman@jollamobile.com> - 0.3.0 - [mtp] Bugfix to GetPartialObject request - [mtp] Fix GetObjectHandles request with multiple storages - [mtp] Let Tracker extract name of the song from file-embedded tags - [ptp] Stable order of object handles - [ptp] Terminate data transfers according to PTP spec - [ptp] Use MTP_ASSOCIATION_TYPE_GenFolder for directories - [tests] Bugfix to testThumbnailer * Thu Jan 16 2014 Richard Braakman <richard.braakman@jollamobile.com> - 0.2.1 - [mtp] Fix possible crash after resetting USB transport. Fixes JB#14031 - [mtp] Load FSStoragePlugin configuration from a file. Fixes JB#9613 * Mon Oct 28 2013 Bernd Wachter <bwachter@lart.info> - 0.2.0 - [mtp] Increase thumbnail capacity * Mon Oct 28 2013 Bernd Wachter <bwachter@lart.info> - 0.1.9 - [mtp] Exclude some dangerous paths from enumeration - [tests] Add unit test for use of thumbnailer * Sat Oct 26 2013 Bernd Wachter <bwachter@lart.info> - 0.1.8 - [mtp protocol] Implement GetPartialObject request - [mtp] Send OperationNotSupported responses where needed - [storageplugin] fix crash in DeleteObject with handle=ALL - [storagetracker] Fix DeleteObject return value for PartialDeletion * Sun Oct 13 2013 Richard Braakman <richard.braakman@jollamobile.com> - 0.1.7 - [mtp] Abort segmented getObject response if session was closed - [mtp] Limit segment buffer size to what USB gadget supports - [usb] Make iothread termination reliable - [usb transport] code cleanup: tidy ControlReaderThread loop - [usb transport] Establish SIGUSR1 handler even when running as a plugin - [usb transport] Fix deactivate() - [usb transport] Fix potential segfault in input buffer handling - [usb transport] Fix wait-race in bulk reader - [usb transport] Handle ESHUTDOWN during write by dropping the packet - [usb transport] Make sure bulkwrite is finished before starting next one - [usb transport] Make sure InterruptWriterThread actually exits - [usb transport] Respond to BIND and UNBIND events * Fri Sep 13 2013 Bernd Wachter <bernd.wachter@jollamobile.com> - 0.1.6 - [mtp] Change MTP home directory path to home - [mtp] Use mkpath instead of mkdir, make sure directories exist - [xdg] Use correct XDG directories for storing files * Fri Aug 30 2013 Bernd Wachter <bwachter@lart.info> - 0.1.5 - [threadio] Make m_statusLock actually protect m_status - [usb transport] Straighten out BulkReaderThread locking - [usb transport] Straighten out InterruptWriter locking * Thu Aug 29 2013 Robin Burchell <viroteck@viroteck.net> - 0.1.4 - [buteo-mtp] Fix multi-core builds. - [buteo-mtp] Remove unused battery level/subscriber. * Tue Aug 27 2013 Bernd Wachter <bernd.wachter@jollamobile.com> - 0.1.3 - [packaging] Add mount script for ffs, re-enable msyncd plugin * Mon Jul 8 2013 Bernd Wachter <bernd.wachter@jollamobile.com> - 0.1.2 - [packaging] Move Qt0SystemInfo to Qt5SystemInfo * Thu Jun 27 2013 Bernd Wachter <bernd.wachter@jollamobile.com> - 0.1.1 - [qt5] Move buteo-mtp to qt5, drop and obsolete qt4 build * Mon Jun 17 2013 Bernd Wachter <bernd.wachter@jollamobile.com> - 0.1.0 - [qt5] Add qt5 packaging, some statefs build fixes - [qt5] Initial batch of changes required for Qt5 port - [qt5] Make buteo-mtp compile with both qt5 and qt4; move to statefs - [tests] Fix DeviceInfoProvider_Test * Fri Apr 19 2013 Bernd Wachter <bernd.wachter@jollamobile.com> - 0.0.46 - [mtp] Add cleanUp function now required by syncfw * Mon Apr 15 2013 Bernd Wachter <bernd.wachter@jollamobile.com> - 0.0.45 - [buteo] Moved to git packaging * Mon Mar 11 2013 Bernd Wachter <bernd.wachter@jollamobile.com> - 0.0.44 - Switch from libqttracker to qtsparql * Fri Feb 1 2013 Bernd Wachter <bernd.wachter@jollamobile.com> - 0.0.43 - Add device icon support * Wed Jan 30 2013 Bernd Wachter <bernd.wachter@jollamobile.com> - 0.0.42 - Fix stalling issue * Fri Jan 25 2013 Bernd Wachter <bernd.wachter@jollamobile.com> - 0.0.41 - Add debug option to service, generating ~/mtp.log - Allow configuration through /etc/default/buteo-mtp and ~/.config/buteo-mtp - Change default device identifications to Nemo - Trap SIGUSR1, preventing premature death of MTP * Thu Jan 24 2013 Bernd Wachter <bernd.wachter@jollamobile.com> - 0.0.40 - Add tumbler dependency to provide thumbnails on request - Fix test cases - Move MTP to user session - Start providing sane deviceinfo * Mon Sep 24 2012 Bernd Wachter <bernd.wachter@jollamobile.com> - 0.0.39 - Update to nemo upstream, contributing to JB#2310 * Sun Aug 5 2012 Bernd Wachter <bernd.wachter@jollamobile.com> - 0.0.38 - Implements JB#1855 - Update to functionfs version * Thu Jun 24 2010 Bernd Wachter <ext-bernd.wachter@nokia.com> - 0.0.36 - Initial RPM version