Github messages for voidlinux
 help / color / mirror / Atom feed
* [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

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