[frogr] Require gstreamer-ffmpeg as a run-time dependency.
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Require gstreamer-ffmpeg as a run-time dependency.
- Date: Fri, 30 Nov 2012 10:45:17 +0000 (UTC)
commit ff184407d7d035aeb5e9636a86a6d7617b22a265
Author: Mario Sanchez Prada <msanchez gnome org>
Date: Fri Nov 30 11:33:24 2012 +0100
Require gstreamer-ffmpeg as a run-time dependency.
Updated debian/rules and frogr.spec reflecting that.
NEWS | 3 ++-
debian/control | 4 ++--
frogr.spec | 11 +++++++++--
src/main.c | 1 -
4 files changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/NEWS b/NEWS
index 146dd56..647865f 100644
--- a/NEWS
+++ b/NEWS
@@ -15,8 +15,9 @@
* Updated menu item accelerators and shortcuts.
* Raised glib minimum version up to 2.32.
* Raised gtk+ minimum version up to 3.4.
- * New build dependency: GStreamer (0.10) (for video upload support).
* New build dependency: json-glib (> 0.12) (for the 'projects' feature).
+ * New build dependency: gstreamer 0.10 (for video upload support).
+ * New run-time dependency: gstreamer-ffmpeg 0.10 (for video upload support).
* Stop using gtk-mac-integration, now we have migrated to GMenu.
* As usual, other minor improvements, bug fixes and cleanups.
diff --git a/debian/control b/debian/control
index 858f3ae..ed5d1eb 100644
--- a/debian/control
+++ b/debian/control
@@ -2,13 +2,13 @@ Source: frogr
Section: graphics
Priority: optional
Maintainer: Mario Sanchez Prada <msanchez gnome org>
-Build-Depends: cdbs, intltool, debhelper (>= 5), gnome-doc-utils, libglib2.0-dev (>= 2.22), libgtk-3-dev | libgtk2.0-dev (>= 2.16), libsoup2.4-dev (>= 2.26), libsoup-gnome2.4-dev (>= 2.26), libxml2-dev (>= 2.6.8), libexif-dev (>= 0.6.14), libgcrypt11-dev
+Build-Depends: cdbs, debhelper (>= 5), gnome-doc-utils, intltool, libexif-dev (>= 0.6.14), libgcrypt11-dev, libglib2.0-dev (>= 2.32), libgstreamer0.10-dev, libgtk-3-dev (>= 3.4), libjson-glib (>= 0.12), libsoup-gnome2.4-dev (>= 2.26), libsoup2.4-dev (>= 2.26), libxml2-dev (>= 2.6.8)
Standards-Version: 3.7.3
Homepage: http://live.gnome.org/Frogr
Package: frogr
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, gvfs, desktop-file-utils
+Depends: ${shlibs:Depends}, ${misc:Depends}, desktop-file-utils, gstreamer0.10-ffmpeg, gvfs
Description: Flickr Remote Organizer for GNOME
Frogr is a small application for the GNOME desktop that allows users
to manage their accounts in the Flickr image hosting website.
diff --git a/frogr.spec b/frogr.spec
index b541d14..95d9538 100644
--- a/frogr.spec
+++ b/frogr.spec
@@ -11,13 +11,20 @@ Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.7/%{name}-%{version}.t
BuildRequires: intltool
BuildRequires: gettext
BuildRequires: gnome-doc-utils
-BuildRequires: gtk3-devel
-BuildRequires: glib2-devel > 2.22
+BuildRequires: gtk3-devel > 3.4
+BuildRequires: glib2-devel > 2.32
+BuildRequires: gstreamer-devel > 0.10
+BuildRequires: json-glib-devel > 0.12
BuildRequires: libsoup-devel > 2.26
BuildRequires: libxml2-devel > 2.6.8
BuildRequires: libexif-devel > 0.6.14
BuildRequires: libgcrypt-devel
BuildRequires: desktop-file-utils
+
+#Frogr needs the gstreamer-ffmpeg plugin to generate thumbnails for
+#video files that might be loaded into the UI's icon view.
+Requires: gstreamer-ffmpeg > 0.10
+
#Explicitly Requires: gvfs since we need to be able to open a web
#browser when associating frogr with a flickr account (this is how
#application/flickr pairing works, through flickr.com)
diff --git a/src/main.c b/src/main.c
index 0ec40bb..fae7a43 100644
--- a/src/main.c
+++ b/src/main.c
@@ -39,7 +39,6 @@ main (int argc, char **argv)
gst_init_check (&argc, &argv, &error);
if (error)
{
- /* TODO: Disable video support when this happens */
DEBUG ("Gstreamer could not be initialized: %s", error->message);
g_error_free (error);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]