diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2022-02-08 18:38:56 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-09 09:36:00 +0700 |
commit | 4b148a8f1ae5113b1ec31c22d87586d3f68fd86b (patch) | |
tree | f3b7ddc77fc16538f9ecae322f4caf60063f8226 /desktop/crystal | |
parent | d510dc4c022f1cba39ae5a9e54949ba5b2767212 (diff) |
desktop/crystal: Removed (no more kde4).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/crystal')
-rw-r--r-- | desktop/crystal/README | 19 | ||||
-rw-r--r-- | desktop/crystal/crystal.SlackBuild | 110 | ||||
-rw-r--r-- | desktop/crystal/crystal.info | 10 | ||||
-rw-r--r-- | desktop/crystal/crystal.patch | 11 | ||||
-rw-r--r-- | desktop/crystal/doinst.sh | 3 | ||||
-rw-r--r-- | desktop/crystal/slack-desc | 19 |
6 files changed, 0 insertions, 172 deletions
diff --git a/desktop/crystal/README b/desktop/crystal/README deleted file mode 100644 index b02a6d4b41d3..000000000000 --- a/desktop/crystal/README +++ /dev/null @@ -1,19 +0,0 @@ -Crystal is a kwin window decoration theme which offers you (pseudo) -transparent titlebar, buttons and borders. It also has some little -usuability enhancements. - -Main features: -* The style grabs your wallpaper and uses it as the deco background. - It has several blending modes, i.e. it can fade the background - into the defined title bar color, or it can brighten or darken - the wallpaper, as well as blur the source image to simulate glass. -* Choose the blending color of the buttons. -* You can define the title bar height and border size of the windows. -* Right click on minimize button toggles shade mode. -* Middle click on minimize button sends window to below. -* Double click on program symbol closes window. -* Support for button themes. Basic button theme is included, feel - free to swamp me with cool themes. -* Can show a tooltip of the caption -* Mouse-wheel on the title bar to 'scroll' to all opened windows of - the same desktop. diff --git a/desktop/crystal/crystal.SlackBuild b/desktop/crystal/crystal.SlackBuild deleted file mode 100644 index f54eb044b73c..000000000000 --- a/desktop/crystal/crystal.SlackBuild +++ /dev/null @@ -1,110 +0,0 @@ -#!/bin/bash - -# SlackBuild script for crystal (A Native KDE4 Window decoration) -# Copyright 2007-2011 Michiel van Wessem, Manchester, United Kingdom -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "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 COPYRIGHT -# OWNER OR CONTRIBUTORS 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=crystal -VERSION=${VERSION:-2.2.1} -BUILD=${BUILD:-2} -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 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 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -rm -rf $TMP/$PRGNAM-$VERSION -cd $TMP -tar -xjvf $CWD/*-$PRGNAM-$VERSION.tar.bz2 -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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -patch -p1 < $CWD/crystal.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 VERBOSE=1 - make install VERBOSE=1 DESTDIR=$PKG -cd - - -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 AUTHORS COPYING INSTALL README.md $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir $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/desktop/crystal/crystal.info b/desktop/crystal/crystal.info deleted file mode 100644 index 35d9deb17028..000000000000 --- a/desktop/crystal/crystal.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="crystal" -VERSION="2.2.1" -HOMEPAGE="https://store.kde.org/p/1012397/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/75140-crystal-2.2.1.tar.bz2" -MD5SUM="02e2a25ce02a974dc8c23fbdd40a2705" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Michiel van Wessem" -EMAIL="michiel@slackbuilds.org" diff --git a/desktop/crystal/crystal.patch b/desktop/crystal/crystal.patch deleted file mode 100644 index 6f36a3ed788a..000000000000 --- a/desktop/crystal/crystal.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- crystal-2.2.1/client/crystalclient.cpp.orig 2016-02-15 07:32:55.748512951 +0700 -+++ crystal-2.2.1//client/crystalclient.cpp 2016-02-15 07:33:14.018499876 +0700 -@@ -118,7 +118,7 @@ - if (isPreview()) { - char c[512]; - QLabel *label; -- sprintf(c,"<center><b>Crystal %s Preview</b><br>Built: %s</center>",VERSION, __DATE__); -+ sprintf(c,"<center><b>Crystal %s Preview</b><br>Built: %s</center>",2.2, __DATE__); - mainlayout->addItem(new QSpacerItem(1, 1,QSizePolicy::Expanding,QSizePolicy::Fixed), 0, 1); - mainlayout->addItem(new QSpacerItem(1, ::factory->borderwidth,QSizePolicy::Expanding,QSizePolicy::Expanding), 3, 1); - label = new QLabel(i18n(c), widget()); diff --git a/desktop/crystal/doinst.sh b/desktop/crystal/doinst.sh deleted file mode 100644 index 5fb28930db0b..000000000000 --- a/desktop/crystal/doinst.sh +++ /dev/null @@ -1,3 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi diff --git a/desktop/crystal/slack-desc b/desktop/crystal/slack-desc deleted file mode 100644 index 89370bc6b4c2..000000000000 --- a/desktop/crystal/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------------------------------------------------------| -crystal: crystal (kwin window decoration theme) -crystal: -crystal: Crystal is a native kwin window decoration theme for KDE 3.2+ which -crystal: offers you (pseudo) transparent titlebars and buttons. It also has -crystal: some little usability enhancements. -crystal: -crystal: Homepage: https://store.kde.org/p/1012397/ -crystal: -crystal: -crystal: -crystal: |