diff options
Diffstat (limited to 'academic/scidavis/scidavis.SlackBuild')
-rw-r--r-- | academic/scidavis/scidavis.SlackBuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/academic/scidavis/scidavis.SlackBuild b/academic/scidavis/scidavis.SlackBuild index 890e30e5314dc..ae0ddc94c947c 100644 --- a/academic/scidavis/scidavis.SlackBuild +++ b/academic/scidavis/scidavis.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=scidavis -VERSION=${VERSION:-1.18} +VERSION=${VERSION:-1.19} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -68,8 +68,12 @@ find -L . \ # Correction needed in order to find qwtplot3d in its default path grep -rl "qwtplot3d/" libscidavis/src/ | xargs sed -i "s:<qwtplot3d/:<:" -# Correction needed in order to install system icons and desktop integration rightly -cat $CWD/desktop_integration.txt >> scidavis/basic.pri +## Applying some upstream patches: +## 1: Fix translations - see https://sourceforge.net/p/scidavis/scidavis-bugs/301/ +patch -p1 < $CWD/fix_translations.patch scidavis/basic.pri + +## 2: Fix FFT generated from graphs - see https://sourceforge.net/p/scidavis/scidavis-bugs/305/ +patch -p1 < $CWD/Fix_FFT_generated_from_graphs.patch libscidavis/src/FFT.cpp ## For some unknown reason, to build in Slackware we need to run qmake twice in order to get the app icons working properly ## See https://sourceforge.net/p/scidavis/scidavis-bugs/259/ @@ -89,7 +93,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr ## Sometimes 'make install' fails to install the translation files mkdir -p $PKG/usr/share/scidavis/translations -cp scidavis/translations/*.qm $PKG/usr/share/scidavis/translations +install -m 0644 scidavis/translations/*.qm $PKG/usr/share/scidavis/translations mkdir -p $PKG/usr/man/man1 docbook2man man/manpage.sgml -o $PKG/usr/man/man1/ |