* [gentoo-commits] repo/proj/guru:master commit in: sci-misc/boinc-wrapper/files/, sci-misc/boinc-wrapper/
@ 2022-08-02 10:55 Haelwenn Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Haelwenn Monnier @ 2022-08-02 10:55 UTC (permalink / raw
To: gentoo-commits
commit: 5e6b63452d4dba09353a0181b4d4df7c0fda2657
Author: Yuan Liao <liaoyuan <AT> gmail <DOT> com>
AuthorDate: Tue Aug 2 00:59:39 2022 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Tue Aug 2 01:00:37 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5e6b6345
sci-misc/boinc-wrapper: Add 7.20.2, drop 7.18.1
Following version bump of dependency sci-misc/boinc to 7.20.2, its old
7.18.1 version was dropped immediately, forcing this package to follow
suit at once.
Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com>
sci-misc/boinc-wrapper/Manifest | 2 +-
.../{boinc-wrapper-7.18.1.ebuild => boinc-wrapper-7.20.2.ebuild} | 0
...-wrapper-7.18-makefile.patch => boinc-wrapper-7.20-makefile.patch} | 4 ++--
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sci-misc/boinc-wrapper/Manifest b/sci-misc/boinc-wrapper/Manifest
index b9de5fbda..e3725d106 100644
--- a/sci-misc/boinc-wrapper/Manifest
+++ b/sci-misc/boinc-wrapper/Manifest
@@ -1 +1 @@
-DIST boinc-7.18.1.tar.gz 50851883 BLAKE2B 64d321c8c56d7c34a08646dc16de5ddbb9b8e4be57b673fa77515845d967e28b5cf1fda677293e2fc8cf36a18ac0b7e7feebfbd8e434ebed41b8280c7395950d SHA512 200587a0896aec6a7e7247132811141909aa333cb2bb9350c5ba016ffdf056413b1c5346361b311c087634b2d29cdbb204486385d8561a299b68739244c5a532
+DIST boinc-7.20.2.tar.gz 46555666 BLAKE2B 4d11217739d341c5b61d86afa02eebdad80809f42caa3f6dea1d86ed53d79004d60fa362fd04d53060060472e108e0ee0aa0428e4799eb70f2e98f07dc1f39cd SHA512 0309d5585ece96a5d9021058870dce9a96c89ece269650961a9b22d5219529e242a55dc1e466f5364535033198ca5c36496ca23125a9cda0c308bfdb4372abbb
diff --git a/sci-misc/boinc-wrapper/boinc-wrapper-7.18.1.ebuild b/sci-misc/boinc-wrapper/boinc-wrapper-7.20.2.ebuild
similarity index 100%
rename from sci-misc/boinc-wrapper/boinc-wrapper-7.18.1.ebuild
rename to sci-misc/boinc-wrapper/boinc-wrapper-7.20.2.ebuild
diff --git a/sci-misc/boinc-wrapper/files/boinc-wrapper-7.18-makefile.patch b/sci-misc/boinc-wrapper/files/boinc-wrapper-7.20-makefile.patch
similarity index 60%
rename from sci-misc/boinc-wrapper/files/boinc-wrapper-7.18-makefile.patch
rename to sci-misc/boinc-wrapper/files/boinc-wrapper-7.20-makefile.patch
index 58a9e766e..b0f84f18f 100644
--- a/sci-misc/boinc-wrapper/files/boinc-wrapper-7.18-makefile.patch
+++ b/sci-misc/boinc-wrapper/files/boinc-wrapper-7.20-makefile.patch
@@ -15,6 +15,6 @@
regexp_report.o
-wrapper: wrapper.o $(MAKEFILE_STDLIB) $(BOINC_LIB_DIR)/libboinc.a $(BOINC_API_DIR)/libboinc_api.a $(REGEXP_OBJS)
-- $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -o wrapper wrapper.o $(REGEXP_OBJS) $(MAKEFILE_LDFLAGS) -lboinc_api -lboinc -lboinc_zip $(STDCPPTC)
+- $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $(MINGW_WRAPPER_FLAGS) -o wrapper wrapper.o $(REGEXP_OBJS) $(MAKEFILE_LDFLAGS) $(MINGW_ZIP_FIX) -lboinc_api -lboinc -lboinc_zip $(MINGW_LIBS) $(STDCPPTC)
+wrapper: wrapper.o $(REGEXP_OBJS)
-+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -o wrapper wrapper.o $(REGEXP_OBJS) -lboinc_api -lboinc -lboinc_zip $(STDCPPTC)
++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $(MINGW_WRAPPER_FLAGS) -o wrapper wrapper.o $(REGEXP_OBJS) $(MINGW_ZIP_FIX) -lboinc_api -lboinc -lboinc_zip $(MINGW_LIBS) $(STDCPPTC)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: sci-misc/boinc-wrapper/files/, sci-misc/boinc-wrapper/
@ 2024-10-07 10:03 David Roman
0 siblings, 0 replies; 2+ messages in thread
From: David Roman @ 2024-10-07 10:03 UTC (permalink / raw
To: gentoo-commits
commit: 42e0a8a1ee13b7b1fae200eed02165c1329f3a27
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Oct 7 00:17:04 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Oct 7 00:17:04 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=42e0a8a1
sci-misc/boinc-wrapper: fix deps & task suspending
1. Apply a patch to revert upstream switch to SIGTSTP signal for task
suspending, which never works.
2. Skip OpenGL check, so libboinc_graphics is never built.
Closes: https://bugs.gentoo.org/939899
Closes: https://bugs.gentoo.org/939902
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
.../boinc-wrapper/boinc-wrapper-26018-r2.ebuild | 54 ++++++++++++++++++++++
.../files/boinc-wrapper-26018-sigstop.patch | 28 +++++++++++
2 files changed, 82 insertions(+)
diff --git a/sci-misc/boinc-wrapper/boinc-wrapper-26018-r2.ebuild b/sci-misc/boinc-wrapper/boinc-wrapper-26018-r2.ebuild
new file mode 100644
index 000000000..57e857ec5
--- /dev/null
+++ b/sci-misc/boinc-wrapper/boinc-wrapper-26018-r2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools edo
+
+DESCRIPTION="Wrapper to use non-BOINC apps with BOINC"
+HOMEPAGE="https://boinc.berkeley.edu/trac/wiki/WrapperApp"
+SRC_URI="https://github.com/BOINC/boinc/archive/refs/tags/wrapper/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Info-ZIP LGPL-3+ regexp-UofT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+DOCS=( job.xml )
+
+PATCHES=( "${FILESDIR}"/${PN}-26018-sigstop.patch )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ edo bash generate_svn_version.sh
+
+ local myeconfargs=(
+ # build libraries only
+ --enable-pkg-devel
+ --disable-fcgi
+
+ # link with libboinc_api statically
+ --disable-shared
+ --enable-static
+
+ # do not build libboinc_graphics
+ --without-x
+ ax_cv_check_gl_libgl=no
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ emake
+ emake -C samples/wrapper
+}
+
+src_install() {
+ cd samples/wrapper || die
+
+ einstalldocs
+ newbin wrapper boinc-wrapper
+}
diff --git a/sci-misc/boinc-wrapper/files/boinc-wrapper-26018-sigstop.patch b/sci-misc/boinc-wrapper/files/boinc-wrapper-26018-sigstop.patch
new file mode 100644
index 000000000..d36f118f6
--- /dev/null
+++ b/sci-misc/boinc-wrapper/files/boinc-wrapper-26018-sigstop.patch
@@ -0,0 +1,28 @@
+Smaller version of a patch merged upstream in
+https://github.com/BOINC/boinc/pull/3045, not released yet.
+
+Author: Benn Snyder <benn.snyder@gmail.com>
+Bug: https://bugs.gentoo.org/939902
+
+diff --git a/lib/proc_control.cpp b/lib/proc_control.cpp
+index 71f783d02f..090574ca4b 100644
+--- a/lib/proc_control.cpp
++++ b/lib/proc_control.cpp
+@@ -256,7 +256,7 @@ void suspend_or_resume_descendants(bool resume) {
+ int pid = getpid();
+ get_descendants(pid, descendants);
+ for (unsigned int i=0; i<descendants.size(); i++) {
+- kill(descendants[i], resume?SIGCONT:SIGTSTP);
++ kill(descendants[i], resume?SIGCONT:SIGSTOP);
+ }
+ #endif
+ }
+@@ -269,7 +269,7 @@ void suspend_or_resume_process(int pid, bool resume) {
+ pids.push_back(pid);
+ suspend_or_resume_threads(pids, 0, resume, false);
+ #else
+- ::kill(pid, resume?SIGCONT:SIGTSTP);
++ ::kill(pid, resume?SIGCONT:SIGSTOP);
+ #endif
+ }
+
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-07 10:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-02 10:55 [gentoo-commits] repo/proj/guru:master commit in: sci-misc/boinc-wrapper/files/, sci-misc/boinc-wrapper/ Haelwenn Monnier
-- strict thread matches above, loose matches on Subject: below --
2024-10-07 10:03 David Roman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox