Github messages for voidlinux
 help / color / mirror / Atom feed
From: kruceter <kruceter@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] hedgewars: update to 1.0.2.
Date: Sat, 26 Nov 2022 21:59:36 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40785@inbox.vuxu.org> (raw)

[-- 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
 }

             reply	other threads:[~2022-11-26 20:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-26 20:59 kruceter [this message]
2022-11-27 10:37 ` [PR PATCH] [Merged]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40785@inbox.vuxu.org \
    --to=kruceter@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).