Le 20/04/2011 16:17, Devil505 a écrit : > 2011/4/20 Sebastien VINCENT <[email protected]>: >> Hi, I'm update the Frugalbuild for freemind 0.9.0 form source prog. >> >> i wget the file source because include/sourceforge.sh not found a file. >> I think the source have changed for expemple the url freemind is : >> >> http://freefr.dl.sourceforge.net/project/freemind/freemind/0.9.0/freemind-src-0.9.0.tar.gz >> >> Just a idea , because a not sure :) > Something like > _F_sourceforge_subdir="/freemind/$pkgver/" > > About the .desktop file, please use Fdesktop2: > > _F_desktop_name="FreeMind" > _F_desktop_icon="$pkgname.png" > _F_desktop_categories="Application;Office" > > Then add Fdesktop2 in build() > > And about the .png file, just use: > > Ficon $pkgname.png > > Less complex, isn't it ? :p > Yes is less complex ( fault of the newbie )
But since probleme for download the source from sourceforge Sébastien VINCENT Aka Baste
<<attachment: freemind.png>>
# Compiling Time: 0.26 SBU # Maintainer: Miklos Vajna <[email protected]> pkgname=freemind pkgver=0.9.0 pkgrel=1 pkgdesc="A free mind mapping software" _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 depends=('j2re') makedepends=(${makedepends[@]} 'j2sdk') up2date="lynx -dump http://freemind.sourceforge.net/wiki/index.php/Download | grep 'latest stable' | sed 's/.* is \(.*\)\. .*/\1/'" groups=('xapps-extra') archs=('i686' 'x86_64') source=($source 'jarbundler.patch' 'freemind.png') sha1sums=('ce285726163dfab1c43017901d71ab6a86e2b5da' \ '7d5196b1fb18b39bafb77fcdd9da82919af82a57' \ '0304ceb92878e8df9a8d3a7aeb72e791fb9dfc0d' ) build() { Fcd $pkgname # 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 export JAVA_HOME=/usr/lib/java Fant dist browser cd "$Fsrcdir/bin/dist" Fmkdir /usr/lib/freemind chmod 755 freemind.sh rm -f *.bat *.exe for i in * do Fcprel $i /usr/lib/freemind/ done Fwrapper /usr/lib/freemind/freemind.sh freemind Fdesktop2 Ficon $pkgname.png }
--- 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-devel mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-devel
