aboutsummaryrefslogtreecommitdiff
path: root/development/kdesvn
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-23 21:06:34 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-23 21:06:34 +0700
commit107c9cc18ba6c0e588c94b915fb529c45fc9062c (patch)
tree1251a344adbfa07807d735da43f077ccbfa11066 /development/kdesvn
parent42d060d4b0077253900db6bb755571644ac212b5 (diff)
development/kdesvn: Updated for version 1.7.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/kdesvn')
-rw-r--r--development/kdesvn/doinst.sh7
-rw-r--r--development/kdesvn/kdesvn.SlackBuild11
-rw-r--r--development/kdesvn/kdesvn.info8
-rw-r--r--development/kdesvn/kdesvn.patch16
-rw-r--r--development/kdesvn/nl_docbook_dtd.patch10
5 files changed, 13 insertions, 39 deletions
diff --git a/development/kdesvn/doinst.sh b/development/kdesvn/doinst.sh
index abca0bed02da..ae6bd4528589 100644
--- a/development/kdesvn/doinst.sh
+++ b/development/kdesvn/doinst.sh
@@ -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
diff --git a/development/kdesvn/kdesvn.SlackBuild b/development/kdesvn/kdesvn.SlackBuild
index c4ba379b0a84..5a79596a56ef 100644
--- a/development/kdesvn/kdesvn.SlackBuild
+++ b/development/kdesvn/kdesvn.SlackBuild
@@ -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
diff --git a/development/kdesvn/kdesvn.info b/development/kdesvn/kdesvn.info
index 937322962aa8..5e0ab1871214 100644
--- a/development/kdesvn/kdesvn.info
+++ b/development/kdesvn/kdesvn.info
@@ -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=""
diff --git a/development/kdesvn/kdesvn.patch b/development/kdesvn/kdesvn.patch
deleted file mode 100644
index ba97ff3b0be4..000000000000
--- a/development/kdesvn/kdesvn.patch
+++ /dev/null
@@ -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)")
-
-
diff --git a/development/kdesvn/nl_docbook_dtd.patch b/development/kdesvn/nl_docbook_dtd.patch
deleted file mode 100644
index 7af798f9530b..000000000000
--- a/development/kdesvn/nl_docbook_dtd.patch
+++ /dev/null
@@ -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 -->