development/kdesvn: Updated for version 1.7.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-01-23 21:06:34 +07:00
parent 42d060d4b0
commit 107c9cc18b
5 changed files with 13 additions and 39 deletions

View file

@ -1,4 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications
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

View file

@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=kdesvn
VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-2}
VERSION=${VERSION:-1.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -69,9 +69,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# patch for cmake 3.x
patch -p1 < $CWD/kdesvn.patch
mkdir build
cd build
cmake \
@ -89,8 +86,6 @@ 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
# mandir setting above seems ignored
mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done

View file

@ -1,8 +1,8 @@
PRGNAM="kdesvn"
VERSION="1.6.0"
HOMEPAGE="http://www.alwins-world.de/wiki/programs/kdesvn"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/kdesvn-1.6.0.tar.bz2"
MD5SUM="7e6adc98ff4777a06d5752d3f2b58fa3"
VERSION="1.7.0"
HOMEPAGE="http://kdesvn.alwins-world.de/"
DOWNLOAD="http://download.kde.org/stable/kdesvn/1.7.0/kdesvn-1.7.0.tar.xz"
MD5SUM="f3d80daf42dad5d07b9a8cd24541d94d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -1,16 +0,0 @@
--- kdesvn-1.6.0/CMakeLists.txt.orig 2015-12-07 17:48:18.377100540 +0000
+++ kdesvn-1.6.0/CMakeLists.txt 2015-12-07 17:48:53.280327027 +0000
@@ -20,11 +20,6 @@
PROJECT(kdesvn)
SET(PACKAGENAME "${CMAKE_PROJECT_NAME}")
-IF (CMAKE_MAJOR_VERSION EQUAL 2 AND CMAKE_MINOR_VERSION EQUAL 4)
- CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
-ELSE (CMAKE_MAJOR_VERSION EQUAL 2 AND CMAKE_MINOR_VERSION EQUAL 4)
- CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-ENDIF (CMAKE_MAJOR_VERSION EQUAL 2 AND CMAKE_MINOR_VERSION EQUAL 4)
SET(BASE_VERSION 1.6.0)
OPTION(BUILD_TESTS "Building the tests yes or no (default off)")

View file

@ -1,10 +0,0 @@
diff -Naur kdesvn-1.5.5/doc/nl/index.docbook kdesvn-1.5.5_patched/doc/nl/index.docbook
--- kdesvn-1.5.5/doc/nl/index.docbook 2008-05-31 10:02:54.000000000 +0000
+++ kdesvn-1.5.5_patched/doc/nl/index.docbook 2011-03-30 14:55:51.570351181 +0000
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
+<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
<!ENTITY kdesvn "<application>kdesvn</application>">
<!ENTITY kappname "&kdesvn;"><!-- Do *not* replace kappname-->
<!ENTITY package "kde-module"><!-- kdebase, kdeadmin, etc -->