diff --git a/graphics/minder/Makefile b/graphics/minder/Makefile index d24ba7662def..997f406428ab 100644 --- a/graphics/minder/Makefile +++ b/graphics/minder/Makefile @@ -1,38 +1,42 @@ PORTNAME= minder -PORTVERSION= 1.17.0 -PORTREVISION= 2 +DISTVERSION= 2.0.9 CATEGORIES= graphics # avoid PKGBASE collision with net-p2p/minder PKGNAMESUFFIX= -app -MAINTAINER= nc@FreeBSD.org +MAINTAINER= eduardo@FreeBSD.org COMMENT= Mind-mapping application WWW= https://github.com/phase1geo/Minder LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= discount>0:textproc/discount LIB_DEPENDS= libgee-0.8.so:devel/libgee \ - libgranite.so:x11-toolkits/granite \ - libhandy-1.so:x11-toolkits/libhandy \ - libmarkdown.so:textproc/discount - -USES= desktop-file-utils gettext gnome libarchive localbase:ldflags \ - meson pkgconfig python:build shared-mime-info shebangfix vala:build + libgranite-7.so:x11-toolkits/granite7 \ + libgraphene-1.0.so:graphics/graphene \ + libjson-glib-1.0.so:devel/json-glib \ + libwebp.so:graphics/webp + +USES= desktop-file-utils gettext-tools:build gnome libarchive \ + localbase:ldflags meson pkgconfig python:build shared-mime-info \ + shebangfix vala:build USE_GITHUB= yes GH_ACCOUNT= phase1geo GH_PROJECT= Minder -USE_GNOME= cairo gdkpixbuf glib20 gtk30 gtksourceview4 libxml2 pango +USE_GNOME= cairo gdkpixbuf glib20 gtk40 gtksourceview5 libxml2 pango GLIB_SCHEMAS= com.github.phase1geo.minder.gschema.xml SHEBANG_FILES= meson/post_install.py PORTDOCS= README.md OPTIONS_DEFINE= DOCS +post-install: + @${RLN} ${STAGEDIR}${PREFIX}/bin/com.github.phase1geo.minder ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/minder/distinfo b/graphics/minder/distinfo index 033d3d24cb41..387b582ed5cf 100644 --- a/graphics/minder/distinfo +++ b/graphics/minder/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1731687168 -SHA256 (phase1geo-Minder-1.17.0_GH0.tar.gz) = 440dec61b25efdb40d166f683845aba93cb382bb92379b1a1a66a4ac0f3a37a3 -SIZE (phase1geo-Minder-1.17.0_GH0.tar.gz) = 1929489 +TIMESTAMP = 1788127132 +SHA256 (phase1geo-Minder-2.0.9_GH0.tar.gz) = 20443dacbcf13d04640fcbd170286ff1294f308984008e8633872c2cf5ac7c5e +SIZE (phase1geo-Minder-2.0.9_GH0.tar.gz) = 2218143 diff --git a/graphics/minder/files/patch-PULL734 b/graphics/minder/files/patch-PULL734 new file mode 100644 index 000000000000..d9be1fb818f4 --- /dev/null +++ b/graphics/minder/files/patch-PULL734 @@ -0,0 +1,23 @@ +From 71f4133a89cfc08d09d8659b66c94d3b4c7863be Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= +Date: Fri, 17 Jul 2026 02:39:36 +0200 +Subject: [PATCH] Set application name + +Without this, the process name is shown as window title. +--- + src/Application.vala | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git src/Application.vala src/Application.vala +index 39cde6b1..9d461cf3 100644 +--- src/Application.vala ++++ src/Application.vala +@@ -49,6 +49,8 @@ public class Minder : Gtk.Application { + Intl.bind_textdomain_codeset( GETTEXT_PACKAGE, "UTF-8" ); + Intl.textdomain( GETTEXT_PACKAGE ); + ++ Environment.set_application_name ( "Minder" ); ++ + startup.connect( start_application ); + command_line.connect( handle_command_line ); + diff --git a/graphics/minder/files/patch-PULL735 b/graphics/minder/files/patch-PULL735 new file mode 100644 index 000000000000..833ee8b35e49 --- /dev/null +++ b/graphics/minder/files/patch-PULL735 @@ -0,0 +1,32 @@ +From 948cbc47779d2c6b08052c47a2bb8c7a24eb727e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= +Date: Mon, 20 Jul 2026 20:31:15 +0200 +Subject: [PATCH] Reduce height of the Shortcuts page + +This allows the Preferences window to fit into smaller screens. Without +this, the bottom of the dialog is behind of the bottom panel on a 1024x768 +display. + +Also, expand the ScrolledWindow vertically to allow it to fill the space if +the user resizes the dialog. +--- + src/Preferences.vala | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git src/Preferences.vala src/Preferences.vala +index 6e2d7e35..9299a10f 100644 +--- src/Preferences.vala ++++ src/Preferences.vala +@@ -327,10 +327,11 @@ public class Preferences : Granite.Dialog { + hscrollbar_policy = PolicyType.NEVER, + overlay_scrolling = false, + hexpand = true, ++ vexpand = true, + margin_top = 20, + child = grid + }; +- sw.set_size_request( -1, 500 ); ++ sw.set_size_request( -1, 400 ); + + _shortcut_inst_start_str = _( "Double-click to edit shortcut. Select + Delete to remove shortcut." ); + _shortcut_inst_edit_str = _( "Escape to cancel. Press key combination to set." ); diff --git a/graphics/minder/pkg-plist b/graphics/minder/pkg-plist index aee01b331e33..bd663101392a 100644 --- a/graphics/minder/pkg-plist +++ b/graphics/minder/pkg-plist @@ -1,19 +1,23 @@ bin/com.github.phase1geo.minder +bin/minder share/applications/com.github.phase1geo.minder.desktop share/icons/hicolor/scalable/apps/com.github.phase1geo.minder.svg +share/icons/hicolor/scalable/mimetypes/application-com.github.phase1geo.minder.svg share/locale/cs/LC_MESSAGES/com.github.phase1geo.minder.mo share/locale/de/LC_MESSAGES/com.github.phase1geo.minder.mo share/locale/es/LC_MESSAGES/com.github.phase1geo.minder.mo share/locale/fr/LC_MESSAGES/com.github.phase1geo.minder.mo share/locale/it/LC_MESSAGES/com.github.phase1geo.minder.mo +share/locale/ka/LC_MESSAGES/com.github.phase1geo.minder.mo share/locale/nl/LC_MESSAGES/com.github.phase1geo.minder.mo share/locale/pl/LC_MESSAGES/com.github.phase1geo.minder.mo -share/locale/pt_BR/LC_MESSAGES/com.github.phase1geo.minder.mo share/locale/pt/LC_MESSAGES/com.github.phase1geo.minder.mo +share/locale/pt_BR/LC_MESSAGES/com.github.phase1geo.minder.mo share/locale/ru/LC_MESSAGES/com.github.phase1geo.minder.mo +share/locale/sv/LC_MESSAGES/com.github.phase1geo.minder.mo share/locale/zh_CN/LC_MESSAGES/com.github.phase1geo.minder.mo share/metainfo/com.github.phase1geo.minder.appdata.xml share/mime/packages/com.github.phase1geo.minder.xml %%DATADIR%%/gtksourceview-4/language-specs/com.github.phase1geo.minder-markdown.lang %%DATADIR%%/gtksourceview-4/styles/com.github.phase1geo.minder.color.xml %%DATADIR%%/gtksourceview-4/styles/com.github.phase1geo.minder.none.xml