* [PR PATCH] hedgewars: update to 1.0.2.
@ 2022-11-26 20:59 kruceter
2022-11-27 10:37 ` [PR PATCH] [Merged]: " paper42
0 siblings, 1 reply; 2+ messages in thread
From: kruceter @ 2022-11-26 20:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 633 bytes --]
There is a new pull request by kruceter against master on the void-packages repository
https://github.com/kruceter/void-packages hedgewars
https://github.com/void-linux/void-packages/pull/40785
hedgewars: update to 1.0.2.
This version removes the obsolete CMakeSystemSpecificInformation.cmake module preventing the package from building properly.
Related to #39083.
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/40785.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hedgewars-40785.patch --]
[-- Type: text/x-diff, Size: 2850 bytes --]
From bda293f503d08c3992dba3dad32f2ef7b03ab42d Mon Sep 17 00:00:00 2001
From: Krul Ceter <kruceter@proton.me>
Date: Sat, 26 Nov 2022 23:47:45 +0300
Subject: [PATCH] hedgewars: update to 1.0.2.
This version removes the obsolete CMakeSystemSpecificInformation.cmake
module preventing the package from building properly.
---
srcpkgs/hedgewars/patches/fpc-3.2.0.patch | 13 -------------
srcpkgs/hedgewars/patches/qt.patch | 10 ----------
srcpkgs/hedgewars/template | 7 ++++---
3 files changed, 4 insertions(+), 26 deletions(-)
delete mode 100644 srcpkgs/hedgewars/patches/fpc-3.2.0.patch
delete mode 100644 srcpkgs/hedgewars/patches/qt.patch
diff --git a/srcpkgs/hedgewars/patches/fpc-3.2.0.patch b/srcpkgs/hedgewars/patches/fpc-3.2.0.patch
deleted file mode 100644
index 2970d81c2448..000000000000
--- a/srcpkgs/hedgewars/patches/fpc-3.2.0.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/hedgewars/uWorld.pas
-+++ b/hedgewars/uWorld.pas
-@@ -1168,8 +1168,8 @@ procedure RenderAttackBar();
- procedure ShiftWorld(Dir: LongInt); inline;
- begin
- preShiftWorldDx:= WorldDx;
-- WorldDx:= WorldDx + LongInt(Dir * LongInt(playWidth));
--
-+ Dir := Dir * LongInt(playWidth);
-+ WorldDx:= WorldDx + Dir;
- end;
-
- procedure UnshiftWorld(); inline;
diff --git a/srcpkgs/hedgewars/patches/qt.patch b/srcpkgs/hedgewars/patches/qt.patch
deleted file mode 100644
index a8dc9907f405..000000000000
--- a/srcpkgs/hedgewars/patches/qt.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/QTfrontend/ui/page/pagegamestats.cpp
-+++ b/QTfrontend/ui/page/pagegamestats.cpp
-@@ -22,6 +22,7 @@
- #include <QGraphicsScene>
- #include <QGroupBox>
- #include <QSizePolicy>
-+#include <QPainterPath>
-
- #include "pagegamestats.h"
- #include "team.h"
diff --git a/srcpkgs/hedgewars/template b/srcpkgs/hedgewars/template
index 4632ed917325..419f29b98b44 100644
--- a/srcpkgs/hedgewars/template
+++ b/srcpkgs/hedgewars/template
@@ -1,7 +1,7 @@
# Template file for 'hedgewars'
pkgname=hedgewars
-version=1.0.0
-revision=3
+version=1.0.2
+revision=1
build_style=cmake
configure_args="-DNOSERVER=1 -DDATA_INSTALL_DIR=/usr/share/${pkgname}
-DPHYSFS_SYSTEM=1 -DMINIMAL_FLAGS=1"
@@ -15,7 +15,7 @@ maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
license="GPL-2.0-only"
homepage="https://www.hedgewars.org/"
distfiles="https://hedgewars.org/download/releases/hedgewars-src-${version}.tar.bz2"
-checksum=211634e61f2e4beecc3c98c6f749601fcd08321fda1ba969b3b3832a004f155b
+checksum=201fe5e45bd8ca5b3d81b18ec06bd6bbc9fa7c2c63bf019005e2f80be5bcf212
nopie_files="/usr/bin/hwengine"
nocross="Needs investigation: fails to link hwengine"
replaces="hedgewars-data>=0"
@@ -53,5 +53,6 @@ pre_configure() {
}
post_install() {
+ vman man/hedgewars.6
vinstall ${DESTDIR}/usr/share/hedgewars/Data/misc/hedgewars.desktop 644 usr/share/applications
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: hedgewars: update to 1.0.2.
2022-11-26 20:59 [PR PATCH] hedgewars: update to 1.0.2 kruceter
@ 2022-11-27 10:37 ` paper42
0 siblings, 0 replies; 2+ messages in thread
From: paper42 @ 2022-11-27 10:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 478 bytes --]
There's a merged pull request on the void-packages repository
hedgewars: update to 1.0.2.
https://github.com/void-linux/void-packages/pull/40785
Description:
This version removes the obsolete CMakeSystemSpecificInformation.cmake module preventing the package from building properly.
Related to #39083.
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-27 10:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-26 20:59 [PR PATCH] hedgewars: update to 1.0.2 kruceter
2022-11-27 10:37 ` [PR PATCH] [Merged]: " paper42
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).