Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package grafx2 for openSUSE:Factory checked 
in at 2026-01-08 15:26:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/grafx2 (Old)
 and      /work/SRC/openSUSE:Factory/.grafx2.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "grafx2"

Thu Jan  8 15:26:08 2026 rev:3 rq:1325775 version:2.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/grafx2/grafx2.changes    2022-04-22 
21:56:24.294953033 +0200
+++ /work/SRC/openSUSE:Factory/.grafx2.new.1928/grafx2.changes  2026-01-08 
15:27:11.304455377 +0100
@@ -1,0 +2,11 @@
+Tue Jan  6 17:36:17 UTC 2026 - Martin Hauke <[email protected]>
+
+- Update to version 2.9
+  * Load and save Apple 2GS formats.
+  * Load PI4 and PI5 formats (Atari TT/Falcon).
+  * Load more C64 and CPC file formats.
+  * Fix more crashes and bugs.
+- Fix URL
+- Build with support for SDL2
+
+-------------------------------------------------------------------

Old:
----
  grafx2-2.8.3124-src.tgz

New:
----
  6502-v0.1.tar.xz
  grafX2-v2.9.tar.bz2
  recoil-6.4.2.tar.gz

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

Other differences:
------------------
++++++ grafx2.spec ++++++
--- /var/tmp/diff_new_pack.aMdqZK/_old  2026-01-08 15:27:11.856478642 +0100
+++ /var/tmp/diff_new_pack.aMdqZK/_new  2026-01-08 15:27:11.856478642 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package grafx2
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,58 +16,65 @@
 #
 
 
+%define recoilver 6.4.2
+%define sixfivezerotwover 0.1
+
 Name:           grafx2
-Version:        2.8.3124
+Version:        2.9
 Release:        0
 Summary:        Pixel Art editor
 License:        GPL-2.0-only
 Group:          Productivity/Graphics/Bitmap Editors
 URL:            http://grafx2.tk
-Source:         
https://gitlab.com/GrafX2/grafX2/-/jobs/2038210751/artifacts/raw/grafx2-%{version}-src.tgz
+Source:         
https://gitlab.com/GrafX2/grafX2/-/archive/v%{version}/grafX2-v%{version}.tar.bz2
+Source1:        
https://sourceforge.net/projects/recoil/files/recoil/%{recoilver}/recoil-%{recoilver}.tar.gz
+Source2:        
https://github.com/redcode/6502/releases/download/v%{sixfivezerotwover}/6502-v%{sixfivezerotwover}.tar.xz
 BuildRequires:  gcc-c++
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  libpng16-devel
 BuildRequires:  libtiff-devel
 BuildRequires:  pkgconfig
 BuildRequires:  update-desktop-files
-BuildRequires:  pkgconfig(SDL_image)
-BuildRequires:  pkgconfig(SDL_ttf)
+BuildRequires:  pkgconfig(SDL2_image)
+BuildRequires:  pkgconfig(SDL2_ttf)
 BuildRequires:  pkgconfig(fontconfig)
 BuildRequires:  pkgconfig(freetype2)
 BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(lua)
-BuildRequires:  pkgconfig(sdl)
+BuildRequires:  pkgconfig(sdl2)
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(zlib)
+Provides:       bundled(6502) = %{sixfivezerotwover}
+Provides:       bundled(recoil) = %{recoilver}
 
 %description
 GrafX2 is a bitmap paint program inspired by the Amiga programs Deluxe Paint 
and Brilliance.
 
 %prep
-%autosetup -n grafx2
+%autosetup -n grafX2-v%{version}
+mkdir -p 3rdparty/archives/
+cp -a %{SOURCE1} %{SOURCE2} 3rdparty/archives/
 
 %build
 cd src
-make %{?_smp_mflags}
+make %{?_smp_mflags} API=sdl2
 
 %install
 cd src
-make install PREFIX=%{_prefix} DESTDIR=%{buildroot}
-
-mkdir -p %{buildroot}%{_datadir}/applications
-mkdir -p %{buildroot}%{_datadir}/metainfo
+make install PREFIX=%{_prefix} DESTDIR=%{buildroot} API=sdl2
 
 %suse_update_desktop_file grafx2 -r Graphics 2DGraphics
 
 mkdir -p %{buildroot}%{_datadir}/pixmaps
 mv %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/grafx2.xpm 
%{buildroot}%{_datadir}/pixmaps/grafx2.xpm
-mv %{buildroot}%{_bindir}/grafx2-sdl %{buildroot}%{_bindir}/grafx2
+mv %{buildroot}%{_bindir}/grafx2-sdl2 %{buildroot}%{_bindir}/grafx2
 
 %files
+%doc doc/README.txt doc/quickstart.rtf
 %{_bindir}/grafx2
 %{_datadir}/grafx2
 %{_datadir}/applications/grafx2.desktop
-%{_datadir}/metainfo/grafx2.appdata.xml
+%{_datadir}/metainfo/eu.grafx2.grafx2.metainfo.xml
 %{_datadir}/pixmaps/grafx2.xpm
 %{_datadir}/icons/hicolor/scalable/apps/grafx2.svg
 

Reply via email to