7 Commits

Author SHA256 Message Date
dd8d3e6c96 Accepting request 1326786 from multimedia:apps
OBS-URL: https://build.opensuse.org/request/show/1326786
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/supercollider?expand=0&rev=3
2026-01-13 20:26:38 +00:00
83ce17316b - add 000-SuperCollider-Fix-qt-6.10.1-build.patch
- add 001-SuperCollider-remove-NO_GPL3-option.patch see: 
  c00c36ffc5
  enable Vim extension build
- set noarch for emacs and vim subpackages
- refresh spec
- update to 3.14.1:
  * This release fixes a bug when setting args as keyword arguments
    in class methods. It also fixes the content of some helpfiles,
    boost libraries integration, build system, and the CI pipeline.
- full 3.14 Changelog see:
  https://github.com/supercollider/supercollider/blob/3.14/CHANGELOG.md

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/supercollider?expand=0&rev=41
2026-01-12 13:12:38 +00:00
c7c0aef1f2 Accepting request 1293424 from multimedia:apps
- update to 3.14.0~rc1:
  * Sclang functions now support collecting arbitrary keyword
     arguments via { |...args, kwargs| kwargs }
  * The initialization sample of multiple UGens was fixed
  * Documentation can now also be themed like the IDE
  * migrated to qt6, added and improved tests,
    updated 3rd-party libraries
  * updated the build system for most recent build tools
- select pipewire-libjack over jack

OBS-URL: https://build.opensuse.org/request/show/1293424
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/supercollider?expand=0&rev=2
2025-07-17 15:17:48 +00:00
d41f544353 - update to 3.14.0~rc1:
* Sclang functions now support collecting arbitrary keyword
     arguments via { |...args, kwargs| kwargs }
  * The initialization sample of multiple UGens was fixed
  * Documentation can now also be themed like the IDE
  * migrated to qt6, added and improved tests,
    updated 3rd-party libraries
  * updated the build system for most recent build tools
- add gpg validation

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/supercollider?expand=0&rev=39
2025-06-29 08:59:33 +00:00
15ff14de9f OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/supercollider?expand=0&rev=37 2023-02-28 16:20:08 +00:00
eafb6ce1de OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/supercollider?expand=0&rev=36 2023-02-28 10:05:40 +00:00
2e27941771 - select pipewire-libjack over jack
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/supercollider?expand=0&rev=35
2023-02-28 10:05:29 +00:00
8 changed files with 159 additions and 39 deletions

View File

@@ -0,0 +1,41 @@
From e997e47890a9cee137756dede664811a58dbf85a Mon Sep 17 00:00:00 2001
From: xunil-cloud <freed602om@gmail.com>
Date: Sat, 13 Dec 2025 11:28:15 +0800
Subject: [PATCH] ide: Explicitly convert KeyboardModifiers to an integer type
Fix qt 6.10.1 build
---
editors/sc-ide/widgets/code_editor/editor.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/editors/sc-ide/widgets/code_editor/editor.cpp b/editors/sc-ide/widgets/code_editor/editor.cpp
index a2f99389781..e8cee85eef9 100644
--- a/editors/sc-ide/widgets/code_editor/editor.cpp
+++ b/editors/sc-ide/widgets/code_editor/editor.cpp
@@ -698,7 +698,7 @@ void GenericCodeEditor::mousePressEvent(QMouseEvent* e) {
.arg(e->position().x())
.arg(e->position().y())
#endif
- .arg(e->modifiers())
+ .arg(static_cast<Qt::KeyboardModifiers::Int>(e->modifiers()))
.arg(button),
true);
}
@@ -732,7 +732,7 @@ void GenericCodeEditor::mouseDoubleClickEvent(QMouseEvent* e) {
.arg(e->position().x())
.arg(e->position().y())
#endif
- .arg(e->modifiers())
+ .arg(static_cast<Qt::KeyboardModifiers::Int>(e->modifiers()))
.arg(button),
true);
}
@@ -766,7 +766,7 @@ void GenericCodeEditor::mouseReleaseEvent(QMouseEvent* e) {
.arg(e->position().x())
.arg(e->position().y())
#endif
- .arg(e->modifiers())
+ .arg(static_cast<Qt::KeyboardModifiers::Int>(e->modifiers()))
.arg(button),
true);
}

View File

@@ -0,0 +1,52 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ee8f655..58f1286 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -185,7 +185,6 @@ if(WIN32)
else(WIN32)
option(NO_AVAHI "Disable Avahi support. (Not recommended.)" OFF)
endif(WIN32)
-option(NO_GPL3 "Disable GPL3 code, for pure-GPL2 situations. (Not recommended.)" OFF)
option(SCLANG_SERVER "Build with internal server." ON)
@@ -437,10 +436,6 @@ elseif(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_SYSTEM_PROCESSOR STREQUAL "armv6l")
endforeach()
endif()
-if (NO_GPL3)
- add_definitions(-DNO_GPL3)
-endif()
-
if(SC_DISABLE_XCODE_CODESIGNING)
set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO")
set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "")
diff --git a/HelpSource/Other/Licensing.html b/HelpSource/Other/Licensing.html
index 55c7dff..856defa 100644
--- a/HelpSource/Other/Licensing.html
+++ b/HelpSource/Other/Licensing.html
@@ -26,7 +26,7 @@ span.s3 {text-decoration: underline ; color: #0039da}
<p class="p4"><br></p>
<p class="p3">--</p>
<p class="p3"><b>Some further notes:</b></p>
-<p class="p3">SuperCollider was originally published under the terms of <b><i>version 2 or later</i></b> of the GPL, but the application now includes some GPL3-licensed code. If you have a need specifically for GPL2 compatibility then it is possible to recompile SuperCollider from source without the GPL3 elements.</p>
+<p class="p3">SuperCollider was originally published under the terms of <b><i>version 2 or later</i></b> of the GPL, but the application now includes some GPL3-licensed code.</p>
<p class="p3">SuperCollider's help documentation is published under <a href="HelpDocsLicensing.html"><span class="s3">a Creative Commons license</span></a>.</p>
</body>
</html>
diff --git a/editors/CMakeLists.txt b/editors/CMakeLists.txt
index b74b2f5..2225317 100644
--- a/editors/CMakeLists.txt
+++ b/editors/CMakeLists.txt
@@ -12,10 +12,6 @@ if(SC_EL)
endif()
if(SC_VIM)
- if(NO_GPL3)
- message(WARNING "SC_VIM requested, but NO_GPL3 flag is on, so not activated.")
- else()
- add_subdirectory(scvim)
- endif()
+ add_subdirectory(scvim)
endif()

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0fc5dba5baeae37f9069ad28885aa405c6a25309e3886cbe111bd3b7c05531ce
size 18685091

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ee640c68777ae697682066ce5c4a8b7e56c5b223e76c79c13b5be5387ee55bb2
size 20933809

Binary file not shown.

View File

@@ -1,3 +1,37 @@
-------------------------------------------------------------------
Sat Jan 10 23:11:22 UTC 2026 - Konstantin Voinov <kv@kott.no-ip.biz>
- add 000-SuperCollider-Fix-qt-6.10.1-build.patch
- add 001-SuperCollider-remove-NO_GPL3-option.patch see:
https://github.com/supercollider/supercollider/commit/c00c36ffc571955d4cad8a22e80b4162fe5adb63
enable Vim extension build
- set noarch for emacs and vim subpackages
- refresh spec
- update to 3.14.1:
* This release fixes a bug when setting args as keyword arguments
in class methods. It also fixes the content of some helpfiles,
boost libraries integration, build system, and the CI pipeline.
- full 3.14 Changelog see:
https://github.com/supercollider/supercollider/blob/3.14/CHANGELOG.md
-------------------------------------------------------------------
Sun Jun 29 08:57:44 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 3.14.0~rc1:
* Sclang functions now support collecting arbitrary keyword
arguments via { |...args, kwargs| kwargs }
* The initialization sample of multiple UGens was fixed
* Documentation can now also be themed like the IDE
* migrated to qt6, added and improved tests,
updated 3rd-party libraries
* updated the build system for most recent build tools
-------------------------------------------------------------------
Tue Feb 28 10:05:16 UTC 2023 - Dirk Müller <dmueller@suse.com>
- select pipewire-libjack over jack
-------------------------------------------------------------------
Sat Feb 25 00:20:29 UTC 2023 - Dirk Müller <dmueller@suse.com>
@@ -99,7 +133,7 @@ Sat Feb 25 00:20:29 UTC 2023 - Dirk Müller <dmueller@suse.com>
* Fixed CPU hog when sclang is built without Qt.
* Fixed some stray issues on Windows with paths containing non-
ASCII characters.
- add gpg validation
- add gpg validation
- drop patch fix-desktop.patch, x64-libdir.patch, supercollider.patch: obsolete
-------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
#
# spec file for package supercollider
#
# Copyright (c) 2023 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
@@ -17,37 +17,32 @@
Name: supercollider
Version: 3.13.0
Version: 3.14.1
%global tar_version 3.14.1
Release: 0
Summary: Programming environment for audio synthesis and composition
License: GPL-3.0-only
Group: Productivity/Multimedia/Sound/Utilities
URL: https://supercollider.github.io/
Source0: https://github.com/supercollider/supercollider/releases/download/Version-%{version}/SuperCollider-%{version}-Source.tar.bz2
Source1: https://github.com/supercollider/supercollider/releases/download/Version-%{version}/SuperCollider-%{version}-Source.tar.bz2.asc
Source0: https://github.com/supercollider/supercollider/releases/download/Version-%{tar_version}/SuperCollider-%{tar_version}-Source.tar.bz2
Source1: https://github.com/supercollider/supercollider/releases/download/Version-%{tar_version}/SuperCollider-%{tar_version}-Source.tar.bz2.asc
Source2: supercollider.keyring
Patch0: 000-SuperCollider-Fix-qt-6.10.1-build.patch
Patch1: 001-SuperCollider-remove-NO_GPL3-option.patch
BuildRequires: alsa-lib-devel
BuildRequires: avahi-devel
BuildRequires: hicolor-icon-theme
BuildRequires: cmake
BuildRequires: emacs-nox
BuildRequires: fdupes
BuildRequires: fftw3-devel
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: libX11-devel
BuildRequires: libXt-devel
BuildRequires: libcurl-devel
# BuildRequires: libcwiid-devel
BuildRequires: libicu-devel
BuildRequires: libjack-devel
BuildRequires: libqt5-qtbase-devel
BuildRequires: libqt5-qtlocation-devel
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Sensors)
BuildRequires: pkgconfig(Qt5WebEngineCore)
BuildRequires: pkgconfig(Qt5WebEngineWidgets)
BuildRequires: pkgconfig(Qt5WebSockets)
BuildRequires: libqt5-qttools-devel
BuildRequires: libsndfile-devel
BuildRequires: libtool
BuildRequires: libudev-devel
@@ -56,8 +51,20 @@ BuildRequires: readline-devel
BuildRequires: ruby
BuildRequires: w3m
BuildRequires: yaml-cpp-devel
BuildRequires: pkgconfig(Qt6Concurrent)
BuildRequires: pkgconfig(Qt6Linguist)
BuildRequires: pkgconfig(Qt6Sensors)
BuildRequires: pkgconfig(Qt6Svg)
BuildRequires: pkgconfig(Qt6WebEngineCore)
BuildRequires: pkgconfig(Qt6WebEngineWidgets)
BuildRequires: pkgconfig(Qt6WebSockets)
BuildRequires: pkgconfig(atomic_ops)
Suggests: jack
%if 0%{?suse_version} > 1500
# Force pipewire over jack itself
Requires: pipewire-libjack-0_3
%else
Requires: jack
%endif
%description
SuperCollider is a platform for audio synthesis and algorithmic composition,
@@ -86,28 +93,23 @@ SuperCollider applications
Summary: SuperCollider support for Emacs
Group: Development/Tools/IDE
Requires: supercollider = %{version}-%{release}
BuildArch: noarch
%description emacs
SuperCollider support for the Emacs text editor.
%package gedit
Summary: SuperCollider support for GEdit
Group: Development/Tools/IDE
Requires: supercollider = %{version}-%{release}
%description gedit
SuperCollider support for the GEdit text editor.
%package vim
Summary: SuperCollider support for Vim
Group: Development/Tools/IDE
Requires: supercollider = %{version}-%{release}
BuildArch: noarch
%description vim
SuperCollider support for the Vim text editor.
%prep
%setup -q -n SuperCollider-%{version}-Source
%setup -q -n SuperCollider-%{tar_version}-Source
%autopatch -p1
%build
# remove exec flag from boost
@@ -125,9 +127,8 @@ find external_libraries/boost -type f -exec chmod -x {} \;
%if 0%{?suse_version} > 1320
-DCMAKE_CXX_FLAGS="-fext-numeric-literals %{optflags}" \
%endif
-DSUPERNOVA=ON
-DSC_EL=ON -DSC_VIM=ON -DSUPERNOVA=ON
%make_build clean
%make_build
%install
@@ -174,6 +175,7 @@ rm -rf %{buildroot}%{_datadir}/doc/SuperCollider
%{_datadir}/applications/SuperColliderIDE.desktop
%{_datadir}/icons/hicolor/scalable/apps/sc_ide.svg
%{_datadir}/icons/hicolor/*x*/apps/supercollider.*
%{_datadir}/metainfo/online.supercollider.SuperCollider.metainfo.xml
%files devel
%{_includedir}/SuperCollider
@@ -188,7 +190,7 @@ rm -rf %{buildroot}%{_datadir}/doc/SuperCollider
# %{_bindir}/sclangpipe_app
# %{_bindir}/scvim
# %{_datadir}/scvim
# %{_datadir}/SuperCollider/Extensions/scvim
%{_datadir}/SuperCollider/Extensions/scide_scvim/
# %dir %{_datadir}/vim
# %dir %{_datadir}/vim/addons
# %dir %{_datadir}/vim/addons/ftplugin
@@ -198,13 +200,4 @@ rm -rf %{buildroot}%{_datadir}/doc/SuperCollider
# %dir %{_datadir}/vim/registry
# %{_datadir}/vim/registry/supercollider-vim.yaml
%files gedit
%doc editors/sced/README.md
%dir %{_libdir}/gedit
%dir %{_libdir}/gedit/plugins
%{_libdir}/gedit/plugins/*
%dir %{_datadir}/gtksourceview-3.0
%dir %{_datadir}/gtksourceview-3.0/language-specs
%{_datadir}/gtksourceview-3.0/language-specs/supercollider.lang
%changelog