15 Commits

Author SHA256 Message Date
ea48542eac slade 3.2.11 2026-01-17 18:40:34 +01:00
7f2c924a29 slade 3.2.10 2026-01-05 16:50:55 +01:00
7f73650532 slade 3.2.9 2025-11-16 09:03:49 +01:00
2e771a1914 Specify current build dependencies 2025-10-21 19:01:15 +02:00
2f9556c764 slade 3.2.8 2025-10-21 11:21:20 +02:00
8273475613 Adjust clzma.diff for /lzma-sdk/lzma-sdk-shlib.patch 2025-08-24 14:55:32 +02:00
e6f1d48c46 Delete UBSAN cflags 2025-07-21 21:51:52 +02:00
Atri Bhattacharya
c228cf695c Drop unused dependency on glew.
Glew has been dropped in favour of GLAD since version 3.2.0 (see
upstream commit https://github.com/sirjuddington/SLADE/commit/4d0433b).
2025-04-15 21:21:22 +05:30
28bb419056 Use wxGTK3 & fmt 11 2025-03-26 16:14:47 +01:00
eeb37b47fa slade 3.2.7 2024-12-25 20:37:36 +01:00
660aab5cf2 changelog entry update 2024-11-28 21:45:29 +01:00
c54c8654e8 Update disable-sse.patch for current DUMB 2024-11-27 23:31:32 +01:00
ae3a81c728 Enable use of system fmt 2024-11-27 21:48:38 +01:00
2cdd65b844 Rework 3.2.6 patches & changelog 2024-11-27 19:03:22 +01:00
7968d9c2a2 slade 3.2.6 (rq 1226915) 2024-11-27 17:03:12 +01:00
8 changed files with 145 additions and 42 deletions

View File

@@ -18,11 +18,11 @@ Fixes: #1166
src/CMakeLists.txt | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
Index: SLADE-3.2.7/src/Application/SLADEWxApp.cpp
Index: SLADE-3.2.8/src/Application/SLADEWxApp.cpp
===================================================================
--- SLADE-3.2.7.orig/src/Application/SLADEWxApp.cpp
+++ SLADE-3.2.7/src/Application/SLADEWxApp.cpp
@@ -449,7 +449,7 @@ bool SLADEWxApp::OnInit()
--- SLADE-3.2.8.orig/src/Application/SLADEWxApp.cpp
+++ SLADE-3.2.8/src/Application/SLADEWxApp.cpp
@@ -452,7 +452,7 @@ bool SLADEWxApp::OnInit()
#endif
// Handle exceptions using wxDebug stuff, but only in release mode
@@ -31,14 +31,14 @@ Index: SLADE-3.2.7/src/Application/SLADEWxApp.cpp
wxHandleFatalExceptions(true);
#endif
Index: SLADE-3.2.7/src/CMakeLists.txt
Index: SLADE-3.2.8/src/CMakeLists.txt
===================================================================
--- SLADE-3.2.7.orig/src/CMakeLists.txt
+++ SLADE-3.2.7/src/CMakeLists.txt
@@ -41,3 +41,6 @@ if(WIN32 AND MSVC)
else()
--- SLADE-3.2.8.orig/src/CMakeLists.txt
+++ SLADE-3.2.8/src/CMakeLists.txt
@@ -47,3 +47,6 @@ if (WIN32 AND MSVC)
else ()
include("unix") # Linux or MacOS
endif()
endif ()
+if (NOT NO_CRASHHANDLER)
+ add_definitions(-DUSE_CRASHHANDLER)
+endif ()

BIN
3.2.11.tar.gz LFS Normal file

Binary file not shown.

BIN
3.2.7.tar.gz LFS

Binary file not shown.

View File

@@ -8,11 +8,11 @@ which is not used in Linux distros.)
src/Archive/ArchiveManager.cpp | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Index: SLADE-3.2.6/src/Archive/ArchiveManager.cpp
Index: SLADE-3.2.10/src/Archive/ArchiveManager.cpp
===================================================================
--- SLADE-3.2.6.orig/src/Archive/ArchiveManager.cpp
+++ SLADE-3.2.6/src/Archive/ArchiveManager.cpp
@@ -132,14 +132,12 @@ bool ArchiveManager::init()
--- SLADE-3.2.10.orig/src/Archive/ArchiveManager.cpp
+++ SLADE-3.2.10/src/Archive/ArchiveManager.cpp
@@ -133,14 +133,12 @@ bool ArchiveManager::init()
}
// Find slade3.pk3 directory
@@ -27,4 +27,4 @@ Index: SLADE-3.2.6/src/Archive/ArchiveManager.cpp
- if (!fileutil::fileExists(dir_slade_pk3))
dir_slade_pk3 = "slade.pk3";
// Open slade.pk3
// If still not found, try $APPDIR/usr/share/slade3/slade.pk3

View File

@@ -1,9 +1,7 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2020-06-22 21:16:10.343429323 +0200
Make use of the clzma library in openSUSE.
[openSUSE-specific patch. I was under the impression that Debian and/or Ubuntu shipped
lzma-sdk-dev too, but, upon checking, do not do so (anymore) as of 2024-11-27.]
Make use of the system-provided lzma-sdk (in openSUSE, Fedora).
---
thirdparty/CMakeLists.txt | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
@@ -25,7 +23,7 @@ Index: SLADE-3.2.7/thirdparty/CMakeLists.txt
add_library(external STATIC ${EXTERNAL_SOURCES})
-target_link_libraries(external ${ZLIB_LIBRARY} lunasvg fmt::fmt ${CMAKE_DL_LIBS})
+target_link_libraries(external ${ZLIB_LIBRARY} -lclzma lunasvg fmt::fmt ${CMAKE_DL_LIBS})
+target_link_libraries(external ${ZLIB_LIBRARY} -llzmasdk lunasvg fmt::fmt ${CMAKE_DL_LIBS})
set(EXTERNAL_LIBRARIES external PARENT_SCOPE)
if(USE_SYSTEM_DUMB)

View File

@@ -12,26 +12,26 @@ the test needs to happen at runtime.
thirdparty/dumb/helpers/resampler.c | 2 +-
2 files changed, 1 insertion(+), 6 deletions(-)
Index: SLADE-3.2.7/cmake/unix.cmake
Index: SLADE-3.2.8/cmake/unix.cmake
===================================================================
--- SLADE-3.2.7.orig/cmake/unix.cmake
+++ SLADE-3.2.7/cmake/unix.cmake
@@ -133,11 +133,6 @@ endif(APPLE)
--- SLADE-3.2.8.orig/cmake/unix.cmake
+++ SLADE-3.2.8/cmake/unix.cmake
@@ -133,11 +133,6 @@ endif (APPLE)
# Enable SSE instructions for dumb library
include(CheckCCompilerFlag)
-check_c_compiler_flag(-msse HAVE_SSE)
-if(HAVE_SSE)
-if (HAVE_SSE)
- add_compile_options(-msse)
- add_definitions(-D_USE_SSE)
-endif()
-endif ()
# Define a SLADE_DEBUG macro
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DSLADE_DEBUG")
Index: SLADE-3.2.7/thirdparty/dumb/helpers/resampler.c
Index: SLADE-3.2.8/thirdparty/dumb/helpers/resampler.c
===================================================================
--- SLADE-3.2.7.orig/thirdparty/dumb/helpers/resampler.c
+++ SLADE-3.2.7/thirdparty/dumb/helpers/resampler.c
--- SLADE-3.2.8.orig/thirdparty/dumb/helpers/resampler.c
+++ SLADE-3.2.8/thirdparty/dumb/helpers/resampler.c
@@ -2,7 +2,7 @@
#include <string.h>
#define _USE_MATH_DEFINES

View File

@@ -1,3 +1,100 @@
-------------------------------------------------------------------
Sat Jan 17 17:38:36 UTC 2026 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.11
* Fixed circular references in `TEXTURES` causing a crash when
trying to view the affected textures anywhere in the program.
* Fixed a crash on loading PNGs with higher than 8-bit color
depth.
* Fixed wrong transparency when writing a paletted PNG.
* Fixed ROTT fullscreen images being drawn upside-down.
* Fixed ANSI viewer not updating when switching between multiple
ANSI entries.
* Fixed a possible crash on closing an archive after/while an OGG
entry is open.
* Fixed patch offsets changing after replacing a patch in a
TEXTURES texture.
-------------------------------------------------------------------
Mon Jan 5 15:06:29 UTC 2026 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.10
* Fixed SLADE launching another copy when opening archives via a
file manager if SLADE is already running.
* PNG format handling has been reworked to use libpng instead of
wxWidgets. This should fix some issues related to PNGs saving
with compressed palettes.
* Heretic+Hexen (2025) widescreen raw gfx are now correctly
recognised and displayed.
* Fixed a freeze when using "Check Duplicate Entry Content"
maintenance tool with lots of duplicates
* Offsets are now kept when exporting a TEXTURES texture to an
individual image.
-------------------------------------------------------------------
Sun Nov 16 08:01:48 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.9
* A soundfont is now included with SLADE, which will be used as
the fallback soundfont for MIDI playback if none is set up in
preferences.
* Improved OpenGL initialization to hopefully fix issues some
users were having with graphical views.
* When saving a zip archive with duplicate named entries, added a
prompt to auto-rename the duplicates.
* Dark Forces graphic formats can now be viewed again.
* Improved speed of "Convert All" function in the Gfx Conversion
dialog.
* Fixed blank palettes on colour remap for paletted PNGs
* Fixed broken texture properties layout
* Fixed 3D mode camera spinning on Wayland (note that this fix
requires a new enough DE that implements the wp_pointer_warp_v1
Wayland protocol).
-------------------------------------------------------------------
Tue Oct 21 09:18:21 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.8
* Updated DECOHack language definition
* Added support for the Heretic (2025)/Hexen (2025) port
* Resource editor:
* Added ability to copy+paste gfx offsets
* Fixed crashes on entry list updates (entry
added/deleted, etc.) while filtering is active
* Texture editor:
* Double clicking a TEXTUREx entry will now open
only that entry in the texture editor
* Limited the number of TEXTUREx entries initially opened to 5
when launching the texture editor via toolbar or menu
* Fixed patch offsets being set to the wrong value when
double-clicking a patch in the browser during 'replace patch'
action
* Map editor:
* Added ability to auto-align on the Y-axis and improved X-axis
auto alignment
-------------------------------------------------------------------
Sun Aug 24 12:41:33 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Adjust clzma.diff for changes in the lzma-sdk package's
lzma-sdk-shlib.patch.
-------------------------------------------------------------------
Mon Jul 21 19:48:20 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Delete accidentally committed UBSAN flags from specfile
-------------------------------------------------------------------
Tue Apr 15 15:50:26 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Drop BuildRequires: pkgconfig(glew) as it is not used for build;
GLAD is used instead.
-------------------------------------------------------------------
Wed Mar 26 15:14:19 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Switch to wxGTK3 backend
-------------------------------------------------------------------
Wed Dec 25 19:22:33 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package slade
#
# Copyright (c) 2024 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,7 +17,7 @@
Name: slade
Version: 3.2.7
Version: 3.2.11
Release: 0
Summary: An editor for DOOM maps and WAD/PK3 archives
License: GPL-2.0-or-later
@@ -36,21 +36,28 @@ BuildRequires: gcc-c++ >= 8
BuildRequires: pkg-config
BuildRequires: strip-nondeterminism
BuildRequires: update-desktop-files
BuildRequires: wxWidgets-devel
BuildRequires: wxGTK3-devel >= 3.1.6
BuildRequires: zip
BuildRequires: pkgconfig(clzma)
BuildRequires: pkgconfig(fluidsynth)
BuildRequires: pkgconfig(ftgl)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glew)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libmpg123)
BuildRequires: pkgconfig(libmpg123) >= 1.28.1
BuildRequires: pkgconfig(libwebp)
BuildRequires: pkgconfig(sfml-all)
BuildRequires: pkgconfig(x11)
%if 0%{?suse_version} >= 1600
BuildRequires: fmt-10-devel
%if 0%{?suse_version} >= 1690
BuildRequires: sfml3-devel
%endif
%if 0%{?suse_version} >= 1690
BuildRequires: pkgconfig(lzma-sdk)
%else
Provides: bundled(fmt) = 10
BuildRequires: pkgconfig(clzma)
%endif
%if 0%{?suse_version} >= 1600
BuildRequires: fmt-devel
%else
Provides: bundled(fmt) = 11.1.3
%endif
Provides: bundled(dumb) = 0.9.3
@@ -65,8 +72,9 @@ from/to other generic formats such as PNG.
%build
%define _lto_cflags %nil
export CFLAGS="%optflags -O0 -ggdb3 -fsanitize=address,undefined"
export CXXFLAGS="%optflags -O0 -ggdb3 -fsanitize=address,undefined"
%if 0%{?suse_version} >= 1600 && 0%{?suse_version} < 1690
perl -i -lpe 's{ -llzmasdk }{ -lclzma }g' thirdparty/CMakeLists.txt
%endif
%cmake -DNO_WEBVIEW=ON -DWX_GTK3=OFF -DNO_CRASHHANDLER=ON \
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$CFLAGS" \
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="$CFLAGS" \