aboutsummaryrefslogtreecommitdiff
path: root/academic/flashqard
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-27 17:49:57 +0100
committerRobby Workman <rworkman@slackbuilds.org>2022-02-27 22:29:05 -0600
commit1d282b428de09e4c4c7ae50643185a4c3a048c7e (patch)
tree71a4fff761ae071532e0280c9eb9c98647caa41b /academic/flashqard
parent6f455680914d1721daec7a8f7df90e3a73e2a192 (diff)
academic/flashqard: Removed (no qt4-webkit available).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'academic/flashqard')
-rw-r--r--academic/flashqard/README8
-rw-r--r--academic/flashqard/doinst.sh10
-rw-r--r--academic/flashqard/flashqard-0.15.0_qt-4.8.7.patch22
-rw-r--r--academic/flashqard/flashqard.SlackBuild93
-rw-r--r--academic/flashqard/flashqard.info10
-rw-r--r--academic/flashqard/slack-desc19
6 files changed, 0 insertions, 162 deletions
diff --git a/academic/flashqard/README b/academic/flashqard/README
deleted file mode 100644
index 0e0fa5eaaf9ed..0000000000000
--- a/academic/flashqard/README
+++ /dev/null
@@ -1,8 +0,0 @@
-FlashQard is an educational software to improve your learning process.
-It is designed to help you learn not only a new language but anything
-that can be learned! This aim is achieved by using the widely used
-method called the Leitner System and the idea of "different card types
-for different purposes". Leitner System (proposed by Sebastian Leitner
-in the 1970s) is one the most efficient methods for learning, which
-allows you to focus on the most difficult flashcards and not waste your
-time on what you have already learned.
diff --git a/academic/flashqard/doinst.sh b/academic/flashqard/doinst.sh
deleted file mode 100644
index 4a25de5e6fbd1..0000000000000
--- a/academic/flashqard/doinst.sh
+++ /dev/null
@@ -1,10 +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/flashqard/flashqard-0.15.0_qt-4.8.7.patch b/academic/flashqard/flashqard-0.15.0_qt-4.8.7.patch
deleted file mode 100644
index 57bce20dce4f3..0000000000000
--- a/academic/flashqard/flashqard-0.15.0_qt-4.8.7.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -u -r flashqard-0.15.0/src/PrettyButton.cpp flashqard-0.15.0-patched/src/PrettyButton.cpp
---- flashqard-0.15.0/src/PrettyButton.cpp 2009-09-08 22:56:54.000000000 +0100
-+++ flashqard-0.15.0-patched/src/PrettyButton.cpp 2015-07-28 11:49:56.506872447 +0100
-@@ -25,6 +25,7 @@
- #include "PrettyButton.h"
- #include "TextEditor.h"
- #include "MimeData.h"
-+#include <QApplication>
- #include <QPainter>
- #include <QTimerEvent>
- #include <QDropEvent>
-diff -u -r flashqard-0.15.0/src/Utilities.cpp flashqard-0.15.0-patched/src/Utilities.cpp
---- flashqard-0.15.0/src/Utilities.cpp 2009-09-08 22:56:54.000000000 +0100
-+++ flashqard-0.15.0-patched/src/Utilities.cpp 2015-07-28 11:45:33.484870666 +0100
-@@ -22,6 +22,7 @@
- // | Author: Shahab Shirazi <shahab@flashqard-project.org> |
- // +-------------------------------------------------------------------------+
-
-+#include <QDir>
- #include <QRegExp>
- #include <QToolBar>
- #include <QMessageBox>
diff --git a/academic/flashqard/flashqard.SlackBuild b/academic/flashqard/flashqard.SlackBuild
deleted file mode 100644
index c7ca3fb4a504c..0000000000000
--- a/academic/flashqard/flashqard.SlackBuild
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for flashqard
-# written by Mehdi Esmaeelpour ariarat@gmail.com www.slack-world.com
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PRGNAM=flashqard
-VERSION=${VERSION:-0.15.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
-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
-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 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Patch for missing includes with qt-4.8.7
-patch -p1 < $CWD/flashqard-0.15.0_qt-4.8.7.patch
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DMAN_INSTALL_DIR=/usr/man \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
-cd ..
-
-find $PKG -print0 | xargs -0 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 \
- COPYING ChangeLog README AUTHORS INSTALL \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-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 $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/academic/flashqard/flashqard.info b/academic/flashqard/flashqard.info
deleted file mode 100644
index 85b44828be794..0000000000000
--- a/academic/flashqard/flashqard.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="flashqard"
-VERSION="0.15.0"
-HOMEPAGE="http://www.flashqard-project.org/"
-DOWNLOAD="http://downloads.sourceforge.net/flashqard/flashqard-0.15.0.tar.gz"
-MD5SUM="aa2c58d3b18f0ce8d2a31ece9d299647"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="ariarat"
-EMAIL="ariarat@gmail.com"
diff --git a/academic/flashqard/slack-desc b/academic/flashqard/slack-desc
deleted file mode 100644
index d03f1ed5cc7f1..0000000000000
--- a/academic/flashqard/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------------------------------------------------------|
-flashqard: flashqard (educational software to improve your learning process)
-flashqard:
-flashqard: This aim is achieved by using the widely used method, called
-flashqard: Leitner System, and the idea of "different card types for
-flashqard: different purposes".
-flashqard:
-flashqard: http://www.flashqard-project.org/
-flashqard:
-flashqard:
-flashqard:
-flashqard: