Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mp for openSUSE:Factory checked in 
at 2024-12-04 15:27:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mp (Old)
 and      /work/SRC/openSUSE:Factory/.mp.new.28523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mp"

Wed Dec  4 15:27:38 2024 rev:4 rq:1228179 version:5.2.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/mp/mp.changes    2024-02-22 21:03:11.065398076 
+0100
+++ /work/SRC/openSUSE:Factory/.mp.new.28523/mp.changes 2024-12-04 
15:27:44.050762323 +0100
@@ -1,0 +2,13 @@
+Wed Dec  4 08:23:42 UTC 2024 - Martin Pluskal <mplus...@suse.com>
+
+- Modernise spec file and remove obsolete rpmlintrc filters 
+- Do not use source urls for download as they are not available
+  anymore
+
+-------------------------------------------------------------------
+Tue Dec  3 13:35:57 UTC 2024 - Friedrich Haubensak <hs...@mail.de>
+
+- Add mp-scrollevent.patch to fix type issue found by gcc14 compile
+  time error.
+
+-------------------------------------------------------------------

New:
----
  mp-scrollevent.patch

BETA DEBUG BEGIN:
  New:
- Add mp-scrollevent.patch to fix type issue found by gcc14 compile
  time error.
BETA DEBUG END:

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

Other differences:
------------------
++++++ mp.spec ++++++
--- /var/tmp/diff_new_pack.KqhWYc/_old  2024-12-04 15:27:44.618786141 +0100
+++ /var/tmp/diff_new_pack.KqhWYc/_new  2024-12-04 15:27:44.622786308 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mp
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -20,27 +20,23 @@
 Version:        5.2.13
 Release:        0
 Summary:        A text editor for programmers
-License:        GPL-2.0
-Group:          Productivity/Text/Editors
-Url:            http://triptico.com/software/mp.html
-Source0:        http://triptico.com/download/mp/mp-%{version}.tar.gz
-Source1:        http://triptico.com/download/mp/mp-%{version}.tar.gz.asc
+License:        GPL-2.0-only
+URL:            https://triptico.com/software/mp.html
+Source0:        mp-%{version}.tar.gz
+Source1:        mp-%{version}.tar.gz.asc
 Source2:        %{name}.keyring
 Source3:        %{name}-5.desktop
 Source4:        %{name}-5.png
 Source5:        %{name}-rpmlintrc
 Source6:        %{name}-5-gtk3.desktop
 Patch0:         %{name}-docdir.patch
+Patch1:         %{name}-scrollevent.patch
 BuildRequires:  fdupes
 BuildRequires:  ncurses-devel
 BuildRequires:  pkgconfig
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(Qt5Widgets)
 BuildRequires:  pkgconfig(gtk+-3.0)
-%if 0%{?suse_version} < 1500
-Requires(post): update-desktop-files
-Requires(postun): update-desktop-files
-%endif
 
 %description
 Minimum Profit
@@ -73,7 +69,6 @@
 
 %package        gtk3
 Summary:        A text editor for programmers (GTK+3 version)
-Group:          Productivity/Text/Editors
 Requires:       %{name} = %{version}
 
 %description    gtk3
@@ -111,10 +106,10 @@
 %build
 export CFLAGS="%{optflags}"
 ./config.sh --prefix=%{_prefix} --docdir=%{_docdir}/mp-5
-make %{?_smp_mflags}
+%make_build
 mv mp-5 mp-5-qt5
 WITHOUT_QT5=1 WITHOUT_QT4=1 ./config.sh --prefix=%{_prefix} 
--docdir=%{_docdir}/mp-5
-make %{?_smp_mflags}
+%make_build
 mv mp-5 mp-5-gtk3
 mv mp-5-qt5 mp-5
 
@@ -130,23 +125,15 @@
 %suse_update_desktop_file %{name}-5 TextEditor
 
 %find_lang minimum-profit
-rm %{buildroot}%{_datadir}/doc/packages/mp-5/mpsl_quickref.ps
+rm %{buildroot}%{_docdir}/mp-5/mpsl_quickref.ps
 %fdupes -s %{buildroot}
 
-%if 0%{?suse_version} < 1500
-%post
-%desktop_database_post
-
-%postun
-%desktop_database_postun
-%endif
-
 %files -f minimum-profit.lang
 %{_bindir}/%{name}-5
 %{_bindir}/%{name}sl
 %dir %{_docdir}/%{name}-5
 %{_docdir}/%{name}-5/*
-%{_mandir}/man1/%{name}-5.1%{ext_man}
+%{_mandir}/man1/%{name}-5.1%{?ext_man}
 %dir %{_datadir}/%{name}-5
 %{_datadir}/%{name}-5/*
 %{_datadir}/applications/%{name}-5.desktop
@@ -155,5 +142,5 @@
 %files gtk3
 %{_bindir}/%{name}-5-gtk3
 %{_datadir}/applications/%{name}-5-gtk3.desktop
-%{_mandir}/man1/%{name}-5-gtk3.1%{ext_man}
+%{_mandir}/man1/%{name}-5-gtk3.1%{?ext_man}
 



++++++ mp-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.KqhWYc/_old  2024-12-04 15:27:44.686788992 +0100
+++ /var/tmp/diff_new_pack.KqhWYc/_new  2024-12-04 15:27:44.690789160 +0100
@@ -1,24 +1,3 @@
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_core.mpsl")
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_crypt.mpsl")
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_session.mpsl")
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_move.mpsl")
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_writing.mpsl")
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_toys.mpsl")
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_misc.mpsl")
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_syntax.mpsl")
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_vcs.mpsl")
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_spell.mpsl")
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_edit.mpsl")
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_macro.mpsl")
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_templates.mpsl")
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_clipboard.mpsl")
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_tui.mpsl")
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_search.mpsl")
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_drv.mpsl")
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_build.mpsl")
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_tags.mpsl")
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_dir.mpsl")
-addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_file.mpsl")
 addFilter("no-manual-page-for-binary .*mpsl")
 
 

++++++ mp-scrollevent.patch ++++++
--- a/mpv_gtk.c 2018-02-19 13:22:50.000000000 +0100
+++ b/mpv_gtk.c 2024-12-03 15:29:07.578801575 +0100
@@ -517,7 +517,7 @@
 
 #if CONFOPT_GTK == 3
     case GDK_SCROLL_SMOOTH:
-        gdk_event_get_scroll_deltas(event, &dx, &dy);
+        gdk_event_get_scroll_deltas((GdkEvent *)event, &dx, &dy);
 
         if (dy > 0)
             ptr = L"mouse-wheel-down";

Reply via email to