public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/xaos] rawhide: Update to 4.3.8
Date: Thu, 29 Oct 2026 00:36:28 GMT	[thread overview]
Message-ID: <179323418834.1.1726712939780244064.rpms-xaos-8585268fcc5f@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/xaos
            Branch : rawhide
            Commit : 8585268fcc5f100d464931f46e3ac387beb16ba8
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-10-28T20:34:28-04:00
            Stats  : +54/-31 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/xaos/c/8585268fcc5f100d464931f46e3ac387beb16ba8?branch=rawhide

            Log:
            Update to 4.3.8

- Convert to cmake
- Drop forge macros
- Fix flatpak build
- Prepare optional features (disabled by default)

---
diff --git a/.gitignore b/.gitignore
index d01ab82..3f09e7a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ xaos-3.5.tar.gz
 /XaoS-release-4.3.2.tar.gz
 /XaoS-release-4.3.3.tar.gz
 /XaoS-release-4.3.4.tar.gz
+/XaoS-release-4.3.8.tar.gz

diff --git a/sources b/sources
index b1aa022..6bd724c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (XaoS-release-4.3.4.tar.gz) = fddec7a6373e2e7f62989bc32493a47e580bc78352eedb1e3ded02d359d676c6fa3931ffa21a3741f36ddc7d1803997c75df42c813ee1cd9cd38335f6038bbfa
+SHA512 (XaoS-release-4.3.8.tar.gz) = d520b6addefb8279420b264d8b7232cc1dc04418a28a8618567e1520e5b775f5646514e937be96a33720b85a9556025bdb907ce8f9ca1aa84a453a66a7e2c2a2

diff --git a/xaos.spec b/xaos.spec
index 175a031..7d8306c 100644
--- a/xaos.spec
+++ b/xaos.spec
@@ -1,22 +1,37 @@
+# these features are disabled by default
+%bcond opengl 0
+# not all arches support quadmath
+%ifarch x86_64 ppc64le
+%bcond quadmath 0
+%endif
+
 Name:           xaos
-Version:        4.3.4
+Version:        4.3.8
 Release:        %autorelease
 Summary:        A fast, portable real-time interactive fractal zoomer
-
-%global forgeurl https://github.com/xaos-project/XaoS
-%global tag release-%{version}
-%forgemeta
-
 License:        GPL-2.0-or-later
-URL:            %forgeurl
-Source:         %forgesource
+URL:            https://xaos-project.github.io/
+VCS:            https://github.com/xaos-project/XaoS
+Source:         %{vcs}/archive/release-%{version}/XaoS-release-%{version}.tar.gz
 
+# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
 ExcludeArch:    %{ix86}
 
-BuildRequires:  cmake(qt6)
-BuildRequires:  gcc
-BuildRequires:  libatomic
-BuildRequires:  qt6-linguist
+BuildRequires:  cmake
+BuildRequires:  desktop-file-utils
+BuildRequires:  gcc-c++
+BuildRequires:  libappstream-glib
+BuildRequires:  cmake(Qt6Widgets)
+BuildRequires:  cmake(Qt6PrintSupport)
+BuildRequires:  cmake(Qt6LinguistTools)
+%if %{with opengl}
+BuildRequires:  cmake(Qt6OpenGL)
+BuildRequires:  cmake(Qt6OpenGLWidgets)
+BuildRequires:  pkgconfig(glut)
+%endif
+%if %{with quadmath}
+BuildRequires:  libquadmath-devel
+%endif
 
 
 %description
@@ -29,41 +44,48 @@ on-the-fly plane switching.
 
 
 %prep
-%forgeautosetup -p1
+%autosetup -p1 -n XaoS-release-%{version}
+# fix DATAPATH for variable prefix (e.g. flatpaks)
+sed -i -e 's|/usr/share|%{_datadir}|' src/include/config.h
+
 
 %build
-%qmake_qt6
-%make_build STRIP=:
+%cmake \
+  -DDEEPZOOM=%{?with_quadmath:ON}%{!?with_quadmath:OFF} \
+  -DOPENGL=%{?with_opengl:ON}%{!?with_opengl:OFF} \
+  -DMOBILE_UI=OFF
+%cmake_build
+
 
 %install
-#
-# Stolen from https://build.opensuse.org/package/view_file/openSUSE:Factory/xaos/xaos.spec?expand=1
-#
-# Empty install target generated by qmake => install files manually
-# Binary
-install -D --mode 0755 --target-directory %{buildroot}%{_bindir} bin/%{name}
+%cmake_install
 
 # Data; Datapath forced to XaoS (not configurable)
-install -D --mode 0644 --target-directory %{buildroot}%{_datadir}/XaoS/catalogs catalogs/*.cat
-cp --archive examples tutorial %{buildroot}%{_datadir}/XaoS
+mkdir -p %{buildroot}%{_datadir}/XaoS
+mv %{buildroot}%{_prefix}/{catalogs,examples,tutorial} %{buildroot}%{_datadir}/XaoS/
 
 # Icon, .desktop, AppData
-install -D --mode 0644 --target-directory %{buildroot}%{_datadir}/metainfo xdg/%{name}.appdata.xml
-install -D --mode 0644 --target-directory %{buildroot}%{_datadir}/applications xdg/io.github.xaos_project.XaoS.desktop
-install -D --mode 0644 --target-directory %{buildroot}%{_datadir}/pixmaps xdg/%{name}.png
+install -D --mode 0644 --target-directory %{buildroot}%{_metainfodir} xdg/%{name}.appdata.xml
+appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdata.xml
+desktop-file-install --dir %{buildroot}%{_datadir}/applications \
+  --set-key=Exec --set-value=XaoS \
+  xdg/io.github.xaos_project.XaoS.desktop
+install -D --mode 0644 --target-directory %{buildroot}%{_datadir}/icons/hicolor/256x256/apps xdg/%{name}.png
 
 # Man
 install -D --mode 0644 --target-directory %{buildroot}%{_mandir}/man6 doc/%{name}.6
 
+
 %files
 %doc CREDITS.md NEWS doc/README
 %license COPYING
-%{_bindir}/%{name}
-%{_datadir}/XaoS
+%{_bindir}/XaoS
+%{_datadir}/XaoS/
 %{_datadir}/applications/io.github.xaos_project.XaoS.desktop
-%{_datadir}/metainfo/%{name}.appdata.xml
-%{_datadir}/pixmaps/%{name}.png
+%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
 %{_mandir}/man6/xaos.6.gz
+%{_metainfodir}/%{name}.appdata.xml
+
 
 %changelog
 %autochangelog

                 reply	other threads:[~2026-10-29  0:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179323418834.1.1726712939780244064.rpms-xaos-8585268fcc5f@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox