summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorYves Fischer <yves.fischer@cern.ch>2016-05-21 18:00:51 +0200
committerYves Fischer <yves.fischer@cern.ch>2016-05-21 18:00:51 +0200
commitb0da100e101675b9bf69ca25354dad55d05ae84b (patch)
tree1932081d720e6c3d53bba632064dcb1586a7d727 /packages
parent4a9f995227c3fda4e115bf81785857d17350f37e (diff)
downloaddebian-packages-b0da100e101675b9bf69ca25354dad55d05ae84b.tar.gz
debian-packages-b0da100e101675b9bf69ca25354dad55d05ae84b.zip
correct xmind
Diffstat (limited to 'packages')
-rw-r--r--packages/xmind/XMind.ini10
-rw-r--r--packages/xmind/build.gradle18
2 files changed, 23 insertions, 5 deletions
diff --git a/packages/xmind/XMind.ini b/packages/xmind/XMind.ini
new file mode 100644
index 0000000..a915157
--- /dev/null
+++ b/packages/xmind/XMind.ini
@@ -0,0 +1,10 @@
+-configuration
+./configuration
+-startup
+../Commons/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
+--launcher.library
+../Commons/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417
+--launcher.defaultAction
+openFile
+-Dosgi.instance.area=@user.home/.xmind/workspace-cathy
+-Dosgi.configuration.area=@user.home/.xmind/configuration-cathy \ No newline at end of file
diff --git a/packages/xmind/build.gradle b/packages/xmind/build.gradle
index 62e525e..edb6630 100644
--- a/packages/xmind/build.gradle
+++ b/packages/xmind/build.gradle
@@ -3,15 +3,21 @@ import org.xapek.yvesf.gradle.DownloadTask
version '7-update1'
task download(type: DownloadTask) {
- source "http://www.xmind.net/xmind/downloads/xmind-${project.version}-portable.zip"
+ //source "http://dl2.xmind.net/xmind-downloads/xmind-${project.version}-portable.zip"
+ source "http://dl3.xmind.net/xmind-${project.version}-portable.zip"
sha256sum '2823c93178e55ff21d3a75ff2a9d2aa694f50a94a7220207a1ad757660cdf030'
}
task unpack(type: Copy) {
- from zipTree(download.destFile)
- into file("${buildDir}/unpacked/dist")
- eachFile { FileCopyDetails fcd ->
- fcd.path = fcd.path.substring(path.indexOf('/')+1)
+ into("${buildDir}/unpacked/dist")
+ from(zipTree(download.destFile)) {
+ include('XMind_Linux_64bit/**')
+ include('Commons/**')
+ include('*.html')
+ include('*.txt')
+ }
+ from('XMind.ini') {
+ eachFile { path = "XMind_Linux_64bit/XMind.ini" }
}
}
unpack.dependsOn(download)
@@ -20,3 +26,5 @@ ospackage {
into "/opt/${project.name}"
from unpack.outputs.files
}
+
+activator.bin['xmind'] = "/opt/${project.name}/XMind_Linux_64bit/XMind" \ No newline at end of file