* [PR PATCH] ferium: fix base build, include GUI build option.
@ 2023-06-24 19:35 yoshiyoshyosh
2023-06-24 19:47 ` yoshiyoshyosh
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: yoshiyoshyosh @ 2023-06-24 19:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 902 bytes --]
There is a new pull request by yoshiyoshyosh against master on the void-packages repository
https://github.com/yoshiyoshyosh/void-packages ferium
https://github.com/void-linux/void-packages/pull/44616
ferium: fix base build, include GUI build option.
#### 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)
Apologies for the quick revision, but I only realized after the merge that the package compiles with the GUI `xdg-desktop-portal` integration by default, which results in an inability to change some options through the TUI interface on system without `xdg-desktop-portal`. This commit opts to make the `nogui` option the default and provide a build option for the GUI integration instead.
A patch file from https://github.com/void-linux/void-packages/pull/44616.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ferium-44616.patch --]
[-- Type: text/x-diff, Size: 1289 bytes --]
From ec3479f43f42db37d0696bb04ad1e9fa009f2d45 Mon Sep 17 00:00:00 2001
From: yosh <yosh-git@riseup.net>
Date: Sat, 24 Jun 2023 14:12:39 -0500
Subject: [PATCH] ferium: fix base build, include GUI build option.
---
srcpkgs/ferium/template | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/ferium/template b/srcpkgs/ferium/template
index 859e790f75d1..de04a7717bb8 100644
--- a/srcpkgs/ferium/template
+++ b/srcpkgs/ferium/template
@@ -1,9 +1,11 @@
# Template file for 'ferium'
pkgname=ferium
version=4.4.0
-revision=1
+revision=2
build_style=cargo
build_helper=qemu
+configure_args="--no-default-features $(vopt_if gui --features=gui)"
+depends="$(vopt_if gui xdg-desktop-portal)"
short_desc="CLI program for managing Minecraft mods and modpacks"
maintainer="yosh <yosh-git@riseup.net>"
license="MPL-2.0"
@@ -12,6 +14,9 @@ changelog="https://raw.githubusercontent.com/gorilla-devs/ferium/main/CHANGELOG.
distfiles="https://github.com/gorilla-devs/ferium/archive/refs/tags/v${version}.tar.gz"
checksum=a19b5ea7b12123ef68b2caf96a1c58025aa30d7e14e8c0dbfef44ffc01938045
+build_options="gui"
+desc_option_gui="Use GUI file picker via xdg-desktop-portal"
+
post_install() {
local ferium="${DESTDIR}/usr/bin/ferium"
for shell in bash fish zsh; do
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ferium: fix base build, include GUI build option.
2023-06-24 19:35 [PR PATCH] ferium: fix base build, include GUI build option yoshiyoshyosh
@ 2023-06-24 19:47 ` yoshiyoshyosh
2023-06-24 19:51 ` yoshiyoshyosh
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: yoshiyoshyosh @ 2023-06-24 19:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 335 bytes --]
New comment by yoshiyoshyosh on void-packages repository
https://github.com/void-linux/void-packages/pull/44616#issuecomment-1605703684
Comment:
The action failures are seemingly from being forbidden/unable to access the CurseForge API for adding mods. This is known about and a problem with CurseForge itself, not the ferium build.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ferium: fix base build, include GUI build option.
2023-06-24 19:35 [PR PATCH] ferium: fix base build, include GUI build option yoshiyoshyosh
2023-06-24 19:47 ` yoshiyoshyosh
@ 2023-06-24 19:51 ` yoshiyoshyosh
2023-06-24 20:18 ` yoshiyoshyosh
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: yoshiyoshyosh @ 2023-06-24 19:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 345 bytes --]
New comment by yoshiyoshyosh on void-packages repository
https://github.com/void-linux/void-packages/pull/44616#issuecomment-1605703684
Comment:
The action failures are seemingly from the tests being forbidden/unable to access the CurseForge API for adding mods. This is known about and a problem with CurseForge itself, not the ferium build.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ferium: fix base build, include GUI build option.
2023-06-24 19:35 [PR PATCH] ferium: fix base build, include GUI build option yoshiyoshyosh
2023-06-24 19:47 ` yoshiyoshyosh
2023-06-24 19:51 ` yoshiyoshyosh
@ 2023-06-24 20:18 ` yoshiyoshyosh
2023-06-24 20:19 ` yoshiyoshyosh
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: yoshiyoshyosh @ 2023-06-24 20:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 406 bytes --]
New comment by yoshiyoshyosh on void-packages repository
https://github.com/void-linux/void-packages/pull/44616#issuecomment-1605703684
Comment:
The action failures are seemingly from the tests being forbidden/unable to access the CurseForge API for adding mods. [This is known about and will be fixed in a later update](https://github.com/gorilla-devs/ferium/discussions/337#discussioncomment-6111930).
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ferium: fix base build, include GUI build option.
2023-06-24 19:35 [PR PATCH] ferium: fix base build, include GUI build option yoshiyoshyosh
` (2 preceding siblings ...)
2023-06-24 20:18 ` yoshiyoshyosh
@ 2023-06-24 20:19 ` yoshiyoshyosh
2023-08-07 7:14 ` [PR PATCH] [Updated] " yoshiyoshyosh
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: yoshiyoshyosh @ 2023-06-24 20:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 464 bytes --]
New comment by yoshiyoshyosh on void-packages repository
https://github.com/void-linux/void-packages/pull/44616#issuecomment-1605703684
Comment:
The action failures are seemingly from the tests being forbidden/unable to access the CurseForge API for adding mods. [This is known about and will be fixed in a later update, and there is a current workaround in the software itself](https://github.com/gorilla-devs/ferium/discussions/337#discussioncomment-6111930).
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PR PATCH] [Updated] ferium: fix base build, include GUI build option.
2023-06-24 19:35 [PR PATCH] ferium: fix base build, include GUI build option yoshiyoshyosh
` (3 preceding siblings ...)
2023-06-24 20:19 ` yoshiyoshyosh
@ 2023-08-07 7:14 ` yoshiyoshyosh
2023-08-07 7:17 ` ferium: update to 4.4.1 yoshiyoshyosh
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: yoshiyoshyosh @ 2023-08-07 7:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 908 bytes --]
There is an updated pull request by yoshiyoshyosh against master on the void-packages repository
https://github.com/yoshiyoshyosh/void-packages ferium
https://github.com/void-linux/void-packages/pull/44616
ferium: fix base build, include GUI build option.
#### 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)
Apologies for the quick revision, but I only realized after the merge that the package compiles with the GUI `xdg-desktop-portal` integration by default, which results in an inability to change some options through the TUI interface on systems without `xdg-desktop-portal`. This commit opts to make the `nogui` option the default and provide a build option for the GUI integration instead.
A patch file from https://github.com/void-linux/void-packages/pull/44616.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ferium-44616.patch --]
[-- Type: text/x-diff, Size: 1351 bytes --]
From 5f0d07be325054a5996dbc1dc125f30a865a0967 Mon Sep 17 00:00:00 2001
From: yosh <yosh-git@riseup.net>
Date: Sat, 24 Jun 2023 14:12:39 -0500
Subject: [PATCH] ferium: update to 4.4.1
---
srcpkgs/ferium/template | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/ferium/template b/srcpkgs/ferium/template
index 859e790f75d13..6d718821fbf6b 100644
--- a/srcpkgs/ferium/template
+++ b/srcpkgs/ferium/template
@@ -1,16 +1,21 @@
# Template file for 'ferium'
pkgname=ferium
-version=4.4.0
+version=4.4.1
revision=1
build_style=cargo
build_helper=qemu
+configure_args="--no-default-features $(vopt_if gui --features=gui)"
+depends="$(vopt_if gui xdg-desktop-portal)"
short_desc="CLI program for managing Minecraft mods and modpacks"
maintainer="yosh <yosh-git@riseup.net>"
license="MPL-2.0"
homepage="https://github.com/gorilla-devs/ferium"
changelog="https://raw.githubusercontent.com/gorilla-devs/ferium/main/CHANGELOG.md"
distfiles="https://github.com/gorilla-devs/ferium/archive/refs/tags/v${version}.tar.gz"
-checksum=a19b5ea7b12123ef68b2caf96a1c58025aa30d7e14e8c0dbfef44ffc01938045
+checksum=ccab09df5cd0c3db890b7099705696cd8770dcf936182dcd266ad3da5f5262f9
+
+build_options="gui"
+desc_option_gui="Use GUI file picker via xdg-desktop-portal"
post_install() {
local ferium="${DESTDIR}/usr/bin/ferium"
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ferium: update to 4.4.1
2023-06-24 19:35 [PR PATCH] ferium: fix base build, include GUI build option yoshiyoshyosh
` (4 preceding siblings ...)
2023-08-07 7:14 ` [PR PATCH] [Updated] " yoshiyoshyosh
@ 2023-08-07 7:17 ` yoshiyoshyosh
2023-08-07 7:17 ` yoshiyoshyosh
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: yoshiyoshyosh @ 2023-08-07 7:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 413 bytes --]
New comment by yoshiyoshyosh on void-packages repository
https://github.com/void-linux/void-packages/pull/44616#issuecomment-1667319426
Comment:
checks for modpacks were failing for some reason for me and *only* in xbps-src. `cargo test`ing the builddir ferium myself works perfectly fine, as well as doing all the actions the tests run on the completed package of ferium. binary works perfectly fine otherwise
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ferium: update to 4.4.1
2023-06-24 19:35 [PR PATCH] ferium: fix base build, include GUI build option yoshiyoshyosh
` (5 preceding siblings ...)
2023-08-07 7:17 ` ferium: update to 4.4.1 yoshiyoshyosh
@ 2023-08-07 7:17 ` yoshiyoshyosh
2023-08-07 7:24 ` yoshiyoshyosh
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: yoshiyoshyosh @ 2023-08-07 7:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 403 bytes --]
New comment by yoshiyoshyosh on void-packages repository
https://github.com/void-linux/void-packages/pull/44616#issuecomment-1667319426
Comment:
checks for modpacks were failing for some reason for me and *only* in xbps-src. `cargo test`ing the builddir ferium myself works perfectly fine, as well as doing all the actions the tests run on the completed package of ferium. binary works perfectly fine
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ferium: update to 4.4.1
2023-06-24 19:35 [PR PATCH] ferium: fix base build, include GUI build option yoshiyoshyosh
` (6 preceding siblings ...)
2023-08-07 7:17 ` yoshiyoshyosh
@ 2023-08-07 7:24 ` yoshiyoshyosh
2023-08-07 7:25 ` yoshiyoshyosh
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: yoshiyoshyosh @ 2023-08-07 7:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 505 bytes --]
New comment by yoshiyoshyosh on void-packages repository
https://github.com/void-linux/void-packages/pull/44616#issuecomment-1667319426
Comment:
~~checks for modpacks were failing for some reason for me and *only* in xbps-src. `cargo test`ing the builddir ferium myself works perfectly fine, as well as doing all the actions the tests run on the completed package of ferium. binary works perfectly fine~~
Looks to have been a network issue on my part--perhaps cf/md wasn't liking my network. whatever.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ferium: update to 4.4.1
2023-06-24 19:35 [PR PATCH] ferium: fix base build, include GUI build option yoshiyoshyosh
` (7 preceding siblings ...)
2023-08-07 7:24 ` yoshiyoshyosh
@ 2023-08-07 7:25 ` yoshiyoshyosh
2023-10-23 20:52 ` yoshiyoshyosh
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: yoshiyoshyosh @ 2023-08-07 7:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 530 bytes --]
New comment by yoshiyoshyosh on void-packages repository
https://github.com/void-linux/void-packages/pull/44616#issuecomment-1667319426
Comment:
~~checks for modpacks were failing for some reason for me and *only* in xbps-src. `cargo test`ing the builddir ferium myself works perfectly fine, as well as doing all the actions the tests run on the completed package of ferium. binary works perfectly fine~~
Looks to have been a network issue on my part--perhaps cf/md wasn't liking my connection in that specific case. whatever.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ferium: update to 4.4.1
2023-06-24 19:35 [PR PATCH] ferium: fix base build, include GUI build option yoshiyoshyosh
` (8 preceding siblings ...)
2023-08-07 7:25 ` yoshiyoshyosh
@ 2023-10-23 20:52 ` yoshiyoshyosh
2024-01-06 18:09 ` [PR PATCH] [Updated] " yoshiyoshyosh
2024-01-06 18:19 ` [PR PATCH] [Merged]: ferium: don't use portal-based gui classabbyamp
11 siblings, 0 replies; 13+ messages in thread
From: yoshiyoshyosh @ 2023-10-23 20:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 485 bytes --]
New comment by yoshiyoshyosh on void-packages repository
https://github.com/void-linux/void-packages/pull/44616#issuecomment-1605703684
Comment:
~~The action failures are seemingly from the tests being forbidden/unable to access the CurseForge API for adding mods. [This is known about and will be fixed in a later update, and there is a current workaround in the software itself](https://github.com/gorilla-devs/ferium/discussions/337#discussioncomment-6111930).~~ fixed with 4.4.1
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PR PATCH] [Updated] ferium: update to 4.4.1
2023-06-24 19:35 [PR PATCH] ferium: fix base build, include GUI build option yoshiyoshyosh
` (9 preceding siblings ...)
2023-10-23 20:52 ` yoshiyoshyosh
@ 2024-01-06 18:09 ` yoshiyoshyosh
2024-01-06 18:19 ` [PR PATCH] [Merged]: ferium: don't use portal-based gui classabbyamp
11 siblings, 0 replies; 13+ messages in thread
From: yoshiyoshyosh @ 2024-01-06 18:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 882 bytes --]
There is an updated pull request by yoshiyoshyosh against master on the void-packages repository
https://github.com/yoshiyoshyosh/void-packages ferium
https://github.com/void-linux/void-packages/pull/44616
ferium: update to 4.4.1
#### 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)
Apologies for the quick revision, but I only realized after the merge that the package compiles with the GUI `xdg-desktop-portal` integration by default, which results in an inability to change some options through the TUI interface on systems without `xdg-desktop-portal`. This commit opts to make the `nogui` option the default and provide a build option for the GUI integration instead.
A patch file from https://github.com/void-linux/void-packages/pull/44616.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ferium-44616.patch --]
[-- Type: text/x-diff, Size: 743 bytes --]
From 29e8837ad1679487258ddfe47c6851f8cf6233a7 Mon Sep 17 00:00:00 2001
From: yosh <yosh-git@riseup.net>
Date: Sat, 6 Jan 2024 13:01:51 -0500
Subject: [PATCH] ferium: don't use portals
---
srcpkgs/ferium/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/ferium/template b/srcpkgs/ferium/template
index 6e23f474c1d27..b9eeac95c56c4 100644
--- a/srcpkgs/ferium/template
+++ b/srcpkgs/ferium/template
@@ -1,9 +1,10 @@
# Template file for 'ferium'
pkgname=ferium
version=4.4.1
-revision=1
+revision=2
build_style=cargo
build_helper=qemu
+configure_args="--no-default-features"
short_desc="CLI program for managing Minecraft mods and modpacks"
maintainer="yosh <yosh-git@riseup.net>"
license="MPL-2.0"
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PR PATCH] [Merged]: ferium: don't use portal-based gui
2023-06-24 19:35 [PR PATCH] ferium: fix base build, include GUI build option yoshiyoshyosh
` (10 preceding siblings ...)
2024-01-06 18:09 ` [PR PATCH] [Updated] " yoshiyoshyosh
@ 2024-01-06 18:19 ` classabbyamp
11 siblings, 0 replies; 13+ messages in thread
From: classabbyamp @ 2024-01-06 18:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 726 bytes --]
There's a merged pull request on the void-packages repository
ferium: don't use portal-based gui
https://github.com/void-linux/void-packages/pull/44616
Description:
#### 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)
Apologies for the quick revision, but I only realized after the merge that the package compiles with the GUI `xdg-desktop-portal` integration by default, which results in an inability to change some options through the TUI interface on systems without `xdg-desktop-portal`. This commit opts to make the `nogui` option the default and provide a build option for the GUI integration instead.
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2024-01-06 18:19 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-24 19:35 [PR PATCH] ferium: fix base build, include GUI build option yoshiyoshyosh
2023-06-24 19:47 ` yoshiyoshyosh
2023-06-24 19:51 ` yoshiyoshyosh
2023-06-24 20:18 ` yoshiyoshyosh
2023-06-24 20:19 ` yoshiyoshyosh
2023-08-07 7:14 ` [PR PATCH] [Updated] " yoshiyoshyosh
2023-08-07 7:17 ` ferium: update to 4.4.1 yoshiyoshyosh
2023-08-07 7:17 ` yoshiyoshyosh
2023-08-07 7:24 ` yoshiyoshyosh
2023-08-07 7:25 ` yoshiyoshyosh
2023-10-23 20:52 ` yoshiyoshyosh
2024-01-06 18:09 ` [PR PATCH] [Updated] " yoshiyoshyosh
2024-01-06 18:19 ` [PR PATCH] [Merged]: ferium: don't use portal-based gui 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).