rpms/accountsdialog/devel 0001-Explicitely-require-gstreamer-0.10-for-linking.patch, NONE, 1.1 accountsdialog.spec, 1.2, 1.3
Bastien Nocera
hadess at fedoraproject.org
Wed Feb 10 10:59:18 UTC 2010
Author: hadess
Update of /cvs/pkgs/rpms/accountsdialog/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14043
Modified Files:
accountsdialog.spec
Added Files:
0001-Explicitely-require-gstreamer-0.10-for-linking.patch
Log Message:
Fix gstreamer linking
0001-Explicitely-require-gstreamer-0.10-for-linking.patch:
configure.ac | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- NEW FILE 0001-Explicitely-require-gstreamer-0.10-for-linking.patch ---
>From def097f5f374cc490ea0307eddd9f3894cfade03 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess at hadess.net>
Date: Wed, 10 Feb 2010 10:54:59 +0000
Subject: [PATCH] Explicitely require gstreamer-0.10 for linking
Otherwise we get this error:
/usr/bin/ld: main.o: undefined reference to symbol 'gst_init_get_option_group'
/usr/bin/ld: note: 'gst_init_get_option_group' is defined in DSO /usr/lib/libgstreamer-0.10.so.0 so try adding it to the linker command line
/usr/lib/libgstreamer-0.10.so.0: could not read symbols: Invalid operation
---
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 43d6452..01b4533 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,7 +38,7 @@ PKG_CHECK_MODULES(DBUS_GLIB, dbus-glib-1)
PKG_CHECK_MODULES(UNIQUE, unique-1.0)
PKG_CHECK_MODULES(POLKIT, polkit-gtk-1)
PKG_CHECK_MODULES(GCONF, gconf-2.0)
-PKG_CHECK_MODULES(CHEESE, cheese-gtk > 2.29.6, have_cheese=yes, have_cheese=no)
+PKG_CHECK_MODULES(CHEESE, gstreamer-0.10 cheese-gtk > 2.29.6, have_cheese=yes, have_cheese=no)
if test x$have_cheese = xyes ; then
AC_DEFINE(HAVE_CHEESE, 1, [Define to 1 to enable cheese webcam support])
--
1.6.6
Index: accountsdialog.spec
===================================================================
RCS file: /cvs/pkgs/rpms/accountsdialog/devel/accountsdialog.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- accountsdialog.spec 9 Feb 2010 17:28:10 -0000 1.2
+++ accountsdialog.spec 10 Feb 2010 10:59:18 -0000 1.3
@@ -10,6 +10,9 @@ Source0: http://download.gnome.or
# hide nonfunctional UI
Patch0: hide-unimplemented-parts.patch
+# Fix cheese-enabled compilation
+Patch1: 0001-Explicitely-require-gstreamer-0.10-for-linking.patch
+BuildRequires: autoconf automake libtool
BuildRequires: intltool
BuildRequires: glib2-devel
@@ -36,6 +39,8 @@ also lets you configure some aspects of
%prep
%setup -q
%patch0 -p1 -b .hide-unimplemented-parts
+%patch1 -p1 -b .gst-linking
+autoreconf -f
%build
%configure
More information about the scm-commits
mailing list