diff options
author | B. Watson <yalhcru@gmail.com> | 2022-03-01 00:53:27 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-01 19:35:41 +0700 |
commit | 6b96bcb9b1e5743d0102cfd5b78cae2a67be78a0 (patch) | |
tree | 0235456406dfb159be5e763bd61ec1aa98c1ef6f | |
parent | 31b629974bf09954c2f8f372418d1213335ce578 (diff) | |
download | slackbuilds-6b96bcb9b1e5743d0102cfd5b78cae2a67be78a0.tar.gz |
libraries/qwt-qt5: Removed (redundant; use qwt).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | libraries/qwt-qt5/README | 5 | ||||
-rw-r--r-- | libraries/qwt-qt5/patch-6.1.6-pkgconfig.diff | 22 | ||||
-rw-r--r-- | libraries/qwt-qt5/patch-6.1.6-qwtconfig.diff | 54 | ||||
-rw-r--r-- | libraries/qwt-qt5/patch-6.1.6-qwtfunctions.diff | 27 | ||||
-rw-r--r-- | libraries/qwt-qt5/qwt-qt5.SlackBuild | 114 | ||||
-rw-r--r-- | libraries/qwt-qt5/qwt-qt5.info | 10 | ||||
-rw-r--r-- | libraries/qwt-qt5/slack-desc | 19 |
7 files changed, 0 insertions, 251 deletions
diff --git a/libraries/qwt-qt5/README b/libraries/qwt-qt5/README deleted file mode 100644 index 22d5b69653..0000000000 --- a/libraries/qwt-qt5/README +++ /dev/null @@ -1,5 +0,0 @@ -Qwt is an extension to the Qt5 GUI library that contains widgets and components -which are primarily useful for programs with a technical background. Beside a -framework for 2D plots it provides scales, sliders, dials, compasses, -thermometers, wheels and knobs to control or display values, arrays, or ranges -of type double. diff --git a/libraries/qwt-qt5/patch-6.1.6-pkgconfig.diff b/libraries/qwt-qt5/patch-6.1.6-pkgconfig.diff deleted file mode 100644 index 91c5ed4c78..0000000000 --- a/libraries/qwt-qt5/patch-6.1.6-pkgconfig.diff +++ /dev/null @@ -1,22 +0,0 @@ ---- src/src.pro.orig 2014-12-12 00:13:13.461186493 +1000 -+++ src/src.pro 2015-10-05 08:55:43.504194164 +1000 -@@ -21,6 +21,19 @@ - - DESTDIR = $${QWT_OUT_ROOT}/lib - -+# Add pkgconfig support -+unix { -+ CONFIG += create_pc create_prl no_install_prl -+ QMAKE_PKGCONFIG_NAME = qwt-qt5 -+ QMAKE_PKGCONFIG_DESCRIPTION = GUI components -+ QMAKE_PKGCONFIG_PREFIX = $${QWT_INSTALL_PREFIX} -+ QMAKE_PKGCONFIG_LIBDIR = $${QWT_INSTALL_LIBS} -+ QMAKE_PKGCONFIG_INCDIR = $${QWT_INSTALL_HEADERS} -+ QMAKE_PKGCONFIG_REQUIRES = QtCore -+ QMAKE_PKGCONFIG_DESTDIR = pkgconfig -+} -+ -+ - contains(QWT_CONFIG, QwtDll) { - - CONFIG += dll diff --git a/libraries/qwt-qt5/patch-6.1.6-qwtconfig.diff b/libraries/qwt-qt5/patch-6.1.6-qwtconfig.diff deleted file mode 100644 index 815013bd06..0000000000 --- a/libraries/qwt-qt5/patch-6.1.6-qwtconfig.diff +++ /dev/null @@ -1,54 +0,0 @@ ---- qwtconfig.pri.orig 2014-12-11 14:13:13.513186492 +0000 -+++ qwtconfig.pri 2015-09-27 08:33:01.948490369 +0000 -@@ -16,11 +16,8 @@ - # Install paths - ###################################################################### - --QWT_INSTALL_PREFIX = $$[QT_INSTALL_PREFIX] -- - unix { -- QWT_INSTALL_PREFIX = /usr/local/qwt-$$QWT_VERSION -- # QWT_INSTALL_PREFIX = /usr/local/qwt-$$QWT_VERSION-qt-$$QT_VERSION -+ QWT_INSTALL_PREFIX = /usr - } - - win32 { -@@ -29,8 +26,10 @@ - } - - QWT_INSTALL_DOCS = $${QWT_INSTALL_PREFIX}/doc --QWT_INSTALL_HEADERS = $${QWT_INSTALL_PREFIX}/include --QWT_INSTALL_LIBS = $${QWT_INSTALL_PREFIX}/lib -+QWT_INSTALL_HEADERS = $${QWT_INSTALL_PREFIX}/include/qt5/qwt -+QWT_INSTALL_LIBS = $${QWT_INSTALL_PREFIX}/lib$${LIBDIRSUFFIX} -+ -+ - - ###################################################################### - # Designer plugin -@@ -42,14 +41,12 @@ - # runtime environment of designer/creator. - ###################################################################### - --QWT_INSTALL_PLUGINS = $${QWT_INSTALL_PREFIX}/plugins/designer -- - # linux distributors often organize the Qt installation - # their way and QT_INSTALL_PREFIX doesn't offer a good - # path. Also QT_INSTALL_PREFIX is only one of the default - # search paths of the designer - not the Qt creator - --#QWT_INSTALL_PLUGINS = $$[QT_INSTALL_PREFIX]/plugins/designer -+QWT_INSTALL_PLUGINS = $$[QT_INSTALL_PLUGINS]/designer - - ###################################################################### - # Features -@@ -63,8 +60,7 @@ - # with every Qt upgrade. - ###################################################################### - --QWT_INSTALL_FEATURES = $${QWT_INSTALL_PREFIX}/features --# QWT_INSTALL_FEATURES = $$[QT_INSTALL_PREFIX]/features -+QWT_INSTALL_FEATURES = $$[QMAKE_MKSPECS]/features - - ###################################################################### - # Build the static/shared libraries. diff --git a/libraries/qwt-qt5/patch-6.1.6-qwtfunctions.diff b/libraries/qwt-qt5/patch-6.1.6-qwtfunctions.diff deleted file mode 100644 index b31dc22de6..0000000000 --- a/libraries/qwt-qt5/patch-6.1.6-qwtfunctions.diff +++ /dev/null @@ -1,27 +0,0 @@ -diff -up qwt-6.1.2/qwtfunctions.pri.qt5 qwt-6.1.2/qwtfunctions.pri ---- qwt-6.1.2/qwtfunctions.pri.qt5 2014-12-11 08:13:13.511186492 -0600 -+++ qwt-6.1.2/qwtfunctions.pri 2014-12-12 20:45:24.556261966 -0600 -@@ -12,7 +12,12 @@ - defineReplace(qwtLibraryTarget) { - - unset(LIBRARY_NAME) -+ -+ greaterThan(QT_MAJOR_VERSION, 4) { -+ LIBRARY_NAME = $${1}-qt$${QT_MAJOR_VERSION} -+ } else { - LIBRARY_NAME = $$1 -+ } - - mac:contains(QWT_CONFIG, QwtFramework) { - -@@ -36,7 +41,11 @@ defineReplace(qwtLibraryTarget) { - defineTest(qwtAddLibrary) { - - LIB_PATH = $$1 -+ greaterThan(QT_MAJOR_VERSION, 4) { -+ LIB_NAME = $${2}-qt$${QT_MAJOR_VERSION} -+ } else { - LIB_NAME = $$2 -+ } - - mac:contains(QWT_CONFIG, QwtFramework) { diff --git a/libraries/qwt-qt5/qwt-qt5.SlackBuild b/libraries/qwt-qt5/qwt-qt5.SlackBuild deleted file mode 100644 index 9457d0d944..0000000000 --- a/libraries/qwt-qt5/qwt-qt5.SlackBuild +++ /dev/null @@ -1,114 +0,0 @@ -#!/bin/bash - -# Slackware build script for qwt-qt5 - -# Modified from libraries/qwt -# Copyright 2019-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=qwt-qt5 -VERSION=${VERSION:-6.1.6} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -SRCNAM=qwt - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - 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" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2 -cd $SRCNAM-$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 -p0 < $CWD/patch-6.1.6-qwtconfig.diff -patch -p0 < $CWD/patch-6.1.6-pkgconfig.diff -patch -p1 < $CWD/patch-6.1.6-qwtfunctions.diff # OpenSUSE - -mkdir build -cd build - qmake-qt5 LIBDIRSUFFIX=$LIBDIRSUFFIX .. - make \ - CFLAGS+="$SLKCFLAGS" \ - CXXFLAGS+="$SLKCFLAGS -std=c++11 -fPIC" - make install INSTALL_ROOT=$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 - -rm -rf $PKG/usr/doc/man - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/usr/doc/html $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - CHANGES-6.1 COPYING INSTALL README \ - $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 - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/libraries/qwt-qt5/qwt-qt5.info b/libraries/qwt-qt5/qwt-qt5.info deleted file mode 100644 index 426f8ba17e..0000000000 --- a/libraries/qwt-qt5/qwt-qt5.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="qwt-qt5" -VERSION="6.1.6" -HOMEPAGE="http://qwt.sourceforge.net" -DOWNLOAD="http://downloads.sourceforge.net/qwt/qwt-6.1.6.tar.bz2" -MD5SUM="cc71be5d6c33c2fc19ae8082ccdd3e83" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="slackbuilds@jaxartes.net" diff --git a/libraries/qwt-qt5/slack-desc b/libraries/qwt-qt5/slack-desc deleted file mode 100644 index cd5febaac0..0000000000 --- a/libraries/qwt-qt5/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------------------------------------------------------| -qwt-qt5: qwt-qt5 (Qt5 widgets for technical applications) -qwt-qt5: -qwt-qt5: Qwt is an extension to the Qt5 GUI library that contains widgets and -qwt-qt5: components which are primarily useful for programs with a technical -qwt-qt5: background. Beside a framework for 2D plots it provides scales, -qwt-qt5: sliders, dials, compasses, thermometers, wheels and knobs to control -qwt-qt5: or display values, arrays, or ranges of type double. -qwt-qt5: -qwt-qt5: -qwt-qt5: -qwt-qt5: |