--- media-hub-4.1.0+16.04.20160307.1.orig/debian/VERSION +++ media-hub-4.1.0+16.04.20160307.1/debian/VERSION @@ -0,0 +1 @@ +5.0.0 \ No newline at end of file --- media-hub-4.1.0+16.04.20160307.1.orig/debian/VERSION.vivid +++ media-hub-4.1.0+16.04.20160307.1/debian/VERSION.vivid @@ -0,0 +1 @@ +4.1.0 \ No newline at end of file --- media-hub-4.1.0+16.04.20160307.1.orig/debian/changelog +++ media-hub-4.1.0+16.04.20160307.1/debian/changelog @@ -0,0 +1,857 @@ +media-hub (4.1.0+16.04.20160307.1-0ubuntu1) xenial; urgency=medium + + * Only call encode_uri() for local files, pass everything else + straight through unmodified. (LP: #1546963) + + -- Jim Hodapp Mon, 07 Mar 2016 21:07:12 +0000 + +media-hub (4.1.0+16.04.20160223-0ubuntu1) xenial; urgency=medium + + * Add apparmor exception to media-hub for unity8 (LP: #1419829) + + -- Jim Hodapp Tue, 23 Feb 2016 17:22:11 +0000 + +media-hub (4.1.0+16.04.20160222-0ubuntu1) xenial; urgency=medium + + * Make sure to interpret the incoming path as a URI which makes sure + media-hub will always be able to open the track with an encoded URI + (LP: #1449790) + + -- Jim Hodapp Mon, 22 Feb 2016 18:59:52 +0000 + +media-hub (4.1.0+16.04.20160127-0ubuntu1) xenial; urgency=medium + + [ Simon Fels ] + * Don't depend on a specific hybris version anymore. + + [ Thomas Voß ] + * Adjust apparmor profile to enable flawless audio/video playback. + + -- Thomas Voß Wed, 27 Jan 2016 07:23:49 +0000 + +media-hub (4.1.0+16.04.20160115.1-0ubuntu1) xenial; urgency=medium + + * Make sure that an apparmor profile_name of the format com.ubuntu.my- + app is supported as well as improve the error handling and reporting + for when a client does not have the proper apparmor permissions to + play a given media URI (LP: #1533779) + + -- Jim Hodapp Fri, 15 Jan 2016 15:44:54 +0000 + +media-hub (4.1.0+16.04.20160104-0ubuntu1) xenial; urgency=medium + + * Enable dual landings. + + -- Thomas Voß Mon, 04 Jan 2016 08:30:37 +0000 + +media-hub (4.1.0+16.04.20151221-0ubuntu1) xenial; urgency=medium + + * Fix bug #1479036 which prevents the out_of_range exception from + causing media-hub-server from crashing when a player key is not + found (LP: #1479036) + + -- Jim Hodapp Mon, 21 Dec 2015 18:55:55 +0000 + +media-hub (4.1.0+15.10.20151016.1-0ubuntu1) wily; urgency=medium + + [ Simon Fels ] + * Prevent us from leaking file descriptors and memory due to not releasing + gstreamer elements correctly. + + [ Alfonso Sanchez-Beato ] + * Avoid getting additional references for audio_sink, which were not + being freed. Also, remove unneeded unrefs that must be performed in + gstreamer instead. + * Emit CanPlay, CanPause, and CanGo[Next|Previous] in the mpris object path + + [ Jim Hodapp ] + * Make sure the correct player is set as the current player controled by + MPRIS. + * Improved the can_go_next() and can_go_previous() logic to always return + true if the loop_status is currently set to loop over the entire + playlist. + + + [ CI Train Bot ] + * No-change rebuild. + + -- Alfonso Sanchez-Beato Fri, 16 Oct 2015 08:42:28 +0000 + +media-hub (4.0.0+15.10.20150907-0ubuntu1) wily; urgency=medium + + * Gather information about missing codecs and selected streams from + gstreamer so we have more information on whether we should play the + video or not. + + -- Alfonso Sanchez-Beato Mon, 07 Sep 2015 10:26:04 +0000 + +media-hub (4.0.0+15.10.20150903-0ubuntu1) wily; urgency=medium + + [ Alfonso Sanchez-Beato ] + * [ Jim Hodapp ] Support for background playlists removed: + src/core/media/null_track_list.h + + -- CI Train Bot Thu, 03 Sep 2015 07:33:09 +0000 + +media-hub (4.0.0+15.10.20150901.1-0ubuntu1) wily; urgency=medium + + [ Alfonso Sanchez-Beato (email Canonical) ] + * Sync trunk + + [ Justin McPherson ] + * Add https to allowed URI schemes for contained applications. + + -- CI Train Bot Tue, 01 Sep 2015 08:46:00 +0000 + +media-hub (4.0.0+15.04.20151209-0ubuntu1) vivid; urgency=medium + + * Set gstreamer context directly instead of using gobject to + communicate with the video sink + + -- Alfonso Sanchez-Beato Wed, 09 Dec 2015 06:49:28 +0000 + +media-hub (4.0.0+15.04.20151202-0ubuntu1) vivid; urgency=medium + + [ CI Train Bot ] + * No-change rebuild. + + -- Thomas Voß Wed, 02 Dec 2015 07:40:41 +0000 + +media-hub (4.0.0+15.04.20151118.1-0ubuntu1) vivid; urgency=medium + + [ Jim Hodapp ] + * Added move_track and various fixes for TrackList. + * Major bump for new TrackList API changes. + + [ Alfonso Sanchez-Beato ] + * Make sure our iterator for the current track points to the right + place when (un)shuffling (LP #1510219). Fix crash when client tries + to set the player for a non-existing key. Do not add empty URIs to + the list (LP: #1511029). (LP: #1511073, #1511385, #1510219, + #1510227, #1511029) + + -- Jim Hodapp Wed, 18 Nov 2015 18:36:18 +0000 + +media-hub (4.0.0-0ubuntu1) wily; urgency=medium + + * Bump major revision to account for toolchain update. Fixes LP:#1452331 + + -- Thomas Voß Thu, 23 Jul 2015 08:47:21 +0200 + +media-hub (3.3.0+15.04.20151023.3-0ubuntu2) UNRELEASED; urgency=medium + + * Force rebuild against dbus-cpp. + + -- Thomas Voß Tue, 17 Nov 2015 09:37:46 +0100 + +media-hub (3.3.0+15.04.20151023.3-0ubuntu1) vivid; urgency=medium + + [ Jim Hodapp ] + * Add batch adding of tracks to the TrackList. + + [ CI Train Bot ] + * New rebuild forced. + + -- Jim Hodapp Fri, 23 Oct 2015 19:07:52 +0000 + +media-hub (3.1.0+15.10.20150724-0ubuntu1) wily; urgency=medium + + [ Alfonso Sanchez-Beato (email Canonical) ] + * Set gstreamer context directly instead of using gobject to communicate + with the video sink. + + -- CI Train Bot Fri, 24 Jul 2015 14:54:21 +0000 + +media-hub (3.1.0+15.10.20150710-0ubuntu1) wily; urgency=medium + + [ CI Train Bot ] + * New rebuild forced. + + [ Jim Hodapp ] + * Only send the video_dimensions_changed signal if the dimensions + actually changed. Also, no longer need is_eos flag. + + -- CI Train Bot Fri, 10 Jul 2015 18:12:21 +0000 + +media-hub (3.1.0+15.10.20150604-0ubuntu1) wily; urgency=medium + + [ CI Train Bot ] + * New rebuild forced. + + [ Jim Hodapp ] + * Handle a wider array of GStreamer errors so that .ogv files are + reported as failing to play. (LP: #1458040) + + -- CI Train Bot Thu, 04 Jun 2015 14:18:22 +0000 + +media-hub (3.1.0+15.10.20150601-0ubuntu1) wily; urgency=medium + + [ CI Train Bot ] + * New rebuild forced. + + [ Jim Hodapp ] + * Add next/previous track implementation for the Player and + can_go_next/previous. + + -- CI Train Bot Mon, 01 Jun 2015 16:31:53 +0000 + +media-hub (3.1.0+15.10.20150527.1-0ubuntu1) wily; urgency=medium + + [ CI Train Bot ] + * New rebuild forced. + + [ Jim Hodapp ] + * Use try_lock() instead of a lock_guard to fail gracefully from rare + deadlock situations. (LP: #1457129) + + -- CI Train Bot Wed, 27 May 2015 18:38:16 +0000 + +media-hub (3.1.0+15.10.20150522-0ubuntu1) wily; urgency=medium + + [ Jim Hodapp ] + * Fix issues with not reporting failed decoding error to the client. + (LP: #1435088) + + -- CI Train Bot Fri, 22 May 2015 17:36:27 +0000 + +media-hub (3.1.0+15.04.20150511-0ubuntu1) vivid; urgency=medium + + [ Jim Hodapp ] + * Make sure recorded videos are able to play. (LP: #1451816) + + -- CI Train Bot Mon, 11 May 2015 19:52:34 +0000 + +media-hub (3.1.0+15.04.20150427.3-0ubuntu1) vivid; urgency=medium + + [ CI Train Bot ] + * New rebuild forced. + + [ Jim Hodapp ] + * Reset the tracklist everytime a client app calls open_uri() and + disabling mpris interface by default (LP: #1449213) (LP: #1449213) + + [ Ricardo Mendoza ] + * Reset the tracklist everytime a client app calls open_uri() and + disabling mpris interface by default (LP: #1449213) (LP: #1449213) + + -- CI Train Bot Mon, 27 Apr 2015 23:33:13 +0000 + +media-hub (3.1.0+15.04.20150420.1-0ubuntu1) vivid; urgency=medium + + [ Ricardo Mendoza ] + * Support for signalling player reconnection up the stack. + + [ CI Train Bot ] + * New rebuild forced. + + [ Jim Hodapp ] + * Implements the backend portion of TrackLists required to allow + clients to be able to hand off a playlist to media-hub and keep + playing music in order, shuffled and/or looped without the app being + in the foreground + + -- CI Train Bot Mon, 20 Apr 2015 17:56:09 +0000 + +media-hub (3.0.0+15.04.20150402-0ubuntu1) vivid; urgency=medium + + [ Jim Hodapp ] + * Fix the bug which caused music playback to start playing again after + a phonecall hung up after being auto-paused by disconnecting a + headphone jack. + + -- CI Train Bot Thu, 02 Apr 2015 16:43:42 +0000 + +media-hub (3.0.0+15.04.20150320-0ubuntu1) vivid; urgency=medium + + [ Thomas Voss ] + * Refactor client-facing interfaces to pull out explicit dependency on hybris-based media layer. + + [ CI Train Bot ] + * New rebuild forced. + + [ Jim Hodapp ] + * Disconnect playback_status_changed_signal in ~Private() to avoid a + deadlock. + * Prevent a 0 position from being reported to the app which happens + while seeking. Covers bad behavior that happens from GStreamer. Also + expose the about_to_finish signal to the client. Enable playback + again after manually seeking all the way to EOS. Also only send + VideoDimensionsChanged signal only when necessary. + + [ Ricardo Mendoza ] + * Add an interface apparmor::ubuntu::RequestAuthenticator that is used + to authenticate incoming open uri requests. Add an interface + apparmor::ubuntu::RequestContextResolver that is used to resolve a + dbus name to an apparmor::ubuntu::Context. Provide an implementation + apparmor::ubuntu::ExistingAuthenticator that takes the impl. from + player_skeleton.cpp and uses it to implement the interface. Provide + an implementation apparmor::ubuntu::RequestContextResolver that + reaches out to the dbus daemon to resolve a given bus name to an + apparmor profile. Remove obsolete query for the apparmor profile in + ServiceSkeleton. Adjust the implementation in media::PlayerSkeleton + to rely on Request{Authenticator, ContextResolver}. removed: + src/core/media/apparmor.h added: src/core/media/apparmor/ + src/core/media/apparmor/context.cpp + src/core/media/apparmor/context.h src/core/media/apparmor/dbus.h + src/core/media/apparmor/ubuntu.cpp src/core/media/apparmor/ubuntu.h + * Introduce an interface media::audio::OutputObserver that allows the + core classes to observer the state of external audio outputs + (headphones/headsets). Provide an implementation of + media::audio::OutputObserver that relies on Pulseaudio to monitor + the availability of ports on the default sink. Adjust + media::ServiceImplementation to use media::audio::OutputObserver, + defaulting to media::audio::PulseAudioOutputObserver. + * Migrate all Player DBus methods to use transact_method() instead of + invoke_method_synchronously(), to prevent bus executor deadlocks. + + [ Ricardo Salveti de Araujo ] + * Add an interface apparmor::ubuntu::RequestAuthenticator that is used + to authenticate incoming open uri requests. Add an interface + apparmor::ubuntu::RequestContextResolver that is used to resolve a + dbus name to an apparmor::ubuntu::Context. Provide an implementation + apparmor::ubuntu::ExistingAuthenticator that takes the impl. from + player_skeleton.cpp and uses it to implement the interface. Provide + an implementation apparmor::ubuntu::RequestContextResolver that + reaches out to the dbus daemon to resolve a given bus name to an + apparmor profile. Remove obsolete query for the apparmor profile in + ServiceSkeleton. Adjust the implementation in media::PlayerSkeleton + to rely on Request{Authenticator, ContextResolver}. removed: + src/core/media/apparmor.h added: src/core/media/apparmor/ + src/core/media/apparmor/context.cpp + src/core/media/apparmor/context.h src/core/media/apparmor/dbus.h + src/core/media/apparmor/ubuntu.cpp src/core/media/apparmor/ubuntu.h + * Move src/core/media/call-monitor to src/core/media/telephony. + Introduce a proper interface media::telephony::CallMonitor. Slightly + adjust existing implementation based on Qt. Adjust + media::ServiceImplementation to account for changes in + media::telephony::CallMonitor. + + [ thomas-voss ] + * Add an interface apparmor::ubuntu::RequestAuthenticator that is used + to authenticate incoming open uri requests. Add an interface + apparmor::ubuntu::RequestContextResolver that is used to resolve a + dbus name to an apparmor::ubuntu::Context. Provide an implementation + apparmor::ubuntu::ExistingAuthenticator that takes the impl. from + player_skeleton.cpp and uses it to implement the interface. Provide + an implementation apparmor::ubuntu::RequestContextResolver that + reaches out to the dbus daemon to resolve a given bus name to an + apparmor profile. Remove obsolete query for the apparmor profile in + ServiceSkeleton. Adjust the implementation in media::PlayerSkeleton + to rely on Request{Authenticator, ContextResolver}. removed: + src/core/media/apparmor.h added: src/core/media/apparmor/ + src/core/media/apparmor/context.cpp + src/core/media/apparmor/context.h src/core/media/apparmor/dbus.h + src/core/media/apparmor/ubuntu.cpp src/core/media/apparmor/ubuntu.h + * Add an interface media::ClientDeathObserver that abstracts away + receiving key-based death notifications for clients associated to + media::Player instances server-side Provide an implementation + media::HybrisClientDeathObserver that relies on hybris and + ultimately on Android's onBinderDied to receive death notifications. + Adjust media::PlayerStub and media::PlayerImplementation to account + for the new interface. Adjust the CMake setup for tests to link + media-hub-service instead of recompiling large parts of the + implementation classes. + * Decouple PlayerSkeleton and PlayerImplementation by making + PlayerImplementation being able to inherit from arbitrary base + classes, as long as they provide the set of properties and signals + defined by media::Player. + * Decouple the ServiceSkeleton from the ServiceImplementation by + introducing a common interface media::KeyedPlayerStore for storing + running Player sessions indexed by the Player::Key. Provide a + default implementation HashedKeyedPlayerStore relying on a hash map + for keeping track of player instances. Adjust implementation to + account for ServiceImplementation no longer inheriting from + ServiceSkeleton. + * Introduce a common class media::helper::ExternalHelpers that + provides a convenient way to: + * Introduce an interface media::RecorderObserver that allows the core + classes to monitor the overall state of the system. Provide an + implementation of media::RecorderObserver relying on Hybris to + interface with the Android side. Adjust the ServiceImplementation to + connect to the platform-default media::RecorderObserver. + * Introduce an interface media::audio::OutputObserver that allows the + core classes to observer the state of external audio outputs + (headphones/headsets). Provide an implementation of + media::audio::OutputObserver that relies on Pulseaudio to monitor + the availability of ports on the default sink. Adjust + media::ServiceImplementation to use media::audio::OutputObserver, + defaulting to media::audio::PulseAudioOutputObserver. + * Introduce an interface media::power::BatteryObserver to monitor the + current battery level of the system. The core reacts to low/very low + battery levels by pausing all multimedia playback sessions and + resumes them whenever the user has been notified of the critical + battery level. Provide an implementation of + media::power::BatteryObserver using + com.canonical.indicator.power.Battery. Adjust + media::ServiceImplementation to use media::power::BatteryObserver. + * Move gstreamer::Playbin implementation to its own cpp file, thus + internalizing the Hybris setup portions. Make sure that media-hub- + service knows about + media::Player::Error::OutOfProcessBufferStreamingNotSupported by + linking with media-hub-client. + * Move src/core/media/call-monitor to src/core/media/telephony. + Introduce a proper interface media::telephony::CallMonitor. Slightly + adjust existing implementation based on Qt. Adjust + media::ServiceImplementation to account for changes in + media::telephony::CallMonitor. + * Replace home-grown mask type for the video size with a std::tuple, + i.e., media::video::Dimensions. Introduce a simple TaggedInteger + class to distinguish between Width, Height and other dimensions. + Adjust interfaces of media::Player to rely on the new type. Adjust + implementation classes to account for interface changes. Adjust + Codec implementation for sending the tagged integer via the bus. + Adjust gstreamer::Engine and gstreamer::Playbin to hand out the + correct types. + + -- CI Train Bot Fri, 20 Mar 2015 13:16:48 +0000 + +media-hub (2.0.0+15.04.20150303-0ubuntu2) vivid; urgency=medium + + * debian/control: + - Removing pre-depends that are not required + - Bumping standards-version to 3.9.6 + + -- Ricardo Salveti de Araujo Thu, 12 Mar 2015 00:05:27 -0300 + +media-hub (2.0.0+15.04.20150303-0ubuntu1) vivid; urgency=medium + + [ Ricardo Salveti de Araujo ] + * Migrating tests to use ogg instead of mp3/avi removed: + tests/h264.avi tests/test.mp3 added: tests/test-audio-1.ogg + tests/test-video.ogg tests/test.mp3 renamed: tests/test.ogg => + tests/test-audio.ogg + + -- CI Train Bot Tue, 03 Mar 2015 22:56:52 +0000 + +media-hub (2.0.0+15.04.20150120-0ubuntu1) vivid; urgency=low + + [ Jim Hodapp ] + * Error reporting all the way up to the app level from the playbin + pipeline. + + [ Ubuntu daily release ] + * New rebuild forced + + -- Ubuntu daily release Tue, 20 Jan 2015 01:21:47 +0000 + +media-hub (2.0.0+15.04.20150116-0ubuntu1) vivid; urgency=low + + [ Jim Hodapp ] + * Don't auto-resume playback of videos after a phone call ends. (LP: + #1411273) + + -- Ubuntu daily release Fri, 16 Jan 2015 18:17:56 +0000 + +media-hub (2.0.0+15.04.20150112.2-0ubuntu1) vivid; urgency=low + + [ Ubuntu daily release ] + * New rebuild forced + + [ Ricardo Salveti de Araujo ] + * service_implementation: adding debug for call started/ended signals. + Make sure account and connection are available when setting up + account manager (patch from Gustavo Boiko). call_monitor: don't + check caps when hooking up on/off signals, until bug 1409125 is + fixed. Enable parallel building . (LP: #1409125) + + -- Ubuntu daily release Mon, 12 Jan 2015 21:38:39 +0000 + +media-hub (2.0.0+15.04.20150108-0ubuntu1) vivid; urgency=low + + [ Jim Hodapp ] + * Pause playback when recording begins. (LP: #1398047) + + [ Ricardo Salveti de Araujo ] + * call_monitor.cpp: waiting for bridge to be up, and also protecting + the on_change call (LP: #1408137) + + -- Ubuntu daily release Thu, 08 Jan 2015 12:58:01 +0000 + +media-hub (2.0.0+15.04.20141126.2-0ubuntu1) vivid; urgency=low + + [ Jim Hodapp ] + * Resubmitting with prerequisite branch (LP: #1331041) + + [ Justin McPherson ] + * Resubmitting with prerequisite branch (LP: #1331041) + + -- Ubuntu daily release Wed, 26 Nov 2014 14:46:09 +0000 + +media-hub (2.0.0+15.04.20141120.1-0ubuntu1) vivid; urgency=low + + [ Jim Hodapp ] + * Pause playback when a headphone is unplugged or an A2DP device is + unpaired (LP: #1368300) + + [ Ricardo Mendoza ] + * Pause playback when a headphone is unplugged or an A2DP device is + unpaired (LP: #1368300) + + -- Ubuntu daily release Thu, 20 Nov 2014 18:33:08 +0000 + +media-hub (2.0.0+15.04.20141111-0ubuntu1) vivid; urgency=low + + [ Ubuntu daily release ] + * New rebuild forced + + [ Justin McPherson ] + * #1239432 Music fails to pause on incoming/outgoing calls (LP: + #1239432) + + -- Ubuntu daily release Tue, 11 Nov 2014 20:18:50 +0000 + +media-hub (2.0.0+15.04.20141110.1-0ubuntu1) vivid; urgency=low + + [ thomas-voss ] + * Bump build dependency on dbus-cpp to pull in exception safe dtor. + (LP: #1390618) + + -- Ubuntu daily release Mon, 10 Nov 2014 11:53:11 +0000 + +media-hub (2.0.0+15.04.20141105.1-0ubuntu1) vivid; urgency=low + + [ Ricardo Mendoza ] + * Use new hybris interface to correctly register for client deaths. + (LP: #1380848) + + -- Ubuntu daily release Wed, 05 Nov 2014 20:41:14 +0000 + +media-hub (2.0.0+15.04.20141105-0ubuntu1) vivid; urgency=low + + [ thomas-voss ] + * Disconnect signal translation layer on destruction. (LP: #1386803) + + -- Ubuntu daily release Wed, 05 Nov 2014 08:24:08 +0000 + +media-hub (2.0.0+15.04.20141104-0ubuntu1) vivid; urgency=low + + * New rebuild forced + + -- Ubuntu daily release Tue, 04 Nov 2014 06:10:54 +0000 + +media-hub (2.0.0+14.10.20141030~rtm-0ubuntu1) 14.09; urgency=low + + [ thomas-voss ] + * Bump build dependency. (LP: #1386803) + + -- Ubuntu daily release Thu, 30 Oct 2014 14:29:53 +0000 + +media-hub (2.0.0+14.10.20141024~rtm-0ubuntu1) 14.09; urgency=low + + [ Alberto Aguirre ] + * No change, package rebuild + + -- Ubuntu daily release Fri, 24 Oct 2014 13:04:48 +0000 + +media-hub (2.0.0+14.10.20141020-0ubuntu1) utopic; urgency=low + + [ Alberto Aguirre ] + * Move worker thread from player stub to service stub. + + -- Ubuntu daily release Mon, 20 Oct 2014 13:47:46 +0000 + +media-hub (2.0.0+14.10.20141016-0ubuntu1) 14.09; urgency=low + + [ Jim Hodapp ] + * Add an Orientation property which will indicate how the video should + be rotated for playback vs how it was recorded. Get the video frame + height/width from mirsink and pass it to the media-hub client via a + Signal. (LP: #1191934) + + [ Ubuntu daily release ] + * New rebuild forced + + -- Ubuntu daily release Thu, 16 Oct 2014 20:02:01 +0000 + +media-hub (2.0.0+14.10.20141015.1-0ubuntu1) 14.09; urgency=low + + [ Ubuntu daily release ] + * New rebuild forced + + [ Ricardo Mendoza ] + * Make use of MediaRecorderObserver interface from hybris to register + as listeners for recording operations, so that we can then decide + whether to hold a screen lock or not. (LP: #1362658) + + -- Ubuntu daily release Wed, 15 Oct 2014 21:15:45 +0000 + +media-hub (2.0.0+14.10.20141015-0ubuntu1) 14.09; urgency=low + + [ Jamie Strandboge ] + * debian/usr.bin.media-hub-server: update for recent denials: allow + read access to /etc/udev/udev.conf (LP: #1356883). add video + abstraction. silence access to /run/udev/data/** like we do + elsewhere. allow read on /dev/video*. allow read on + /sys/devices/**/video4linux/video**. allow read on + /sys/devices/**/video4linux/**/uevent (LP: #1356883) + * debian/usr.bin.media-hub-server: allow reads on custom sounds (LP: + #1377966) (LP: #1377966) + + -- Ubuntu daily release Wed, 15 Oct 2014 17:45:58 +0000 + +media-hub (2.0.0+14.10.20141014-0ubuntu1) utopic; urgency=low + + [ thomas-voss ] + * Only expose the service as MPRIS instance if explicitly requested + via env variable. (LP: #1381069) + + -- Ubuntu daily release Tue, 14 Oct 2014 17:37:41 +0000 + +media-hub (2.0.0+14.10.20141010-0ubuntu1) utopic; urgency=low + + [ Alberto Aguirre ] + * Fix potential access to dead objects. (LP: #1364483) + + -- Ubuntu daily release Fri, 10 Oct 2014 19:46:25 +0000 + +media-hub (2.0.0+14.10.20140926-0ubuntu1) utopic; urgency=low + + [ Alberto Aguirre ] + * Prevent dead object access by asynchronous calls to clear_wakelock + in media::PlayerImplementation::Private + * Fix self deadlock when clients disconnect from media::Player + + -- Ubuntu daily release Fri, 26 Sep 2014 04:06:06 +0000 + +media-hub (2.0.0+14.10.20140917-0ubuntu1) utopic; urgency=low + + [ Alberto Aguirre ] + * Fix wake lock state machine and subtle race conditions on wake lock + refcounts. (LP: #1368786) + + -- Ubuntu daily release Wed, 17 Sep 2014 19:59:51 +0000 + +media-hub (2.0.0+14.10.20140910.2-0ubuntu1) utopic; urgency=medium + + [ Thomas Voß ] + * Bump major version to account for signature changes in public interface. + + [ Ubuntu daily release ] + * debian/libmedia-hub-common2.symbols: auto-update to released version + + [ thomas-voss ] + * Get rid of custom macros and use the ones provided by dbus-cpp. + Adjust to changes due to making org.mpris.MediaPlayer2.Player + compliant to the spec. + + -- Ubuntu daily release Wed, 10 Sep 2014 21:11:02 +0000 + +media-hub (1.0.0+14.10.20140908-0ubuntu1) utopic; urgency=low + + [ Jim Hodapp ] + * When power hits the low or very low levels, pause all Players with + role of multimedia. When the warning notification is cleared from + the screen, resume playback. + + [ Ricardo Salveti de Araujo ] + * playbin: fixing audio-sink gst property name + + -- Ubuntu daily release Mon, 08 Sep 2014 14:26:38 +0000 + +media-hub (1.0.0+14.10.20140829.1-0ubuntu1) utopic; urgency=low + + [ Jim Hodapp ] + * Add an audio stream role that allows the client app to categorize + what type of audio stream it's requesting playback for. Pause + playback of playing Players only if the requesting Player and other + Player are both of role multimedia . + + -- Ubuntu daily release Fri, 29 Aug 2014 21:47:29 +0000 + +media-hub (1.0.0+14.10.20140818-0ubuntu1) utopic; urgency=low + + [ Jim Hodapp ] + * Allow confined apps to play sounds from /usr/share/sounds + + [ CI bot ] + * Allow confined apps to play sounds from /usr/share/sounds. + debian/usr.bin.media-hub-server: remove 'audit deny owner /** m,' + since it. is overriding the rule to allow mmap of /tmp/orcexec files + (AppArmor will still deny other mmap access) - LP: #1357348 (LP: + #1357348) + + -- Ubuntu daily release Mon, 18 Aug 2014 20:12:10 +0000 + +media-hub (1.0.0+14.10.20140813-0ubuntu2) utopic; urgency=medium + + * debian/usr.bin.media-hub-server: remove 'audit deny owner /** m,' since it + is overriding the rule to allow mmap of /tmp/orcexec files (AppArmor will + still deny other mmap access) + - LP: #1357348 + + -- Jamie Strandboge Fri, 15 Aug 2014 07:22:05 -0500 + +media-hub (1.0.0+14.10.20140813-0ubuntu1) utopic; urgency=low + + [ Jim Hodapp ] + * Allow music to advance to the next song when the device is not + charging (LP: #1342351) + + [ Jim Hodapp ] + * Allow music to advance to the next song when the device is not + charging (LP: #1342351) + + -- Ubuntu daily release Wed, 13 Aug 2014 01:42:00 +0000 + +media-hub (1.0.0+14.10.20140808.1-0ubuntu1) utopic; urgency=low + + [ Ubuntu daily release ] + * New rebuild forced + + [ Ricardo Salveti de Araujo ] + * add /media to allowed playback paths for SD card support + + [ Oliver Grawert ] + * add /media to allowed playback paths for SD card support + + -- Ubuntu daily release Fri, 08 Aug 2014 02:29:10 +0000 + +media-hub (1.0.0+14.10.20140731-0ubuntu1) utopic; urgency=low + + [ Jim Hodapp ] + * Allow mmap access for media-hub-server to /tmp/orcexec* to fix + apparmor denials (LP: #1350870) + + -- Ubuntu daily release Thu, 31 Jul 2014 17:04:25 +0000 + +media-hub (1.0.0+14.10.20140724.1-0ubuntu1) utopic; urgency=medium + + [ Alfonso Sanchez-Beato (email Canonical) ] + * Fix 720p limit for OEM device + + -- Ubuntu daily release Thu, 24 Jul 2014 14:37:18 +0000 + +media-hub (1.0.0+14.10.20140722-0ubuntu1) utopic; urgency=low + + [ thomas-voss ] + * Bump major revision and so name to account for toolchain update. + + [ Steve Langasek ] + * Bump major revision and so name to account for toolchain update. + + -- Ubuntu daily release Tue, 22 Jul 2014 01:45:03 +0000 + +media-hub (0.0.2+14.10.20140715-0ubuntu1) utopic; urgency=low + + * New rebuild forced + + -- Ubuntu daily release Tue, 15 Jul 2014 14:16:45 +0000 + +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-4.1.0+16.04.20160307.1.orig/debian/compat +++ media-hub-4.1.0+16.04.20160307.1/debian/compat @@ -0,0 +1 @@ +9 --- media-hub-4.1.0+16.04.20160307.1.orig/debian/control +++ media-hub-4.1.0+16.04.20160307.1/debian/control @@ -0,0 +1,99 @@ +# This file is autogenerated. DO NOT EDIT! +# +# Modifications should be made to control.in instead. +# This file is regenerated automatically in the clean target. +# +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, + 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 (>= 4.3.0), + libgoogle-glog-dev, + libhybris-dev (>=0.1.0+git20131207+e452e83-0ubuntu30), + libprocess-cpp-dev, + libproperties-cpp-dev, + libgstreamer1.0-dev, + libgstreamer-plugins-base1.0-dev, + lsb-release, + pkg-config, + libpulse-dev, + qtbase5-dev, + libtelepathy-qt5-dev, +Standards-Version: 3.9.6 +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 +Depends: libmedia-hub-common5 (= ${binary:Version}), + libmedia-hub-client5 (= ${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 +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-common5 +Architecture: any +Multi-Arch: same +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-client5 +Architecture: any +Multi-Arch: same +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-4.1.0+16.04.20160307.1.orig/debian/control.in +++ media-hub-4.1.0+16.04.20160307.1/debian/control.in @@ -0,0 +1,94 @@ +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, + 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 (>= 4.3.0), + libgoogle-glog-dev, + libhybris-dev (>=0.1.0+git20131207+e452e83-0ubuntu30), + libprocess-cpp-dev, + libproperties-cpp-dev, + libgstreamer1.0-dev, + libgstreamer-plugins-base1.0-dev, + lsb-release, + pkg-config, + libpulse-dev, + qtbase5-dev, + libtelepathy-qt5-dev, +Standards-Version: 3.9.6 +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 +Depends: libmedia-hub-common@MEDIA_HUB_SOVERSION@ (= ${binary:Version}), + libmedia-hub-client@MEDIA_HUB_SOVERSION@ (= ${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 +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-common@MEDIA_HUB_SOVERSION@ +Architecture: any +Multi-Arch: same +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-client@MEDIA_HUB_SOVERSION@ +Architecture: any +Multi-Arch: same +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-4.1.0+16.04.20160307.1.orig/debian/copyright +++ media-hub-4.1.0+16.04.20160307.1/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-4.1.0+16.04.20160307.1.orig/debian/gen-debian-files.sh +++ media-hub-4.1.0+16.04.20160307.1/debian/gen-debian-files.sh @@ -0,0 +1,102 @@ +#!/bin/sh + +# Copyright (C) 2015 Canonical Ltd +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 as +# published by the Free Software Foundation. +# +# 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 Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program. If not, see . +# +# Authored by: Michi Henning +# Thomas Voß + +# +# Script to generate debian files for dual landing in Vivid (gcc 4.9 ABI) +# and Wily and later (gcc 5 ABI). +# +# This script is called from debian/rules and generates: +# +# - control +# - libtrust-store${soversion}.install.${target_arch} +# +# For all but control, this is a straight substition and/or renaming exercise for each file. +# For control, if building on Wily or later, we also fix the "Replaces:" and "Conflicts:" +# entries, so we don't end up with two packages claiming ownership of the same places +# in the file system. +# +# Because the debian files for the different distributions are generated on the fly, +# this allows us to keep a single source tree for both distributions. See ../HACKING +# for more explanations. +# + +set -e # Fail if any command fails. + +progname=$(basename $0) + +[ $# -ne 1 ] && { + echo "usage: $progname path-to-debian-dir" >&2 + exit 1 +} +dir=$1 +version_dir=$(mktemp -d) + +# Dump version numbers into files and initialize vars from those files. + +sh ${dir}/get-versions.sh ${dir} ${version_dir} + +full_version=$(cat "${version_dir}"/libmedia-hub.full-version) +major_minor=$(cat "${version_dir}"/libmedia-hub.major-minor-version) +soversion=$(cat "${version_dir}"/libmedia-hub.soversion) +vivid_soversion=$(cat "${version_dir}"/libmedia-hub.vivid-soversion) + +warning=$(mktemp -t gen-debian-files-msg.XXX) + +trap "rm -fr $warning $version_dir" 0 INT TERM QUIT + +warning_msg() +{ + cat >$warning < "$outfile" + +[ "$distro" != "vivid" ] && { + sed -i -e "/Replaces: libdbus-cpp4,/a\ +\ libdbus-cpp${vivid_soversion}," \ + "$outfile" +} + +# Generate the install files, naming them according to the soversion. + +# Install file for binary package +infile="${dir}"/libmedia-hub-client.install.in +outfile="${dir}"/libmedia-hub-client${soversion}.install +warning_msg "$infile" +cat $warning "$infile" >"$outfile" + +infile="${dir}"/libmedia-hub-common.install.in +outfile="${dir}"/libmedia-hub-common${soversion}.install +warning_msg "$infile" +cat $warning "$infile" >"$outfile" + +exit 0 --- media-hub-4.1.0+16.04.20160307.1.orig/debian/get-versions.sh +++ media-hub-4.1.0+16.04.20160307.1/debian/get-versions.sh @@ -0,0 +1,68 @@ +#!/bin/sh + +# Copyright (C) 2015 Canonical Ltd +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 as +# published by the Free Software Foundation. +# +# 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 Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program. If not, see . +# +# Authored by: Michi Henning + +# +# Script to read the version numbers from VERSION and QT-VERSION +# and write the version components and the soversion numbers +# into separate files, so we can pick them up from both +# gen-debian-files.sh and CMakeLists.txt. +# + +set -e # Fail if any command fails. + +progname=$(basename $0) + +[ $# -lt 1 -o $# -gt 2 ] && { + echo "usage: $progname path-to-debian-dir [output-dir]" >&2 + exit 1 +} +dir=$1 +output_dir=`pwd` +[ $# -eq 2 ] && output_dir=$2 + +# Write the various version numbers into a bunch of files. This allows +# us to easily pick them up from both gen-debian-files.sh and CMakeLists.txt. + +distro=$(lsb_release -c -s) + +full_version=$(cat "${dir}"/VERSION) + +major=$(echo $full_version | cut -d'.' -f1) +minor=$(echo $full_version | cut -d'.' -f2) +micro=$(echo $full_version | cut -d'.' -f3) +major_minor="${major}.${minor}" + +vivid_full_version=$(cat "${dir}"/VERSION.vivid) +vivid_major=$(echo $vivid_full_version | cut -d'.' -f1) +vivid_soversion=$vivid_major + +if [ "$distro" = "vivid" ] +then + soversion=${vivid_soversion} +else + soversion="${major}" +fi +[ -n $soversion ] + +echo ${full_version} >${output_dir}/libmedia-hub.full-version +echo ${major} >${output_dir}/libmedia-hub.major-version +echo ${minor} >${output_dir}/libmedia-hub.minor-version +echo ${micro} >${output_dir}/libmedia-hub.micro-version +echo ${major_minor} >${output_dir}/libmedia-hub.major-minor-version +echo ${soversion} >${output_dir}/libmedia-hub.soversion +echo ${vivid_soversion} >${output_dir}/libmedia-hub.vivid-soversion --- media-hub-4.1.0+16.04.20160307.1.orig/debian/libmedia-hub-client.install.in +++ media-hub-4.1.0+16.04.20160307.1/debian/libmedia-hub-client.install.in @@ -0,0 +1 @@ +usr/lib/*/libmedia-hub-client.so.* --- media-hub-4.1.0+16.04.20160307.1.orig/debian/libmedia-hub-client5.install +++ media-hub-4.1.0+16.04.20160307.1/debian/libmedia-hub-client5.install @@ -0,0 +1,6 @@ +# This file is autogenerated. DO NOT EDIT! +# +# Modifications should be made to libmedia-hub-client.install.in instead. +# This file is regenerated automatically in the clean target. +# +usr/lib/*/libmedia-hub-client.so.* --- media-hub-4.1.0+16.04.20160307.1.orig/debian/libmedia-hub-common.install.in +++ media-hub-4.1.0+16.04.20160307.1/debian/libmedia-hub-common.install.in @@ -0,0 +1 @@ +usr/lib/*/libmedia-hub-common.so.* --- media-hub-4.1.0+16.04.20160307.1.orig/debian/libmedia-hub-common5.install +++ media-hub-4.1.0+16.04.20160307.1/debian/libmedia-hub-common5.install @@ -0,0 +1,6 @@ +# This file is autogenerated. DO NOT EDIT! +# +# Modifications should be made to libmedia-hub-common.install.in instead. +# This file is regenerated automatically in the clean target. +# +usr/lib/*/libmedia-hub-common.so.* --- media-hub-4.1.0+16.04.20160307.1.orig/debian/libmedia-hub-dev.install +++ media-hub-4.1.0+16.04.20160307.1/debian/libmedia-hub-dev.install @@ -0,0 +1,2 @@ +usr/include +usr/lib/*/lib*.so --- media-hub-4.1.0+16.04.20160307.1.orig/debian/libmedia-hub-doc.install +++ media-hub-4.1.0+16.04.20160307.1/debian/libmedia-hub-doc.install @@ -0,0 +1 @@ +usr/share/doc/music-hub/html --- media-hub-4.1.0+16.04.20160307.1.orig/debian/libmedia-hub-doc.lintian-overrides +++ media-hub-4.1.0+16.04.20160307.1/debian/libmedia-hub-doc.lintian-overrides @@ -0,0 +1 @@ +libmedia-hub-doc: embedded-javascript-library --- media-hub-4.1.0+16.04.20160307.1.orig/debian/media-hub.conf +++ media-hub-4.1.0+16.04.20160307.1/debian/media-hub.conf @@ -0,0 +1,9 @@ +description "Starts the media-hub service" + +start on started dbus and started pulseaudio and xsession SESSION=ubuntu-touch +stop on runlevel [06] + +respawn +respawn limit unlimited + +exec media-hub-server --- media-hub-4.1.0+16.04.20160307.1.orig/debian/media-hub.install +++ media-hub-4.1.0+16.04.20160307.1/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-4.1.0+16.04.20160307.1.orig/debian/media-hub.lintian-overrides +++ media-hub-4.1.0+16.04.20160307.1/debian/media-hub.lintian-overrides @@ -0,0 +1 @@ +media-hub: binary-without-manpage --- media-hub-4.1.0+16.04.20160307.1.orig/debian/rules +++ media-hub-4.1.0+16.04.20160307.1/debian/rules @@ -0,0 +1,38 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 + +export DPKG_GENSYMBOLS_CHECK_LEVEL=4 + +include /usr/share/dpkg/default.mk + +distro=$(shell lsb_release -c -s) + +ifeq ($(distro),vivid) + full_version=$(shell cat $(CURDIR)/debian/VERSION.vivid) +else + full_version=$(shell cat $(CURDIR)/debian/VERSION) +endif + +major=$(shell echo $(full_version) | cut -d'.' -f1) +minor=$(shell echo $(full_version) | cut -d'.' -f2) +patch=$(shell echo $(full_version) | cut -d'.' -f3) + +%: + dh $@ --fail-missing --parallel -- -B build + +override_dh_auto_configure: + dh_auto_configure -- -DUBUNTU_MEDIA_HUB_VERSION_MAJOR=$(major) -DUBUNTU_MEDIA_HUB_VERSION_MINOR=$(minor) -DUBUNTU_MEDIA_HUB_VERSION_PATCH=$(patch) + +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 + +override_dh_auto_clean: + /bin/sh $(CURDIR)/debian/gen-debian-files.sh $(CURDIR)/debian + dh_auto_clean --- media-hub-4.1.0+16.04.20160307.1.orig/debian/usr.bin.media-hub-server +++ media-hub-4.1.0+16.04.20160307.1/debian/usr.bin.media-hub-server @@ -0,0 +1,131 @@ +#include + +/usr/bin/media-hub-server (attach_disconnected) { + #include + #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, + + /etc/udev/udev.conf r, + deny /run/udev/data/** 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, + /dev/devmap r, + @{PROC}/mtk_mdp_cmdq r, + + /dev/video* r, + /sys/devices/**/video4linux/video** r, + /sys/devices/**/video4linux/**/uevent 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, + + # The user-tmp abstraction allows writes to these files, but gstreamer sometimes + # needs to also mmap its temporary files + owner /tmp/orcexec* m, + + /{,android/}system/etc/media_codecs*.xml r, + /etc/wildmidi/wildmidi.cfg r, + + # Allow read on all directories + /**/ r, + + # camera click + /{,android/}system/media/audio/ui/camera_click.ogg r, + + # custom sounds + /custom/usr/share/sounds/ r, + /custom/usr/share/sounds/** 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 +}