diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-misc/xmind | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-misc/xmind')
-rw-r--r-- | app-misc/xmind/Manifest | 4 | ||||
-rw-r--r-- | app-misc/xmind/files/x-xmind.xml | 10 | ||||
-rw-r--r-- | app-misc/xmind/files/xmind-3.4.0-config.ini | 20 | ||||
-rw-r--r-- | app-misc/xmind/files/xmind-thumbnailer | 78 | ||||
-rwxr-xr-x | app-misc/xmind/files/xmind-wrapper | 8 | ||||
-rw-r--r-- | app-misc/xmind/files/xmind.schemas | 30 | ||||
-rw-r--r-- | app-misc/xmind/metadata.xml | 8 | ||||
-rw-r--r-- | app-misc/xmind/xmind-3.4.1.201401221918.ebuild | 89 | ||||
-rw-r--r-- | app-misc/xmind/xmind-3.5.1.201411201906.ebuild | 89 | ||||
-rw-r--r-- | app-misc/xmind/xmind-3.5.3.201506180105.ebuild | 89 |
10 files changed, 425 insertions, 0 deletions
diff --git a/app-misc/xmind/Manifest b/app-misc/xmind/Manifest new file mode 100644 index 000000000000..ae24342ec7af --- /dev/null +++ b/app-misc/xmind/Manifest @@ -0,0 +1,4 @@ +DIST xmind-icons.tar.xz 5024 SHA256 6a5e087c5c66aa6f36b7822268b486922157e3b75a091b6fbdeec905607b8aa5 SHA512 3ee6b8e42b75305bec8f97f733575f10ca3d08e1c5a76a10700776cb7740ae6f8a0f3dfbc4112d60ab2499915ca4ea0e3d56fd49e55bec00fccdc8710d9f9f0d WHIRLPOOL 590571a8b950ff6200d92417ab7eede2a8856263bc07c00fb129d751d9a00ae9bab69d916aab2f04d8270eadb0466723e99570032eacabd7350afd3cca4b8f23 +DIST xmind-portable-3.4.1.201401221918.zip 138440913 SHA256 f70b8317ec0fe512e507bc26cc7fed70348af3c1d8c17603a78359175fc01261 SHA512 06d6473b26a0eef97d6651d14c13d7fd28fda19b33b2aea4f924d2e0f0d3131f19d5b64e081ba0d537c44eb09e27a83596aca91156bd32c5377903fbb7da9804 WHIRLPOOL 2601e8f293ef97d12576a461bb3b7a8e68bf6a4f807f780b9e6b7a12c20030bc979f61cf1f76f6deb617c57aa2c16e8d35621e66c5df825f8800ca38304d8ee0 +DIST xmind-portable-3.5.1.201411201906.zip 160601004 SHA256 920321dc254604d51d4b3b4718ba04271de0e47b63a836fc597467c4062a89e4 SHA512 24da7bf3bfbc0beddbf6f4bb4b9d465e28c652b6e80ba9e0bc2a52cc2ff8c175a83ea8cc0d5b3dc87961c5b6666b6294ca836e29795631db41455ef1b8b2b3f0 WHIRLPOOL 9dab13d6578fe7e817cfa43ce171e33ae5f6d0f939f307b8cf15d651a70800763776bf9ed318a7116716dc7aa20793455a771d46f38ca13780dc9272024f73fe +DIST xmind-portable-3.5.3.201506180105.zip 159265180 SHA256 38a20e7c4a19c13eb26f5f27ff1898fa4ca463d234e72c616b2305c7a3b31efc SHA512 d41deebec769d06276d051c57e546c44e4283feabd5f6c45ce97efdbf755d75e9b99d39b6fd10baf2f4735f25a695d2902ca9888d94ad414318f38c55e3f4af5 WHIRLPOOL 8aae5af4a2ad14afc2883b56a8b57b9906a7a1cd8e7959175d3a3e780b48725d5e7af83325e0c10e4f5cfee921637656171d21f8190f47810d7b40095a0da489 diff --git a/app-misc/xmind/files/x-xmind.xml b/app-misc/xmind/files/x-xmind.xml new file mode 100644 index 000000000000..57292e9c689b --- /dev/null +++ b/app-misc/xmind/files/x-xmind.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> + <mime-type type="application/x-xmind"> + <sub-class-of type="application/zip"/> + <comment>XMind Workbook</comment> + <alias type="application/vnd.xmind.workbook"/> + <generic-icon name="package-x-generic"/> + <glob pattern="*.xmind"/> + </mime-type> +</mime-info> diff --git a/app-misc/xmind/files/xmind-3.4.0-config.ini b/app-misc/xmind/files/xmind-3.4.0-config.ini new file mode 100644 index 000000000000..62abbd1f31ff --- /dev/null +++ b/app-misc/xmind/files/xmind-3.4.0-config.ini @@ -0,0 +1,20 @@ +#These configurations are shared among all installs. Branded For XMind 2013. +#Tue, 05 Nov 2013 22:06:37 +0800 + +eclipse.buildId=3.4.0.201311050558 +org.xmind.product.distribution.id=cathy_portable +org.xmind.product.license.restrictions= +org.xmind.debug.core.workbookSave=true +#This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParser +#Tue Nov 05 22:05:55 HKT 2013 +eclipse.p2.profile=profile +osgi.framework=file\:plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar +osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.301.v20120914-163612.jar@1\:start +org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.info +eclipse.product=org.xmind.cathy.product +osgi.splashPath=platform\:/base/plugins/org.xmind.cathy +osgi.framework.extensions=reference\:file\:org.eclipse.osgi.nl_da_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_de_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_es_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_fr_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_ja_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_ko_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_ru_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_sl_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_zh_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_zh_TW_4.2.0.v20121120043402.jar +osgi.bundles.defaultStartLevel=4 +eclipse.p2.data.area=@config.dir/../p2 +eclipse.application=org.xmind.cathy.application +osgi.requiredJavaVersion=1.5 diff --git a/app-misc/xmind/files/xmind-thumbnailer b/app-misc/xmind/files/xmind-thumbnailer new file mode 100644 index 000000000000..48eb89b8cd9a --- /dev/null +++ b/app-misc/xmind/files/xmind-thumbnailer @@ -0,0 +1,78 @@ +#!/usr/bin/env python + +import gnomevfs +import os +import sys +import zipfile +from PIL import Image, ImageEnhance + +# Alter these varibles to change thumbnail look +ICON_PATH = "/usr/share/icons/hicolor/32x32/apps/xmind.png" # Change this path to alter icons +ICON_OPACITY = 0.6 #Opacity of the icon (between 0.0 and 1.0) +THUMBNAIL_BACKGROUND_COLOR = "white" # Color of the background + +in_file_path = gnomevfs.get_local_path_from_uri(sys.argv[1]) +out_file_path = sys.argv[2] +path_without_thumbs = os.getenv("HOME")+"/Templates" + +def get_icon(thumbnail_size): + #Load icon + icon = Image.open(ICON_PATH).convert("RGBA") + #Set it's opacity + icon = set_icon_opacity(icon,ICON_OPACITY) + #And set it's position in thumbnail + icon_posx=thumbnail_size[0]-icon.size[0] + icon_posy=thumbnail_size[1]-icon.size[1] + icon_width=thumbnail_size[0] + icon_height=thumbnail_size[1] + return {"image":icon,"position":(icon_posx,icon_posy,icon_width,icon_height)} + +def get_basic_thumbnail(): + #Find out if the file is not in Templates directory + if in_file_path.find(path_without_thumbs)!=0: + try: + #Extract thumbnail from Xmind file and save it + zip=zipfile.ZipFile(in_file_path,mode="r") + picture=zip.read("Thumbnails/thumbnail.jpg") + zip.close() + thumbnail=open(out_file_path,"w") + thumbnail.write(picture) + thumbnail.write("/n") + thumbnail.close() + #Open saved thumbnail + image=Image.open(out_file_path).convert("RGBA") + if image.size[0]>200: + image = image.resize((200,image.size[1]*200/image.size[0])) + if image.size[1]>200: + image = image.resize((image.size[0]*200/image.size[1],200)) + return {"suceeded":True,"image":image,"size":(image.size[0],image.size[1])} + + except: + return {"suceeded":False} + else: + return {"suceeded":False} + +# Nicked from http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/362879 +def set_icon_opacity(icon,opacity): + #Returns an image with reduced opacity. + assert opacity >= 0 and opacity <= 1 + if icon.mode != 'RGBA': + icon = icon.convert('RGBA') + else: + icon = icon.copy() + alpha = icon.split()[3] + alpha = ImageEnhance.Brightness(alpha).enhance(opacity) + icon.putalpha(alpha) + return icon + +thumbnail=get_basic_thumbnail() +if thumbnail["suceeded"]: + background=Image.new("RGB", thumbnail["size"], THUMBNAIL_BACKGROUND_COLOR) + icon=get_icon(thumbnail["size"]) + thumbnail=thumbnail["image"] + # Add thumbnail + background.paste(thumbnail, None, thumbnail) + # Add icon + background.paste(icon["image"],icon["position"],icon["image"]) + # Save thumbnail + background.save(out_file_path,"PNG") diff --git a/app-misc/xmind/files/xmind-wrapper b/app-misc/xmind/files/xmind-wrapper new file mode 100755 index 000000000000..728edce3e24a --- /dev/null +++ b/app-misc/xmind/files/xmind-wrapper @@ -0,0 +1,8 @@ +#!/bin/bash +#XMind wrapper script, copies configuration stuff into the user's local config dir if either +#the files aren't there or are older than the set in /opt (indicating that XMind has been upgraded) +if [ ! -f ~/.xmind/configuration-cathy/config.ini -o ~/.xmind/configuration-cathy/config.ini -ot /opt/xmind/XMind/configuration/config.ini ]; then + mkdir -p ~/.xmind/configuration-cathy + cp -r /opt/xmind/XMind/configuration/* ~/.xmind/configuration-cathy/ +fi +/opt/xmind/XMind/XMind diff --git a/app-misc/xmind/files/xmind.schemas b/app-misc/xmind/files/xmind.schemas new file mode 100644 index 000000000000..336b09ecd837 --- /dev/null +++ b/app-misc/xmind/files/xmind.schemas @@ -0,0 +1,30 @@ +<gconfschemafile> + <schemalist> + + <schema> + <key>/schemas/desktop/gnome/thumbnailers/application@x-xmind/enable</key> + <applyto>/desktop/gnome/thumbnailers/application@x-xmind/enable</applyto> + <owner>xmind-thumb</owner> + <type>bool</type> + <default>true</default> + <locale name="C"> + <short></short> + <long></long> + </locale> + </schema> + + + <schema> + <key>/schemas/desktop/gnome/thumbnailers/application@x-xmind/command</key> + <applyto>/desktop/gnome/thumbnailers/application@x-xmind/command</applyto> + <owner>xmind-thumb</owner> + <type>string</type> + <default>/usr/bin/xmind-thumbnailer %u %o</default> + <locale name="C"> + <short></short> + <long></long> + </locale> + </schema> + + </schemalist> +</gconfschemafile> diff --git a/app-misc/xmind/metadata.xml b/app-misc/xmind/metadata.xml new file mode 100644 index 000000000000..b8f97c36765b --- /dev/null +++ b/app-misc/xmind/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>creffett@gentoo.org</email> + <name>Chris Reffett</name> + </maintainer> +</pkgmetadata> diff --git a/app-misc/xmind/xmind-3.4.1.201401221918.ebuild b/app-misc/xmind/xmind-3.4.1.201401221918.ebuild new file mode 100644 index 000000000000..91fe2883470f --- /dev/null +++ b/app-misc/xmind/xmind-3.4.1.201401221918.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib gnome2-utils + +MY_PN="${PN}-portable" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A brainstorming and mind mapping software tool" +HOMEPAGE="http://www.xmind.net" +SRC_URI="http://dl2.xmind.net/xmind-downloads/${MY_P}.zip + http://dev.gentoo.org/~creffett/distfiles/xmind-icons.tar.xz" +LICENSE="EPL-1.0 LGPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + >=virtual/jre-1.5 + x11-libs/gtk+:2 +" + +S=${WORKDIR} + +QA_PRESTRIPPED="opt/xmind/XMind/libcairo-swt.so" +QA_FLAGS_IGNORED=" + opt/xmind/Commons/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120522-1813/eclipse_1502.so + opt/xmind/Commons/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120522-1813/eclipse_1502.so + opt/xmind/XMind/libcairo-swt.so + opt/xmind/XMind/XMind +" + +src_configure() { + if use amd64; then + XDIR="XMind_Linux_64bit" + else + XDIR="XMind_Linux" + fi + mv "$XDIR" XMind || die + mv XMind/.eclipseproduct Commons || die + cp "${FILESDIR}"/${PN}-3.4.0-config.ini Commons/configuration || die #Combined common+linux config.ini + # force data instance & config area to be at home/.xmind directory + sed -i -e '/-configuration/d' \ + -e '/\.\/configuration/d' \ + -e '/-data/d' \ + -e '/\.\.\/Commons\/data\/workspace-cathy/d' \ + -e 's/\.\.\/Commons/\/opt\/xmind\/Commons/g' XMind/XMind.ini || die + echo '-Dosgi.instance.area=@user.home/.xmind/workspace-cathy' >> XMind/XMind.ini || die + echo '-Dosgi.configuration.area=@user.home/.xmind/configuration-cathy' >> XMind/XMind.ini || die +} + +src_compile() { + : +} + +src_install() { + insinto /opt/xmind + doins -r Commons XMind || die + fperms a+rx "/opt/xmind/XMind/XMind" + + dodir /opt/bin + exeinto /opt/bin + newexe "${FILESDIR}/xmind-wrapper" xmind + + # install icons + local res + for res in 16 32 48; do + newicon -s ${res} "${WORKDIR}/xmind-icons/xmind.${res}.png" xmind.png + done + + # make desktop entry + make_desktop_entry "xmind %F" XMind xmind Office "MimeType=application/x-xmind;" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + elog "For audio notes support, install media-sound/lame" +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/app-misc/xmind/xmind-3.5.1.201411201906.ebuild b/app-misc/xmind/xmind-3.5.1.201411201906.ebuild new file mode 100644 index 000000000000..62b6a53a5e22 --- /dev/null +++ b/app-misc/xmind/xmind-3.5.1.201411201906.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib gnome2-utils + +MY_PN="${PN}-portable" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A brainstorming and mind mapping software tool" +HOMEPAGE="http://www.xmind.net" +SRC_URI="http://dl2.xmind.net/xmind-downloads/${MY_P}.zip + http://dev.gentoo.org/~creffett/distfiles/xmind-icons.tar.xz" +LICENSE="EPL-1.0 LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + >=virtual/jre-1.5 + x11-libs/gtk+:2 +" + +S=${WORKDIR} + +QA_PRESTRIPPED="opt/xmind/XMind/libcairo-swt.so" +QA_FLAGS_IGNORED=" + opt/xmind/Commons/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120522-1813/eclipse_1502.so + opt/xmind/Commons/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120522-1813/eclipse_1502.so + opt/xmind/XMind/libcairo-swt.so + opt/xmind/XMind/XMind +" + +src_configure() { + if use amd64; then + XDIR="XMind_Linux_64bit" + else + XDIR="XMind_Linux" + fi + mv "$XDIR" XMind || die + mv XMind/.eclipseproduct Commons || die + cp "${FILESDIR}"/${PN}-3.4.0-config.ini Commons/configuration || die #Combined common+linux config.ini + # force data instance & config area to be at home/.xmind directory + sed -i -e '/-configuration/d' \ + -e '/\.\/configuration/d' \ + -e '/-data/d' \ + -e '/\.\.\/Commons\/data\/workspace-cathy/d' \ + -e 's/\.\.\/Commons/\/opt\/xmind\/Commons/g' XMind/XMind.ini || die + echo '-Dosgi.instance.area=@user.home/.xmind/workspace-cathy' >> XMind/XMind.ini || die + echo '-Dosgi.configuration.area=@user.home/.xmind/configuration-cathy' >> XMind/XMind.ini || die +} + +src_compile() { + : +} + +src_install() { + insinto /opt/xmind + doins -r Commons XMind || die + fperms a+rx "/opt/xmind/XMind/XMind" + + dodir /opt/bin + exeinto /opt/bin + newexe "${FILESDIR}/xmind-wrapper" xmind + + # install icons + local res + for res in 16 32 48; do + newicon -s ${res} "${WORKDIR}/xmind-icons/xmind.${res}.png" xmind.png + done + + # make desktop entry + make_desktop_entry "xmind %F" XMind xmind Office "MimeType=application/x-xmind;" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + elog "For audio notes support, install media-sound/lame" +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/app-misc/xmind/xmind-3.5.3.201506180105.ebuild b/app-misc/xmind/xmind-3.5.3.201506180105.ebuild new file mode 100644 index 000000000000..62b6a53a5e22 --- /dev/null +++ b/app-misc/xmind/xmind-3.5.3.201506180105.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib gnome2-utils + +MY_PN="${PN}-portable" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A brainstorming and mind mapping software tool" +HOMEPAGE="http://www.xmind.net" +SRC_URI="http://dl2.xmind.net/xmind-downloads/${MY_P}.zip + http://dev.gentoo.org/~creffett/distfiles/xmind-icons.tar.xz" +LICENSE="EPL-1.0 LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + >=virtual/jre-1.5 + x11-libs/gtk+:2 +" + +S=${WORKDIR} + +QA_PRESTRIPPED="opt/xmind/XMind/libcairo-swt.so" +QA_FLAGS_IGNORED=" + opt/xmind/Commons/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120522-1813/eclipse_1502.so + opt/xmind/Commons/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120522-1813/eclipse_1502.so + opt/xmind/XMind/libcairo-swt.so + opt/xmind/XMind/XMind +" + +src_configure() { + if use amd64; then + XDIR="XMind_Linux_64bit" + else + XDIR="XMind_Linux" + fi + mv "$XDIR" XMind || die + mv XMind/.eclipseproduct Commons || die + cp "${FILESDIR}"/${PN}-3.4.0-config.ini Commons/configuration || die #Combined common+linux config.ini + # force data instance & config area to be at home/.xmind directory + sed -i -e '/-configuration/d' \ + -e '/\.\/configuration/d' \ + -e '/-data/d' \ + -e '/\.\.\/Commons\/data\/workspace-cathy/d' \ + -e 's/\.\.\/Commons/\/opt\/xmind\/Commons/g' XMind/XMind.ini || die + echo '-Dosgi.instance.area=@user.home/.xmind/workspace-cathy' >> XMind/XMind.ini || die + echo '-Dosgi.configuration.area=@user.home/.xmind/configuration-cathy' >> XMind/XMind.ini || die +} + +src_compile() { + : +} + +src_install() { + insinto /opt/xmind + doins -r Commons XMind || die + fperms a+rx "/opt/xmind/XMind/XMind" + + dodir /opt/bin + exeinto /opt/bin + newexe "${FILESDIR}/xmind-wrapper" xmind + + # install icons + local res + for res in 16 32 48; do + newicon -s ${res} "${WORKDIR}/xmind-icons/xmind.${res}.png" xmind.png + done + + # make desktop entry + make_desktop_entry "xmind %F" XMind xmind Office "MimeType=application/x-xmind;" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + elog "For audio notes support, install media-sound/lame" +} + +pkg_postrm() { + gnome2_icon_cache_update +} |