From 7e716ade1541733977abc18a4a3bd3f04d98bacc Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Thu, 2 Jan 2020 16:17:10 -0600 Subject: academic/qtoctave: Removed. Dead upstream and no longer needed. octave has its own gui now, in addition to this project being dead upstream (homepage is gone). Signed-off-by: Robby Workman --- academic/qtoctave/README | 2 - academic/qtoctave/doinst.sh | 9 --- academic/qtoctave/qtoctave-0.8.1-gcc4.4.patch | 8 -- academic/qtoctave/qtoctave.SlackBuild | 110 -------------------------- academic/qtoctave/qtoctave.info | 10 --- academic/qtoctave/slack-desc | 19 ----- 6 files changed, 158 deletions(-) delete mode 100644 academic/qtoctave/README delete mode 100644 academic/qtoctave/doinst.sh delete mode 100644 academic/qtoctave/qtoctave-0.8.1-gcc4.4.patch delete mode 100644 academic/qtoctave/qtoctave.SlackBuild delete mode 100644 academic/qtoctave/qtoctave.info delete mode 100644 academic/qtoctave/slack-desc (limited to 'academic') diff --git a/academic/qtoctave/README b/academic/qtoctave/README deleted file mode 100644 index d5d912e4a4..0000000000 --- a/academic/qtoctave/README +++ /dev/null @@ -1,2 +0,0 @@ -QtOctave is a graphical user interface for gnu octave, which is an -open source program alternative to Matlab. diff --git a/academic/qtoctave/doinst.sh b/academic/qtoctave/doinst.sh deleted file mode 100644 index 65c7e2eeb9..0000000000 --- a/academic/qtoctave/doinst.sh +++ /dev/null @@ -1,9 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - -if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then - if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 - fi -fi diff --git a/academic/qtoctave/qtoctave-0.8.1-gcc4.4.patch b/academic/qtoctave/qtoctave-0.8.1-gcc4.4.patch deleted file mode 100644 index 4bc26f858c..0000000000 --- a/academic/qtoctave/qtoctave-0.8.1-gcc4.4.patch +++ /dev/null @@ -1,8 +0,0 @@ -diff -Naur qtoctave-0.8.1/qtoctave/src/search_dialog.cpp qtoctave-0.8.1.new/qtoctave/src/search_dialog.cpp ---- qtoctave-0.8.1/qtoctave/src/search_dialog.cpp 2008-09-21 05:00:30.000000000 -0400 -+++ qtoctave-0.8.1.new/qtoctave/src/search_dialog.cpp 2009-07-31 09:04:20.000000000 -0400 -@@ -1,3 +1,4 @@ -+#include - #include "search_dialog.h" - - SearchDialog::SearchDialog(QWidget *parent): QDialog(parent) diff --git a/academic/qtoctave/qtoctave.SlackBuild b/academic/qtoctave/qtoctave.SlackBuild deleted file mode 100644 index e7b7aad619..0000000000 --- a/academic/qtoctave/qtoctave.SlackBuild +++ /dev/null @@ -1,110 +0,0 @@ -#!/bin/sh - -# Slackware build script for QtOctave - -# Written by Mauro Giachero (mauro dot giachero at gmail dot com) -# Modified by Robby Workman - -PRGNAM=qtoctave -VERSION=${VERSION:-0.8.1} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION/$PRGNAM -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Fix building with gcc4.4 -patch -p2 < $CWD/qtoctave-0.8.1-gcc4.4.patch - -cmake \ - -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX:PATH=/usr \ - -DLIB_SUFFIX:STRING=${LIBDIRSUFFIX} . - -make - -# The install target doesn't have a DESTDIR or INSTALL_ROOT or equivalent, -# and setting the CMAKE_INSTALL_PREFIX to $PKG/usr results in a lot of -# '/tmp/SBo/package-qtoctave' strings embedded in the qtoctave binary. -# This *could* have security implications (for example, if that binary first -# looks in the temp directory for things). It's low risk, and would require -# someone on the system to have knowledge of how the package was built, so -# I'm being a bit "chicken little" here, but correct is always better, so I'm -# going to do this the hard way... --rworkman -# -# Be sure to check the src/cmake_install.cmake file in version updates to -# make sure we don't miss something -mkdir -p $PKG/usr/share/qtoctave $PKG/usr/bin \ - $PKG/usr/share/applications $PKG/usr/share/icons/hicolor/64x64/apps -cp -a src/config_files/config.rc src/images src/lang src/menus \ - src/config_files/octave.xml src/octave_doc src/qtoctave_doc \ - src/scripts $PKG/usr/share/qtoctave -# QtOctave better fits in "Science & Math" (with Octave) than -# under "Edutainment" subcategories -# cp -a src/config_files/qtoctave.desktop $PKG/usr/share/applications/ -cat src/config_files/qtoctave.desktop |sed "s/Education/Development/g" \ - >$PKG/usr/share/applications/qtoctave.desktop -ln -s /usr/share/qtoctave/images/qtoctave.png $PKG/usr/share/icons/hicolor/64x64/apps/ -cp -a src/qtoctave $PKG/usr/bin -find $PKG/usr/share -type f -exec chmod 0644 {} \; -find $PKG/usr/share -type d -exec chmod 0755 {} \; - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a leeme.txt news.txt LICENSE_GPL.txt readme.txt \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -( cd $PKG/usr/doc/$PRGNAM-$VERSION - ln -s /usr/share/$PRGNAM/qtoctave-doc . - ln -s /usr/share/$PRGNAM/octave-doc . -) - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/academic/qtoctave/qtoctave.info b/academic/qtoctave/qtoctave.info deleted file mode 100644 index 8f30815f8b..0000000000 --- a/academic/qtoctave/qtoctave.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="qtoctave" -VERSION="0.8.1" -HOMEPAGE="https://qtoctave.wordpress.com/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/qtoctave-0.8.1.tar.gz" -MD5SUM="b4e237b578f9c2624bb0fab2cb7ea691" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="octave" -MAINTAINER="Mauro Giachero" -EMAIL="mauro dot giachero at gmail dot com" diff --git a/academic/qtoctave/slack-desc b/academic/qtoctave/slack-desc deleted file mode 100644 index a1279dfa41..0000000000 --- a/academic/qtoctave/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -qtoctave: qtoctave (a qt-based gui for Octave) -qtoctave: -qtoctave: QtOctave is a graphical user interface for gnu octave, which is an -qtoctave: open source program alternative to Matlab. With QtOctave you can do -qtoctave: perform computationally intensive mathematical tasks that would take -qtoctave: much longer to code in C or C++ or practically any other modern -qtoctave: computer language. It is especailly good at matrix and vector -qtoctave: operations. The graphical capabilities are very advanced. It is -qtoctave: used heavily in engineering, and is a tool well worth learning. -qtoctave: -qtoctave: -- cgit v1.2.3