fix undefined symbols in the updates plugin

This commit is contained in:
Matthias Clasen 2011-02-25 22:35:55 -05:00
parent 45c6d52804
commit 2063955cdc
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -up gnome-settings-daemon-2.91.90/configure.ac.undefined gnome-settings-daemon-2.91.90/configure.ac
--- gnome-settings-daemon-2.91.90/configure.ac.undefined 2011-02-25 22:33:12.551043059 -0500
+++ gnome-settings-daemon-2.91.90/configure.ac 2011-02-25 22:34:05.670378974 -0500
@@ -281,7 +281,7 @@ AC_ARG_ENABLE(packagekit,
if test x$WANT_PACKAGEKIT = xyes ; then
PK_REQUIRED_VERSION=0.6.4
- PKG_CHECK_MODULES(PACKAGEKIT, glib-2.0 packagekit-glib2 >= $PK_REQUIRED_VERSION upower-glib >= 0.9.1,
+ PKG_CHECK_MODULES(PACKAGEKIT, glib-2.0 packagekit-glib2 >= $PK_REQUIRED_VERSION upower-glib >= 0.9.1 gudev-1.0 libnotify >= $LIBNOTIFY_REQUIRED_VERSION,
[have_packagekit=true
AC_DEFINE(HAVE_PACKAGEKIT, 1, [Define if PackageKit should be used])],
[have_packagekit=false])

View File

@ -1,6 +1,6 @@
Name: gnome-settings-daemon Name: gnome-settings-daemon
Version: 2.91.90 Version: 2.91.90
Release: 3%{?dist} Release: 4%{?dist}
Summary: The daemon sharing settings from GNOME to GTK+/KDE applications Summary: The daemon sharing settings from GNOME to GTK+/KDE applications
Group: System Environment/Daemons Group: System Environment/Daemons
@ -39,6 +39,7 @@ BuildRequires: libgudev1-devel
BuildRequires: nss-devel BuildRequires: nss-devel
Patch1: g-s-d-fix-crasher-screensaver-unlock.patch Patch1: g-s-d-fix-crasher-screensaver-unlock.patch
Patch2: g-s-d-undefined-symbols.patch
%description %description
A daemon to share settings from GNOME to other applications. It also A daemon to share settings from GNOME to other applications. It also
@ -58,6 +59,9 @@ developing applications that use %{name}.
%setup -q %setup -q
%patch1 -p1 -b .unlock %patch1 -p1 -b .unlock
%patch2 -p1 -b .undefined-symbols
autoreconf -i -f
%build %build
# https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking # https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
@ -188,6 +192,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
%{_libdir}/pkgconfig/gnome-settings-daemon.pc %{_libdir}/pkgconfig/gnome-settings-daemon.pc
%changelog %changelog
* Fri Feb 25 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.90-4
- Fix undefined symbols in the updates plugin
* Wed Feb 23 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.90-3 * Wed Feb 23 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.90-3
- BR PackageKit and cups - BR PackageKit and cups
- Explicitly list plugins so we notice if they go missing - Explicitly list plugins so we notice if they go missing