Github messages for voidlinux
 help / color / mirror / Atom feed
From: mtboehlke <mtboehlke@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] genius: update to 1.0.27.
Date: Sat, 11 Nov 2023 17:36:10 +0100	[thread overview]
Message-ID: <20231111163610.hk1T71fTba6X2ZV-0eJMFW3zKvWngxBnsFAzmNBCAXQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46972@inbox.vuxu.org>

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

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

https://github.com/mtboehlke/void-packages genius
https://github.com/void-linux/void-packages/pull/46972

genius: update to 1.0.27.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

I don't have experience using this tool, but I did run some of the examples in the gtk ui.

I switched to fetching the source from the GNOME site in order to prefer https over http.  I did confirm the tarball contents are the same.

<!--
#### 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/46972.patch is attached

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

From a50730d95972424ee661943bc2b0c82deee0d4bf Mon Sep 17 00:00:00 2001
From: Mat Boehlke <mtboehlke@gmail.com>
Date: Mon, 30 Oct 2023 15:25:31 -0500
Subject: [PATCH] genius: update to 1.0.27.

Also enable cross-building
---
 srcpkgs/genius/template | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/genius/template b/srcpkgs/genius/template
index 2434a9d3d2a31..c59cd23074d30 100644
--- a/srcpkgs/genius/template
+++ b/srcpkgs/genius/template
@@ -1,24 +1,29 @@
 # Template file for 'genius'
 pkgname=genius
-version=1.0.25
-revision=2
+version=1.0.27
+revision=1
 build_style=gnu-configure
+build_helper=qemu
 configure_args="--disable-update-mimedb ac_cv_file__proc_self_maps=yes
  GTK_UPDATE_ICON_CACHE=gtk-update-icon-cache"
-hostmakedepends="intltool pkg-config glib-devel automake libtool bison flex"
+hostmakedepends="intltool pkg-config glib-devel automake libtool bison flex
+ gtk-update-icon-cache"
 makedepends="gtksourceview4-devel mpfr-devel readline-devel ncurses-devel
- gtk+3-devel amtk-devel libglib-devel vte3-devel"
+ gtk+3-devel libglib-devel vte3-devel"
 depends="desktop-file-utils hicolor-icon-theme"
 short_desc="Advanced calculator including a mathematical programming language"
 maintainer="Samadi van Koten <samadi@vktec.co.uk>"
 license="GPL-3.0-or-later"
-homepage="http://www.jirka.org/genius.html"
-distfiles="http://ftp.5z.com/pub/genius/genius-${version}.tar.xz"
-checksum=0e92c9a22f903012ef331c20ada5b30b6c666c0f11753958b8e38d720deb6e0c
-nocross="run the binaries"
+homepage="https://www.jirka.org/genius.html"
+changelog="https://www.jirka.org/genius.NEWS"
+distfiles="${GNOME_SITE}/genius/${version%.*}/genius-${version}.tar.xz"
+checksum=0243b7c36b5f9e930c62778acd52deb188deeca704a5e195337018435d9e7bb5
 
 post_patch() {
-	vsed -i -e '/PKG_CHECK_MODULES/s/ncurses/ncursesw/' configure.ac
+	vsed -e '/PKG_CHECK_MODULES/s/ncurses/ncursesw/' -i configure.ac
+	if [ "$CROSS_BUILD" ]; then
+		vsed -e "/cd \\\$(top_builddir)/s:\\\$(top_builddir)/src/genius:/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &:" -i lib/Makefile.am
+	fi
 	autoreconf -fi
-	vsed -i -e '/DATADIRNAME=/s/=.*/=share/' configure
+	vsed -e '/DATADIRNAME=/s/=.*/=share/' -i configure
 }

  reply	other threads:[~2023-11-11 16:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-30 20:38 [PR PATCH] " mtboehlke
2023-11-11 16:36 ` mtboehlke [this message]
2023-11-11 16:41 ` mtboehlke
2023-11-11 16:53 ` mtboehlke
2024-02-10  1:43 ` github-actions
2024-02-10 21:47 ` [PR PATCH] [Updated] " mtboehlke
2024-02-13 18:42 ` [PR PATCH] [Merged]: " cinerea0

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=20231111163610.hk1T71fTba6X2ZV-0eJMFW3zKvWngxBnsFAzmNBCAXQ@z \
    --to=mtboehlke@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).