Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Update Dwarf Fortress to 0.50.10
@ 2023-10-03  4:40 akawama
  2023-10-03  4:57 ` [PR PATCH] [Updated] Dwarf Fortress: Update " akawama
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: akawama @ 2023-10-03  4:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 476 bytes --]

There is a new pull request by akawama against master on the void-packages repository

https://github.com/akawama/void-packages master
https://github.com/void-linux/void-packages/pull/46398

Update Dwarf Fortress to 0.50.10
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)

A patch file from https://github.com/void-linux/void-packages/pull/46398.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-46398.patch --]
[-- Type: text/x-diff, Size: 2924 bytes --]

From 87ee194bacc6f7fa16793eaff67b4bd12c1d7f87 Mon Sep 17 00:00:00 2001
From: Akawama <98961096+akawama@users.noreply.github.com>
Date: Tue, 3 Oct 2023 10:13:44 +0545
Subject: [PATCH 1/2] Update template to 0.50.10

---
 srcpkgs/dwarffortress/template | 27 ++++++++++-----------------
 1 file changed, 10 insertions(+), 17 deletions(-)

diff --git a/srcpkgs/dwarffortress/template b/srcpkgs/dwarffortress/template
index 423e050f25781..d74c433ba3e81 100644
--- a/srcpkgs/dwarffortress/template
+++ b/srcpkgs/dwarffortress/template
@@ -1,33 +1,26 @@
 # Template file for 'dwarffortress'
 pkgname=dwarffortress
-version=0.47.05
-revision=2
+version=0.50.10
+revision=1
 _urlver=${version#*.}
 archs="x86_64"
-depends="gtk+ SDL SDL_ttf SDL_image virtual?libGL glu"
+depends="gtk+ SDL2 SDL2_ttf SDL2_image libGL glu"
 short_desc="Control a dwarven outpost in a randomly generated world"
 maintainer="Robert Stancil <robert.stancil@mavs.uta.edu>"
 license="custom: Proprietary"
 homepage="http://www.bay12games.com/dwarves/"
 distfiles="http://www.bay12games.com/dwarves/df_${_urlver//./_}_linux.tar.bz2"
-checksum=ac74a6dbb7d7d9621f430405080322ab50c35f6632352ff2ea923f6dc5affca3
+checksum=438143c81670820b2702b4b14506cef378d078ce8a1d5ba45030e502c4b9458f
 
-nostrip_files="Dwarf_Fortress"
+nostrip_files="dwarfort"
+ignore_elf_dirs="/usr/share/dwarffortress"
 nopie="distfiles are precompiled as PIE"
 repository=nonfree
 noshlibprovides=yes
 
-post_extract() {
-	rm libs/libstdc++.so.6
-	rm libs/libgcc_s.so.1
-}
-
 do_install() {
-	vbin ${FILESDIR}/dwarffortress
-	vmkdir /usr/share/dwarffortress
-	vmkdir /usr/lib/dwarffortress/libs
-	vcopy "libs/*" /usr/lib/dwarffortress/libs
-	rm -r libs
-	vcopy "*" /usr/share/dwarffortress/
-	vlicense "readme.txt" dwarffortress.txt
+    vbin ${FILESDIR}/dwarffortress
+    vmkdir /usr/share/dwarffortress
+    vcopy "*" /usr/share/dwarffortress
+    vlicense "readme.txt" dwaffortress.txt
 }

From 39f094b5c63652b9b0bef4cfe170f63c766e596a Mon Sep 17 00:00:00 2001
From: Akawama <98961096+akawama@users.noreply.github.com>
Date: Tue, 3 Oct 2023 10:16:29 +0545
Subject: [PATCH 2/2] Update dwarffortress

df file is renamed to run_df in new version and removed link to libs
---
 srcpkgs/dwarffortress/files/dwarffortress | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/dwarffortress/files/dwarffortress b/srcpkgs/dwarffortress/files/dwarffortress
index e40fc75e3cec0..c282a45b8219c 100644
--- a/srcpkgs/dwarffortress/files/dwarffortress
+++ b/srcpkgs/dwarffortress/files/dwarffortress
@@ -55,7 +55,6 @@ if [ $_FORCE ]
 then
  rm -rf ${XDG_DATA_HOME:-$HOME/.local/share}/dwarffortress
  cp /usr/share/dwarffortress ${XDG_DATA_HOME:-$HOME/.local/share} -r
- ln -s /usr/lib/dwarffortress/libs ${XDG_DATA_HOME:-$HOME/.local/share}/dwarffortress/
 fi
 
-${XDG_DATA_HOME:-$HOME/.local/share}/dwarffortress/df
+${XDG_DATA_HOME:-$HOME/.local/share}/dwarffortress/run_df

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-10-07 22:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-03  4:40 [PR PATCH] Update Dwarf Fortress to 0.50.10 akawama
2023-10-03  4:57 ` [PR PATCH] [Updated] Dwarf Fortress: Update " akawama
2023-10-03  5:49 ` akawama
2023-10-03  8:25 ` akawama
2023-10-07 22:21 ` [PR PATCH] [Closed]: " akawama

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).