Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package snd for openSUSE:Factory checked in 
at 2024-10-07 21:53:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/snd (Old)
 and      /work/SRC/openSUSE:Factory/.snd.new.19354 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "snd"

Mon Oct  7 21:53:24 2024 rev:53 rq:1206135 version:24.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/snd/snd.changes  2024-08-01 22:04:52.765580287 
+0200
+++ /work/SRC/openSUSE:Factory/.snd.new.19354/snd.changes       2024-10-07 
21:53:45.162053175 +0200
@@ -1,0 +2,6 @@
+Fri Sep  6 15:25:35 UTC 2024 - Stanislav Brabec <[email protected]>
+
+- Migrate from deprecated %suse_update_desktop_file to
+  %translate_suse_desktop. (boo#1158957)
+
+-------------------------------------------------------------------

Old:
----
  snd.desktop

New:
----
  snd.desktop.in

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ snd.spec ++++++
--- /var/tmp/diff_new_pack.ngbbeA/_old  2024-10-07 21:53:45.766078321 +0200
+++ /var/tmp/diff_new_pack.ngbbeA/_new  2024-10-07 21:53:45.770078487 +0200
@@ -34,7 +34,7 @@
 Group:          Productivity/Multimedia/Sound/Editors and Convertors
 URL:            https://ccrma.stanford.edu/software/snd/
 Source:         ftp://ccrma-ftp.stanford.edu/pub/Lisp/snd-%{version}.tar.gz
-Source1:        snd.desktop
+Source1:        snd.desktop.in
 Source2:        snd.png
 BuildRequires:  alsa-devel
 BuildRequires:  fftw3-devel
@@ -48,7 +48,7 @@
 BuildRequires:  libjack-devel
 BuildRequires:  libsamplerate-devel
 BuildRequires:  motif-devel
-BuildRequires:  update-desktop-files
+BuildRequires:  translate-suse-desktop
 Requires:       ladspa
 
 %description
@@ -59,6 +59,7 @@
 
 %prep
 %setup -q
+cp -a %{SOURCE1} .
 find -name "*~" -type f -print -delete
 find -name "*.png" -type f -exec chmod 0644 "{}" "+"
 
@@ -73,6 +74,7 @@
 sed -i "s:\(^LIBS =.*\):\1 -lX11 -ldl:" makefile
 %make_build
 %make_build sndplay sndinfo
+%translate_suse_desktop snd.desktop
 
 %install
 install -d -m 755 %{buildroot}/%{_bindir}
@@ -83,7 +85,7 @@
 cp -a *.scm %{buildroot}/%{_libdir}/snd/scheme
 mkdir -p %{buildroot}/%{_mandir}/man1
 install -c -m 0644 snd.1 %{buildroot}/%{_mandir}/man1
-%suse_update_desktop_file -i snd AudioVideo AudioVideoEditing
+install -D -m 0644 snd.desktop %{buildroot}%{_datadir}/applications/snd.desktop
 mkdir -p %{buildroot}/%{_datadir}/pixmaps
 cp %{SOURCE2} %{buildroot}/%{_datadir}/pixmaps
 

++++++ snd.desktop.in ++++++
[Desktop Entry]
Type=Application
_Name=Snd
_Comment=the Snd sound editor
Exec=snd
Icon=snd
Categories=AudioVideo;AudioVideoEditing;

Reply via email to