New package: boinctui-2.7.0

This commit is contained in:
Joel Beckmeyer 2022-12-13 10:03:18 -05:00 committed by Piraty
parent 2b6b90d9be
commit c8dbd9e8f5
2 changed files with 62 additions and 0 deletions

View File

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

18
srcpkgs/boinctui/template Normal file
View File

@ -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
}