mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
42c8cb61c6
The latest version of XMind doesn't support a prebuilt debian package anymore, hence a manual installation of the ZIP is needed. The new configuration for the Java GUI had to be patched as it relied on several paths in the ZIP that won't work anymore in a Nix-based environment. Additionally the following changes were made: * Manual creation of a desktop item and an icon (we're using the one from AUR for now). Those files were available in the old `.deb`, but that isn't supported for the latest XMind version. * Created a patch fro `XMind.ini` to use writable paths in $HOME and fix the path to the plugins in the store path. * Created a custom startup script which ensures the creation of `$HOME/.xmind` and copies the relevant files from the store path into it. Such a behavior was available in the old `.deb` as well, but not anymore with the new ZIP.
41 lines
1.3 KiB
Diff
41 lines
1.3 KiB
Diff
diff --git a/XMind_amd64/XMind.ini b/XMind_amd64/XMind.ini
|
|
index bdd8a37..5f35daf 100644
|
|
--- a/XMind_amd64/XMind.ini
|
|
+++ b/XMind_amd64/XMind.ini
|
|
@@ -1,11 +1,11 @@
|
|
-configuration
|
|
-./configuration
|
|
+@user.home/.xmind/configuration-cathy_linux_64
|
|
-data
|
|
-../workspace
|
|
+@user.home/.xmind/workspace-cathy
|
|
-startup
|
|
-../plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
|
|
+plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
|
|
--launcher.library
|
|
-../plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.400.v20160518-1444
|
|
+plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.400.v20160518-1444
|
|
--launcher.defaultAction
|
|
openFile
|
|
--launcher.GTK_version
|
|
diff --git a/XMind_i386/XMind.ini b/XMind_i386/XMind.ini
|
|
index 4ed3225..1d74258 100644
|
|
--- a/XMind_i386/XMind.ini
|
|
+++ b/XMind_i386/XMind.ini
|
|
@@ -1,11 +1,11 @@
|
|
-configuration
|
|
-./configuration
|
|
+@user.home/.xmind/configuration-cathy_linux_64
|
|
-data
|
|
-../workspace
|
|
+@user.home/.xmind/workspace-cathy
|
|
-startup
|
|
-../plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
|
|
+plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
|
|
--launcher.library
|
|
-../plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.400.v20160518-1444
|
|
+plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.400.v20160518-1444
|
|
--launcher.defaultAction
|
|
openFile
|
|
--launcher.GTK_version
|