diff options
author | Erik Falor <ewfalor@gmail.com> | 2022-02-22 20:11:41 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-23 20:10:21 +0700 |
commit | 73abf29ad9ca0d95575f0722547b719bd0678c5c (patch) | |
tree | 7d9f3577ed46a06f8546a54fde106d91cba6297c /system/qingy/qingy.SlackBuild | |
parent | 1266689eb88f6e1831a290af986982b08a962859 (diff) |
system/qingy: Removed (old age, lack of use).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/qingy/qingy.SlackBuild')
-rw-r--r-- | system/qingy/qingy.SlackBuild | 133 |
1 files changed, 0 insertions, 133 deletions
diff --git a/system/qingy/qingy.SlackBuild b/system/qingy/qingy.SlackBuild deleted file mode 100644 index aebedf32b4483..0000000000000 --- a/system/qingy/qingy.SlackBuild +++ /dev/null @@ -1,133 +0,0 @@ -#!/bin/bash - -# Slackware build script for qingy - -# Copyright 2012 Erik Falor <ewfalor@gmail.com> USA -# 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. - -# 20220213 bkw: Modified by SlackBuilds.org, BUILD=4: -# - fix the build on 15.0. this was done by using libgcrypt instead of -# openssl (because qingy can't handle the new openssl-1.1.x API). -# - don't install useless INSTALL in doc dir. -# - i486 => i586. -# NOTE: All these fixes mean qingy compiles. I have *not* been -# successful in actually getting it to work in graphics mode. With -# -t (text mode), it actually works (but what's the point? we have -# agetty already). In DirectFB mode, it gives a black screen, and -# the --black-screen-workaround option isn't actually accepted by -# /sbin/qingy-DirectFB (it is accepted by /sbin/qingy, but that -# doesn't support DirectFB!). - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=qingy -VERSION=${VERSION:-1.0.0} -BUILD=${BUILD:-4} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -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 -fPIC" - LIBDIRSUFFIX="64" - SLKLDFLAGS="-L/usr/X11R6/lib64" -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.bz2 -cd $PRGNAM-$VERSION -chown -R root:root . -find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ - \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ - -SLKCFLAGS+=" -fcommon" - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -LDFLAGS="$SLKLDFLAGS" \ -./configure \ - --prefix=/usr \ - --exec-prefix=/ \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --infodir=/usr/info \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux \ - --disable-optimizations \ - --disable-screen-savers \ - --enable-crypto=libgcrypt \ - --enable-static=no - -make -make install-strip DESTDIR=$PKG - -# get rid of hardcoded /lib/security paths in pam config file. not needed, -# and *wrong* on x86_64. -sed -i 's,/lib/security/,,' $PKG/etc/pam.d/qingy - -# TODO: install-info in doinst.sh, remove it in douninst.sh. -rm -f $PKG/usr/info/dir -gzip -9 $PKG/usr/info/*.info* - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING NEWS README THANKS TODO $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -# TODO: qingy-keygen in doinst.sh (?) -# TODO: /etc/qingy/settings should be a .new config file. so should -# welcomes and probably the (pre|post)_GUI.sh scripts. - -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 |