From owner-svn-ports-head@freebsd.org Mon May 13 16:23:38 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7B2011594167; Mon, 13 May 2019 16:23:38 +0000 (UTC) (envelope-from jwb@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EDA1E88FBA; Mon, 13 May 2019 16:23:37 +0000 (UTC) (envelope-from jwb@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BDE3AC677; Mon, 13 May 2019 16:23:37 +0000 (UTC) (envelope-from jwb@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4DGNbUj078025; Mon, 13 May 2019 16:23:37 GMT (envelope-from jwb@FreeBSD.org) Received: (from jwb@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4DGNa6o078017; Mon, 13 May 2019 16:23:36 GMT (envelope-from jwb@FreeBSD.org) Message-Id: <201905131623.x4DGNa6o078017@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jwb set sender to jwb@FreeBSD.org using -f From: "Jason W. Bacon" Date: Mon, 13 May 2019 16:23:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501578 - in head/biology/jellyfish: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jwb X-SVN-Commit-Paths: in head/biology/jellyfish: . files X-SVN-Commit-Revision: 501578 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: EDA1E88FBA X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.975,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 May 2019 16:23:38 -0000 Author: jwb Date: Mon May 13 16:23:35 2019 New Revision: 501578 URL: https://svnweb.freebsd.org/changeset/ports/501578 Log: biology/jellyfish: Upgrade to 2.2.10, patch for powerpc64 PR: 237868 Submitted by: pkubaj Added: head/biology/jellyfish/files/patch-include_jellyfish_hash__counter.hpp (contents, props changed) head/biology/jellyfish/files/patch-sub__commands_count__main.cc (contents, props changed) head/biology/jellyfish/files/patch-sub__commands_merge__main.cc (contents, props changed) head/biology/jellyfish/files/patch-sub__commands_query__main.cc (contents, props changed) Modified: head/biology/jellyfish/Makefile head/biology/jellyfish/distinfo head/biology/jellyfish/files/patch-include_jellyfish_file__header.hpp head/biology/jellyfish/pkg-plist Modified: head/biology/jellyfish/Makefile ============================================================================== --- head/biology/jellyfish/Makefile Mon May 13 15:23:41 2019 (r501577) +++ head/biology/jellyfish/Makefile Mon May 13 16:23:35 2019 (r501578) @@ -1,10 +1,10 @@ # $FreeBSD$ -PORTNAME= jellyfish -PORTVERSION= 2.2.6 +PORTNAME= Jellyfish DISTVERSIONPREFIX= v -PORTREVISION= 4 -CATEGORIES= biology +DISTVERSION= 2.2.10 +PORTREVISION= 5 +CATEGORIES= biology MAINTAINER= jwb@FreeBSD.org COMMENT= Fast, memory-efficient counting of k-mers in DNA @@ -13,25 +13,33 @@ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= yaggo:devel/yaggo +LIB_DEPENDS= libhts.so:biology/htslib -GNU_CONFIGURE= yes - USES= autoreconf compiler:c++11-lib gmake libtool pathfix pkgconfig USE_LDCONFIG= yes - USE_GITHUB= yes + +GNU_CONFIGURE= yes GH_ACCOUNT= gmarcais -GH_PROJECT= Jellyfish INSTALL_TARGET= install-strip - PLIST_SUB= VER=${PORTVERSION} +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes + +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls + .include # SSE code assumes amd64 features .if ${ARCH} != "amd64" CONFIGURE_ARGS+=--without-sse +.endif + +.if ${CHOSEN_COMPILER_TYPE} == gcc +CXXFLAGS+= -faligned-new .endif .include Modified: head/biology/jellyfish/distinfo ============================================================================== --- head/biology/jellyfish/distinfo Mon May 13 15:23:41 2019 (r501577) +++ head/biology/jellyfish/distinfo Mon May 13 16:23:35 2019 (r501578) @@ -1,3 +1,3 @@ -TIMESTAMP = 1482069678 -SHA256 (gmarcais-Jellyfish-v2.2.6_GH0.tar.gz) = 800bc60aaec273dc04296ee7493e714457f2fe88551f76693e5d9f9a679dd35e -SIZE (gmarcais-Jellyfish-v2.2.6_GH0.tar.gz) = 660858 +TIMESTAMP = 1557758001 +SHA256 (gmarcais-Jellyfish-v2.2.10_GH0.tar.gz) = 49137356b1cdd014cb70e866f0739fc3fafea6421fa22cc64bcfeba55fc1dc27 +SIZE (gmarcais-Jellyfish-v2.2.10_GH0.tar.gz) = 677009 Modified: head/biology/jellyfish/files/patch-include_jellyfish_file__header.hpp ============================================================================== --- head/biology/jellyfish/files/patch-include_jellyfish_file__header.hpp Mon May 13 15:23:41 2019 (r501577) +++ head/biology/jellyfish/files/patch-include_jellyfish_file__header.hpp Mon May 13 16:23:35 2019 (r501578) @@ -1,4 +1,4 @@ ---- include/jellyfish/file_header.hpp.orig 2015-10-27 14:32:31 UTC +--- include/jellyfish/file_header.hpp.orig 2018-04-16 12:46:09 UTC +++ include/jellyfish/file_header.hpp @@ -21,6 +21,8 @@ #include @@ -9,7 +9,7 @@ namespace jellyfish { /// A header with jellyfish hash specific entries: size, matrix, etc. class file_header : public generic_file_header { -@@ -42,7 +44,10 @@ public: +@@ -42,7 +44,10 @@ class file_header : public generic_file_header { (publ RectangularBinaryMatrix matrix(int i = 1) const { std::string name("matrix"); @@ -20,8 +20,8 @@ + name += buff; const unsigned int r = root_[name]["r"].asUInt(); const unsigned int c = root_[name]["c"].asUInt(); - std::vector raw(c, (uint64_t)0); -@@ -53,7 +58,10 @@ public: + if(root_[name]["identity"].asBool()) +@@ -56,7 +61,10 @@ class file_header : public generic_file_header { (publ void matrix(const RectangularBinaryMatrix& m, int i = 1) { std::string name("matrix"); Added: head/biology/jellyfish/files/patch-include_jellyfish_hash__counter.hpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/biology/jellyfish/files/patch-include_jellyfish_hash__counter.hpp Mon May 13 16:23:35 2019 (r501578) @@ -0,0 +1,11 @@ +--- include/jellyfish/hash_counter.hpp.orig 2018-04-16 12:46:09 UTC ++++ include/jellyfish/hash_counter.hpp +@@ -213,7 +213,7 @@ class hash_counter { (protected) + new_ary_ = new array(ary_->size(), ary_->key_len(), ary_->val_len() + 1, + ary_->max_reprobe(), ary_->reprobes()); + } +- } catch(typename array::ErrorAllocation e) { ++ } catch(typename array::ErrorAllocation &e) { + new_ary_ = 0; + } + } Added: head/biology/jellyfish/files/patch-sub__commands_count__main.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/biology/jellyfish/files/patch-sub__commands_count__main.cc Mon May 13 16:23:35 2019 (r501578) @@ -0,0 +1,11 @@ +--- sub_commands/count_main.cc.orig 2019-05-13 07:42:50 UTC ++++ sub_commands/count_main.cc +@@ -330,7 +330,7 @@ int count_main(int argc, char *argv[]) + uint64_t max = args.upper_count_given ? args.upper_count_arg : std::numeric_limits::max(); + try { + merge_files(files, args.output_arg, header, min, max); +- } catch(MergeError e) { ++ } catch(MergeError &e) { + err::die(err::msg() << e.what()); + } + if(!args.no_unlink_flag) { Added: head/biology/jellyfish/files/patch-sub__commands_merge__main.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/biology/jellyfish/files/patch-sub__commands_merge__main.cc Mon May 13 16:23:35 2019 (r501578) @@ -0,0 +1,11 @@ +--- sub_commands/merge_main.cc.orig 2019-05-13 07:46:43 UTC ++++ sub_commands/merge_main.cc +@@ -33,7 +33,7 @@ int merge_main(int argc, char *argv[]) + + try { + merge_files(args.input_arg, args.output_arg, out_header, min, max); +- } catch(MergeError e) { ++ } catch(MergeError &e) { + err::die(err::msg() << e.what()); + } + Added: head/biology/jellyfish/files/patch-sub__commands_query__main.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/biology/jellyfish/files/patch-sub__commands_query__main.cc Mon May 13 16:23:35 2019 (r501578) @@ -0,0 +1,20 @@ +--- sub_commands/query_main.cc.orig 2019-05-13 07:47:53 UTC ++++ sub_commands/query_main.cc +@@ -60,7 +60,7 @@ void query_from_cmdline(std::vector mers, + if(canonical) + m.canonicalize(); + out << m << " " << db.check(m) << "\n"; +- } catch(std::length_error e) { ++ } catch(std::length_error &e) { + std::cerr << "Invalid mer '" << *it << "'\n"; + } + } +@@ -77,7 +77,7 @@ void query_from_stdin(const Database& db, std::ostream + if(canonical) + m.canonicalize(); + out << db.check(m) << std::endl; // a flush is need for interactive use +- } catch(std::length_error e) { ++ } catch(std::length_error &e) { + std::cerr << "Invalid mer '" << buffer << "'" << std::endl; + } + } Modified: head/biology/jellyfish/pkg-plist ============================================================================== --- head/biology/jellyfish/pkg-plist Mon May 13 15:23:41 2019 (r501577) +++ head/biology/jellyfish/pkg-plist Mon May 13 16:23:35 2019 (r501578) @@ -35,7 +35,9 @@ include/jellyfish-%%VER%%/jellyfish/mer_overlap_sequen include/jellyfish-%%VER%%/jellyfish/mer_qual_iterator.hpp include/jellyfish-%%VER%%/jellyfish/misc.hpp include/jellyfish-%%VER%%/jellyfish/offsets_key_value.hpp +include/jellyfish-%%VER%%/jellyfish/parser_common.hpp include/jellyfish-%%VER%%/jellyfish/rectangular_binary_matrix.hpp +include/jellyfish-%%VER%%/jellyfish/sam_format.hpp include/jellyfish-%%VER%%/jellyfish/simple_circular_buffer.hpp include/jellyfish-%%VER%%/jellyfish/sorted_dumper.hpp include/jellyfish-%%VER%%/jellyfish/stdio_filebuf.hpp