Github messages for voidlinux
 help / color / mirror / Atom feed
From: TinfoilSubmarine <TinfoilSubmarine@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: boinctui-2.7.0
Date: Tue, 13 Dec 2022 16:36:57 +0100	[thread overview]
Message-ID: <20221213153657.SQJtEP0Wloz5WBhKm4LWcfLZYZadbIZdw4lTMdx9ang@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41061@inbox.vuxu.org>

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

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

https://github.com/TinfoilSubmarine/void-packages maint/boinctui
https://github.com/void-linux/void-packages/pull/41061

New package: boinctui-2.7.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

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

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

From 837fe93c85dd8dc4921e0c8b291d528f56898fe4 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Tue, 13 Dec 2022 10:03:18 -0500
Subject: [PATCH] New package: boinctui-2.7.0

---
 srcpkgs/boinctui/patches/uint.patch | 44 +++++++++++++++++++++++++++++
 srcpkgs/boinctui/template           | 18 ++++++++++++
 2 files changed, 62 insertions(+)
 create mode 100644 srcpkgs/boinctui/patches/uint.patch
 create mode 100644 srcpkgs/boinctui/template

diff --git a/srcpkgs/boinctui/patches/uint.patch b/srcpkgs/boinctui/patches/uint.patch
new file mode 100644
index 000000000000..92e6f7c01f17
--- /dev/null
+++ b/srcpkgs/boinctui/patches/uint.patch
@@ -0,0 +1,44 @@
+diff --git a/src/resultparse.cpp b/src/resultparse.cpp
+index ae00b32..d4f0440 100644
+--- a/src/resultparse.cpp
++++ b/src/resultparse.cpp
+@@ -123,7 +123,7 @@ void callbackData(void *userdata, const char *content, int len)
+     //kLogPrintf("\ncallbackData()-->[%s]<-- len=%d\n",tmp,len);
+     //заносим значение в текущий эл-т
+     bool empty = true;
+-    for (uint i = 0; i < strlen(tmp); i++)
++    for (unsigned int i = 0; i < strlen(tmp); i++)
+     {
+ 	if (tmp[i] != ' ')
+ 	{
+diff --git a/src/topmenu.cpp b/src/topmenu.cpp
+index 4277d26..fcb3eb8 100644
+--- a/src/topmenu.cpp
++++ b/src/topmenu.cpp
+@@ -502,7 +502,7 @@ ProjectsSubMenu::ProjectsSubMenu(NRect rect, Srv* srv) : NMenu(rect)
+ 	if (client_state != NULL)
+ 	{
+ 	    std::vector<Item*> projects = client_state->getItems("project");
+-        for (uint i = 0; i < projects.size(); i++)
++        for (unsigned int i = 0; i < projects.size(); i++)
+ 	    {
+ 		Item* project_name = projects[i]->findItem("project_name");
+ 		if (project_name != NULL)
+@@ -817,7 +817,7 @@ ProjectAllListSubMenu::ProjectAllListSubMenu(NRect rect, Srv* srv) : NMenu(rect)
+ 	    if (projects != NULL)
+ 	    {
+ 		std::vector<Item*> projlist = projects->getItems("project");
+-        for (uint i = 0; i < projlist.size(); i++)
++        for (unsigned int i = 0; i < projlist.size(); i++)
+ 		{
+ 		    Item* name = projlist[i]->findItem("name");
+ 		    Item* general_area = projlist[i]->findItem("general_area");
+@@ -899,7 +899,7 @@ ProjectAccMgrSubMenu::ProjectAccMgrSubMenu(NRect rect, Srv* srv) : NMenu(rect)
+ 	    if (projects != NULL)
+ 	    {
+ 		std::vector<Item*> mgrlist = projects->getItems("account_manager");
+-        for (uint i = 0; i < mgrlist.size(); i++)
++        for (unsigned int i = 0; i < mgrlist.size(); i++)
+ 		{
+ 		    Item* name = mgrlist[i]->findItem("name");
+ 		    if (name != NULL)
diff --git a/srcpkgs/boinctui/template b/srcpkgs/boinctui/template
new file mode 100644
index 000000000000..e930eccd105a
--- /dev/null
+++ b/srcpkgs/boinctui/template
@@ -0,0 +1,18 @@
+# Template file for 'boinctui'
+pkgname=boinctui
+version=2.7.0
+revision=1
+build_style=gnu-configure
+configure_args="--without-gnutls"
+hostmakedepends="automake"
+makedepends="ncurses-devel expat-devel openssl-devel"
+short_desc="Curses based fullscreen BOINC manager"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/boinctui/"
+distfiles="https://sourceforge.net/projects/boinctui/files/boinctui_${version}.tar.gz"
+checksum=22eb46dea8b111e2e16ceb50f2668577216c1563c815b1719b2b680d485d75c9
+
+pre_configure() {
+	autoreconf -vfi
+}

  reply	other threads:[~2022-12-13 15:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-13 15:23 [PR PATCH] " TinfoilSubmarine
2022-12-13 15:36 ` TinfoilSubmarine [this message]
2023-01-22 21:16 ` [PR PATCH] [Merged]: " Piraty

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=20221213153657.SQJtEP0Wloz5WBhKm4LWcfLZYZadbIZdw4lTMdx9ang@z \
    --to=tinfoilsubmarine@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).