Hello community, here is the log from the commit of package gsound for openSUSE:Leap:15.2 checked in at 2020-01-30 14:49:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/gsound (Old) and /work/SRC/openSUSE:Leap:15.2/.gsound.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gsound" Thu Jan 30 14:49:50 2020 rev:12 rq:757858 version:1.0.2 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/gsound/gsound.changes 2020-01-15 15:09:11.222031010 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.gsound.new.26092/gsound.changes 2020-01-30 14:50:40.074910999 +0100 @@ -1,0 +2,18 @@ +Thu Feb 21 11:30:48 UTC 2019 - bjorn....@gmail.com + +- Add gsound-gsound-play-Call-setlocale.patch: gsound-play: Call + setlocale in main function. It is required to correctly show + translated messages on some locales (bgo#760429). +- Run spec-cleaner, modernize spec. + +------------------------------------------------------------------- +Mon Mar 5 14:52:47 UTC 2018 - jeng...@inai.de + +- Fix SRPM group. Ensure neutrality of descriptions. + +------------------------------------------------------------------- +Wed Feb 28 23:40:47 UTC 2018 - dims...@opensuse.org + +- Package COPYING as %license instead of %doc. + +------------------------------------------------------------------- New: ---- gsound-gsound-play-Call-setlocale.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gsound.spec ++++++ --- /var/tmp/diff_new_pack.0BX61O/_old 2020-01-30 14:50:40.410911178 +0100 +++ /var/tmp/diff_new_pack.0BX61O/_new 2020-01-30 14:50:40.410911178 +0100 @@ -1,7 +1,7 @@ # # spec file for package gsound # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2014 Bjørn Lie, Bryne, Norway. # # All modifications and additions to the file contributed by third parties @@ -13,37 +13,41 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define soname lib%{name}0 + Name: gsound Version: 1.0.2 Release: 0 -Summary: A small library for playing system sounds -License: LGPL-2.1 -Group: System/Libraries -Url: https://wiki.gnome.org/Projects/GSound -Source: http://download.gnome.org/sources/gsound/1.0/gsound-%{version}.tar.xz +Summary: A library for playing system sounds +License: LGPL-2.1-only +Group: Development/Libraries/GNOME +URL: https://wiki.gnome.org/Projects/GSound +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: pkgconfig BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(libcanberra) BuildRequires: pkgconfig(vapigen) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -GSound is a small library for playing system sounds. +GSound is a library for playing system sounds. It's designed to be used via GObject Introspection, -and is a thin wrapper around the libcanberra C library. +and is a wrapper around the libcanberra C library. %package -n %{soname} Summary: Shared library for gsound Group: System/Libraries %description -n %{soname} -GSound is a small library for playing system sounds. +GSound is a library for playing system sounds. It's designed to be used via GObject Introspection, -and is a thin wrapper around the libcanberra C library. +and is a wrapper around the libcanberra C library. This package provides the shared library for gsound. @@ -52,9 +56,9 @@ Group: System/Libraries %description -n typelib-1_0-GSound-1_0 -GSound is a small library for playing system sounds. +GSound is a library for playing system sounds. It's designed to be used via GObject Introspection, -and is a thin wrapper around the libcanberra C library. +and is a wrapper around the libcanberra C library. %package devel Summary: Development files for gsound @@ -63,42 +67,39 @@ Requires: typelib-1_0-GSound-1_0 = %{version} %description devel -GSound is a small library for playing system sounds. +GSound is a library for playing system sounds. It's designed to be used via GObject Introspection, -and is a thin wrapper around the libcanberra C library. +and is a wrapper around the libcanberra C library. This package provides files needed for developing applications with gsound. %prep -%setup -q +%autosetup -p1 %build -%configure --disable-static --enable-vala -make %{?_smp_mflags} +%configure \ + --disable-static \ + --enable-vala \ + %{nil} +%make_build %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} - -# REMOVE libtool archive -rm %{buildroot}%{_libdir}/libgsound.la +%make_install +find %{buildroot} -type f -name "*.la" -delete -print %post -n %{soname} -p /sbin/ldconfig - %postun -n %{soname} -p /sbin/ldconfig %files -%defattr(-,root,root) %doc ChangeLog README %{_bindir}/gsound-play %files -n %{soname} -%defattr(-,root,root) -%doc COPYING +%license COPYING %{_libdir}/libgsound.so.* %files devel -%defattr(-,root,root) %{_datadir}/gir-1.0/GSound-1.0.gir %{_datadir}/gtk-doc/html/gsound/ %{_datadir}/vala/vapi/gsound.deps @@ -110,7 +111,6 @@ %{_libdir}/pkgconfig/gsound.pc %files -n typelib-1_0-GSound-1_0 -%defattr(-,root,root) %{_libdir}/girepository-1.0/GSound-1.0.typelib %changelog ++++++ gsound-gsound-play-Call-setlocale.patch ++++++ >From ef94719d7ec2adfd72b38418754786d4e3346176 Mon Sep 17 00:00:00 2001 From: Ting-Wei Lan <la...@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