--- media-hub-0.0.2+14.10.20140710.orig/debian/changelog +++ media-hub-0.0.2+14.10.20140710/debian/changelog @@ -0,0 +1,118 @@ +media-hub (0.0.2+14.10.20140710-0ubuntu1) utopic; urgency=low + + [ Ricardo Mendoza ] + * Increase default timeout for MPRIS handlers. (Author: Alfonso + Sanchez-Beato) + + -- Ubuntu daily release Thu, 10 Jul 2014 12:57:59 +0000 + +media-hub (0.0.2+14.10.20140624.4-0ubuntu3) utopic; urgency=medium + + * apparmor: add missing proc file used by the mediatek soc + + -- Ricardo Salveti de Araujo Tue, 01 Jul 2014 11:16:54 +0800 + +media-hub (0.0.2+14.10.20140624.4-0ubuntu2) utopic; urgency=medium + + * debian/usr.bin.media-hub-server: + - allow create of ~/.cache/gstreamer*/ + - allow ix for gst-plugin-scanner + - allow playing of camera_click.ogg + - allow us to ptrace read ourselves + + -- Jamie Strandboge Thu, 26 Jun 2014 22:55:41 -0500 + +media-hub (0.0.2+14.10.20140624.4-0ubuntu1) utopic; urgency=low + + [ Alberto Aguirre ] + * Use new interface for keeping display on. + + -- Ubuntu daily release Tue, 24 Jun 2014 22:34:29 +0000 + +media-hub (0.0.2+14.10.20140521-0ubuntu1) utopic; urgency=low + + [ Jim Hodapp ] + * Whitelist gallery app to be able to play media in ~/Videos and + ~/Music unti the trusted helper is ready + + -- Ubuntu daily release Wed, 21 May 2014 08:40:05 +0000 + +media-hub (0.0.2+14.10.20140520.1-0ubuntu1) utopic; urgency=low + + [ Oliver Grawert ] + * make sure media-hub-server only starts on real ubuntu-touch sessions (i.e. + not in the new unity8 desktop session which lacks the codecs) + (LP: 1321204) + + -- Ubuntu daily release Tue, 20 May 2014 11:59:10 +0000 + +media-hub (0.0.2+14.10.20140507-0ubuntu1) utopic; urgency=medium + + [ Ricardo Mendoza ] + * Toolchain change, patch version bump. + + -- Ubuntu daily release Wed, 07 May 2014 10:49:50 +0000 + +media-hub (0.0.1+14.10.20140430-0ubuntu1) utopic; urgency=medium + + [ Sergio Schvezov ] + * Repackaging from original music-hub. + * Polishing packaging. + * Enable the position property for getting the current playback + position. Added duration to the dbus interface. Also added a service + acceptance test for position and duration. + * Make sure seek_to sends a reply to the client. Disabled + position/duration test for now. + + [ Jim Hodapp ] + * Modify directory structure to be generic media-hub instead of music- + specific. + * Added README file which describes how to build and how to run the + tests. Also changed the namespaces to be the more general + core::ubuntu::media instead of music-specific. + * Removed com directory since it's no longer needed. All source under + com was moved to core. + * Removed com include directory since it's no longer needed. All + source under com was moved to core. + * Enable adding a videosink to the playbin pipeline. Added a couple of + unit tests that test hardware decoding/software rendering, pause, + play, seek and stop. + * Added a very simple media-hub-server, which is the server side of + the dbus MPRIS interface. Will fill this out more in the future to + make it a full daemon. + * Merged with EOS branch from tvoss. Added on_frame_available listener + and callback. Create a decoding session and pass it to the hybris + layer. Allow playback to work again after a client quits or dies. + Added two new properties to see if the opened media is video or + audio. Background playlist support. Add powerd control interface. + One Engine instance per PlayerImplementation instance instead of one + global Engine instance. Pause other playing sessions when starting + playback of a new foreground player. Emit a PlaybackStatusChanged + signal so that qtubuntu-media knows when PlaybackStatus changes from + underneath it. Use GST_SEEK_FLAG_KEY_UNIT instead because seeking + doesn't perform well enough with GST_SEEK_FLAG_ACCURATE . + + [ thomas-voss ] + * Ramp up acceptance testing. + * WIP. + * Add stub and skeleton implementations. + * Add first wave of acceptance tests and ensure that they are passing. + * More refactoring of local spike. + * More tests passing. + * Add missing build dep on google-mock. + * Add missing build-dependency on libgstreamer1.0-dev. + * Add missing build dependencies. + * Fix build dependencies on libboost-system-dev. Disable two failing + tests. + * Add build-dependency on libboost-program-options-dev. + * Add fakesink for testing purposes. + * Ensure that the audio sink is set to a fake sink for unit testing + purposes. + * Merged lp:~thomas-voss/media-hub/switch-to-properties-cpp + + [ Thomas Voß ] + * Initial commit. + * Added packaging setup. + * Add backend and server implementation headers. + + -- Ubuntu daily release Wed, 30 Apr 2014 01:16:41 +0000 --- media-hub-0.0.2+14.10.20140710.orig/debian/compat +++ media-hub-0.0.2+14.10.20140710/debian/compat @@ -0,0 +1 @@ +9 --- media-hub-0.0.2+14.10.20140710.orig/debian/control +++ media-hub-0.0.2+14.10.20140710/debian/control @@ -0,0 +1,95 @@ +Source: media-hub +Priority: optional +Section: libs +Maintainer: Ubuntu Developers +Build-Depends: cmake, + dbus-test-runner, + debhelper (>= 9), + dh-apparmor, + doxygen, + google-mock, + graphviz, + gstreamer1.0-plugins-good, + gstreamer1.0-fluendo-mp3, + libboost-dev (>=1.53), + libboost-filesystem-dev (>=1.53), + libboost-program-options-dev (>=1.53), + libboost-system-dev (>=1.53), + libdbus-1-dev, + libdbus-cpp-dev (>= 3.0.0), + libgoogle-glog-dev, + libhybris-dev (>=0.1.0+git20131207+e452e83-0ubuntu13), + libprocess-cpp-dev, + libproperties-cpp-dev, + gstreamer1.0-libav, + libgstreamer1.0-dev, + pkg-config, +Standards-Version: 3.9.5 +Homepage: https://launchpad.net/media-hub +# If you aren't a member of ~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/media-hub/trunk + +Package: libmedia-hub-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Pre-Depends: dpkg (>= 1.15.6~) +Depends: libmedia-hub-common0 (= ${binary:Version}), + libmedia-hub-client0 (= ${binary:Version}), + ${misc:Depends}, + libproperties-cpp-dev, +Suggests: libmedia-hub-doc +Description: Simple and lightweight media playback service - development files + Media Hub is a simple and lightweight service for media playback using + DBus. + . + This package contains the development files. + +Package: media-hub +Architecture: any +Pre-Depends: dpkg (>= 1.15.6~) +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Suggests: apparmor (>= 2.8.95~2430-0ubuntu4~) +Description: Simple and lightweight media playback service + Media Hub is a simple and lightweight service for media playback using + DBus. + . + This package contains the runtime. + +Package: libmedia-hub-common0 +Architecture: any +Multi-Arch: same +Pre-Depends: dpkg (>= 1.15.6~) +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Description: Simple and lightweight media playback service + Media Hub is a simple and lightweight service for media playback using + DBus. + . + This package contains the common libraries. + +Package: libmedia-hub-client0 +Architecture: any +Multi-Arch: same +Pre-Depends: dpkg (>= 1.15.6~) +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Description: Simple and lightweight media playback service + Media Hub is a simple and lightweight service for media playback using + DBus. + . + This package contains the client libraries. + +Package: libmedia-hub-doc +Section: doc +Architecture: all +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Recommends: libmedia-hub-dev +Description: Simple and lightweight media playback service - documentation + Media Hub is a simple and lightweight service for media playback using + DBus. + . + This package contains the documentation. --- media-hub-0.0.2+14.10.20140710.orig/debian/copyright +++ media-hub-0.0.2+14.10.20140710/debian/copyright @@ -0,0 +1,22 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: media-hub +Source: https://launchpad.net/media-hub + +Files: * +Copyright: 2013 Canonical Ltd. +License: LGPL-3.0 + 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; either + 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 General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". --- media-hub-0.0.2+14.10.20140710.orig/debian/libmedia-hub-client0.install +++ media-hub-0.0.2+14.10.20140710/debian/libmedia-hub-client0.install @@ -0,0 +1 @@ +usr/lib/*/libmedia-hub-client.so.* --- media-hub-0.0.2+14.10.20140710.orig/debian/libmedia-hub-common0.install +++ media-hub-0.0.2+14.10.20140710/debian/libmedia-hub-common0.install @@ -0,0 +1 @@ +usr/lib/*/libmedia-hub-common.so.* --- media-hub-0.0.2+14.10.20140710.orig/debian/libmedia-hub-common0.symbols +++ media-hub-0.0.2+14.10.20140710/debian/libmedia-hub-common0.symbols @@ -0,0 +1,26 @@ +libmedia-hub-common.so.0 libmedia-hub-common0 #MINVER# + (c++)"the_session_bus()@Base" 0.0.1 + (c++)"std::shared_ptr::~shared_ptr()@Base" 0.0.1 + (c++)"std::shared_ptr::~shared_ptr()@Base" 0.0.1 + (c++)"std::shared_ptr::~shared_ptr()@Base" 0.0.1 + (c++)"std::shared_ptr::~shared_ptr()@Base" 0.0.1 + (c++)"std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_destroy()@Base" 0.0.1 + (c++)"std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::~_Sp_counted_base()@Base" 0.0.1 + (c++)"std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::~_Sp_counted_base()@Base" 0.0.1 + (c++)"std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::~_Sp_counted_base()@Base" 0.0.1 + (c++)"std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_M_destroy()@Base" 0.0.1 + (c++)"std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_M_dispose()@Base" 0.0.1 + (c++)"std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_M_get_deleter(std::type_info const&)@Base" 0.0.1 + (c++)"std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_ptr_inplace()@Base" 0.0.1 + (c++)"std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_ptr_inplace()@Base" 0.0.1 + (c++)"std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_ptr_inplace()@Base" 0.0.1 + (c++)"typeinfo for std::_Mutex_base<(__gnu_cxx::_Lock_policy)2>@Base" 0.0.1 + (c++)"typeinfo for std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>@Base" 0.0.1 + (c++)"typeinfo for std::_Sp_make_shared_tag@Base" 0.0.1 + (c++)"typeinfo for std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>@Base" 0.0.1 + (c++)"typeinfo name for std::_Mutex_base<(__gnu_cxx::_Lock_policy)2>@Base" 0.0.1 + (c++)"typeinfo name for std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>@Base" 0.0.1 + (c++)"typeinfo name for std::_Sp_make_shared_tag@Base" 0.0.1 + (c++)"typeinfo name for std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>@Base" 0.0.1 + (c++)"vtable for std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>@Base" 0.0.1 + (c++)"vtable for std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>@Base" 0.0.1 --- media-hub-0.0.2+14.10.20140710.orig/debian/libmedia-hub-dev.install +++ media-hub-0.0.2+14.10.20140710/debian/libmedia-hub-dev.install @@ -0,0 +1,2 @@ +usr/include +usr/lib/*/lib*.so --- media-hub-0.0.2+14.10.20140710.orig/debian/libmedia-hub-doc.install +++ media-hub-0.0.2+14.10.20140710/debian/libmedia-hub-doc.install @@ -0,0 +1 @@ +usr/share/doc/music-hub/html --- media-hub-0.0.2+14.10.20140710.orig/debian/libmedia-hub-doc.lintian-overrides +++ media-hub-0.0.2+14.10.20140710/debian/libmedia-hub-doc.lintian-overrides @@ -0,0 +1 @@ +libmedia-hub-doc: embedded-javascript-library --- media-hub-0.0.2+14.10.20140710.orig/debian/media-hub.conf +++ media-hub-0.0.2+14.10.20140710/debian/media-hub.conf @@ -0,0 +1,9 @@ +description "Starts the media-hub service" + +start on started dbus and xsession SESSION=ubuntu-touch +stop on runlevel [06] + +respawn +respawn limit unlimited + +exec media-hub-server --- media-hub-0.0.2+14.10.20140710.orig/debian/media-hub.install +++ media-hub-0.0.2+14.10.20140710/debian/media-hub.install @@ -0,0 +1,3 @@ +debian/media-hub.conf /usr/share/upstart/sessions/ +debian/usr.bin.media-hub-server etc/apparmor.d +usr/bin --- media-hub-0.0.2+14.10.20140710.orig/debian/media-hub.lintian-overrides +++ media-hub-0.0.2+14.10.20140710/debian/media-hub.lintian-overrides @@ -0,0 +1 @@ +media-hub: binary-without-manpage --- media-hub-0.0.2+14.10.20140710.orig/debian/rules +++ media-hub-0.0.2+14.10.20140710/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 + +export DPKG_GENSYMBOLS_CHECK_LEVEL=4 + +%: + dh $@ --fail-missing -- -B build + +override_dh_auto_test: + env -u LD_PRELOAD dh_auto_test + +override_dh_installdeb: + dh_apparmor --profile-name=usr.bin.media-hub-server -pmedia-hub + dh_installdeb --- media-hub-0.0.2+14.10.20140710.orig/debian/usr.bin.media-hub-server +++ media-hub-0.0.2+14.10.20140710/debian/usr.bin.media-hub-server @@ -0,0 +1,115 @@ +#include + +/usr/bin/media-hub-server (attach_disconnected) { + #include + #include + #include + #include + #include + #include + #include "/usr/share/apparmor/hardware/audio.d" + #include "/usr/share/apparmor/hardware/graphics.d" + #include "/usr/share/apparmor/hardware/video.d" + + deny /dev/cpuctl/apps/tasks w, + deny /dev/cpuctl/apps/bg_non_interactive/tasks w, + + @{PROC}/interrupts r, + owner @{PROC}/cmdline r, + owner @{PROC}/[0-9]*/auxv r, + owner @{PROC}/[0-9]*/fd/ r, + owner @{PROC}/[0-9]*/status r, + owner @{PROC}/[0-9]*/task/ r, + owner @{PROC}/[0-9]*/task/[0-9]*/ r, + owner @{PROC}/[0-9]*/cmdline r, + + # specific to the mediatek soc + @{PROC}/xlog/setfil r, + @{PROC}/M4U_device r, + /dev/Vcodec rw, + /sys/bus/platform/drivers/** rw, + /{,android/}system/etc/mtk_omx_core.cfg r, + + /sys/kernel/debug/tracing/trace_marker w, + /dev/ashmem rw, + + ptrace (read) peer=@{profile_name}, + + # Explicitly deny this-- it is not needed + /dev/fb0 rw, + + # libhybris + /{,var/}run/shm/hybris_shm_data rw, + /usr/lib/@{multiarch}/libhybris/*.so mr, + /{,android/}system/build.prop r, + # These libraries can be in any of: + # /vendor/lib + # /system/lib + # /system/vendor/lib + # /android/vendor/lib + # /android/system/lib + # /android/system/vendor/lib + /{,android/}vendor/lib/** r, + /{,android/}vendor/lib/**.so m, + /{,android/}system/lib/** r, + /{,android/}system/lib/**.so m, + /{,android/}system/vendor/lib/** r, + /{,android/}system/vendor/lib/**.so m, + + # attach_disconnected path + /dev/socket/property_service rw, + + # Android logging triggered by platform. Can safely deny + deny /dev/log_main w, + deny /dev/log_radio w, + deny /dev/log_events w, + deny /dev/log_system w, + + # Allow all access to powerd for now, but we can fine-tune this if needed + dbus (receive, send) + bus=system + path=/com/canonical/powerd + interface=com.canonical.powerd, + + dbus (receive, send) + bus=system + path=/com/canonical/Unity/Screen + interface=com.canonical.Unity.Screen, + + owner @{HOME}/.gstreamer*/registry.*.bin* rw, + owner @{HOME}/.gstreamer*/ rw, + owner @{HOME}/.cache/gstreamer*/ rw, + owner @{HOME}/.cache/gstreamer*/registry.*.bin* rw, + /usr/lib/@{multiarch}/gstreamer*/gstreamer*/gst-plugin-scanner ix, + + /{,android/}system/etc/media_codecs.xml r, + /etc/wildmidi/wildmidi.cfg r, + + audit deny owner /** m, + + # Allow read on all directories + /**/ r, + + # camera click + /{,android/}system/media/audio/ui/camera_click.ogg r, + + # Allow read on click install directories, removable media and files in + # /usr/local/share. + /usr/share/** r, + /usr/local/share/** r, + /{media,mnt,opt,srv}/** r, + + # Allow reading any files in non-hidden directories + owner @{HOME}/[^.]* rk, + owner @{HOME}/[^.]*/ rk, + owner @{HOME}/[^.]*/** rk, + + # Allow reading files in XDG directories (ie, where apps are allowed to + # write) + owner @{HOME}/.cache/** rk, + owner @{HOME}/.local/share/** rk, + owner /{,var/}run/user/[0-9]*/** rk, + + # Site-specific additions and overrides. See local/README for details. + #include +}