mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
network/kmess: Updated for version 2.0
This commit is contained in:
parent
38e7cd7dcf
commit
ff00687459
5 changed files with 64 additions and 57 deletions
|
@ -1,8 +1,5 @@
|
||||||
KMess, MSN Messenger for GNU/Linux
|
KMess is an alternative Live Messenger chat client for Linux.
|
||||||
|
It allows Linux users to chat with friends who use Live Messenger in
|
||||||
KMess is a MSN Messenger chat client for GNU/Linux.
|
Windows or Mac OS. The strength of KMess is it's integration with the
|
||||||
It is Qt based and integrated with the KDE Desktop Environment.
|
KDE desktop environment, it focus on Messenger-specific features, and
|
||||||
KMess has many features, like winks and offline-im messages
|
an easy-to-use interface.
|
||||||
receiving, fast file transfers, Live Mail e-mail notifications.
|
|
||||||
|
|
||||||
Homepage: http://www.kmess.org
|
|
||||||
|
|
10
network/kmess/doinst.sh
Normal file
10
network/kmess/doinst.sh
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
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 usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Slackware build script for KMess
|
# Slackware build script for kmess
|
||||||
|
|
||||||
# Copyright 2008 Andrea Maccis (andrea.maccis@gmail.com)
|
# Copyright 2008-2009 Tarantino Antonino <metrofox9@gmail.com>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
# permitted provided that the following conditions are met:
|
# permitted provided that the following conditions are met:
|
||||||
#
|
#
|
||||||
# Redistributions of this script must retain the above copyright
|
# 1. Redistributions of this script must retain the above copyright
|
||||||
# notice, this list of conditions and the following disclaimer.
|
# notice, this list of conditions and the following disclaimer.
|
||||||
#
|
#
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||||
|
@ -22,9 +22,8 @@
|
||||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
|
||||||
PRGNAM=kmess
|
PRGNAM=kmess
|
||||||
VERSION=${VERSION:-1.5.1}
|
VERSION=2.0
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
@ -36,18 +35,21 @@ OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
SLKCFLAGS="-O2 -fPIC"
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -rf $PKG
|
set -e
|
||||||
|
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP || exit 1
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
|
cd $PRGNAM-$VERSION
|
||||||
cd $PRGNAM-$VERSION || exit 1
|
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find . \
|
find . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||||
|
@ -55,22 +57,14 @@ find . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
-exec chmod 644 {} \;
|
-exec chmod 644 {} \;
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
cmake . \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
-DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
|
||||||
./configure \
|
-DCMAKE_C_FLAGS="${SLKCFLAGS}" \
|
||||||
--prefix=/usr \
|
-DCMAKE_INSTALL_PREFIX="/usr" \
|
||||||
--sysconfdir=/etc \
|
-DLIB_SUFFIX=${LIBDIRSUFFIX}
|
||||||
--localstatedir=/var \
|
|
||||||
--mandir=/usr/man \
|
|
||||||
|| exit 1
|
|
||||||
|
|
||||||
make || exit 1
|
make
|
||||||
make install DESTDIR=$PKG || exit 1
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
( cd $PKG
|
|
||||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
|
||||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
|
||||||
)
|
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a \
|
cp -a \
|
||||||
|
@ -78,8 +72,12 @@ cp -a \
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
|
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/install
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||||
|
|
||||||
cd $PKG
|
cd $PKG
|
||||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
PRGNAM="kmess"
|
PRGNAM="kmess"
|
||||||
VERSION="1.5.1"
|
VERSION="2.0"
|
||||||
HOMEPAGE="http://www.kmess.org"
|
HOMEPAGE="http://kmess.org/"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/kmess/kmess-1.5.1.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/sourceforge/kmess/kmess-2.0.tar.gz"
|
||||||
MD5SUM="a2971c7e12da80f5df5ba5db4f7873d8"
|
MD5SUM="619781ad93c9848672b17ecc8536545c"
|
||||||
MAINTAINER="Andrea Maccis"
|
DOWNLOAD_x86_64=""
|
||||||
EMAIL="andrea.maccis@gmail.com"
|
MD5SUM_x86_64=""
|
||||||
APPROVED="Michiel"
|
MAINTAINER="Tarantino Antonino"
|
||||||
|
EMAIL="metrofox9@gmail.com"
|
||||||
|
APPROVED="rworkman"
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
# HOW TO EDIT THIS FILE:
|
# HOW TO EDIT THIS FILE:
|
||||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
# 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
|
# up the first '|' above the ':' following the base package name, and the '|'
|
||||||
# the right side marks the last column you can put a character in. You must make
|
# on the right side marks the last column you can put a character in. You must
|
||||||
# exactly 11 lines for the formatting to be correct. It's also customary to
|
# make exactly 11 lines for the formatting to be correct. It's also
|
||||||
# leave one space after the ':'.
|
# customary to leave one space after the ':'.
|
||||||
|
|
||||||
|-----handy-ruler---------------------------------------------------|
|
|-----handy-ruler--------------------------------------------------------|
|
||||||
kmess: KMess (a MSN Messenger for GNU/Linux)
|
kmess: Kmess (MSN Messenger client)
|
||||||
|
kmess:
|
||||||
|
kmess: KMess is a MSN Messenger client for Linux. It enables Linux users to
|
||||||
|
kmess: chat with friends online who are using MSN Messenger in Windows or Mac
|
||||||
|
kmess: OS. The strength of KMess is it's integration with the KDE desktop
|
||||||
|
kmess: environment, focus on MSN Messenger specific features and an easy-to-use
|
||||||
|
kmess: interface.
|
||||||
|
kmess:
|
||||||
kmess:
|
kmess:
|
||||||
kmess: KMess is a MSN Messenger chat client for GNU/Linux.
|
|
||||||
kmess: It is Qt based and integrated with the KDE Desktop Environment.
|
|
||||||
kmess: KMess has many features, like winks and offline-im messages
|
|
||||||
kmess: receiving, fast file transfers, Live Mail e-mail notifications.
|
|
||||||
kmess:
|
|
||||||
kmess: Homepage: http://www.kmess.org
|
|
||||||
kmess:
|
kmess:
|
||||||
kmess:
|
kmess:
|
||||||
kmess:
|
|
Loading…
Reference in a new issue