SHA256
1
0
forked from pool/wadptr

Compare commits

4 Commits

5 changed files with 71 additions and 56 deletions

View File

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

BIN
wadptr-3.8.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,33 +0,0 @@
From: Jan Engelhardt <jengelh@medozas.de>
Date: May 30 2011
Easier, simpler Makefiles.
---
Makefile.am | 8 ++++++++
configure.ac | 6 ++++++
2 files changed, 14 insertions(+)
Index: wadptr-2.4/Makefile.am
===================================================================
--- /dev/null
+++ wadptr-2.4/Makefile.am
@@ -0,0 +1,8 @@
+# -*- Makefile -*-
+
+AM_CFLAGS = -DANSILIBS -DNORMALUNIX -O3
+
+bin_PROGRAMS = wadptr
+wadptr_SOURCES = main.c errors.c lumps.c waddir.c wadmerge.c
+
+doc_DATA = wadptr.txt
Index: wadptr-2.4/configure.ac
===================================================================
--- /dev/null
+++ wadptr-2.4/configure.ac
@@ -0,0 +1,6 @@
+AC_INIT([wadptr], [2.3])
+AC_CONFIG_HEADERS([config.h])
+AM_INIT_AUTOMAKE([-Wall foreign subdir-objects])
+AC_PROG_CC
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT

View File

@@ -1,3 +1,58 @@
-------------------------------------------------------------------
Tue Oct 14 23:11:31 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.8
* The -u ("uncompress") option was renamed to -d ("decompress",
the usual terminology used by almost every other compression
tool).
* A special sector tag range (9700-9799) is now recognized for
special effects. There are some cases where level authors may
deliberately want sidedefs to be merged even when they are
attached to special lines, and this allows that.
-------------------------------------------------------------------
Sun Feb 23 06:57:56 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.7
* A new option, -wipesides, cleans upper and lower textures from
one-sided lines where they are not used. This allows some
sidedefs to be merged that would not otherwise be merged.
* Textures are now compared in a case-insensitive manner,
matching the logic of Doom itself. This won't make a lot of
difference since most editors store texture names in allcaps,
but there may be corner-case WADs where it helps improve
compression slightly.
* The progress counter now uses wall time instead of CPU time.
-------------------------------------------------------------------
Thu Feb 20 13:01:16 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.6
* A bug was fixed with sidedef packing where if multiple
scrolling walls would share a sidedef, those walls would scroll
at the wrong speed. This has been fixed in a generic way that
should also cover other potential bugs related to animated
walls.
* Compression of Hexen format levels is now supported.
* PSX/Doom 64 format levels are now handled correctly.
* There is now a `-q` command line option to suppress normal
output.
* Static limits on the number of lumps in a WAD and the number of
sidedefs in a level have been removed.
* This release adds support for BLOCKMAP lump compression.
* Two new arguments, `-extblocks` and `-extsides`, have been
added to allow use of the extended blockmap and sidedef limits
that are supported by some source ports.
* The list command (-l) no longer hides level sub-lumps like
BLOCKMAP or SIDEDEFS. The full set of lumps is always listed.
- Delete wadptr-gcc15.patch (obsolete), wadptr-automake.diff
(no replacement).
-------------------------------------------------------------------
Thu Feb 20 09:07:18 UTC 2025 - pgajdos@suse.com
- added patch wadptr-gcc15.patch
-------------------------------------------------------------------
Fri Dec 2 13:18:44 UTC 2011 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package wadptr
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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
@@ -12,21 +12,19 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: wadptr
Version: 2.4
Version: 3.8
Release: 0
Group: Development/Tools/Building
Summary: Redundancy compressor for Doom WAD files
License: GPL-2.0+
Url: http://soulsphere.org/projects/wadptr/
Source: wadptr-%version.tar.xz
Patch1: wadptr-automake.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
License: GPL-2.0-or-later
URL: http://soulsphere.org/projects/wadptr/
#Git-Clone: https://github.com/fragglet/wadptr
Source: https://github.com/fragglet/wadptr/archive/refs/tags/%name-%version.tar.gz
BuildRequires: automake
BuildRequires: xz
@@ -37,22 +35,17 @@ program works by exploiting the WAD file format to combine repeated /
redundant material.
%prep
%setup
%patch -P 1 -p1
%autosetup -p1 -n %name-%name-%version
%build
autoreconf -fi;
%configure --docdir=%_docdir/%name
make %{?_smp_mflags};
perl -i -pe 's/\x0d//gs' wadptr.txt;
%make_build CFLAGS="%optflags"
%install
b="%buildroot";
make install DESTDIR="$b";
%make_install PREFIX="%_prefix"
%files
%defattr(-,root,root)
%_bindir/*
%doc %_docdir/%name
%_mandir/man*/*.[0-9]*
%license COPYING.md
%changelog