diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.gitignore diff --git a/README-wayland b/README-wayland new file mode 100644 index 0000000..2602f14 --- /dev/null +++ b/README-wayland @@ -0,0 +1,13 @@ +A known issue[1] exists when running RaySession on Wayland. +Once started in a terminal, there will be an error message that +reads "qt.qpa.wayland: Wayland does not support QWindow::requestActivate()" +which obfuscates numerous other messages that are printed to the terminal. +In the QT Forum this was discussed[2] +with the result that using this function call is not allowed +in wayland. + +As such, running RaySession on Wayland is not recommended until the issue +can be fixed upstream. + +[1]https://github.com/Houston4444/RaySession/issues/44 +[2]https://forum.qt.io/topic/90639 \ No newline at end of file diff --git a/raysession-0001-fix-invalid-category.patch b/raysession-0001-fix-invalid-category.patch new file mode 100644 index 0000000..e6ec598 --- /dev/null +++ b/raysession-0001-fix-invalid-category.patch @@ -0,0 +1,11 @@ +Index: raysession/data/raysession.desktop +=================================================================== +--- raysession.orig/data/raysession.desktop ++++ raysession/data/raysession.desktop +@@ -7,4 +7,4 @@ Exec=raysession + Icon=raysession + Terminal=false + Type=Application +-Categories=AudioVideo;AudioEditing;Qt; ++Categories=AudioVideo;Audio;Qt; + diff --git a/raysession-0002-remove-unnecessary-shebang.patch b/raysession-0002-remove-unnecessary-shebang.patch new file mode 100644 index 0000000..3dee802 --- /dev/null +++ b/raysession-0002-remove-unnecessary-shebang.patch @@ -0,0 +1,22 @@ +From 61aa8762c30ed9cb927d657b955db91650989ed3 Mon Sep 17 00:00:00 2001 +Message-Id: <61aa8762c30ed9cb927d657b955db91650989ed3.1581222764.git.erich@ericheickmeyer.com> +From: Erich Eickmeyer +Date: Sat, 8 Feb 2020 20:32:29 -0800 +Subject: [PATCH] remove unnecessary shebang + +--- + src/shared/jacklib.py | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/src/shared/jacklib.py b/src/shared/jacklib.py +index fe0ae10..9a4a082 100644 +--- a/src/shared/jacklib.py ++++ b/src/shared/jacklib.py +@@ -1,4 +1,3 @@ +-#!/usr/bin/env python3 + # -*- coding: utf-8 -*- + + # JACK ctypes definitions for usage in python applications +-- +2.24.1 + diff --git a/raysession.spec b/raysession.spec new file mode 100644 index 0000000..7f53d0a --- /dev/null +++ b/raysession.spec @@ -0,0 +1,88 @@ +Name: raysession +Version: 0.8.3 +Release: 1%{?dist} +Summary: Session manager for audio software +BuildArch: noarch + + +# The entire source code is GPLv2 + +License: GPLv2 +URL: https://github.com/Houston4444/RaySession +Source0: %{url}/archive/v%{version}/RaySession-%{version}.tar.gz +# https://github.com/Houston4444/RaySession/issues/44 +Source1: README-wayland +# https://github.com/Houston4444/RaySession/issues/38 +Patch0: %{name}-0001-fix-invalid-category.patch +# https://github.com/Houston4444/RaySession/issues/39 +Patch1: %{name}-0002-remove-unnecessary-shebang.patch + +BuildRequires: python3-qt5 +BuildRequires: qt5-linguist +BuildRequires: desktop-file-utils +Requires: python3 +Requires: python3-qt5 +Requires: python3-pyliblo +Requires: hicolor-icon-theme +Requires: shared-mime-info +Recommends: wmctrl +Recommends: git +Recommends: jack-audio-connection-kit + +%description +Ray Session is a GNU/Linux session manager for audio programs as Ardour, +Carla, QTractor, Non-Timeline, etc... + +It uses the same API as Non Session Manager, so programs compatible with NSM +are also compatible with Ray Session. As Non Session Manager, the principle +is to load together audio programs, then be able to save or close all +documents together. + +Ray Session offers a little more: + + - Factory templates for NSM and LASH compatible applications + - Possibility to save any client as template + - Save session as template + - Name files with a prettier way + - remember if client was started or not + - Abort session almost anytime + - Change Main Folder of sessions on GUI + - Possibility to KILL client if clean exit is too long + - Open Session Folder button (open default file manager) + + Ray Session is being developed by houston4444, using Python3 and Qt5. + +%prep +%autosetup -p 1 -n RaySession-%{version} +/usr/bin/cp %{SOURCE1} ./ +#remove space in "snapshots explain" https://github.com/Houston4444/RaySession/issues/40 +mv snapshots\ explain snapshots-explain + +%build +%{set_build_flags} +make LRELEASE=lrelease-qt5 %{?_smp_mflags} + +%install +%make_install PREFIX=%{_prefix} + +%check +desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop + +%files +%doc README.md +%doc TODO +%doc TRANSLATORS +%doc snapshots-explain +%doc README-wayland +%license COPYING +%{_bindir}/ray-daemon +%{_bindir}/ray_control +%{_bindir}/raysession +%{_datadir}/applications/%{name}.desktop +%{_datadir}/%{name}/ +%{_datadir}/icons/hicolor/*/apps/%{name}.* +# No manpages, developer is aware https://github.com/Houston4444/RaySession/issues/40 + +%changelog +* Sat Feb 8 2020 Erich Eickmeyer - 0.8.3-1 +- Initial release for Fedora diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/sources