summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-18 12:20:08 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-19 12:10:43 +0700
commit2d165e0df5337862b0595a8fd37fbb39b4eda73d (patch)
tree061af6ae6bebd93b9e3103491661bd5b50049ff0 /network
parentdf3dd3dfe0e92d416ac9603c93f13ed6f91688cf (diff)
downloadslackbuilds-2d165e0df5337862b0595a8fd37fbb39b4eda73d.tar.gz
network/kadu: Removed (unmaintained).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/kadu/README1
-rw-r--r--network/kadu/doinst.sh10
-rw-r--r--network/kadu/kadu.SlackBuild109
-rw-r--r--network/kadu/kadu.info10
-rw-r--r--network/kadu/kadu.patch11
-rw-r--r--network/kadu/slack-desc19
6 files changed, 0 insertions, 160 deletions
diff --git a/network/kadu/README b/network/kadu/README
deleted file mode 100644
index 0515db2274..0000000000
--- a/network/kadu/README
+++ /dev/null
@@ -1 +0,0 @@
-Kadu is an IM client for the Gadu-Gadu protocol.
diff --git a/network/kadu/doinst.sh b/network/kadu/doinst.sh
deleted file mode 100644
index d6430a30c5..0000000000
--- a/network/kadu/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
-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/network/kadu/kadu.SlackBuild b/network/kadu/kadu.SlackBuild
deleted file mode 100644
index b492855731..0000000000
--- a/network/kadu/kadu.SlackBuild
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for kadu
-
-# Written by marco slociu@wp.pl
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PRGNAM=kadu
-VERSION=${VERSION:-0.12.3}
-BUILD=${BUILD:-2}
-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.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 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-patch -p1 < $CWD/kadu.patch
-
-mkdir -p build
-cd build
-cmake .. \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DMAN_INSTALL_DIR=/usr/man \
- -DSYSCONF_INSTALL_DIR=/etc \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DCMAKE_VERBOSE_MAKEFILE:BOOL="TRUE" \
- -DNETWORK_IMPLEMENTATION="Qt" \
- -DCMAKE_BUILD_TYPE="Release" \
- -DSIG_HANDLING_ENABLED:BOOL="TRUE" \
- -DINSTALL_SDK:BOOL="TRUE" \
- -DBUILD_DESCRIPTION="Slackware"
-
-make
-make install 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
-
-# Remove all license files
-find "$PKG" -name '[lL][iI][cC][eE][nN][sS][eE].txt' -delete
-
-# Move cmake files in the proper place
-mv $PKG/usr/share/cmake \
- $PKG/usr/share/cmake-$(cmake --version | head -1 | cut -d\ -f3 | cut -d. -f1-2)
-
-# Move this away too...
-mv $PKG/usr/sdk $PKG/usr/share/$PRGNAM/
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog INSTALL README THANKS VERSION \
- $PKG/usr/doc/$PRGNAM-$VERSION
-
-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/network/kadu/kadu.info b/network/kadu/kadu.info
deleted file mode 100644
index e166581cf9..0000000000
--- a/network/kadu/kadu.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="kadu"
-VERSION="0.12.3"
-HOMEPAGE="http://www.kadu.net"
-DOWNLOAD="http://downloads.sourceforge.net/kadu/kadu-0.12.3.tar.bz2"
-MD5SUM="c5d6f0bd384cd96090819ea018eb8ad8"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libgadu libmpdclient"
-MAINTAINER="M Slodkiewicz"
-EMAIL="slociu@wp.pl"
diff --git a/network/kadu/kadu.patch b/network/kadu/kadu.patch
deleted file mode 100644
index d47d9fa0ae..0000000000
--- a/network/kadu/kadu.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- kadu-0.12.3/plugins/jabber_protocol/3rdparty/CMakeLists.txt.orig 2013-11-17 07:23:54.186097640 +0700
-+++ kadu-0.12.3/plugins/jabber_protocol/3rdparty/CMakeLists.txt 2013-11-17 07:24:32.686563005 +0700
-@@ -26,7 +26,7 @@
- get_filename_component (_basename ${_current_MOC} NAME_WE)
- set (_header ${_abs_FILE})
- set (_moc ${_abs_PATH}/${_current_MOC})
-- QT4_CREATE_MOC_COMMAND (${_header} ${_moc} "${_moc_INCS}" "")
-+ QT4_CREATE_MOC_COMMAND (${_header} ${_moc} "${_moc_INCS}" "" "${moc_target}")
- MACRO_ADD_FILE_DEPENDENCIES (${_abs_FILE} ${_moc})
- endforeach (_current_MOC_INC)
- endif (_match)
diff --git a/network/kadu/slack-desc b/network/kadu/slack-desc
deleted file mode 100644
index 6fcdf80bc8..0000000000
--- a/network/kadu/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------------------------------------------------------|
-kadu: kadu (Gadu-Gadu IM client)
-kadu:
-kadu: Kadu is an instant messaging client for the Gadu-Gadu protocol.
-kadu:
-kadu:
-kadu:
-kadu:
-kadu:
-kadu:
-kadu:
-kadu: