biology/ugene: update Unipro UGENE to version 40.0.

This commit is contained in:
Alexey Dokuchaev 2021-09-16 09:48:26 +00:00
parent a351de4b7b
commit 299862ff2a
4 changed files with 15 additions and 19 deletions

View File

@ -1,7 +1,7 @@
# Created by: Hannes Hauswedell <h2+fbsdports@fsfe.org>
PORTNAME= ugene
PORTVERSION= 39.0
PORTVERSION= 40.0
CATEGORIES= biology science
MAINTAINER= h2+fbsdports@fsfe.org
@ -47,7 +47,7 @@ post-patch:
# yes, bash is required, stuff will not execute with sh
@${REINPLACE_CMD} -e 's|/bin/bash|/usr/bin/env bash|' \
${WRKSRC}/src/gen_bin_script.cmd \
${WRKSRC}/installer/_common_data/ugene
${WRKSRC}/etc/shared/ugene ${WRKSRC}/etc/shared/ugened
@${REINPLACE_CMD} -e 's|-bit version|& for ${OPSYS}/${ARCH}|' \
${WRKSRC}/src/ugeneui/src/main_window/AboutDialogController.cpp
@${REINPLACE_CMD} 's, -lbreakpad$$$$D,,' \
@ -55,13 +55,8 @@ post-patch:
${WRKSRC}/src/plugins_checker/plugins_checker.pri \
${WRKSRC}/src/ugenecl/ugenecl.pri \
${WRKSRC}/src/ugeneui/ugeneui.pri
@${REINPLACE_CMD} -e '218,220s|NULL)|false)|' \
${WRKSRC}/src/plugins/GUITestBase/src/GTUtilsMdi.cpp
@${REINPLACE_CMD} -e '/--no-pie/s,unix:!macx,linux-g++,' \
${WRKSRC}/src/plugins_checker/plugins_checker.pri \
${WRKSRC}/src/ugenecl/ugenecl.pri \
${WRKSRC}/src/ugenem/ugenem.pro \
${WRKSRC}/src/ugeneui/ugeneui.pri
@${REINPLACE_CMD} -e '/ugene\.desktop/s,share,&d,' \
${WRKSRC}/ugene.pri
post-stage:
@cd ${STAGEDIR}${PREFIX} && ${RM} bin/ecp.* lib/ugene/ecp.*

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1623340087
SHA256 (ugeneunipro-ugene-39.0_GH0.tar.gz) = 1e5141c097b22735497d91d59a47356a6fc132f8355c0a0bc97e26097c43570a
SIZE (ugeneunipro-ugene-39.0_GH0.tar.gz) = 24940304
TIMESTAMP = 1631110733
SHA256 (ugeneunipro-ugene-40.0_GH0.tar.gz) = 7a2f06141d571f45ce61e68af0a2456a3b3892b2d97104ec7ddfd1113b447c0f
SIZE (ugeneunipro-ugene-40.0_GH0.tar.gz) = 28789225

View File

@ -1,22 +1,21 @@
Use the Linux driver for FreeBSD as well. Fixes crash on startup.
--- src/libs_3rdparty/QSpec/src/drivers/GTKeyboardDriverLinux.cpp.orig 2018-09-02 00:22:54 UTC
--- src/libs_3rdparty/QSpec/src/drivers/GTKeyboardDriverLinux.cpp.orig 2021-09-08 14:18:53 UTC
+++ src/libs_3rdparty/QSpec/src/drivers/GTKeyboardDriverLinux.cpp
@@ -23,7 +23,7 @@
@@ -21,14 +21,14 @@
#include "GTKeyboardDriver.h"
-#if defined __linux__
+#if defined(__linux__) || defined(__FreeBSD__)
# define XK_LATIN1 // for latin symbol
# define XK_MISCELLANY // for action keys
# include <X11/extensions/XTest.h>
@@ -32,7 +32,7 @@
# include <X11/keysym.h>
#endif
namespace HI {
-#if defined __linux__
+#if defined(__linux__) || defined(__FreeBSD__)
# define GT_CLASS_NAME "GTKeyboardDriverLinux"
bool GTKeyboardDriver::keyPress(char key, Qt::KeyboardModifiers modifiers) {
DRIVER_CHECK(key != 0, "key = 0");

View File

@ -228,6 +228,7 @@ share/pixmaps/ugene.xpm
%%DATADIR%%/cmdline/hmm2-build.uwl
%%DATADIR%%/cmdline/hmm2-search.uwl
%%DATADIR%%/cmdline/hmm3-build-and-search.uwl
%%DATADIR%%/cmdline/hmm3-search.uwl
%%DATADIR%%/cmdline/join-quality.uwl
%%DATADIR%%/cmdline/local-blast+.uwl
%%DATADIR%%/cmdline/pfm-build.uwl
@ -1033,6 +1034,7 @@ share/pixmaps/ugene.xpm
%%DATADIR%%/samples/PDB/3INS.PDB
%%DATADIR%%/samples/Raw/raw.seq
%%DATADIR%%/samples/SCF/90-JRI-07.scf
%%DATADIR%%/samples/Sanger/alignment.ugenedb
%%DATADIR%%/samples/Stockholm/CBS.sto
%%DATADIR%%/samples/Stockholm/UPSK.sto
%%DATADIR%%/samples/Swiss-Prot/D0VTW9.txt