Github messages for voidlinux
 help / color / mirror / Atom feed
From: kruceter <kruceter@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: monero: update to 0.18.1.2.
Date: Mon, 14 Nov 2022 22:21:21 +0100	[thread overview]
Message-ID: <20221114212121.Wrq2JsbLcUZExAxjciFlRK7YJGXnMg_1eubC-dOlIkw@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39721@inbox.vuxu.org>

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

New comment by kruceter on void-packages repository

https://github.com/void-linux/void-packages/pull/39721#issuecomment-1314397077

Comment:
Here is a draft for monero-gui. I expected it to build on my machine, but perhaps monero is too much for it.

I hope you find the following patch below useful in some way.

```diff
diff --git a/srcpkgs/monero-gui/template b/srcpkgs/monero-gui/template
index 61e5dd9da1..dac012a960 100644
--- a/srcpkgs/monero-gui/template
+++ b/srcpkgs/monero-gui/template
@@ -1,10 +1,10 @@
 # Template file for 'monero-gui'
 pkgname=monero-gui
-version=0.17.2.3
-revision=2
-_monero_version=0.17.2.3
-_randomx_version="1.1.9"
+version=0.18.1.2
+revision=1
+_monero_version=0.18.1.2
 # the revision monero uses as a submodule for the specific version
+_randomx_gitrev="261d58c77fc5547c0aa7fdfeb58421ba7e0e6e"
 _rapidjson_gitrev="129d19ba7f496df5e33658527a7158c79b99c21c"
 _supercop_gitrev="633500ad8c8759995049ccd022107d1fa8a1bbc9"
 _quirc_gitrev="7e7ab596e4d0988faf1c12ae89c354b114181c40"
@@ -12,9 +12,9 @@ build_style=cmake
 configure_args="-DVERSION_IS_RELEASE=true -DQt5_LRELEASE_EXECUTABLE=/usr/bin/lrelease"
 hostmakedepends="pkg-config qt5-tools qt5-qmake qt5-quickcontrols qt5-declarative-devel
  qt5-svg-devel"
-makedepends="boost-devel libatomic-devel libunwind-devel miniupnpc-devel
-qt5-declarative-devel readline-devel unbound-devel libsodium-devel hidapi-devel
- qt5-svg-devel libgcrypt-devel zeromq-devel"
+makedepends="boost-devel libunwind-devel miniupnpc-devel qt5-declarative-devel
+ readline-devel unbound-devel libsodium-devel hidapi-devel qt5-svg-devel
+ libgcrypt-devel zeromq-devel"
 depends="qt5-graphicaleffects qt5-quickcontrols qt5-quickcontrols2 qt5-xmlpatterns"
 short_desc="GUI for the core Monero implementation"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -22,17 +22,17 @@ license="BSD-3-Clause"
 homepage="https://getmonero.org"
 distfiles="https://github.com/monero-project/monero-gui/archive/v${version}.tar.gz
  https://github.com/monero-project/monero/archive/v${_monero_version}.tar.gz>monero-${_monero_version}.tar.gz
- https://github.com/tevador/RandomX/archive/v${_randomx_version}.tar.gz
+ https://github.com/tevador/RandomX/archive/${_randomx_gitrev}.tar.gz
  https://github.com/Tencent/rapidjson/archive/${_rapidjson_gitrev}.tar.gz
  https://github.com/monero-project/supercop/archive/${_supercop_gitrev}.tar.gz
  https://github.com/dlbeer/quirc/archive/${_quirc_gitrev}.tar.gz"
-checksum="aeab35380282b0403be926b78d5249df2f97f9cbe36bb374ac39daf4f02bb349
- e4462f8909bdc5e66d76f4023374ff759159c15fe7d407f0c21619769e87c35d
- b878fd6ea6d4e1dcdfa085427ce4666c1085e8c5a9e049c04ca2036b4aead0f5
+checksum="b5494830e917231aa7515992c69bcbb495f532fefde42530b265f9fd590e1702
+ f7fec9c7456e22b70cb86a34dd9192c948161155fdbdfb8505f8ea95c357a38e
+ 4aeadafe16810320fd492491e39d03fb6028a2db35916aba0fef96c716aba46f
  44b007d419ac21b6affec58991e865ee572346ead19b73cf1c3e4e11c7a81273
  b973b9d8269ec4d97c3c3443f0dad96d09f72b1b30e616e0947557adbdbb03f7
  c8366aecb6ba48ec50a7e579a4fa18eb55c3c4be7d3efb2a83726157977f4ca6"
-skip_extraction="monero-${version}.tar.gz ${_rapidjson_gitrev}.tar.gz ${_supercop_gitrev}.tar.gz v${_randomx_version}.tar.gz
+skip_extraction="monero-${version}.tar.gz ${_rapidjson_gitrev}.tar.gz ${_supercop_gitrev}.tar.gz ${_randomx_gitrev}.tar.gz
  ${_quirc_gitrev}.tar.gz"
 
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
@@ -60,7 +60,7 @@ post_extract() {
 	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/monero-${_monero_version}.tar.gz --strip-components 1 -C monero
 	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_rapidjson_gitrev}.tar.gz --strip-components 1 -C monero/external/rapidjson
 	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_supercop_gitrev}.tar.gz --strip-components 1 -C monero/external/supercop
-	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/v${_randomx_version}.tar.gz --strip-components 1 -C monero/external/randomx
+	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_randomx_gitrev}.tar.gz --strip-components 1 -C monero/external/randomx
 	bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_quirc_gitrev}.tar.gz --strip-components 1 -C external/quirc
 }
 
```

  parent reply	other threads:[~2022-11-14 21:21 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-04 19:36 [PR PATCH] " kevcrumb
2022-10-04 20:14 ` [PR PATCH] [Updated] " kevcrumb
2022-11-11 20:13 ` kevcrumb
2022-11-12 20:50 ` paper42
2022-11-12 20:51 ` [PR REVIEW] " paper42
2022-11-12 21:28 ` kruceter
2022-11-12 21:29 ` kruceter
2022-11-12 21:46 ` paper42
2022-11-14 19:13 ` [PR PATCH] [Updated] " kevcrumb
2022-11-14 21:21 ` kruceter [this message]
2022-11-14 22:03 ` kevcrumb
2022-11-14 22:37 ` kevcrumb
2022-11-14 22:39 ` kevcrumb
2022-11-14 23:02 ` kruceter
2022-11-14 23:33 ` kruceter
2022-11-14 23:49 ` kruceter
2022-11-15  7:53 ` [PR PATCH] [Updated] " kevcrumb
2022-11-16  0:33 ` kruceter
2022-11-16 15:04 ` kevcrumb
2022-11-17 11:46 ` [PR REVIEW] " paper42
2022-11-17 11:46 ` paper42
2022-11-17 11:46 ` paper42
2022-11-17 11:46 ` paper42
2022-11-17 16:33 ` kevcrumb
2022-11-17 16:38 ` kevcrumb
2022-11-17 17:15 ` paper42
2022-11-17 17:31 ` [PR PATCH] [Updated] " kevcrumb
2022-11-17 18:44 ` [PR REVIEW] " paper42
2022-11-17 19:43 ` kevcrumb
2022-11-17 19:45 ` kevcrumb
2022-11-17 21:16 ` [PR PATCH] [Updated] " kevcrumb
2022-11-17 21:21 ` [PR REVIEW] " kruceter
2022-11-17 21:40 ` kevcrumb
2022-11-17 21:46 ` [PR PATCH] [Updated] " kevcrumb
2022-11-18 10:40 ` [PR REVIEW] " kevcrumb
2022-11-18 10:41 ` kevcrumb
2022-11-18 10:43 ` kevcrumb
2022-11-18 10:43 ` kevcrumb
2022-11-18 11:14 ` [PR PATCH] [Merged]: " paper42
2022-12-21 19:13 ` kruceter

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=20221114212121.Wrq2JsbLcUZExAxjciFlRK7YJGXnMg_1eubC-dOlIkw@z \
    --to=kruceter@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).