rebuild against new libnotify
This commit is contained in:
parent
a41e0a342d
commit
fa10c2ae09
@ -1,7 +1,7 @@
|
|||||||
Name: gnome-bluetooth
|
Name: gnome-bluetooth
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 2.90.0
|
Version: 2.90.0
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
Summary: Bluetooth graphical utilities
|
Summary: Bluetooth graphical utilities
|
||||||
|
|
||||||
Group: Applications/Communications
|
Group: Applications/Communications
|
||||||
@ -42,6 +42,7 @@ Requires(post): desktop-file-utils
|
|||||||
Requires(postun): desktop-file-utils
|
Requires(postun): desktop-file-utils
|
||||||
|
|
||||||
Patch0: gtk-build-fixes.patch
|
Patch0: gtk-build-fixes.patch
|
||||||
|
Patch1: notify.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The gnome-bluetooth package contains graphical utilities to setup,
|
The gnome-bluetooth package contains graphical utilities to setup,
|
||||||
@ -82,13 +83,13 @@ This package contains the Moblin user interface for gnome-bluetooth.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .gtk-fixes
|
%patch0 -p1 -b .gtk-fixes
|
||||||
|
%patch1 -p1 -b .notify
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-desktop-update --disable-icon-update --enable-nautilus-sendto=yes --disable-schemas-compile
|
%configure --disable-desktop-update --disable-icon-update --enable-nautilus-sendto=yes --disable-schemas-compile
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
@ -115,25 +116,6 @@ install -m0644 -D %{SOURCE1} $RPM_BUILD_ROOT/lib/udev/rules.d/61-gnome-bluetooth
|
|||||||
%find_lang %{name} --with-gnome
|
%find_lang %{name} --with-gnome
|
||||||
cat %{name}.lang >> gnome-bluetooth2.lang
|
cat %{name}.lang >> gnome-bluetooth2.lang
|
||||||
|
|
||||||
# save space by linking identical images in translated docs
|
|
||||||
helpdir=$RPM_BUILD_ROOT%{_datadir}/gnome/help/%{name}
|
|
||||||
for f in $helpdir/C/figures/*.png; do
|
|
||||||
b="$(basename $f)"
|
|
||||||
for d in $helpdir/*; do
|
|
||||||
if [ -d "$d" -a "$d" != "$helpdir/C" ]; then
|
|
||||||
g="$d/figures/$b"
|
|
||||||
if [ -f "$g" ]; then
|
|
||||||
if cmp -s $f $g; then
|
|
||||||
rm "$g"; ln -s "../../C/figures/$b" "$g"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
done
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
update-desktop-database -q
|
update-desktop-database -q
|
||||||
|
|
||||||
@ -231,6 +213,9 @@ fi
|
|||||||
%{_datadir}/mutter-moblin/panels/bluetooth-panel.desktop
|
%{_datadir}/mutter-moblin/panels/bluetooth-panel.desktop
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 3 2010 Matthias Clasen <mclasen@redhat.com> 1:2.90.0-10
|
||||||
|
- Rebuild against libnotify 0.7.0
|
||||||
|
|
||||||
* Wed Sep 29 2010 jkeating - 1:2.90.0-9
|
* Wed Sep 29 2010 jkeating - 1:2.90.0-9
|
||||||
- Rebuilt for gcc bug 634757
|
- Rebuilt for gcc bug 634757
|
||||||
|
|
||||||
|
12
notify.patch
Normal file
12
notify.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up gnome-bluetooth-2.90.0/applet/notify.c.notify gnome-bluetooth-2.90.0/applet/notify.c
|
||||||
|
--- gnome-bluetooth-2.90.0/applet/notify.c.notify 2010-11-03 12:18:00.481241996 -0400
|
||||||
|
+++ gnome-bluetooth-2.90.0/applet/notify.c 2010-11-03 12:17:25.248241997 -0400
|
||||||
|
@@ -75,7 +75,7 @@ void show_notification(const gchar *summ
|
||||||
|
notify_notification_close(notify, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
- notify = notify_notification_new(summary, message, ACTIVE_ICON_NAME, NULL);
|
||||||
|
+ notify = notify_notification_new(summary, message, ACTIVE_ICON_NAME);
|
||||||
|
|
||||||
|
notify_notification_set_timeout(notify, timeout);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user