File notification-daemon.spec of Package notification-daemon
#
# spec file for package notification-daemon (Version 0.4.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: notification-daemon
BuildRequires: dbus-1-glib-devel
BuildRequires: fdupes
BuildRequires: gconf2-devel
BuildRequires: gstreamer-0_10-devel
BuildRequires: intltool
BuildRequires: libsexy-devel
BuildRequires: libglade2-devel
BuildRequires: libnotify-devel
BuildRequires: libwnck-devel
BuildRequires: update-desktop-files
Version: 0.4.0
Release: 3
Url: http://www.galago-project.org/
Group: System/Daemons
License: GPL v2 or later
Summary: Notification Daemon
Source: %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM notification-daemon-memleak.patch vuntz@novell.com -- Fix a memory leak, patch from Ubuntu.
Patch1: notification-daemon-memleak.patch
# PATCH-FIX-UPSTREAM notification-daemon-crash-theme-change.patch vuntz@novell.com
Patch2: notification-daemon-crash-theme-change.patch
# PATCH-FEATURE-OPENSUSE notification-daemon-new-bubble.patch vuntz@novell.com -- Patch a new standard-based theme to be compliant with our policy.
Patch10: notification-daemon-new-bubble.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
Requires: %{name}-lang = %{version}
%gconf_schemas_prereq
%description
D-BUS notification daemon.
Authors:
--------
Christian Hammond <chipx86@chipx86.com>
%lang_package
%prep
%setup -q
%patch1 -p0
%patch2 -p1
# We create a new bubble theme based on the standard theme
cp -a src/themes/standard src/themes/newbubble
sed -i "s/libstandard/libbubble/g" src/themes/newbubble/Makefile*
%patch10 -p1
%build
autoreconf -f -i
intltoolize --force
# needed for notification-daemon-0.3.5:
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure\
--libexecdir=%{_prefix}/lib/%{name}-1.0\
--disable-schemas-install
make %{?jobs:-j%jobs}
%install
%makeinstall
rm $RPM_BUILD_ROOT%{_libdir}/*/*/*.*a
%suse_update_desktop_file notification-properties X-SuSE-ControlCenter-LookAndFeel
%find_lang %{name}
%find_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%files -f %{name}.lst
%defattr (-, root, root)
# README is empty
%doc AUTHORS COPYING ChangeLog NEWS
%{_libdir}/%{name}-1.0
%if "%{_libdir}" != "%{_prefix}/lib"
%{_prefix}/lib/%{name}-1.0
%endif
%{_datadir}/dbus-1/services/*.service
%{_bindir}/notification-properties
%{_datadir}/applications/notification-properties.desktop
%{_datadir}/icons/hicolor/*/apps/notification-properties.*
%{_datadir}/notification-daemon
%files lang -f %{name}.lang
%changelog
* Sat Apr 25 2009 vuntz@novell.com
- Add notification-daemon-crash-theme-change.patch to fix a crash
when the notification theme changes while a notification is
opened. Fix bnc#496430.
* Thu Apr 23 2009 vuntz@novell.com
- Review changes.
* Thu Apr 09 2009 opensuse@sukimashita.com
- Make notification-properties appear in control-center's look and
feel category
* Fri Jan 23 2009 vuntz@novell.com
- Minor spec cleanups.
* Sat Dec 20 2008 mboman@suse.de
- Update to version 0.4.0:
+ Bumped up the required minimum version of GTK+ to 2.10.0.
+ Bump the notification spec version we're compliant with to 1.0.
+ Send the reason code along with the NotificationClosed signal in order
to indicate why the notification was closed
+ Send an error if the user attempts to close an already closed
notification.
+ Text is now escaped in the summary in the Standard theme so that
ampersands and other special characters show up instead of disappearing.
+ Set the type hint for notifications to TYPE_NOTIFICATION
+ Added support for playing sounds when the "sound-file" hint is set or
when the default_sound GConf key is set, as well as support for the
"suppress-sound" hint
+ Added a control panel applet for controlling such things as the
notification theme and popup positions
+ Added better support for attaching context notifications to an icon on
the system tray, even when it moves
+ Added an Arabic translation
+ Added an Italian translation
+ Fixed a bug where text would sometimes get truncated
+ Fixed a bug where notifications weren't displayed if a fullscreen
window was minimized
+ Fixed a bug where we were quitting on theme engine failure, instead of
falling back to the default theme engine
+ Fixed a bug where notifications with arrows were crossing the monitor
on multihead setups instead of staying on their head
+ Fixed the close button size on the notifications so that they don't
stretch
+ Fixed a crash when an unsupported value type was passed in for the
urgency when using the standard theme
- Remove backported notification-daemon-svn3017.patch
- Remove notification-daemon-clipping.patch. Fixed upstream
* Tue Oct 28 2008 vuntz@novell.com
- Add notification-daemon-svn3017.patch to get many fixes from
upstream that never made into a release since early 2007.
- Add notification-daemon-memleak.patch to fix a leak.
- Add gstreamer-0_10-devel as BuildRequires.
- Clean up spec file.
* Mon Mar 31 2008 vuntz@suse.de
- Remove all the bubble related patches:
notification-daemon-bubble-enable.patch,
notification-daemon-bubble-init.patch,
notification-daemon-drawing.patch
- Instead, create a new theme based on the standard theme by
copying the standard theme.
- Add notification-daemon-new-bubble.patch: we patch the
standard-based theme to be easily themed via the GTK+ theme, and
we also add some internal API to know if an engine wants to
always stack notifications. This theme is named bubble to keep
compatibility with previous versions of the package.
- Remove useless build-requires: gcc-c++ libxml2-devel
perl-XML-Parser update-desktop-files
* Thu Mar 13 2008 sbrabec@suse.cz
- Custom look'n'feel gconf keys moved to gconf2-branding-openSUSE.
* Thu Mar 06 2008 maw@suse.de
- Fix the build when against newer versions of intltool.
* Tue Aug 07 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage.
* Tue Mar 13 2007 dobey@suse.de
- Update drawing patch to build
- notification-daemon-bubble-enable.patch
* Enable building the bubble theme again
- notification-daemon-bubble-init.patch
* Add new methods requiresd for theme to load
* Tue Mar 06 2007 sbrabec@suse.cz
- Updated to version 0.3.7:
* Bug and crash fixes.
* Fixed memory leaks.
* Fixed dbus 0.61 and dbus-glib 0.72 compatibility.
* The background of the window in the standard theme is now just
slightly transparent when compiled against GTK+ 2.10 and when
using a composite manager.
* Fix several rendering glitches.
* Added initial accessibility support.
* Clicking anywhere in a notification should now close the
notification.
* Added a GConf key to allow users to specify corners.
* Translation update.
* A notification's timeout will now pause while the mouse is
hovering over the notification.
* Mon Mar 05 2007 sbrabec@suse.cz
- Compile with the latest dbus-binding-tool.
* Mon Dec 11 2006 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Thu Nov 30 2006 jhargadon@suse.de
- removed unneeded files from package (#223690)
* Thu Nov 30 2006 sbrabec@suse.cz
- Build correctly in older products.
* Sat Oct 14 2006 danw@suse.de
- Remove dead patches
* Fri Sep 15 2006 jhargadon@suse.de
- update to version 0.3.5
- removed upstreamed patches
- Add three new required theme functions:
- theme_check_init - determines if the theme is compatible with the
running version of notification-daemon.
- get_theme_info - returns info on the theme.
- clear_notification_actions - Clears the notification action buttons
on the window
- Disabled the Bubble theme for this release. It's the source of too
many bugs
- Fix the scaling of different icon sizes. Now small icons display as
small, and larger icons are scaled down to 48x48
- Fixed a problem where icons were being clipped in notifications
- Fixed incorrect usage of GtkIconTheme.
- Fixed notifications with a timeout of 2147484ms or longer expiring
in less than a second
- Fixed a bug where a notification would duplicate its actions when
updated.
- The Standard theme's countdown timer is now rendered using Cairo when
compiled against Gtk 2.8.0 or higher. This improves the timer by making
- Renamed notification-daemon.service to
org.freedesktop.Notifications.service
* Wed Aug 16 2006 aj@suse.de
- Add a build require on dbus-1-glib-devel.
* Tue Mar 14 2006 dobey@suse.de
- Add patch to fix default action clicking in notifications
* Mon Mar 06 2006 dobey@suse.de
- Update drawing patch to fix colors
* Mon Feb 13 2006 dobey@suse.de
- Update to version 0.3.4
- Remove upstreamed patch for unversioned plug-ins
- Add patch to fix usage of icon theme icons
- Many upstream bug fixes
- Add libwnck-devel to BuildRequires
* Thu Jan 26 2006 dobey@suse.de
- Add patch to default to new drawing theme
- Add patch to remove libtool version on plug-ins
- Add intltool to BuildRequires
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 23 2006 dobey@suse.de
- Update to version 0.3.2
- Add in patch for new drawing layout
* Sun Aug 07 2005 aj@suse.de
- Fix 64-bit bug.
* Tue Aug 02 2005 rodrigo@suse.de
- Updated to 0.2.1.
* Wed Jun 29 2005 sbrabec@suse.cz
- New SuSE package, pre-0.0.1 version from actual svn snapshot.