diff --git a/misc/edfbrowser/Makefile b/misc/edfbrowser/Makefile index df155f137d9a..b64795e9bd92 100644 --- a/misc/edfbrowser/Makefile +++ b/misc/edfbrowser/Makefile @@ -1,23 +1,23 @@ PORTNAME= edfbrowser -DISTVERSION= 1.95 +DISTVERSION= 2.14 CATEGORIES= misc MASTER_SITES= https://www.teuniz.net/${PORTNAME}/ DISTNAME= ${PORTNAME}_${DISTVERSION:S/.//}_source MAINTAINER= yuri@FreeBSD.org COMMENT= Viewer, annotator, toolbox for timeseries files EEG, EMG, ECG, etc WWW= https://www.teuniz.net/edfbrowser/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= desktop-file-utils gl qmake qt:5 shared-mime-info -USE_QT= core gui network printsupport widgets buildtools:build -USE_GL= gl +USES= desktop-file-utils gl qmake qt:6 shared-mime-info +USE_QT= base tools:build +USE_GL= opengl OPTIONS_DEFINE= DOCS post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/edfbrowser .include diff --git a/misc/edfbrowser/distinfo b/misc/edfbrowser/distinfo index 60f4c48f7202..d4a0030fb0d3 100644 --- a/misc/edfbrowser/distinfo +++ b/misc/edfbrowser/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1659335259 -SHA256 (edfbrowser_195_source.tar.gz) = b6077351f99f0b932d9326a4c2b9b8694b1337a32ee71bd8254aa91dfad0b240 -SIZE (edfbrowser_195_source.tar.gz) = 683284 +TIMESTAMP = 1765060132 +SHA256 (edfbrowser_214_source.tar.gz) = 00ec253c6b2a0b4795592e90da6baf397c373de52393e23a737df4c672cb5663 +SIZE (edfbrowser_214_source.tar.gz) = 738805 diff --git a/misc/edfbrowser/files/patch-edfbrowser.pro b/misc/edfbrowser/files/patch-edfbrowser.pro index 1cc7925c64f1..93ecbf16ce3f 100644 --- a/misc/edfbrowser/files/patch-edfbrowser.pro +++ b/misc/edfbrowser/files/patch-edfbrowser.pro @@ -1,59 +1,59 @@ ---- edfbrowser.pro.orig 2022-06-20 06:49:59 UTC +--- edfbrowser.pro.orig 2025-09-08 04:14:01 UTC +++ edfbrowser.pro -@@ -284,35 +284,35 @@ win32 { - QMAKE_CXXFLAGS += -Wextra -Wshadow -Wformat -Wformat-nonliteral -Wformat-security -Wtype-limits -Wfatal-errors -Wdeprecated-declarations +@@ -320,35 +320,35 @@ unix { + } unix { -target.path = /usr/bin +target.path = $$PREFIX/bin/ target.files = edfbrowser INSTALLS += target -documentation.path = /usr/share/doc/edfbrowser +documentation.path = $$PREFIX/share/doc/edfbrowser documentation.files = doc/* INSTALLS += documentation -icon_a.path = /usr/share/icons +icon_a.path = $$PREFIX/share/icons icon_a.files = images/edf.png INSTALLS += icon_a -icon_b.path += /usr/share/pixmaps +icon_b.path += $$PREFIX/share/pixmaps icon_b.files = images/edf.png INSTALLS += icon_b -icon_c.path += /usr/share/icons/hicolor/48x48/apps +icon_c.path += $$PREFIX/share/icons/hicolor/48x48/apps icon_c.files = images/edf.png INSTALLS += icon_c -icon_d.path += /usr/share/icons/hicolor/48x48/mimetypes +icon_d.path += $$PREFIX/share/icons/hicolor/48x48/mimetypes icon_d.files = images/edf.png INSTALLS += icon_d -desktop_link.path += /usr/share/applications +desktop_link.path += $$PREFIX/share/applications desktop_link.files += install/edfbrowser.desktop INSTALLS += desktop_link -mime.path += /usr/share/mime/packages +mime.path += $$PREFIX/share/mime/packages mime.files += install/edfbrowser.xml INSTALLS += mime } -@@ -323,10 +323,10 @@ mac { +@@ -359,10 +359,10 @@ mac { QMAKE_APPLICATION_BUNDLE_NAME = EDFbrowser QMAKE_TARGET_BUNDLE_PREFIX = net.teuniz icns.target = edf.icns - icns.commands = /usr/bin/env bash $$_PRO_FILE_PWD_/images/macos-icns-create.command "$$(PWD)" + icns.commands = $$PREFIX/bin/env bash $$_PRO_FILE_PWD_/images/macos-icns-create.command "$$(PWD)" QMAKE_EXTRA_TARGETS += icns ICON = $$(PWD)/edf.icns - QMAKE_POST_LINK = /usr/bin/env bash $$_PRO_FILE_PWD_/install/macos-dmg-create.command "$$(PWD)" + QMAKE_POST_LINK = $$PREFIX/bin/env bash $$_PRO_FILE_PWD_/install/macos-dmg-create.command "$$(PWD)" QMAKE_CLEAN += edf.iconset EDFbrowser-*-temp.dmg QMAKE_DISTCLEAN += edf.icns EDFbrowser-*.dmg } diff --git a/misc/edfbrowser/files/patch-edflib.c b/misc/edfbrowser/files/patch-edflib.c index d9da0b75d673..0788c583b853 100644 --- a/misc/edfbrowser/files/patch-edflib.c +++ b/misc/edfbrowser/files/patch-edflib.c @@ -1,11 +1,11 @@ ---- edflib.c.orig 2022-07-16 07:26:18 UTC +--- edflib.c.orig 2025-09-08 04:16:39 UTC +++ edflib.c @@ -38,7 +38,7 @@ - #define EDFLIB_VERSION (122) + #define EDFLIB_VERSION (127) #define EDFLIB_MAXFILES (64) -#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__HAIKU__) || defined(__ANDROID__) +#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__HAIKU__) || defined(__ANDROID__) || defined(__FreeBSD__) #define fopeno fopen diff --git a/misc/edfbrowser/files/patch-global.h b/misc/edfbrowser/files/patch-global.h index a6dd5007295f..7815f475b7c7 100644 --- a/misc/edfbrowser/files/patch-global.h +++ b/misc/edfbrowser/files/patch-global.h @@ -1,11 +1,11 @@ ---- global.h.orig 2022-06-20 06:40:34 UTC +--- global.h.orig 2025-09-08 04:16:58 UTC +++ global.h -@@ -54,7 +54,7 @@ +@@ -58,7 +58,7 @@ #include -#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__HAIKU__) +#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__HAIKU__) || defined(__FreeBSD__) - #define fopeno fopen - + #else + #define fseeko fseeko64 diff --git a/misc/edfbrowser/pkg-message b/misc/edfbrowser/pkg-message new file mode 100644 index 000000000000..98105aacf0fa --- /dev/null +++ b/misc/edfbrowser/pkg-message @@ -0,0 +1,8 @@ +[ +{ type: install + message: <