Desktop validate returns following errors which can be prevented with attached patch...

+ desktop-file-validate /home/simon/rpmbuild/BUILDROOT/fltk-1.3.0-r7246.x86_64/usr/share/applications/fluid.desktop /home/simon/rpmbuild/BUILDROOT/fltk-1.3.0-r7246.x86_64/usr/share/applications/fluid.desktop: warning: value "cd %D && fluid %F" for key "Exec" in group "Desktop Entry" contains a deprecated field code "%D" /home/simon/rpmbuild/BUILDROOT/fltk-1.3.0-r7246.x86_64/usr/share/applications/fluid.desktop: error: value "cd %D && fluid %F" for key "Exec" in group "Desktop Entry" contains a reserved character '&' outside of a quote /home/simon/rpmbuild/BUILDROOT/fltk-1.3.0-r7246.x86_64/usr/share/applications/fluid.desktop: error: value "cd %D && fluid %F" for key "Exec" in group "Desktop Entry" contains a reserved character '&' outside of a quote /home/simon/rpmbuild/BUILDROOT/fltk-1.3.0-r7246.x86_64/usr/share/applications/fluid.desktop: error: value "application/x-fluid" for string list key "MimeType" in group "Desktop Entry" does not have a semicolon (';') as trailing character


--- configure.in	2010-03-12 17:58:00.000000000 +0100
+++ configure.in	2010-03-12 21:15:45.474501542 +0100
@@ -268,7 +268,7 @@ if test x$enable_shared = xyes; then
             IMGDSONAME="libfltk_images.so.$FL_API_VERSION"
             CAIRODSONAME="libfltk_cairo.so.$FL_API_VERSION"
             DSOCOMMAND="\$(CXX) \$(DSOFLAGS) -Wl,-soname,\$@ \$(LDLIBS) -shared -fPIC $DEBUGFLAG -o"
-	    if test "x$libdir" != "x/usr/lib"; then
+	    if test "x$libdir" != "x/usr/lib" -a "x$libdir" != "x/usr/lib64"; then
 		    DSOLINK="-Wl,-rpath,$libdir"
             fi
 	    ;;
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to