Merge lp:~seb128/unity-control-center/use-new-gstreamer into lp:unity-control-center

Proposed by Sebastien Bacher
Status: Merged
Approved by: Iain Lane
Approved revision: 12847
Merged at revision: 12850
Proposed branch: lp:~seb128/unity-control-center/use-new-gstreamer
Merge into: lp:unity-control-center
Diff against target: 47 lines (+1/-7)
3 files modified
configure.ac (+1/-1)
debian/control (+0/-2)
panels/user-accounts/um-user-panel.c (+0/-4)
To merge this branch: bzr merge lp:~seb128/unity-control-center/use-new-gstreamer
Reviewer Review Type Date Requested Status
Iain Lane Approve
Unity Control Center development team Pending
Review via email: mp+285455@code.launchpad.net

Commit message

clean out gstreamer includes, it's not being used directly

Description of the change

clean out gstreamer includes, it's not being used directly

To post a comment you must log in.
Revision history for this message
Iain Lane (laney) wrote :

On Wed, Feb 10, 2016 at 04:34:56PM -0000, Sebastien Bacher wrote:
> You have been requested to review the proposed merge of lp:~seb128/unity-control-center/use-new-gstreamer into lp:unity-control-center.
>
> For more details, see:
> https://code.launchpad.net/~seb128/unity-control-center/use-new-gstreamer/+merge/285455
>
> Update the build-depends to the current gstreamer version

Hum, I guess you thought I might say this, but...

I grepped the source code and it looks like gstreamer isn't actually
used directly, but via cheese - is it necessary for u-c-c to have this
in BD, configure.ac and #include in um-user-accounts.c or should
libcheese give us what we need?

If it is, then this branch is ok I think.

--
Iain Lane [ <email address hidden> ]
Debian Developer [ <email address hidden> ]
Ubuntu Developer [ <email address hidden> ]

Revision history for this message
Sebastien Bacher (seb128) wrote :

> is it necessary for u-c-c to have this in BD, configure.ac and #include in um-user-accounts.c or should libcheese give us what we need?

good comment, GNOME still has it this way [1] but I think you are right, I'm going to have a look to drop the direct use for us and forward that upstream as well

[1] https://git.gnome.org/browse/gnome-control-center/tree/configure.ac#n292

12847. By Sebastien Bacher

clean out gstreamer includes, it's not being used directly

Revision history for this message
Sebastien Bacher (seb128) wrote :

> configure.ac and #include in um-user-accounts.c or should libcheese give us what we need?

ok, updated to remove the direct use of gstreamer

Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Iain Lane (laney) wrote :

you beauty

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'configure.ac'
--- configure.ac 2015-12-14 10:09:05 +0000
+++ configure.ac 2016-02-12 10:20:47 +0000
@@ -229,7 +229,7 @@
229 with_cheese=auto)229 with_cheese=auto)
230230
231if test x"$with_cheese" != x"no" ; then231if test x"$with_cheese" != x"no" ; then
232 PKG_CHECK_MODULES(CHEESE, gstreamer-1.0 cheese-gtk >= 3.5.91 cheese clutter-gtk-1.0, [have_cheese=yes], [have_cheese=no])232 PKG_CHECK_MODULES(CHEESE, cheese-gtk >= 3.5.91 cheese clutter-gtk-1.0, [have_cheese=yes], [have_cheese=no])
233 if test x${have_cheese} = xyes; then233 if test x${have_cheese} = xyes; then
234 AC_DEFINE(HAVE_CHEESE, 1, [Define to 1 to enable cheese webcam support])234 AC_DEFINE(HAVE_CHEESE, 1, [Define to 1 to enable cheese webcam support])
235 fi235 fi
236236
=== modified file 'debian/control'
--- debian/control 2015-12-14 10:09:05 +0000
+++ debian/control 2016-02-12 10:20:47 +0000
@@ -32,7 +32,6 @@
32 libgnome-menu-3-dev,32 libgnome-menu-3-dev,
33 libgnomekbd-dev,33 libgnomekbd-dev,
34 libgoa-1.0-dev (>= 3.5.90),34 libgoa-1.0-dev (>= 3.5.90),
35 libgstreamer-plugins-base0.10-dev,
36 libgtk-3-dev (>= 3.10.0),35 libgtk-3-dev (>= 3.10.0),
37 libgtop2-dev,36 libgtop2-dev,
38 libibus-1.0-dev (>= 1.5.0),37 libibus-1.0-dev (>= 1.5.0),
@@ -109,7 +108,6 @@
109 unity (<< 6.2-0ubuntu2~)108 unity (<< 6.2-0ubuntu2~)
110Suggests: gnome-screensaver | xscreensaver,109Suggests: gnome-screensaver | xscreensaver,
111 gnome-user-guide | ubuntu-docs,110 gnome-user-guide | ubuntu-docs,
112 gstreamer0.10-pulseaudio,
113 libcanberra-gtk-module,111 libcanberra-gtk-module,
114 x11-xserver-utils,112 x11-xserver-utils,
115Provides: unity-control-center-datetime,113Provides: unity-control-center-datetime,
116114
=== modified file 'panels/user-accounts/um-user-panel.c'
--- panels/user-accounts/um-user-panel.c 2014-04-04 13:44:16 +0000
+++ panels/user-accounts/um-user-panel.c 2016-02-12 10:20:47 +0000
@@ -34,10 +34,6 @@
34#include <polkit/polkit.h>34#include <polkit/polkit.h>
35#include <act/act.h>35#include <act/act.h>
3636
37#ifdef HAVE_CHEESE
38#include <gst/gst.h>
39#endif /* HAVE_CHEESE */
40
41#include "shell/cc-editable-entry.h"37#include "shell/cc-editable-entry.h"
4238
43#include "um-editable-button.h"39#include "um-editable-button.h"

Subscribers

People subscribed via source and target branches