[MIR] media-hub

Bug #1427958 reported by Ricardo Salveti
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
media-hub (Ubuntu)
Fix Released
Undecided
Didier Roche-Tolomelli
telepathy-qt5 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

* Rationale

Media-hub is a dependency of the new oxide-qt version. Media-hub provides a media server/service that is currently used by the Ubuntu Touch stack, and the dependency with Oxide was created in order for Oxide to support background playback (without letting the phone suspend, allowing the user to use websites such as grooveshark).

* Dependencies

Besides telepathy-qt5 (which is also included as a bug task), the remaining dependencies are all approved for main (dbus-cpp and process-cpp were moved back to universe but the MIR for them are already approved by bug 1218896 and bug 1270234).

The dependency against telepathy-qt5 is required in order for the media-server to be allowed to react on telephony events (like stopping playback when receiving calls). Telepathy-qt5 is the same package as telepathy-qt, but built against the Qt 5 stack.

* Maintenance:

Media-hub is maintained by Ubuntu upstream (Phone Foundations team), and it is a core part of the Ubuntu Touch stack (main service responsible for multimedia playback).

Telepathy-qt5 is currently maintained by the Ubuntu Touch Apps team, and also a core piece of the Ubuntu Touch stack.

* Standard compliance:

The packages are created according to our daily-build inline packaging rules and being daily-released in cu2d, so they comply to our Ubuntu packaging standards already.

Revision history for this message
Ricardo Salveti (rsalveti) wrote :
description: updated
description: updated
Revision history for this message
Michael Terry (mterry) wrote :

Didier, do you happen to have time for this review?

Changed in media-hub (Ubuntu):
assignee: nobody → Didier Roche (didrocks)
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

* qtelepathy-qt5:

debian/rules:
- any change someone spend some time to look at the races in the failing tests and run them? (at least as adt tests).
- optional, but please consider using dh_install --fail-missing instead of --list-missing and rm in debian/tmp the file you don't want to install, that helps controlling and ensuring we are building everything we need.

debian/control: it's weird to have a build-depend as a metapackage (qt5-default), didn't we evolve the policy for other Qt5 packages IIRC, like depending on qtbase5-dev?

Otherwise, this package looks good.

* media-hub:
debian/control:
# We rely on C++11 features, and to prevent from ABI breaks
# in libstdc++ causing us issues, we explicitly select a G++
# version.
               g++-4.9,
-> is that still the case nowdays? I thought g++ stabilized their C++11 features ABI-break wise. Note for myself: this is also hardcoded in debian/rules.

Package: media-hub pre-depends on dpkg, but isn't multi-arch or any postinst use any "more recent" dpkg features, can that be cleaned up? (I think even the other pre-depends on libmedia-hub* can be cleaned up now that trusty is out)

I assume the security team already got a security pass at it?

Apart from those nitpicks, looking good, keep me posted about the questions :)

Changed in media-hub (Ubuntu):
status: New → Incomplete
Changed in telepathy-qt5 (Ubuntu):
status: New → Incomplete
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I don't think media-hub needs a security audit. We've reviewed the apparmor integration already and the other parts just need a normal MIR review.

Revision history for this message
Ricardo Salveti (rsalveti) wrote : Re: [Bug 1427958] Re: [MIR] media-hub

On Mon, Mar 9, 2015 at 1:38 PM, Didier Roche <email address hidden> wrote:
> * qtelepathy-qt5:
>
> debian/rules:
> - any change someone spend some time to look at the races in the failing tests and run them? (at least as adt tests).

This needs quite a bit of work, specially because it was disabled with
0.2.0-2 (and after enabling it again it seems the problems are still
there). Will ask Tiago and Boiko to take a look to see if they can at
least add that to their backlog.

> - optional, but please consider using dh_install --fail-missing instead of --list-missing and rm in debian/tmp the file you don't want to install, that helps controlling and ensuring we are building everything we need.

Done

> debian/control: it's weird to have a build-depend as a metapackage
> (qt5-default), didn't we evolve the policy for other Qt5 packages IIRC,
> like depending on qtbase5-dev?

It's still required afaik, and that is still true for quite a few
other packages (just check the reverse-depends on it).

> Otherwise, this package looks good.
>
> * media-hub:
> debian/control:
> # We rely on C++11 features, and to prevent from ABI breaks
> # in libstdc++ causing us issues, we explicitly select a G++
> # version.
> g++-4.9,
> -> is that still the case nowdays? I thought g++ stabilized their C++11 features ABI-break wise. Note for myself: this is also hardcoded in debian/rules.

Yes, after fighting with some really obscure issues during this cycle
we decided it's just better to force the compiler version, so I'd
prefer us to keep it.

> Package: media-hub pre-depends on dpkg, but isn't multi-arch or any
> postinst use any "more recent" dpkg features, can that be cleaned up? (I
> think even the other pre-depends on libmedia-hub* can be cleaned up now
> that trusty is out)

Done.

> I assume the security team already got a security pass at it?
>
> Apart from those nitpicks, looking good, keep me posted about the
> questions :)

Great, let me know if you need anything.

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Thanks for poking upstream about their testsuites, please track it :)

With that and the changes, looks good to me, do not hesitate to poke for the actual promotion once needed.

Changed in media-hub (Ubuntu):
status: Incomplete → Fix Committed
Changed in telepathy-qt5 (Ubuntu):
status: Incomplete → Fix Committed
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Adjusted overrides for media-hub for oxide-qt in the ubuntu-mozilla-security ppa.

Changed in media-hub (Ubuntu):
status: Fix Committed → Fix Released
Changed in telepathy-qt5 (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Adjusted overrides for telepathy-qt5 for oxide-qt in the ubuntu-mozilla-security ppa.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

To clarify: I adjusted the overrides in wily for the aforementioned packages so that the oxide-qt in the ubuntu-mozilla-security ppa could build.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.