* [gentoo-commits] repo/proj/guru:dev commit in: sci-biology/geneathome/files/, sci-biology/geneathome/
@ 2021-05-19 1:06 Anna Vyalkova
0 siblings, 0 replies; 5+ messages in thread
From: Anna Vyalkova @ 2021-05-19 1:06 UTC (permalink / raw
To: gentoo-commits
commit: 0b33cc8749ef3a099e2db52b2f273a602d811fbd
Author: Anna Vyalkova <cyber <AT> sysrq <DOT> in>
AuthorDate: Wed May 19 01:06:06 2021 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed May 19 01:06:06 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0b33cc87
sci-biology/geneathome: initial import
Signed-off-by: Anna Vyalkova <cyber <AT> sysrq.in>
sci-biology/geneathome/Manifest | 2 +
sci-biology/geneathome/files/app_config.xml | 20 +++++++
sci-biology/geneathome/files/makefile.patch | 44 +++++++++++++++
sci-biology/geneathome/geneathome-1.10.ebuild | 78 +++++++++++++++++++++++++++
sci-biology/geneathome/metadata.xml | 11 ++++
5 files changed, 155 insertions(+)
diff --git a/sci-biology/geneathome/Manifest b/sci-biology/geneathome/Manifest
new file mode 100644
index 000000000..5a086b395
--- /dev/null
+++ b/sci-biology/geneathome/Manifest
@@ -0,0 +1,2 @@
+DIST boinc-7.16.16.tar.gz 49599131 BLAKE2B 819ab85c19a684144711f77e669b892aa73c006b81c1d7ef7adbd9d580e1e8473ae27b52dc17953ee677c70fc78ed15df936afd740e629715f30f2b81d84ea6f SHA512 dd7042e176d6506c70de7866556ae73b2f45734df92038086d5b0414751f3da08dc571c49f0c26d747d3fb2577674d3ff8cdec7d3563861eaaaa5af9c1db0a0e
+DIST geneathome-1.10.tar.gz 73686241 BLAKE2B 4a4e9930e3faeaf0b6d687d26adb3267af1a70096397e9e4001066a7029a854b95cd35b6779a0e6bcf6c9cb3ad662b5f9e6adf4ab9d608ed2d73c65d3dadc10b SHA512 c8c1bb65f0021d9c9d9f14375212c458694dbb21abbfa90f6b8fb958bc6d86a522bbe13846b5930f6df0a4e755256f2016c5edd4447ae147cb1381eccce06b9e
diff --git a/sci-biology/geneathome/files/app_config.xml b/sci-biology/geneathome/files/app_config.xml
new file mode 100644
index 000000000..43b80156b
--- /dev/null
+++ b/sci-biology/geneathome/files/app_config.xml
@@ -0,0 +1,20 @@
+<app_info>
+<app>
+ <name>gene_pcim</name>
+ <user_friendly_name>gene@home PC-IM</user_friendly_name>
+</app>
+
+<file_info>
+ <name>gene_pcim_v1.10</name>
+ <executable/>
+</file_info>
+
+<app_version>
+ <app_name>gene_pcim</app_name>
+ <version_num>110</version_num>
+ <file_ref>
+ <file_name>gene_pcim_v1.10</file_name>
+ <main_program/>
+ </file_ref>
+</app_version>
+</app_info>
diff --git a/sci-biology/geneathome/files/makefile.patch b/sci-biology/geneathome/files/makefile.patch
new file mode 100644
index 000000000..236da461e
--- /dev/null
+++ b/sci-biology/geneathome/files/makefile.patch
@@ -0,0 +1,44 @@
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -22,20 +22,16 @@
+ BOINC_DIR ?= ../../..
+ BOINC_API_DIR ?= $(BOINC_DIR)/api
+ BOINC_LIB_DIR ?= $(BOINC_DIR)/lib
+-BOINC_ZIP_DIR ?= $(BOINC_DIR)/zip
+-BOINC_LIBS ?= $(BOINC_API_DIR)/libboinc_api.a $(BOINC_LIB_DIR)/libboinc.a
++BOINC_LIBS ?= -lboinc_api -lboinc
+
+ ifdef BOINC_STUB
+ BOINC_DIR = ../boinc_stub
+ BOINC_LIBS =
+ endif
+
+-FREETYPE_DIR = /usr/include/freetype2
+-CPPFLAGS += -I$(BOINC_DIR) -I$(BOINC_LIB_DIR) -I$(BOINC_API_DIR) -I$(BOINC_ZIP_DIR) -I$(FREETYPE_DIR) -Isimd
+-CFLAGS += -c -O3 $(ARCH) -Wall -Wextra -pedantic -Werror $(VARIANTFLAGS) -MMD -MP
+-CXXFLAGS += $(CFLAGS) -std=gnu++11
+-LDFLAGS += $(ARCH) -L/usr/X11R6/lib -L. -static
+-LIBS ?= -static-libgcc -static-libstdc++ -pthread -Wl,-Bstatic -lbz2
++CPPFLAGS += -I$(BOINC_DIR) -I$(BOINC_LIB_DIR) -I$(BOINC_API_DIR) -Isimd
++CXXFLAGS += -std=gnu++11
++LIBS ?= -pthread -lbz2
+ CXXSOURCES = BoincFile.cpp Graph.cpp boinc_functions.cpp utility.cpp pc.cpp main.cpp
+ CSOURCES = erf.c
+ OBJECTS = $(CXXSOURCES:.cpp=.o) $(CSOURCES:.c=.o)
+@@ -44,13 +40,13 @@
+ all: $(EXECUTABLE)
+
+ $(EXECUTABLE): $(OBJECTS)
+- $(CXX) $(LDFLAGS) $(OBJECTS) -o $@ $(LIBS) $(BOINC_LIBS)
++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LIBS) $(BOINC_LIBS)
+
+ .cpp.o:
+- $(CXX) $(CPPFLAGS) $(CXXFLAGS) $< -o $@
++ $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $< -o $@
+
+ .c.o:
+- $(CC) $(CPPFLAGS) $(CFLAGS) $< -o $@
++ $(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@
+
+ clean:
+ rm -rf ../bin/$(EXECUTABLE) *.o *~ *.d
diff --git a/sci-biology/geneathome/geneathome-1.10.ebuild b/sci-biology/geneathome/geneathome-1.10.ebuild
new file mode 100644
index 000000000..cf16befe5
--- /dev/null
+++ b/sci-biology/geneathome/geneathome-1.10.ebuild
@@ -0,0 +1,78 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools toolchain-funcs
+
+MY_PN="pc-boinc"
+COMMIT="3186afba409a"
+
+BOINC_VER=7.16.16
+BOINC_RELEASE=$(ver_cut 1-2 "${BOINC_VER}")
+
+DESCRIPTION="BOINC application for expanding Gene Regulatory Networks (GRN)"
+HOMEPAGE="http://gene.disi.unitn.it/test/genehome https://bitbucket.org/francesco-asnicar/pc-boinc"
+SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${BOINC_RELEASE}/${BOINC_VER}.tar.gz -> boinc-${BOINC_VER}.tar.gz
+ https://bitbucket.org/francesco-asnicar/${MY_PN}/get/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/boinc-client_release-${BOINC_RELEASE}-${BOINC_VER}/samples/francesco-asnicar-${MY_PN}-${COMMIT}"
+
+LICENSE="FSFAP public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ app-arch/bzip2
+ sci-misc/boinc
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+PATCHES=( "${FILESDIR}"/makefile.patch )
+
+DOCS=( Readme.md )
+
+src_unpack() {
+ default
+ mv "${WORKDIR}/francesco-asnicar-${MY_PN}-${COMMIT}" "${S}" || die
+}
+
+src_prepare() {
+ default
+ sed 's/stdio.h/iostream/' -i src/main.cpp || die
+ sed 's/fprintf(stderr, \(.*\))/std::cerr << \1/g' -i src/main.cpp || die
+
+ cd ../.. || die
+ eautoreconf
+}
+
+src_configure() {
+ cd ../.. || die
+ econf --enable-pkg-devel --disable-static
+}
+
+src_compile() {
+ tc-export CC CXX
+ cd src || die
+ emake
+}
+
+src_test() {
+ bash test_run.sh || die
+ bash test_run2.sh || die
+}
+
+src_install() {
+ insinto /var/lib/boinc/projects/gene.disi.unitn.it_test
+ doins "${FILESDIR}"/app_config.xml
+ exeinto /var/lib/boinc/projects/gene.disi.unitn.it_test
+ newexe bin/pc "gene_pcim_v${PV}"
+}
+
+pkg_postinst() {
+ elog
+ elog "gene@home is a part of TN-Grid BOINC project."
+ elog
+ elog "- Master URL: https://gene.disi.unitn.it/test/"
+ elog "- Invitation code: science@tn"
+}
diff --git a/sci-biology/geneathome/metadata.xml b/sci-biology/geneathome/metadata.xml
new file mode 100644
index 000000000..70e709e63
--- /dev/null
+++ b/sci-biology/geneathome/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="bitbucket">francesco-asnicar/pc-boinc</remote-id>
+ </upstream>
+ <maintainer type="person">
+ <email>cyber+gentoo@sysrq.in</email>
+ <name>Anna</name>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-biology/geneathome/files/, sci-biology/geneathome/
@ 2021-05-20 12:47 Anna Vyalkova
0 siblings, 0 replies; 5+ messages in thread
From: Anna Vyalkova @ 2021-05-20 12:47 UTC (permalink / raw
To: gentoo-commits
commit: eb4a3bc46231713ffee75e71f37b828971a8bfec
Author: Anna Vyalkova <cyber <AT> sysrq <DOT> in>
AuthorDate: Thu May 20 12:29:59 2021 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu May 20 12:47:26 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eb4a3bc4
sci-biology/geneathome: fix wrong filename
Signed-off-by: Anna Vyalkova <cyber <AT> sysrq.in>
sci-biology/geneathome/files/{app_config.xml => app_info.xml} | 0
sci-biology/geneathome/geneathome-1.10.ebuild | 2 +-
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-biology/geneathome/files/app_config.xml b/sci-biology/geneathome/files/app_info.xml
similarity index 100%
rename from sci-biology/geneathome/files/app_config.xml
rename to sci-biology/geneathome/files/app_info.xml
diff --git a/sci-biology/geneathome/geneathome-1.10.ebuild b/sci-biology/geneathome/geneathome-1.10.ebuild
index cf16befe5..b82d1dce5 100644
--- a/sci-biology/geneathome/geneathome-1.10.ebuild
+++ b/sci-biology/geneathome/geneathome-1.10.ebuild
@@ -64,7 +64,7 @@ src_test() {
src_install() {
insinto /var/lib/boinc/projects/gene.disi.unitn.it_test
- doins "${FILESDIR}"/app_config.xml
+ doins "${FILESDIR}"/app_info.xml
exeinto /var/lib/boinc/projects/gene.disi.unitn.it_test
newexe bin/pc "gene_pcim_v${PV}"
}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-biology/geneathome/files/, sci-biology/geneathome/
@ 2022-05-30 17:47 Anna Vyalkova
0 siblings, 0 replies; 5+ messages in thread
From: Anna Vyalkova @ 2022-05-30 17:47 UTC (permalink / raw
To: gentoo-commits
commit: 5876888c66bbb7100ab1f6c8717c5112364d396b
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon May 30 16:53:12 2022 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Mon May 30 17:46:56 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5876888c
sci-biology/geneathome: update to new BOINC
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
sci-biology/geneathome/Manifest | 1 -
sci-biology/geneathome/files/makefile.patch | 2 +-
...eathome-1.10-r2.ebuild => geneathome-1.10-r3.ebuild} | 17 +++++++----------
3 files changed, 8 insertions(+), 12 deletions(-)
diff --git a/sci-biology/geneathome/Manifest b/sci-biology/geneathome/Manifest
index 5a086b395..806447644 100644
--- a/sci-biology/geneathome/Manifest
+++ b/sci-biology/geneathome/Manifest
@@ -1,2 +1 @@
-DIST boinc-7.16.16.tar.gz 49599131 BLAKE2B 819ab85c19a684144711f77e669b892aa73c006b81c1d7ef7adbd9d580e1e8473ae27b52dc17953ee677c70fc78ed15df936afd740e629715f30f2b81d84ea6f SHA512 dd7042e176d6506c70de7866556ae73b2f45734df92038086d5b0414751f3da08dc571c49f0c26d747d3fb2577674d3ff8cdec7d3563861eaaaa5af9c1db0a0e
DIST geneathome-1.10.tar.gz 73686241 BLAKE2B 4a4e9930e3faeaf0b6d687d26adb3267af1a70096397e9e4001066a7029a854b95cd35b6779a0e6bcf6c9cb3ad662b5f9e6adf4ab9d608ed2d73c65d3dadc10b SHA512 c8c1bb65f0021d9c9d9f14375212c458694dbb21abbfa90f6b8fb958bc6d86a522bbe13846b5930f6df0a4e755256f2016c5edd4447ae147cb1381eccce06b9e
diff --git a/sci-biology/geneathome/files/makefile.patch b/sci-biology/geneathome/files/makefile.patch
index 236da461e..7025b694d 100644
--- a/sci-biology/geneathome/files/makefile.patch
+++ b/sci-biology/geneathome/files/makefile.patch
@@ -19,7 +19,7 @@
-CXXFLAGS += $(CFLAGS) -std=gnu++11
-LDFLAGS += $(ARCH) -L/usr/X11R6/lib -L. -static
-LIBS ?= -static-libgcc -static-libstdc++ -pthread -Wl,-Bstatic -lbz2
-+CPPFLAGS += -I$(BOINC_DIR) -I$(BOINC_LIB_DIR) -I$(BOINC_API_DIR) -Isimd
++CPPFLAGS += -I$(BOINC_DIR) -Isimd
+CXXFLAGS += -std=gnu++11
+LIBS ?= -pthread -lbz2
CXXSOURCES = BoincFile.cpp Graph.cpp boinc_functions.cpp utility.cpp pc.cpp main.cpp
diff --git a/sci-biology/geneathome/geneathome-1.10-r2.ebuild b/sci-biology/geneathome/geneathome-1.10-r3.ebuild
similarity index 82%
rename from sci-biology/geneathome/geneathome-1.10-r2.ebuild
rename to sci-biology/geneathome/geneathome-1.10-r3.ebuild
index 43ec78723..383549d5d 100644
--- a/sci-biology/geneathome/geneathome-1.10-r2.ebuild
+++ b/sci-biology/geneathome/geneathome-1.10-r3.ebuild
@@ -3,13 +3,12 @@
EAPI=8
-BOINC_SUBMODULE="samples/${PN}"
BOINC_MASTER_URL="https://gene.disi.unitn.it/test/"
BOINC_INVITATION_CODE="science@tn"
BOINC_HELPTEXT=\
"gene@home is a part of TN-Grid BOINC project."
-inherit boinc boinc-app toolchain-funcs
+inherit boinc-app edo toolchain-funcs
MY_PN="pc-boinc"
COMMIT="3186afba409a"
@@ -17,7 +16,7 @@ COMMIT="3186afba409a"
DESCRIPTION="BOINC application for expanding Gene Regulatory Networks (GRN)"
HOMEPAGE+=" https://bitbucket.org/francesco-asnicar/pc-boinc"
SRC_URI="https://bitbucket.org/francesco-asnicar/${MY_PN}/get/${COMMIT}.tar.gz -> ${P}.tar.gz"
-BOINC_S="francesco-asnicar-${MY_PN}-${COMMIT}"
+S="${WORKDIR}/francesco-asnicar-${MY_PN}-${COMMIT}"
LICENSE="sunpro public-domain"
SLOT="0"
@@ -32,11 +31,8 @@ DOCS=( Readme.md )
boinc-app_add_deps
-boinc_require_source 7.16.16
-boinc_enable_autotools
-
src_prepare() {
- boinc_src_prepare
+ default
# error: inlining failed in call to ‘always_inline’ ‘int fprintf(FILE*, const char*, ...)’: target specific option mismatch
sed -i src/main.cpp \
@@ -46,12 +42,13 @@ src_prepare() {
src_compile() {
tc-export CC CXX
- emake -C src
+
+ emake -C src BOINC_DIR="${ESYSROOT}"/usr/include/boinc
}
src_test() {
- bash ./test_run.sh || die
- bash ./test_run2.sh || die
+ edo bash ./test_run.sh
+ edo bash ./test_run2.sh
}
src_install() {
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-biology/geneathome/files/, sci-biology/geneathome/
@ 2023-06-11 12:14 Anna Vyalkova
0 siblings, 0 replies; 5+ messages in thread
From: Anna Vyalkova @ 2023-06-11 12:14 UTC (permalink / raw
To: gentoo-commits
commit: 9ea5a49aa158bcc842b65e236b64241a7e49272f
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Jun 11 12:13:21 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Jun 11 12:14:34 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9ea5a49a
sci-biology/geneathome: fix build with gcc 13
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
.../geneathome/files/geneathome-1.10-include.patch | 12 ++++
.../files/geneathome-1.10-iostream.patch | 82 ++++++++++++++++++++++
...kefile.patch => geneathome-1.10-makefile.patch} | 0
...me-1.10-r3.ebuild => geneathome-1.10-r4.ebuild} | 15 ++--
4 files changed, 99 insertions(+), 10 deletions(-)
diff --git a/sci-biology/geneathome/files/geneathome-1.10-include.patch b/sci-biology/geneathome/files/geneathome-1.10-include.patch
new file mode 100644
index 000000000..9130b88e3
--- /dev/null
+++ b/sci-biology/geneathome/files/geneathome-1.10-include.patch
@@ -0,0 +1,12 @@
+Fixes build with GCC 13.
+
+--- a/src/simd/Vector.hpp
++++ b/src/simd/Vector.hpp
+@@ -23,6 +23,7 @@
+
+ #include <type_traits>
+ #include <cassert>
++#include <cstdint>
+
+ // std::negation requires C++17, so defined own one
+ template<typename B>
diff --git a/sci-biology/geneathome/files/geneathome-1.10-iostream.patch b/sci-biology/geneathome/files/geneathome-1.10-iostream.patch
new file mode 100644
index 000000000..24d47cee4
--- /dev/null
+++ b/sci-biology/geneathome/files/geneathome-1.10-iostream.patch
@@ -0,0 +1,82 @@
+Fixes "inlining failed in call to ..."
+
+--- a/src/main.cpp
++++ b/src/main.cpp
+@@ -22,8 +22,8 @@ int appMain(int argc, char* argv[]);
+
+ #if defined(__i386__) || defined (__x86_64__)
+
++#include <iostream>
+ #include <cpuid.h>
+-#include <stdio.h>
+
+ __attribute__((target("no-avx,no-sse")))
+ bool checkRequiredInstructionSets() {
+@@ -34,14 +34,14 @@ bool checkRequiredInstructionSets() {
+ unsigned int a, b, c, d;
+
+ if (!__get_cpuid(1, &a, &b, &c, &d)) {
+- fprintf(stderr, "CPUID instruction is not supported by your CPU!\n");
++ std::cerr << "CPUID instruction is not supported by your CPU!\n";
+ return false;
+ }
+
+ #ifdef __SSE2__
+ //printf("Checking for SSE2 support\n");
+ if (0 == (d & bit_SSE2)) {
+- fprintf(stderr, "SSE2 instructions are not supported by your CPU!\n");
++ std::cerr << "SSE2 instructions are not supported by your CPU!\n";
+ return false;
+ }
+ #endif
+@@ -49,13 +49,13 @@ bool checkRequiredInstructionSets() {
+ #ifdef __AVX__
+ //printf("Checking for AVX support\n");
+ if (0 == (c & bit_AVX)) {
+- fprintf(stderr, "AVX instructions are not supported by your CPU!\n");
++ std::cerr << "AVX instructions are not supported by your CPU!\n";
+ return false;
+ }
+
+ // AVX also needs OS support, check for it
+ if (0 == (c & bit_OSXSAVE)) {
+- fprintf(stderr, "OSXSAVE instructions are not supported by your CPU!\n");
++ std::cerr << "OSXSAVE instructions are not supported by your CPU!\n";
+ return false;
+ }
+
+@@ -63,7 +63,7 @@ bool checkRequiredInstructionSets() {
+ unsigned int ecx = 0; // _XCR_XFEATURE_ENABLED_MASK
+ __asm__ ("xgetbv" : "=a" (eax), "=d" (edx) : "c" (ecx));
+ if (0x6 != (eax & 0x6)) { // XSTATE_SSE | XSTATE_YMM
+- fprintf(stderr, "AVX instructions are not supported by your OS!\n");
++ std::cerr << "AVX instructions are not supported by your OS!\n";
+ return false;
+ }
+ #endif
+@@ -71,7 +71,7 @@ bool checkRequiredInstructionSets() {
+ #ifdef __FMA__
+ //printf("Checking for FMA support\n");
+ if (0 == (c & bit_FMA)) {
+- fprintf(stderr, "FMA instructions are not supported by your CPU!\n");
++ std::cerr << "FMA instructions are not supported by your CPU!\n";
+ return false;
+ }
+ #endif
+@@ -79,14 +79,14 @@ bool checkRequiredInstructionSets() {
+ #ifdef __AVX2__
+ //printf("Checking for AVX2 support\n");
+ if (__get_cpuid_max(0, 0) < 7) {
+- fprintf(stderr, "Extended CPUID 0x7 instruction is not supported by your CPU!\n");
++ std::cerr << "Extended CPUID 0x7 instruction is not supported by your CPU!\n";
+ return false;
+ }
+
+ __cpuid_count(7, 0, a, b, c, d);
+
+ if (0 == (b & bit_AVX2)) {
+- fprintf(stderr, "AVX2 instructions are not supported by your CPU!\n");
++ std::cerr << "AVX2 instructions are not supported by your CPU!\n";
+ return false;
+ }
+ #endif
diff --git a/sci-biology/geneathome/files/makefile.patch b/sci-biology/geneathome/files/geneathome-1.10-makefile.patch
similarity index 100%
rename from sci-biology/geneathome/files/makefile.patch
rename to sci-biology/geneathome/files/geneathome-1.10-makefile.patch
diff --git a/sci-biology/geneathome/geneathome-1.10-r3.ebuild b/sci-biology/geneathome/geneathome-1.10-r4.ebuild
similarity index 77%
rename from sci-biology/geneathome/geneathome-1.10-r3.ebuild
rename to sci-biology/geneathome/geneathome-1.10-r4.ebuild
index c25cf8755..64c1db7d3 100644
--- a/sci-biology/geneathome/geneathome-1.10-r3.ebuild
+++ b/sci-biology/geneathome/geneathome-1.10-r4.ebuild
@@ -25,21 +25,16 @@ KEYWORDS="~amd64 ~arm64 ~x86"
DEPEND="app-arch/bzip2"
RDEPEND="${DEPEND}"
-PATCHES=( "${FILESDIR}"/makefile.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.10-include.patch
+ "${FILESDIR}"/${PN}-1.10-iostream.patch
+ "${FILESDIR}"/${PN}-1.10-makefile.patch
+)
DOCS=( Readme.md )
boinc-app_add_deps
-src_prepare() {
- default
-
- # error: inlining failed in call to ‘always_inline’ ‘int fprintf(FILE*, const char*, ...)’: target specific option mismatch
- sed -i src/main.cpp \
- -e 's/stdio.h/iostream/' \
- -e 's/fprintf(stderr, \(.*\))/std::cerr << \1/g' || die
-}
-
src_compile() {
tc-export CC CXX
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-biology/geneathome/files/, sci-biology/geneathome/
@ 2023-06-12 17:58 Anna Vyalkova
0 siblings, 0 replies; 5+ messages in thread
From: Anna Vyalkova @ 2023-06-12 17:58 UTC (permalink / raw
To: gentoo-commits
commit: ed9fb41143af4cbb2c5901d2fa7e6c76da5ba937
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Jun 12 17:58:08 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Mon Jun 12 17:58:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ed9fb411
sci-biology/geneathome: update app_info.xml
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
sci-biology/geneathome/files/app_info.xml | 1 +
.../geneathome/{geneathome-1.10-r4.ebuild => geneathome-1.10-r5.ebuild} | 0
2 files changed, 1 insertion(+)
diff --git a/sci-biology/geneathome/files/app_info.xml b/sci-biology/geneathome/files/app_info.xml
index 731faf57d..82ce7a9cd 100644
--- a/sci-biology/geneathome/files/app_info.xml
+++ b/sci-biology/geneathome/files/app_info.xml
@@ -13,6 +13,7 @@
<app_version>
<app_name>gene_pcim</app_name>
<version_num>110</version_num>
+ <plan_class>avx</plan_class>
<file_ref>
<file_name>gene_pcim_v@PV@</file_name>
<main_program/>
diff --git a/sci-biology/geneathome/geneathome-1.10-r4.ebuild b/sci-biology/geneathome/geneathome-1.10-r5.ebuild
similarity index 100%
rename from sci-biology/geneathome/geneathome-1.10-r4.ebuild
rename to sci-biology/geneathome/geneathome-1.10-r5.ebuild
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-06-12 17:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-30 17:47 [gentoo-commits] repo/proj/guru:dev commit in: sci-biology/geneathome/files/, sci-biology/geneathome/ Anna Vyalkova
-- strict thread matches above, loose matches on Subject: below --
2023-06-12 17:58 Anna Vyalkova
2023-06-11 12:14 Anna Vyalkova
2021-05-20 12:47 Anna Vyalkova
2021-05-19 1:06 Anna Vyalkova
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox