Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] hyperrogue: use fontconfig
@ 2024-12-30 19:39 tranzystorekk
  2024-12-30 20:03 ` [PR PATCH] [Merged]: " tranzystorekk
  0 siblings, 1 reply; 2+ messages in thread
From: tranzystorekk @ 2024-12-30 19:39 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorekk/void-packages hyperrogue-fontconfig
https://github.com/void-linux/void-packages/pull/53767

hyperrogue: use fontconfig
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From ab5daf571dc1409b6a2ee382fc265a523c29d6ca Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Mon, 30 Dec 2024 20:35:51 +0100
Subject: [PATCH] hyperrogue: use fontconfig

---
 srcpkgs/hyperrogue/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/hyperrogue/template b/srcpkgs/hyperrogue/template
index b633495fa0bb7c..f472f08d2da4e3 100644
--- a/srcpkgs/hyperrogue/template
+++ b/srcpkgs/hyperrogue/template
@@ -1,10 +1,11 @@
 # Template file for 'hyperrogue'
 pkgname=hyperrogue
 version=13.0w
-revision=1
+revision=2
 build_style=gnu-makefile
+hostmakedepends="pkg-config"
 makedepends="glew-devel libpng-devel SDL-devel SDL_gfx-devel SDL_mixer-devel
- SDL_ttf-devel zlib-devel"
+ SDL_ttf-devel zlib-devel fontconfig-devel"
 depends="dejavu-fonts-ttf"
 short_desc="SDL rogue-like in a non-euclidean world"
 maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
@@ -17,7 +18,7 @@ nocross="Generates code from build output that must run on host"
 
 # SDL_gfx-devel headers require that SDL.h be under the header search paths,
 # which are not set correctly by upstream.
-CXXFLAGS+=" -I/usr/include/SDL -DHYPERPATH='\"/usr/share/hyperrogue/\"' -DHYPERFONTPATH='\"/usr/share/fonts/TTF/\"'"
+CXXFLAGS+=" -I/usr/include/SDL -DHYPERPATH='\"/usr/share/hyperrogue/\"'"
 
 case "$XBPS_TARGET_MACHINE" in
 	ppc64*) ;;
@@ -26,6 +27,7 @@ esac
 
 export HYPERROGUE_USE_GLEW=1
 export HYPERROGUE_USE_PNG=1
+export FONTCONFIG=1
 
 do_install() {
 	vbin hyperrogue

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

* Re: [PR PATCH] [Merged]: hyperrogue: use fontconfig
  2024-12-30 19:39 [PR PATCH] hyperrogue: use fontconfig tranzystorekk
@ 2024-12-30 20:03 ` tranzystorekk
  0 siblings, 0 replies; 2+ messages in thread
From: tranzystorekk @ 2024-12-30 20:03 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

hyperrogue: use fontconfig
https://github.com/void-linux/void-packages/pull/53767

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

end of thread, other threads:[~2024-12-30 20:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-30 19:39 [PR PATCH] hyperrogue: use fontconfig tranzystorekk
2024-12-30 20:03 ` [PR PATCH] [Merged]: " tranzystorekk

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