Accepting request 913699 from GNOME:Factory
- Update to version 1.0.3: + No upstream changes provided, please check upstream git log. - Drop gsound-gsound-play-Call-setlocale.patch: Fixed upstream. - Add gtk-doc and meson BuildRequires and macros following upstreams port. (forwarded request 913042 from iznogood) OBS-URL: https://build.opensuse.org/request/show/913699 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gsound?expand=0&rev=5
This commit is contained in:
commit
9f6332d73c
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:bba8ff30eea815037e53bee727bbd5f0b6a2e74d452a7711b819a7c444e78e53
|
|
||||||
size 282068
|
|
BIN
gsound-1.0.3.tar.xz
(Stored with Git LFS)
Normal file
BIN
gsound-1.0.3.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,28 +0,0 @@
|
|||||||
From ef94719d7ec2adfd72b38418754786d4e3346176 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Ting-Wei Lan <lantw@src.gnome.org>
|
|
||||||
Date: Mon, 11 Jan 2016 14:14:30 +0800
|
|
||||||
Subject: [PATCH] gsound-play: Call setlocale in main function
|
|
||||||
|
|
||||||
It is required to correctly show translated messages on some locales.
|
|
||||||
|
|
||||||
https://bugzilla.gnome.org/show_bug.cgi?id=760429
|
|
||||||
---
|
|
||||||
tools/gsound-play.vala | 2 ++
|
|
||||||
1 file changed, 2 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/tools/gsound-play.vala b/tools/gsound-play.vala
|
|
||||||
index 298ba20..e3a5268 100644
|
|
||||||
--- a/tools/gsound-play.vala
|
|
||||||
+++ b/tools/gsound-play.vala
|
|
||||||
@@ -55,6 +55,8 @@ async void play() throws Error
|
|
||||||
|
|
||||||
int main(string[] args)
|
|
||||||
{
|
|
||||||
+ Intl.setlocale (LocaleCategory.ALL, "");
|
|
||||||
+
|
|
||||||
Environment.set_application_name("gsound-play");
|
|
||||||
|
|
||||||
var opt_ctx = new OptionContext();
|
|
||||||
--
|
|
||||||
2.18.1
|
|
||||||
|
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 19 08:15:55 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 1.0.3:
|
||||||
|
+ No upstream changes provided, please check upstream git log.
|
||||||
|
- Drop gsound-gsound-play-Call-setlocale.patch: Fixed upstream.
|
||||||
|
- Add gtk-doc and meson BuildRequires and macros following
|
||||||
|
upstreams port.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 21 11:30:48 UTC 2019 - bjorn.lie@gmail.com
|
Thu Feb 21 11:30:48 UTC 2019 - bjorn.lie@gmail.com
|
||||||
|
|
||||||
|
21
gsound.spec
21
gsound.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gsound
|
# spec file for package gsound
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2021 SUSE LLC
|
||||||
# Copyright (c) 2014 Bjørn Lie, Bryne, Norway.
|
# Copyright (c) 2014 Bjørn Lie, Bryne, Norway.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -20,16 +20,16 @@
|
|||||||
%define soname lib%{name}0
|
%define soname lib%{name}0
|
||||||
|
|
||||||
Name: gsound
|
Name: gsound
|
||||||
Version: 1.0.2
|
Version: 1.0.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A library for playing system sounds
|
Summary: A library for playing system sounds
|
||||||
License: LGPL-2.1-only
|
License: LGPL-2.1-only
|
||||||
Group: Development/Libraries/GNOME
|
Group: Development/Libraries/GNOME
|
||||||
URL: https://wiki.gnome.org/Projects/GSound
|
URL: https://wiki.gnome.org/Projects/GSound
|
||||||
Source0: https://download.gnome.org/sources/gsound/1.0/gsound-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/gsound/1.0/gsound-%{version}.tar.xz
|
||||||
# PATCH-FIX-UPSTREAM gsound-gsound-play-Call-setlocale.patch -- gsound-play: Call setlocale in main function
|
|
||||||
Patch0: gsound-gsound-play-Call-setlocale.patch
|
|
||||||
|
|
||||||
|
BuildRequires: gtk-doc
|
||||||
|
BuildRequires: meson
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||||
BuildRequires: pkgconfig(libcanberra)
|
BuildRequires: pkgconfig(libcanberra)
|
||||||
@ -78,15 +78,13 @@ applications with gsound.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%meson \
|
||||||
--disable-static \
|
-Dgtk_doc=true \
|
||||||
--enable-vala \
|
|
||||||
%{nil}
|
%{nil}
|
||||||
%make_build
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%meson_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
|
||||||
|
|
||||||
%post -n %{soname} -p /sbin/ldconfig
|
%post -n %{soname} -p /sbin/ldconfig
|
||||||
%postun -n %{soname} -p /sbin/ldconfig
|
%postun -n %{soname} -p /sbin/ldconfig
|
||||||
@ -94,6 +92,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%files
|
%files
|
||||||
%doc ChangeLog README
|
%doc ChangeLog README
|
||||||
%{_bindir}/gsound-play
|
%{_bindir}/gsound-play
|
||||||
|
%{_mandir}/man1/gsound-play.1%{ext_man}
|
||||||
|
|
||||||
%files -n %{soname}
|
%files -n %{soname}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -101,7 +100,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_datadir}/gir-1.0/GSound-1.0.gir
|
%{_datadir}/gir-1.0/GSound-1.0.gir
|
||||||
%{_datadir}/gtk-doc/html/gsound/
|
%{_datadir}/gtk-doc/html/gsound-%{version}/
|
||||||
%{_datadir}/vala/vapi/gsound.deps
|
%{_datadir}/vala/vapi/gsound.deps
|
||||||
%{_datadir}/vala/vapi/gsound.vapi
|
%{_datadir}/vala/vapi/gsound.vapi
|
||||||
%{_includedir}/gsound.h
|
%{_includedir}/gsound.h
|
||||||
|
Loading…
Reference in New Issue
Block a user