Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] freedroidRPG: update to 1.0.
@ 2023-10-07 17:31 classabbyamp
  2023-10-09 23:35 ` [PR PATCH] [Updated] " classabbyamp
  2023-10-09 23:47 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 2 replies; 3+ messages in thread
From: classabbyamp @ 2023-10-07 17:31 UTC (permalink / raw)
  To: ml

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

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

https://github.com/classabbyamp/void-packages freedroid
https://github.com/void-linux/void-packages/pull/46508

freedroidRPG: update to 1.0.
#### Testing the changes
- I tested the changes in this PR: **YES**


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

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

From 0258e0c6541c298cd148a138f627f714ece6ca12 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 7 Oct 2023 13:27:01 -0400
Subject: [PATCH] freedroidRPG: update to 1.0.

---
 srcpkgs/freedroidRPG/template | 45 ++++++++++-------------------------
 1 file changed, 12 insertions(+), 33 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index bd2979b388c80..e267e8ce07e55 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -1,42 +1,21 @@
 # Template file for 'freedroidRPG'
 pkgname=freedroidRPG
-version=0.16.1
-revision=2
+version=1.0
+revision=1
 build_style=gnu-configure
-hostmakedepends="pkg-config python"
-makedepends="SDL_gfx-devel SDL_image-devel SDL_mixer-devel
- libjpeg-turbo-devel libvorbis-devel lua53-devel libpng-devel"
+hostmakedepends="pkg-config gettext-devel automake which python3"
+makedepends="SDL_gfx-devel SDL_image-devel SDL_mixer-devel SDL_ttf-devel
+ libjpeg-turbo-devel libogg-devel libvorbis-devel lua53-devel libpng-devel
+ glew-devel"
 short_desc="Role playing game featuring Tux and evil robots"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
-homepage="http://www.freedroid.org/"
-distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgname}-${version}.tar.gz"
-checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
-python_version=2
+homepage="https://www.freedroid.org/"
+distfiles="https://codeberg.org/freedroid/freedroid-src/archive/${version}.tar.gz"
+checksum=cbf4bc589014287a955cffaa2467b1ed0cedd6502c83ed92c79545c3fef163e7
+python_version=3
 replaces="freedroidRPG-data>=0"
 
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
-	configure_args+=" --disable-backtrace"
-fi
-
-CFLAGS="-fcommon"
-
-post_install() {
-	local script=freedroid
-
-	# Remove the .UTF-8 suffix from the user's LANG setting,
-	# or otherwise the internal font is wrong when rendering
-	# non-ASCII characters. My assumption is the game expects
-	# ISO-8859-1 (aka Latin1).
-	echo "#!/bin/sh" > ${script}
-	echo "# Strip .UTF-8 extension from the user's LANG" >> ${script}
-	echo "LANG=$(echo \"$LANG\" | sed -e's;\.[Uu][Tt][Ff]-8;;')" >> ${script}
-	echo "exec ${pkgname} $*" >> ${script}
-
-	# install the wrapper script
-	vbin ${script}
-
-	# Start the wrapper script from the desktop file
-	sed -i ${PKGDESTDIR}/usr/share/applications/${pkgname,,}.desktop \
-		-e "/^Exec/s;=${pkgname};=${script};"
+pre_configure() {
+	./autogen.sh
 }

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

* Re: [PR PATCH] [Updated] freedroidRPG: update to 1.0.
  2023-10-07 17:31 [PR PATCH] freedroidRPG: update to 1.0 classabbyamp
@ 2023-10-09 23:35 ` classabbyamp
  2023-10-09 23:47 ` [PR PATCH] [Merged]: " classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2023-10-09 23:35 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages freedroid
https://github.com/void-linux/void-packages/pull/46508

freedroidRPG: update to 1.0.
#### Testing the changes
- I tested the changes in this PR: **YES**


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

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

From 309a3a442dc1db4211396acb5d362dcd7c8127ce Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 7 Oct 2023 13:27:01 -0400
Subject: [PATCH] freedroidRPG: update to 1.0.

---
 srcpkgs/freedroidRPG/template | 45 ++++++++++-------------------------
 1 file changed, 12 insertions(+), 33 deletions(-)

diff --git a/srcpkgs/freedroidRPG/template b/srcpkgs/freedroidRPG/template
index bd2979b388c80..e267e8ce07e55 100644
--- a/srcpkgs/freedroidRPG/template
+++ b/srcpkgs/freedroidRPG/template
@@ -1,42 +1,21 @@
 # Template file for 'freedroidRPG'
 pkgname=freedroidRPG
-version=0.16.1
-revision=2
+version=1.0
+revision=1
 build_style=gnu-configure
-hostmakedepends="pkg-config python"
-makedepends="SDL_gfx-devel SDL_image-devel SDL_mixer-devel
- libjpeg-turbo-devel libvorbis-devel lua53-devel libpng-devel"
+hostmakedepends="pkg-config gettext-devel automake which python3"
+makedepends="SDL_gfx-devel SDL_image-devel SDL_mixer-devel SDL_ttf-devel
+ libjpeg-turbo-devel libogg-devel libvorbis-devel lua53-devel libpng-devel
+ glew-devel"
 short_desc="Role playing game featuring Tux and evil robots"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
-homepage="http://www.freedroid.org/"
-distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgname}-${version}.tar.gz"
-checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
-python_version=2
+homepage="https://www.freedroid.org/"
+distfiles="https://codeberg.org/freedroid/freedroid-src/archive/${version}.tar.gz"
+checksum=cbf4bc589014287a955cffaa2467b1ed0cedd6502c83ed92c79545c3fef163e7
+python_version=3
 replaces="freedroidRPG-data>=0"
 
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
-	configure_args+=" --disable-backtrace"
-fi
-
-CFLAGS="-fcommon"
-
-post_install() {
-	local script=freedroid
-
-	# Remove the .UTF-8 suffix from the user's LANG setting,
-	# or otherwise the internal font is wrong when rendering
-	# non-ASCII characters. My assumption is the game expects
-	# ISO-8859-1 (aka Latin1).
-	echo "#!/bin/sh" > ${script}
-	echo "# Strip .UTF-8 extension from the user's LANG" >> ${script}
-	echo "LANG=$(echo \"$LANG\" | sed -e's;\.[Uu][Tt][Ff]-8;;')" >> ${script}
-	echo "exec ${pkgname} $*" >> ${script}
-
-	# install the wrapper script
-	vbin ${script}
-
-	# Start the wrapper script from the desktop file
-	sed -i ${PKGDESTDIR}/usr/share/applications/${pkgname,,}.desktop \
-		-e "/^Exec/s;=${pkgname};=${script};"
+pre_configure() {
+	./autogen.sh
 }

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

* Re: [PR PATCH] [Merged]: freedroidRPG: update to 1.0.
  2023-10-07 17:31 [PR PATCH] freedroidRPG: update to 1.0 classabbyamp
  2023-10-09 23:35 ` [PR PATCH] [Updated] " classabbyamp
@ 2023-10-09 23:47 ` classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2023-10-09 23:47 UTC (permalink / raw)
  To: ml

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

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

freedroidRPG: update to 1.0.
https://github.com/void-linux/void-packages/pull/46508

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


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

end of thread, other threads:[~2023-10-09 23:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-07 17:31 [PR PATCH] freedroidRPG: update to 1.0 classabbyamp
2023-10-09 23:35 ` [PR PATCH] [Updated] " classabbyamp
2023-10-09 23:47 ` [PR PATCH] [Merged]: " classabbyamp

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