Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=e4d0e75e4f4713a091814833b706e50cbbaf61f3

commit e4d0e75e4f4713a091814833b706e50cbbaf61f3
Author: Baste <svincent...@gmail.com>
Date:   Thu Apr 21 21:52:53 2011 +0200

freemind-0.9.0-1-i686

- version bump

diff --git a/source/xapps-extra/freemind/FrugalBuild 
b/source/xapps-extra/freemind/FrugalBuild
index 12dab7a..d1ee09b 100644
--- a/source/xapps-extra/freemind/FrugalBuild
+++ b/source/xapps-extra/freemind/FrugalBuild
@@ -2,34 +2,37 @@
# Maintainer: Miklos Vajna <vmik...@frugalware.org>

pkgname=freemind
-pkgver=0.8.1
+pkgver=0.9.0
pkgrel=1
pkgdesc="A free mind mapping software"
-_F_sourceforge_ext=".zip"
_F_sourceforge_name="$pkgname-src"
+#_F_sourceforge_subdir="/freemind/files/$pkgver/"
+_F_desktop_name="FreeMind"
+_F_desktop_icon="$pkgname.png"
+_F_desktop_categories="Application;Office"
+
Finclude sourceforge java
-makedepends=(${makedepends[@]} 'j2sdk')
+
+depends=('openjre')
+makedepends=(${makedepends[@]} 'openjdk')
up2date="lynx -dump http://freemind.sourceforge.net/wiki/index.php/Download | 
grep 'latest stable' | sed 's/.* is \(.*\)\. .*/\1/'"
-source=(${source/$pkgver/${pkgver//./_}})
groups=('xapps-extra')
archs=('i686' 'x86_64')
-sha1sums=('27b09fdbd4b39219ab16d4b9574b972dbafe54e1')
+source=($source 'jarbundler.patch' 'freemind.png')
+sha1sums=('ce285726163dfab1c43017901d71ab6a86e2b5da' \
+          '7d5196b1fb18b39bafb77fcdd9da82919af82a57' \
+          '0304ceb92878e8df9a8d3a7aeb72e791fb9dfc0d' )

build()
{
Fcd $pkgname
-       # no java 1.2, thx
-       Fsed '1\.2' '1.3' build.xml
-
-       # it won't build with gcj because it uses
-       # sun.misc.BASE64Encoder, so for now build using Sun's javac
-       #Fjavacleanup
-       export JAVA_HOME=/usr/lib/java
-
+       # kill the jarbundler taskdef
+       Fpatchall
+       # Ant 1.8.0 changed basedir handling in some subtle ways and probably
+       # correcly. This change does not break ant 1.7.1 builds. Bug #305929
+       # See on Gentoo Ebuild
+       sed -i 's/basedir="\."/basedir="\.\."/' plugins/build_*.xml || Fdie
Fant dist browser
-
-       # wtf? this really spams outside the cwd..
-       Fdocrel doc/*
cd "$Fsrcdir/bin/dist"
Fmkdir /usr/lib/freemind
chmod 755 freemind.sh
@@ -38,6 +41,7 @@ build()
do
Fcprel $i /usr/lib/freemind/
done
-       # no, a symlink won't work
Fwrapper /usr/lib/freemind/freemind.sh freemind
+       Fdesktop2
+        Ficon $pkgname.png
}
diff --git a/source/xapps-extra/freemind/freemind.png 
b/source/xapps-extra/freemind/freemind.png
new file mode 100644
index 0000000..9789e6d
Binary files /dev/null and b/source/xapps-extra/freemind/freemind.png differ
diff --git a/source/xapps-extra/freemind/jarbundler.patch 
b/source/xapps-extra/freemind/jarbundler.patch
new file mode 100644
index 0000000..7fd08b5
--- /dev/null
+++ b/source/xapps-extra/freemind/jarbundler.patch
@@ -0,0 +1,17 @@
+--- build.xml  2008-12-22 20:03:53.000000000 +0100
++++ build.xml  2008-12-22 20:04:28.000000000 +0100
+@@ -32,11 +32,11 @@
+       <property name="java_target_version" value="1.4" />
+       <property name="build.compiler" value="modern" />
+       <property name="jarbundler.jar" value = "jarbundler-2.0.0.jar"/>
+-
++<!--
+       <taskdef name="jarbundler"
+                classpath="${src}/lib/${jarbundler.jar}"
+                classname="net.sourceforge.jarbundler.JarBundler" />
+-
++-->
+
+       <!-- begin generator part -->
+       <property name="jibxhome" value="lib/jibx"/>
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to