File notification-daemon.spec of Package notification-daemon
#
# spec file for package notification-daemon (Version 0.3.7)
#
# Copyright (c) 2008 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: libwnck-devel
Version: 0.3.7
Release: 185
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-svn3017.patch vuntz@novell.com -- Get a bunch of fix from upstream svn. There are many fixes committed upstream and there was no relase since early 2007. The patch explicitly doesn't contain the new capplet stuff.
Patch0: notification-daemon-svn3017.patch
# 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-clipping.patch vuntz@novell.com -- Fix clipping, http://trac.galago-project.org/ticket/162
Patch2: notification-daemon-clipping.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
%patch0 -p0
%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
%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
%files lang -f %{name}.lang
%changelog
* 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.
* Wed Aug 08 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.