PDA

View Full Version : scidavis in Fedora15



bruno.taglienti
28th August 2011, 08:10 PM
Fedora 15 uses scidavis (Scientific Data Analysis and Visualization) taken from Fedora 14.
If you try to build the native rpm package, an error occurs in building the documentation.
A 1-line sed in the spec file solves the problem:


#fix spurious-executable-perm
find . -type f -exec chmod 0644 {} \;
#fix docbook to adapt different versions of fedora
sed -i "s/VER-REL/`rpm -q docbook-dtds|sed "s/^[^0-9]*//;s/\.noarch//;\
s/\./\\\./g"`/" manual/docbook-en/index.docbook
#
# ---> sed line to fix Fedora15 building:
sed -i -e 's/xsl-stylesheets-1.75.2/xsl-stylesheets-1.76.1/' manual/scidavis_html.xsl
#
#fix default path for fitPlugins
sed -i "s\/usr/lib/%{name}/plugins\%{_libdir}/%{name}/plugins\g" \
%{name}/src/ApplicationWindow.cpp
sed -i -e 's/Qt;Science;Physics;Math;Graphics;/Education;Science;DataVisualization;Qt/' %{name}/%{name}.desktop

mikereid
28th August 2011, 10:12 PM
Thanks Bruno,

Did you file a bug report? I don't see anything here:
https://bugzilla.redhat.com/buglist.cgi?field0-0-0=product&field1-0-0=product&field1-0-1=component&field1-0-2=alias&field1-0-3=short_desc&field1-0-4=status_whiteboard&field1-0-5=content&query_format=advanced&type0-0-0=substring&type1-0-0=substring&type1-0-1=substring&type1-0-2=substring&type1-0-3=substring&type1-0-4=substring&type1-0-5=matches&value0-0-0=Fedora&value1-0-0=scidavis&value1-0-1=scidavis&value1-0-2=scidavis&value1-0-3=scidavis&value1-0-4=scidavis&value1-0-5=%22scidavis%22&order=bug_id&query_based_on=

Mike