summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
Diffstat (limited to 'development')
-rw-r--r--development/valkyrie/README13
-rw-r--r--development/valkyrie/docdir.patch22
-rw-r--r--development/valkyrie/slack-desc19
-rw-r--r--development/valkyrie/valkyrie.SlackBuild78
-rw-r--r--development/valkyrie/valkyrie.info10
5 files changed, 142 insertions, 0 deletions
diff --git a/development/valkyrie/README b/development/valkyrie/README
new file mode 100644
index 0000000000..b48048a7b6
--- /dev/null
+++ b/development/valkyrie/README
@@ -0,0 +1,13 @@
+Valkyrie is an open-source graphical user interface for Valgrind.
+Valkyrie uses the Qt widget library and is based on Valgrind`s XML
+output capabilities. Valkyrie is designed for simplicity and ease
+of use while allowing access to the full range of Valgrind command
+line options. Currently, Valkyrie only supports Memcheck, although
+work is in progress to handle Cachegrind and Massif.
+
+Also included in Valkyrie is an auxiliary tool which can read XML
+outputs from multiple Valgrind (Memcheck) runs, merge them into a
+single XML file, and optionally display the merged result in the GUI.
+
+This requires valgrind and qt3 from /extra/kde3-compat/ on the Slackware
+mirror or cdrom set.
diff --git a/development/valkyrie/docdir.patch b/development/valkyrie/docdir.patch
new file mode 100644
index 0000000000..9f8bb7daa3
--- /dev/null
+++ b/development/valkyrie/docdir.patch
@@ -0,0 +1,22 @@
+--- valkyrie-1.3.0/doc/Makefile.in.orig 2010-02-16 09:36:30.757843977 -0500
++++ valkyrie-1.3.0/doc/Makefile.in 2010-02-16 09:36:47.274614778 -0500
+@@ -143,7 +143,7 @@
+ build_alias = @build_alias@
+ datadir = @datadir@
+ datarootdir = @datarootdir@
+-docdir = $(prefix)/doc/
++docdir = @docdir@
+ dvidir = @dvidir@
+ exec_prefix = @exec_prefix@
+ host_alias = @host_alias@
+--- valkyrie-1.3.0/doc/images/Makefile.in.orig 2010-02-16 09:40:41.232645924 -0500
++++ valkyrie-1.3.0/doc/images/Makefile.in 2010-02-16 09:40:58.332637251 -0500
+@@ -134,7 +134,7 @@
+ build_alias = @build_alias@
+ datadir = @datadir@
+ datarootdir = @datarootdir@
+-docdir = $(prefix)/doc/images
++docdir = @docdir@/images
+ dvidir = @dvidir@
+ exec_prefix = @exec_prefix@
+ host_alias = @host_alias@
diff --git a/development/valkyrie/slack-desc b/development/valkyrie/slack-desc
new file mode 100644
index 0000000000..239e8ac792
--- /dev/null
+++ b/development/valkyrie/slack-desc
@@ -0,0 +1,19 @@
+# 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 ':'.
+
+ |-----handy-ruler---------------------------------------------------|
+valkyrie: valkyrie (gui frontend for valgrind)
+valkyrie:
+valkyrie: Valkyrie is an open-source graphical user interface for Valgrind.
+valkyrie:
+valkyrie: Valkyrie uses the Qt widget library and is based on Valgrind`s XML
+valkyrie: output capabilities. Valkyrie is designed for simplicity and ease
+valkyrie: of use while allowing access to the full range of Valgrind command
+valkyrie: line options. Currently, Valkyrie only supports Memcheck, although
+valkyrie: work is in progress to handle Cachegrind and Massif.
+valkyrie:
+valkyrie:
diff --git a/development/valkyrie/valkyrie.SlackBuild b/development/valkyrie/valkyrie.SlackBuild
new file mode 100644
index 0000000000..dfbdd831a8
--- /dev/null
+++ b/development/valkyrie/valkyrie.SlackBuild
@@ -0,0 +1,78 @@
+#!/bin/sh
+# Slackware build script for valkyrie
+
+# Copyright 2010 Raymond Bailey <bailey@akamai.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''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 AUTHOR 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.
+
+PRGNAM=valkyrie
+VERSION=1.3.0
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+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 .
+chmod -R u+w,go+r-w,a-s .
+
+patch -p1 < $CWD/docdir.patch
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --htmldir=/usr/doc/$PRGNAM-$VERSION/html \
+ --with-Qt-dir=/opt/kde3/lib${LIBDIRSUFFIX}/qt3 \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/valkyrie/valkyrie.info b/development/valkyrie/valkyrie.info
new file mode 100644
index 0000000000..4144d8c8b0
--- /dev/null
+++ b/development/valkyrie/valkyrie.info
@@ -0,0 +1,10 @@
+PRGNAM="valkyrie"
+VERSION="1.3.0"
+HOMEPAGE="http://www.open-works.net/projects/valkyrie.html"
+DOWNLOAD="http://www.valgrind.org/downloads/valkyrie-1.3.0.tar.bz2"
+MD5SUM="ec7069a23ec90670be74d3fc3a46f574"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Andy Bailey"
+EMAIL="bailey@akamai.com"
+APPROVED="rworkman"