pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

vym: Update to 2.8.8



Module Name:	pkgsrc-wip
Committed By:	Iris <iris000%duck.com@localhost>
Pushed By:	iris
Date:		Sun Aug 4 14:38:12 2024 +0000
Changeset:	9ba30782487435dc12604d132399d2166e0441f1

Modified Files:
	vym/Makefile
	vym/PLIST
	vym/distinfo
Added Files:
	vym/COMMIT_MSG
	vym/TODO
	vym/patches/patch-src_exportoofiledialog.cpp
	vym/patches/patch-src_main.cpp
	vym/patches/patch-src_mainwindow.cpp
Removed Files:
	vym/patches/patch-main.cpp

Log Message:
vym: Update to 2.8.8

https://www.insilmaril.de/vym/release-notes-2.8.0.html

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9ba30782487435dc12604d132399d2166e0441f1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 vym/COMMIT_MSG                               | 129 +++++++++++++++++++++++++++
 vym/Makefile                                 |  36 ++++++--
 vym/PLIST                                    | 108 ++++++++++++----------
 vym/TODO                                     |   2 +
 vym/distinfo                                 |  12 +--
 vym/patches/patch-main.cpp                   |  13 ---
 vym/patches/patch-src_exportoofiledialog.cpp |  11 +++
 vym/patches/patch-src_main.cpp               |  13 +++
 vym/patches/patch-src_mainwindow.cpp         |  10 +++
 9 files changed, 261 insertions(+), 73 deletions(-)

diffs:
diff --git a/vym/COMMIT_MSG b/vym/COMMIT_MSG
new file mode 100644
index 0000000000..56b80a09a5
--- /dev/null
+++ b/vym/COMMIT_MSG
@@ -0,0 +1,129 @@
+$NetBSD$
+
+vym: Update from 2.7.1 to 2.8.8
+
+https://www.insilmaril.de/vym/release-notes-2.8.0.html
+
+Release notes View Your Mind - vym 2.8.0
+
+This version provides bugfixes and some new features. The biggest and most
+visible change are the (mostly) reworked and now scalable icons in mind maps.
+
+At least on Linux you now can also connect to JIRA and Confluence and retrieve
+data, but also create or update Confluence pages.
+
+A brandnew feature is the (experimental) support to import and export Firefox
+bookmarks - very handy to sort bigger bookmark collections.
+
+Scripting still is considered as Technology Preview - APIs still might change
+in upcoming versions, when vym will be based on Qt6. Just check out the
+keyboard macros for F01 to F24 or also the example scripts.
+
+The lists below list differences between vym 2.7.0 and 2.8.0.
+
+Feel free to report any bugs or feature requests on
+https://github.com/insilmaril/vym/issues
+
+Thanks for using vym!
+
+Uwe Drechsel - April 2021
+Notes:
+
+    Some function keys have changed, e.g. Shift-F8 for toggling frames to
+include children
+
+    File format has changed within the vym files
+
+    CDATA is no longer used, but <vymtext> and <heading> use attributes now for
+texts. Vym versions below 2.7.566 cannot read newer maps
+    Removed support for Bugzilla
+    Removed support for SUSE FATE tool
+    Removed dependency on 7z on Windows platform
+    Removed setting to edit branch after creating
+    Various optimizations, e.g. when updating map when NoteEditor changes
+    Removed unused windows code
+    Updated code to Qt 5.14
+    Reorganized source code, moved it to github and applied coding style using
+clang-format
+
+Detailed list of features
+
+    Feature: Improved presentation mode and added projector icon
+    Feature: Added recover option (--recover)
+    Feature: Allow cursor positioning during edit of heading
+    Feature: Allow middle mouse for pasting while editing heading
+    Feature: Alternatively pan view using middle mouse button
+    Feature: Basic editing of tasks in TaskEditor
+    Feature: BranchPropertyEditor show sleep time
+    Feature: Initial Confluence support (on Linux)
+        Create new Confluence pages
+        Get Confluence username and use in export (experimental)
+        Native Confluence Agent to retrieve page name
+    Feature: Dialog to enter credentials for Confluence
+    Feature: Drag drop in TaskEditor for repriorization
+    Feature: Editing in TreeEditor
+    Feature: Hide less popular standard flags if not used in a map (Present,
+rose, phone, clock)
+    Feature: Icons for filters in taskeditor
+    Feature: Improved editing in TaskEditor
+    Feature: Improved handling of modifiers
+    Feature: Improved winter mode
+    Feature: Import and export of Firefox bookmarks (experimental)
+    Feature: Internal testsuite prepared
+    Feature: Load default map instead of creating it
+    Feature: More verbose status message for toggling frames when using
+function keys
+    Feature: Most of the flags have been reworked and are scalable vector
+graphics now
+    Feature: Repeat last command in map using F8
+    Feature: Save as default map
+    Feature: Select images using cursor left/right in MapEditor
+    Feature: Set sleep time weeks with 'w'
+    Feature: Setting for margin when scrolling to selection
+    Feature: Shortcut Shift-G to goto linked map
+    Feature: Show Delta Priority in TaskEditor
+    Feature: Show Task modification times
+    Feature: Show file location in properties dialog
+    Feature: Show flags in taskeditor
+
+Bugfixes
+
+    Bugfix: Collapse selected branch using "<"-key
+    Bugfix: Better placement of flags toolbars for new user
+    Bugfix: Comment in map properties no longer saved as HTML
+    Bugfix: Compiler warnings
+    Bugfix: Correctly read task modification time from file
+    Bugfix: Crash when exporting HTML
+    Bugfix: Disable user flags toolbar when image is selected
+    Bugfix: Don't save definitions of unused userflags
+    Bugfix: Edit and actually use the correct path for macros
+    Bugfix: Editing of branch heading in heading editor
+    Bugfix: Editor states related to multiple selection
+    Bugfix: Emtpy lines for hidden branches in ASCII export
+    Bugfix: Flag to search notes in FindResultWidget
+    Bugfix: For non-sleeping tasks display "-" in table as sleep time
+    Bugfix: Function key F4 not executing related macro
+    Bugfix: HTML export for svg- and userflags
+    Bugfix: History of changing RichText notes in editor
+    Bugfix: History of editing notes and headings
+    Bugfix: Inactive NoteEditor in some cases
+    Bugfix: Modifier for modModes is SHIFT, not CTRL.
+    Bugfix: Opening default map, but without existing file
+    Bugfix: Reenable context menu in TaskEditor
+    Bugfix: Removal of temporary files on Windows
+    Bugfix: Repeat toggling target with F8
+    Bugfix: Ruby testsuite
+    Bugfix: Select new tab after creating new map
+    Bugfix: Shortcuts for formats in TextEditor
+    Bugfix: Tests related to changing (named) flags
+    Bugfix: Undo of setting task to sleep
+    Bugfix: Undo/redo toggling flag
+    Bugfix: Update HeadingEditor after reselect and undo/redo
+    Bugfix: Update confluence script
+    Bugfix: Waking up of sleeping tasks is visible again
+    Bugfix: Warning when saving uncompressed map
+    Bugfix: application to open external links
+    Bugfix: libpng warning
+    Bugfix: svg flags not displaying correctly
+    Bugfix: toggling target was not saved
+    Bugfix: use most important shortcuts also in TreeEditor
diff --git a/vym/Makefile b/vym/Makefile
index 27eca8ef38..fbd58dbf98 100644
--- a/vym/Makefile
+++ b/vym/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.79 2024/05/29 16:33:40 adam Exp $
+# $NetBSD$
 #
 
-DISTNAME=		vym-2.7.1
-PKGREVISION=		35
+DISTNAME=		vym-2.8.8
 CATEGORIES=		misc
 MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=vym/}
 EXTRACT_SUFX=		.tar.bz2
@@ -15,9 +14,11 @@ LICENSE=		gnu-gpl-v2
 EXTRACT_USING=		bsdtar
 
 DEPENDS+=		xdg-utils-[0-9]*:../../misc/xdg-utils
+DEPENDS+=		unzip-[0-9]*:../../archivers/unzip
+DEPENDS+=		zip-[0-9]*:../../archivers/zip
 
 USE_LANGUAGES=		c++
-USE_TOOLS+=		perl:run bash:run
+USE_TOOLS+=		perl:run bash:run gzip
 
 REPLACE_BASH+=		scripts/makedist-vym scripts/vivym
 REPLACE_BASH+=		scripts/getbinaries scripts/screencast
@@ -29,22 +30,43 @@ CHECK_INTERPRETER_SKIP=	share/vym/scripts/bugger \
 			share/vym/scripts/vym-addmail.rb
 
 INSTALL_MAKE_FLAGS+=	INSTALL_ROOT=${DESTDIR}
+INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 share/doc/vym
 
 SUBST_CLASSES+=		flags
 SUBST_STAGE.flags=	pre-configure
 SUBST_MESSAGE.flags=	Fix path to flags
-SUBST_FILES.flags=	main.cpp
+SUBST_FILES.flags=	src/exportoofiledialog.cpp src/main.cpp src/mainwindow.cpp
 SUBST_VARS.flags=	PREFIX
 
+SUBST_CLASSES+=		man-bin
+SUBST_STAGE.man-bin=	post-build
+SUBST_MESSAGE.man-bin=	Fixing bin path in man page
+SUBST_FILES.man-bin=	doc/vym.1
+SUBST_SED.man-bin=	-e 's;/usr/bin/;${PREFIX}/bin/;g'
+
+SUBST_CLASSES+=		man-doc
+SUBST_STAGE.man-doc=	post-build
+SUBST_MESSAGE.man-doc=	Fixing doc path in man page
+SUBST_FILES.man-doc=	doc/vym.1
+SUBST_SED.man-doc=	-e 's;/usr/share/doc/packages/vym;${PREFIX}/share/doc/vym;g'
+
 post-extract:
 	${CHMOD} a-x ${WRKSRC}/icons/vym.ico
+	${GZIP_CMD} -d ${WRKSRC}/doc/vym.1.gz
 
 do-configure:
 	cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
 		${QTDIR}/bin/qmake -unix \
 		PREFIX=${PREFIX} \
-		DATADIR=${PREFIX}/share \
-		DOCDIR=${PREFIX}/doc/vym vym.pro
+		BINDIR=${PREFIX}/bin \
+		DATADIR=${PREFIX}/share/vym \
+		DOCDIR=${PREFIX}/share/doc/vym vym.pro
+
+post-install:
+	${INSTALL_MAN} ${WRKSRC}/doc/vym.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL_DATA} ${WRKSRC}/doc/vym.pdf ${DESTDIR}${PREFIX}/share/doc/vym
+	${INSTALL_DATA} ${WRKSRC}/doc/vym_es.pdf ${DESTDIR}${PREFIX}/share/doc/vym
+	${INSTALL_DATA} ${WRKSRC}/doc/vym_fr.pdf ${DESTDIR}${PREFIX}/share/doc/vym
 
 .include "../../lang/ruby/buildlink3.mk"
 .include "../../lang/ruby/replace.mk"
diff --git a/vym/PLIST b/vym/PLIST
index 240b4a098f..996afa08f9 100644
--- a/vym/PLIST
+++ b/vym/PLIST
@@ -1,13 +1,20 @@
-@comment $NetBSD: PLIST,v 1.7 2019/10/30 13:05:16 kamil Exp $
+@comment $NetBSD$
 bin/vym
+man/man1/vym.1
+share/doc/vym/vym.pdf
+share/doc/vym/vym_es.pdf
+share/doc/vym/vym_fr.pdf
 share/vym/demos/ao-report-example.vym
+share/vym/demos/default.vym
 share/vym/demos/frames.vym
 share/vym/demos/lifeforms.vym
 share/vym/demos/math.vym
+share/vym/demos/new-flags.vym
 share/vym/demos/scripts/examplescript.vys
 share/vym/demos/scripts/export-image.vys
 share/vym/demos/scripts/iterating-branches.vys
 share/vym/demos/scripts/strip-url.vys
+share/vym/demos/task-management.vym
 share/vym/demos/time-management.vym
 share/vym/demos/vym-contribute.vym
 share/vym/exports/orange-blue.conf
@@ -21,51 +28,15 @@ share/vym/exports/template-orange-blue/mimetype
 share/vym/exports/template-orange-blue/page-template.xml
 share/vym/exports/template-orange-blue/settings.xml
 share/vym/exports/template-orange-blue/styles.xml
-share/vym/flags/flag-2arrow-down.png
-share/vym/flags/flag-2arrow-up.png
-share/vym/flags/flag-arrow-down.png
-share/vym/flags/flag-arrow-up.png
-share/vym/flags/flag-clock.png
-share/vym/flags/flag-cross-red.png
-share/vym/flags/flag-exclamationmark.png
-share/vym/flags/flag-flash.png
-share/vym/flags/flag-heart.png
 share/vym/flags/flag-hideexport.png
-share/vym/flags/flag-hook-green.png
-share/vym/flags/flag-info.png
-share/vym/flags/flag-lamp.png
-share/vym/flags/flag-lifebelt.png
-share/vym/flags/flag-no-arrow-up.png
-share/vym/flags/flag-note.png
-share/vym/flags/flag-phone.png
 share/vym/flags/flag-present.png
-share/vym/flags/flag-questionmark.png
 share/vym/flags/flag-rose.png
 share/vym/flags/flag-scrolled-right.png
-share/vym/flags/flag-smiley-good.png
-share/vym/flags/flag-smiley-omb.png
-share/vym/flags/flag-smiley-sad.png
-share/vym/flags/flag-stopsign.png
-share/vym/flags/flag-target.png
-share/vym/flags/flag-task-finished.png
-share/vym/flags/flag-task-new-morning.png
-share/vym/flags/flag-task-new-sleeping.png
-share/vym/flags/flag-task-new.png
-share/vym/flags/flag-task-wip-morning.png
-share/vym/flags/flag-task-wip-sleeping.png
-share/vym/flags/flag-task-wip.png
-share/vym/flags/flag-task.png
 share/vym/flags/flag-thumb-down.png
 share/vym/flags/flag-thumb-up.png
 share/vym/flags/flag-tmpUnscrolled-right.png
-share/vym/flags/flag-url-16x16.png
-share/vym/flags/flag-url-bugzilla-novell-closed.png
-share/vym/flags/flag-url-bugzilla-novell.png
-share/vym/flags/flag-url.png
-share/vym/flags/flag-urlnew.png
 share/vym/flags/flag-vymlink.png
 share/vym/flags/flag-vymlinknew.png
-share/vym/flags/flag-wip.png
 share/vym/flags/freemind/attach.png
 share/vym/flags/freemind/back.png
 share/vym/flags/freemind/bell.png
@@ -96,12 +67,45 @@ share/vym/flags/freemind/stop.png
 share/vym/flags/freemind/warning.png
 share/vym/flags/freemind/wizard.png
 share/vym/flags/freemind/xmag.png
-share/vym/icons/cursorcolorpicker.png
-share/vym/icons/cursorcolorpicker16.png
-share/vym/icons/cursorcopy.png
-share/vym/icons/cursorhandopen.png
-share/vym/icons/cursorhandopen16.png
-share/vym/icons/cursorxlink.png
+share/vym/flags/standard/Dialog-STOP.svg
+share/vym/flags/standard/Dialog-information_on.svg
+share/vym/flags/standard/arrow-2down-blue.svg
+share/vym/flags/standard/arrow-2up-blue.svg
+share/vym/flags/standard/arrow-down-blue.svg
+share/vym/flags/standard/arrow-up-blue.svg
+share/vym/flags/standard/dialog-ok-apply.svg
+share/vym/flags/standard/dialog-warning.svg
+share/vym/flags/standard/edit-delete.svg
+share/vym/flags/standard/edit-undo.svg
+share/vym/flags/standard/emblem-favorite.svg
+share/vym/flags/standard/face-plain.svg
+share/vym/flags/standard/face-sad.svg
+share/vym/flags/standard/face-smile.svg
+share/vym/flags/standard/face-surprise.svg
+share/vym/flags/standard/flash.svg
+share/vym/flags/standard/help-about.svg
+share/vym/flags/standard/help-contextual.svg
+share/vym/flags/standard/internet-telephony.svg
+share/vym/flags/standard/kalarm.svg
+share/vym/flags/standard/question-mark.svg
+share/vym/flags/system/applications-internet-new.svg
+share/vym/flags/system/applications-internet.svg
+share/vym/flags/system/klipper.svg
+share/vym/flags/system/no-arrow-up.png
+share/vym/flags/system/stopsign-arrow-2up.png
+share/vym/flags/system/stopsign-arrow-up.png
+share/vym/flags/system/target.svg
+share/vym/flags/system/task-finished.svg
+share/vym/flags/system/task-new-morning.svg
+share/vym/flags/system/task-new-sleeping.svg
+share/vym/flags/system/task-new.svg
+share/vym/flags/system/task-wip-morning.svg
+share/vym/flags/system/task-wip-sleeping.svg
+share/vym/flags/system/task-wip.svg
+share/vym/icons/configure-plus.svg
+share/vym/icons/cursors/cursorcolorpicker.png
+share/vym/icons/cursors/cursorhandopen.png
+share/vym/icons/cursors/cursorxlink.png
 share/vym/icons/down.png
 share/vym/icons/editcopy.png
 share/vym/icons/editcut.png
@@ -133,14 +137,15 @@ share/vym/icons/linestyle-dashdot.png
 share/vym/icons/linestyle-dashdotdot.png
 share/vym/icons/linestyle-dot.png
 share/vym/icons/linestyle-solid.png
-share/vym/icons/modecolor.png
-share/vym/icons/modecopy.png
-share/vym/icons/modelink.png
+share/vym/icons/modifiers/cursorhandopen.png
+share/vym/icons/modifiers/mode-color.png
+share/vym/icons/modifiers/mode-move-object.svg
+share/vym/icons/modifiers/mode-move-view.svg
+share/vym/icons/modifiers/mode-select.svg
+share/vym/icons/modifiers/mode-xlink.png
 share/vym/icons/newbranch.png
 share/vym/icons/newmapcenter.png
 share/vym/icons/redo.png
-share/vym/icons/rotate-ccw.png
-share/vym/icons/rotate-cw.png
 share/vym/icons/scripteditor.png
 share/vym/icons/selectnext.png
 share/vym/icons/selectprevious.png
@@ -150,6 +155,9 @@ share/vym/icons/slidenext.png
 share/vym/icons/slideprevious.png
 share/vym/icons/sliderecord.png
 share/vym/icons/taskeditor.png
+share/vym/icons/taskfilter-activetask.png
+share/vym/icons/taskfilter-currentmap.png
+share/vym/icons/taskfilter-newtask.png
 share/vym/icons/text_block.png
 share/vym/icons/text_bold.png
 share/vym/icons/text_center.png
@@ -159,9 +167,12 @@ share/vym/icons/text_right.png
 share/vym/icons/text_sub.png
 share/vym/icons/text_super.png
 share/vym/icons/text_under.png
+share/vym/icons/transform-rotate-ccw.svg
+share/vym/icons/transform-rotate-cw.svg
 share/vym/icons/treeeditor.png
 share/vym/icons/undo.png
 share/vym/icons/up.png
+share/vym/icons/video-projector.png
 share/vym/icons/view-filter.png
 share/vym/icons/viewmag+.png
 share/vym/icons/viewmag-.png
@@ -177,6 +188,7 @@ share/vym/icons/vym.xpm
 share/vym/macros/macros.vys
 share/vym/macros/slideeditor-snapshot.vys
 share/vym/scripts/bugger
+share/vym/scripts/confluence.rb
 share/vym/scripts/getbinaries
 share/vym/scripts/jigger
 share/vym/scripts/make-qrc.rb
diff --git a/vym/TODO b/vym/TODO
new file mode 100644
index 0000000000..12ff3b4040
--- /dev/null
+++ b/vym/TODO
@@ -0,0 +1,2 @@
+- Update to git tag v2.9.22
+- Update to git release branch (currently 2.9.28)
diff --git a/vym/distinfo b/vym/distinfo
index 4bfbb2075b..f2c4c3ae43 100644
--- a/vym/distinfo
+++ b/vym/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.11 2021/10/26 10:59:36 nia Exp $
+$NetBSD$
 
-BLAKE2s (vym-2.7.1.tar.bz2) = 0b01bc3f4c6830e1f1a525e554808a3a368d5b77c47e33e77d4468e8b9639fac
-SHA512 (vym-2.7.1.tar.bz2) = 985dbf18f743c36b484050ae24e4392eeae701c6c72fca6bd3dc5b70b38a283211946e279804c66253b5a394a642683ca4e3a66a7288400a9193fbcbfd8c9582
-Size (vym-2.7.1.tar.bz2) = 6718924 bytes
-SHA1 (patch-main.cpp) = 0292150eccc272431ff9dc0858bd3f0ce9532b8d
+BLAKE2s (vym-2.8.8.tar.bz2) = be24886bfbd49e8060798eef1dafb530e2929b7073f749e6ee794a279ddc62cb
+SHA512 (vym-2.8.8.tar.bz2) = 8179869eecc2a1732e7d645ce5ec1b1bbd3a4c3a3a8df73faf79f7bae46c9724d0af7d6b111197b4b4c8f8638f3f9d00e8cf9b438fd481c1c260a8106526596e
+Size (vym-2.8.8.tar.bz2) = 8142944 bytes
+SHA1 (patch-src_exportoofiledialog.cpp) = efdaef454730d62c6eaff132e2a5ea08501a8bfd
+SHA1 (patch-src_main.cpp) = 448c099b3fb7a0e17741464e22927ab13492d110
+SHA1 (patch-src_mainwindow.cpp) = a29ad65247e90cc81246e66078d33366eea2ddf4
diff --git a/vym/patches/patch-main.cpp b/vym/patches/patch-main.cpp
deleted file mode 100644
index 50f46ee20f..0000000000
--- a/vym/patches/patch-main.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-main.cpp,v 1.3 2019/10/30 13:09:38 kamil Exp $
-
---- main.cpp.orig	2019-05-14 13:33:32.620701292 +0000
-+++ main.cpp
-@@ -319,7 +319,7 @@ int main(int argc, char* argv[])
-             vymInstallDir.setPath(basePath);
-             vymBaseDir.setPath(basePath);
- #else
--            vymBaseDir.setPath ("/usr/share/vym");
-+            vymBaseDir.setPath ("@PREFIX@/share/vym");
-             if (!vymBaseDir.exists())
-             {
-                 vymBaseDir.setPath ("/usr/local/share/vym");
diff --git a/vym/patches/patch-src_exportoofiledialog.cpp b/vym/patches/patch-src_exportoofiledialog.cpp
new file mode 100644
index 0000000000..67dfeeff36
--- /dev/null
+++ b/vym/patches/patch-src_exportoofiledialog.cpp
@@ -0,0 +1,11 @@
+--- src/exportoofiledialog.cpp.orig	2021-06-16 16:05:40.548415166 +0000
++++ src/exportoofiledialog.cpp
+@@ -36,7 +36,7 @@
+ {
+     setFileMode(QFileDialog::AnyFile);
+     QDir d;
+-    d.setPath("/usr/share/vym/exports");
++    d.setPath("@PREFIX@/share/vym/exports");
+     scanExportConfigs(d);
+     d.setPath(d.homePath() + "/.vym/exports");
+     scanExportConfigs(d);
diff --git a/vym/patches/patch-src_main.cpp b/vym/patches/patch-src_main.cpp
new file mode 100644
index 0000000000..9680c4e6f2
--- /dev/null
+++ b/vym/patches/patch-src_main.cpp
@@ -0,0 +1,13 @@
+--- src/main.cpp.orig	2021-06-16 16:05:40.556415348 +0000
++++ src/main.cpp
+@@ -293,8 +293,8 @@
+     // Only Windows 10 has tar. Older windows versions not supported.
+     zipToolPath = "tar";
+ #else
+-    zipToolPath = "/usr/bin/zip";
+-    unzipToolPath = "/usr/bin/unzip";
++    zipToolPath = "@PREFIX@/bin/zip";
++    unzipToolPath = "@PREFIX@/bin/unzip";
+ #endif
+     iconPath = vymBaseDir.path() + "/icons/";
+     flagsPath = vymBaseDir.path() + "/flags/";
diff --git a/vym/patches/patch-src_mainwindow.cpp b/vym/patches/patch-src_mainwindow.cpp
new file mode 100644
index 0000000000..d827d559d0
--- /dev/null
+++ b/vym/patches/patch-src_mainwindow.cpp
@@ -0,0 +1,10 @@
+--- src/mainwindow.cpp.orig	2021-06-16 16:05:40.556415348 +0000
++++ src/mainwindow.cpp
+@@ -6572,6 +6572,7 @@
+     searchList << "doc"; // relative path for easy testing in tarball
+     searchList << "/usr/share/doc/vym";      // Debian
+     searchList << "/usr/share/doc/packages"; // Knoppix
++    searchList << "@PREFIX@/share/doc/vym";
+ 
+     bool found = false;
+     QFile docfile;


Home | Main Index | Thread Index | Old Index