[freemind] Fix to set the default lookandfeel to gtk+

hannes hannes at fedoraproject.org
Tue Aug 23 07:47:39 UTC 2011


commit 4be11568575076d892ea3d18d5ffc7684417ebe4
Author: johannes lips <johannes at fedorabox.localdomain>
Date:   Tue Aug 23 09:47:10 2011 +0200

    Fix to set the default lookandfeel to gtk+

 freemind.spec |   22 +++++++++++++++-------
 1 files changed, 15 insertions(+), 7 deletions(-)
---
diff --git a/freemind.spec b/freemind.spec
index 69113a0..2d53028 100644
--- a/freemind.spec
+++ b/freemind.spec
@@ -1,6 +1,6 @@
 Name: freemind		
 Version: 0.9.0
-Release:	4%{?dist}
+Release:	5%{?dist}
 Summary:	Free mind mapping software	
 
 Group:	Applications/Productivity
@@ -90,6 +90,11 @@ This package contains the API documentation for %{name}.
 
 sed -i 's/\r//' %{_builddir}/%{name}/accessories/LICENSE.MIT
 
+# set default lookandfeel to be gtk. Fixes bug #729487
+sed -i 's/lookandfeel = default/lookandfeel = gtk+/' \
+        freemind.properties
+
+
 find -name '*.class' -exec rm -f '{}' \;
 find -name '*.jar' -exec rm -f '{}' \;
 find -name '*.zip' -exec rm -f '{}' \;
@@ -117,12 +122,12 @@ mv jibx/jibxrun-1.2.3.jar jibx/jibx-run.jar
 cd %{_builddir}/freemind/plugins/svg
 build-jar-repository -p -s . batik/batik-awt-util batik/batik-bridge \
  batik/batik-css batik/batik-dom batik/batik-extension batik/batik-ext\
-  batik/batik-gui-util batik/batik-gvt batik/batik-parser \
-  batik/batik-script batik-squiggle batik/batik-svg-dom \
-  batik/batik-svggen batik/batik-swing batik/batik-transcoder \
-  batik/batik-util batik/batik-xml js.jar xerces-j2 \
-  xml-commons-apis-1.4.01 pdf-transcoder avalon-framework \
-  avalon-framework-api avalon-framework-impl
+ batik/batik-gui-util batik/batik-gvt batik/batik-parser \
+ batik/batik-script batik-squiggle batik/batik-svg-dom \
+ batik/batik-svggen batik/batik-swing batik/batik-transcoder \
+ batik/batik-util batik/batik-xml js.jar xerces-j2 \
+ xml-commons-apis-1.4.01 pdf-transcoder avalon-framework \
+ avalon-framework-api avalon-framework-impl
   
 #remove the batik_ prefix
 for file in batik_*; do mv "$file" "${file/batik_/}"; done
@@ -251,6 +256,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Tue Aug 23 2011 Johannes Lips <Johannes.Lips googlemail com> 0.9.0-5
+- Fix bug #729487 by setting gtk+ lookandfeel by default
+
 * Thu Jul 07 2011 Johannes Lips <Johannes.Lips googlemail com> 0.9.0-4
 - added the avalon-framework-*.jars to the classpath freemind.sh
 


More information about the scm-commits mailing list