10 Commits

Author SHA256 Message Date
9d9c257341 remove invalid imported files 2025-08-07 18:28:06 +02:00
6a1bda14b9 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
720d64338e [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
09f019436d 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
517b679cdf [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
4febfd3150 [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
a6d7ea9a85 [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
80a871a0bf [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
95bbd13df6 [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
6afcedf9d0 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/package/show/games:tools/slade?expand=0&rev=44
2024-11-27 16:03:11 +00:00
9 changed files with 36 additions and 93 deletions

View File

@@ -18,11 +18,11 @@ Fixes: #1166
src/CMakeLists.txt | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
Index: SLADE-3.2.8/src/Application/SLADEWxApp.cpp
Index: SLADE-3.2.7/src/Application/SLADEWxApp.cpp
===================================================================
--- SLADE-3.2.8.orig/src/Application/SLADEWxApp.cpp
+++ SLADE-3.2.8/src/Application/SLADEWxApp.cpp
@@ -452,7 +452,7 @@ bool SLADEWxApp::OnInit()
--- SLADE-3.2.7.orig/src/Application/SLADEWxApp.cpp
+++ SLADE-3.2.7/src/Application/SLADEWxApp.cpp
@@ -449,7 +449,7 @@ bool SLADEWxApp::OnInit()
#endif
// Handle exceptions using wxDebug stuff, but only in release mode
@@ -31,14 +31,14 @@ Index: SLADE-3.2.8/src/Application/SLADEWxApp.cpp
wxHandleFatalExceptions(true);
#endif
Index: SLADE-3.2.8/src/CMakeLists.txt
Index: SLADE-3.2.7/src/CMakeLists.txt
===================================================================
--- SLADE-3.2.8.orig/src/CMakeLists.txt
+++ SLADE-3.2.8/src/CMakeLists.txt
@@ -47,3 +47,6 @@ if (WIN32 AND MSVC)
else ()
--- SLADE-3.2.7.orig/src/CMakeLists.txt
+++ SLADE-3.2.7/src/CMakeLists.txt
@@ -41,3 +41,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 Normal file

Binary file not shown.

BIN
3.2.8.tar.gz LFS

Binary file not shown.

View File

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

View File

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

View File

@@ -1,7 +1,9 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2020-06-22 21:16:10.343429323 +0200
Make use of the system-provided lzma-sdk (in openSUSE, Fedora).
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.]
---
thirdparty/CMakeLists.txt | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
@@ -23,7 +25,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} -llzmasdk lunasvg fmt::fmt ${CMAKE_DL_LIBS})
+target_link_libraries(external ${ZLIB_LIBRARY} -lclzma 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.8/cmake/unix.cmake
Index: SLADE-3.2.7/cmake/unix.cmake
===================================================================
--- SLADE-3.2.8.orig/cmake/unix.cmake
+++ SLADE-3.2.8/cmake/unix.cmake
@@ -133,11 +133,6 @@ endif (APPLE)
--- SLADE-3.2.7.orig/cmake/unix.cmake
+++ SLADE-3.2.7/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.8/thirdparty/dumb/helpers/resampler.c
Index: 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
--- SLADE-3.2.7.orig/thirdparty/dumb/helpers/resampler.c
+++ SLADE-3.2.7/thirdparty/dumb/helpers/resampler.c
@@ -2,7 +2,7 @@
#include <string.h>
#define _USE_MATH_DEFINES

View File

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