Github messages for voidlinux
 help / color / mirror / Atom feed
From: yoshiyoshyosh <yoshiyoshyosh@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] ferium: fix base build, include GUI build option.
Date: Mon, 07 Aug 2023 09:14:48 +0200	[thread overview]
Message-ID: <20230807071448.L7Mbw1eCfO-cx4iVlDTAOUC1it30luPIxRm7P9EKNGc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44616@inbox.vuxu.org>

[-- 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"

  parent reply	other threads:[~2023-08-07  7:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-24 19:35 [PR PATCH] " 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 ` yoshiyoshyosh [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230807071448.L7Mbw1eCfO-cx4iVlDTAOUC1it30luPIxRm7P9EKNGc@z \
    --to=yoshiyoshyosh@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).