18 Commits

Author SHA256 Message Date
766d999d1d Remove unused BuildRequires: update-desktop-files. 2025-11-22 22:37:09 +01:00
09745818b1 Accepting request 1313616 from games:tools
- Update to release 3.2.8

OBS-URL: https://build.opensuse.org/request/show/1313616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/slade?expand=0&rev=21
2025-10-28 13:45:44 +00:00
426d6d41e2 Accepting request 1301135 from games:tools
- Adjust clzma.diff for changes in the lzma-sdk package's
  lzma-sdk-shlib.patch.

OBS-URL: https://build.opensuse.org/request/show/1301135
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/slade?expand=0&rev=20
2025-08-25 18:37:54 +00:00
OBS User unknown
b9357b4eef [info=8273475613ed25ec94162ec0a442886cb70d2bb47950605c56e52ab890cfc8ab]
OBS-URL: https://build.opensuse.org/package/show/games:tools/slade?expand=0&rev=54
2025-08-24 12:55:59 +00:00
fa08cb764f Accepting request 1294898 from games:tools
- Delete accidentally committed UBSAN flags from specfile
- Drop BuildRequires: pkgconfig(glew) as it is not used for build;
  GLAD is used instead.

OBS-URL: https://build.opensuse.org/request/show/1294898
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/slade?expand=0&rev=19
2025-07-22 10:20:26 +00:00
OBS User unknown
4a1aeeff0c [info=e6f1d48c468f658fa1f1ad865499e2dc49f72a6e3311dc2d2ee9fe46c360a28b]
OBS-URL: https://build.opensuse.org/package/show/games:tools/slade?expand=0&rev=53
2025-07-21 19:52:16 +00:00
OBS User unknown
8fae588b64 [info=c228cf695ca4bbe4bc3c2916d4bd5231e8dada84c10fe54b79ad44571e9e0157]
OBS-URL: https://build.opensuse.org/package/show/games:tools/slade?expand=0&rev=52
2025-04-15 17:33:20 +00:00
5795bd32f1 Accepting request 1256275 from games:tools
- Switch to wxGTK3 backend

OBS-URL: https://build.opensuse.org/request/show/1256275
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/slade?expand=0&rev=18
2025-03-26 20:24:41 +00:00
OBS User unknown
3c511e3a2e [info=28bb41905674ad7a02d575a5578750b4af8cd84927df65afc490676557a74d66]
OBS-URL: https://build.opensuse.org/package/show/games:tools/slade?expand=0&rev=51
2025-03-26 15:14:58 +00:00
e6ed95b1ec Accepting request 1234416 from games:tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1234416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/slade?expand=0&rev=17
2025-01-02 18:22:25 +00:00
OBS User unknown
4aa1c4caea [info=eeb37b47fa1bd23cf516ff18c99af4dbec4f4a61f8c72066097f4a27db7cf041]
OBS-URL: https://build.opensuse.org/package/show/games:tools/slade?expand=0&rev=50
2024-12-25 19:37:53 +00:00
70ce511458 Accepting request 1228587 from games:tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1228587
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/slade?expand=0&rev=16
2024-12-06 13:26:06 +00:00
OBS User unknown
acd85d46f0 [info=660aab5cf295b570fdec6cb717962d47960d9db53e8bd082b26e19b0b4a2bb89]
OBS-URL: https://build.opensuse.org/package/show/games:tools/slade?expand=0&rev=49
2024-11-28 20:45:42 +00:00
OBS User unknown
97c78369f2 [info=c54c8654e835f3914bed4556799cc04785968d12bb30e89ef503c755df608b89]
OBS-URL: https://build.opensuse.org/package/show/games:tools/slade?expand=0&rev=48
2024-11-27 22:31:46 +00:00
OBS User unknown
ffabc4be6e [info=ae3a81c72830eaea789c5acec04582893b2059d8060a8fa981fe3e682d3edd15]
OBS-URL: https://build.opensuse.org/package/show/games:tools/slade?expand=0&rev=47
2024-11-27 20:48:53 +00:00
OBS User unknown
08d9977eb5 [info=2cdd65b84473dbea37548c24060ae134a7276999e6af045d084f919072b40ccd]
OBS-URL: https://build.opensuse.org/package/show/games:tools/slade?expand=0&rev=46
2024-11-27 18:03:40 +00:00
14d018e0ed [info=7968d9c2a230f8cd2caf90abd31d4ad81e55a88779bbc57b8dd9f6585583fbe7]
OBS-URL: https://build.opensuse.org/package/show/games:tools/slade?expand=0&rev=45
2024-11-27 16:37:19 +00:00
8456157d39 Accepting request 1226915 from home:iznogood:branches:games:tools
NOTE: This is untested!

- Update to version 3.2.6:
  * Please see Release Notes upstream at
    https://github.com/sirjuddington/SLADE/releases
- Drop patches fixed upstream:
  * disable_sse.patch
  * 0001-build-add-cmake-option-to-skip-Lua-components-1175.patch
- Disable patches that needs rebase or dropping:
  * basepk3.diff
  * wx.diff
  * clzma.diff
- Rebase  0001-build-allow-deactivating-the-crash-handler-at-build-.patch
- Replace wxWidgets-3_0-devel for wxWidgets-devel BuildRequires:
  Package builds just fine with the newer 3.2 version.
- Add pkgconfig(libmpg123) BuildRequires: New dependency.

OBS-URL: https://build.opensuse.org/request/show/1226915
OBS-URL: https://build.opensuse.org/package/show/games:tools/slade?expand=0&rev=44
2024-11-27 16:03:11 +00:00
9 changed files with 99 additions and 38 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.7.tar.gz LFS

Binary file not shown.

BIN
3.2.8.tar.gz LFS Normal file

Binary file not shown.

4
_scmsync.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
mtime: 1761066075
commit: 2e771a1914a8de2797ef9c5131873a054dfa6793ac3b536ceb8e84d949fcb2e9
url: https://src.opensuse.org/jengelh/slade
revision: master

3
build.specials.obscpio Normal file
View File

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

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,52 @@
-------------------------------------------------------------------
Sat Nov 22 21:41:25 CET 2025 - Stanislav Brabec <sbrabec@suse.com>
- Remove unused BuildRequires: update-desktop-files.
-------------------------------------------------------------------
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) 2025 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.8
Release: 0
Summary: An editor for DOOM maps and WAD/PK3 archives
License: GPL-2.0-or-later
@@ -35,22 +35,28 @@ BuildRequires: freeimage-devel
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 +71,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" \