From ea808f84125de9ff1ea26c83eddf5df7619c26c004bd35266d1e089f54154d2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Fri, 6 Nov 2015 08:47:45 +0000 Subject: [PATCH] Accepting request 342640 from home:Zaitor Opinions? OBS-URL: https://build.opensuse.org/request/show/342640 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libcanberra?expand=0&rev=60 --- libcanberra.changes | 10 ++++++++++ libcanberra.spec | 32 +++++++++++++++++++++++++++----- 2 files changed, 37 insertions(+), 5 deletions(-) diff --git a/libcanberra.changes b/libcanberra.changes index e3bde22..0cd3efc 100644 --- a/libcanberra.changes +++ b/libcanberra.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Nov 6 00:54:02 UTC 2015 - zaitor@opensuse.org + +- Split out a new sub-package canberra-gtk-play-gnome: Currently + there are no desktop-login, desktop-logout or session-ready + sounds in the freedesktop sound theme, so installing this will + require a different sound-theme for it to be operational. Having + this in a own sub-package will avoid logspam about missing files. + Fixes boo#953862. + ------------------------------------------------------------------- Wed Feb 6 15:38:50 UTC 2013 - dimstar@opensuse.org diff --git a/libcanberra.spec b/libcanberra.spec index db745a8..eec92f9 100644 --- a/libcanberra.spec +++ b/libcanberra.spec @@ -1,7 +1,7 @@ # # spec file for package libcanberra # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -150,10 +150,6 @@ event sounds. %package -n canberra-gtk-play Summary: Portable sound event library -- Utility Group: System/Libraries -# This package contains a ready sound for gdm -Supplements: gdm -# This package contains login/logout sound for GNOME -Supplements: gnome-session Provides: %{name}-gtk = %{version} Obsoletes: %{name}-gtk < %{version} @@ -165,6 +161,30 @@ designed to be portable. This package provides the canberra-gtk-play utility. +%package -n canberra-gtk-play-gnome +Summary: Portable sound event library -- Utility +Group: System/Libraries +# Disable supplements as we do not want it installed by default. +# This package contains a ready sound for gdm +#Supplements: gdm +# This package contains login/logout sound for GNOME +#Supplements: gnome-session +Provides: %{name}-gtk-gnome = %{version} +Obsoletes: %{name}-gtk-gnome < %{version} + +%description -n canberra-gtk-play-gnome +libcanberra is an implementation of the XDG Sound Theme and Name +Specifications, for generating event sounds on free desktops, such as +GNOME. It comes with several backends (ALSA, PulseAudio, null) and is +designed to be portable. + +This package provides the canberra-gtk-play .desktop files for the +gnome-desktop and gdm. +Currently there are no desktop-login, desktop-logout or session-ready +sounds in the freedesktop sound theme, so installing this will +require a different sound-theme for it to be operational. + + %package devel Summary: Portable sound event library -- Development files Group: Development/Libraries/C and C++ @@ -262,6 +282,8 @@ rm -rf %{buildroot} %files -n canberra-gtk-play %defattr(-,root,root) %{_bindir}/canberra-gtk-play + +%files -n canberra-gtk-play-gnome %dir %{_datadir}/gnome %dir %{_datadir}/gnome/autostart %{_datadir}/gnome/autostart/libcanberra-login-sound.desktop