summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-util/valkyrie
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-util/valkyrie')
-rw-r--r--dev-util/valkyrie/Manifest1
-rw-r--r--dev-util/valkyrie/files/valkyrie-2.0.0-gcc47.patch37
-rw-r--r--dev-util/valkyrie/files/valkyrie-2.0.0-prefix.patch11
-rw-r--r--dev-util/valkyrie/metadata.xml9
-rw-r--r--dev-util/valkyrie/valkyrie-2.0.0.ebuild27
5 files changed, 85 insertions, 0 deletions
diff --git a/dev-util/valkyrie/Manifest b/dev-util/valkyrie/Manifest
new file mode 100644
index 000000000000..6d03a3266910
--- /dev/null
+++ b/dev-util/valkyrie/Manifest
@@ -0,0 +1 @@
+DIST valkyrie-2.0.0.tar.bz2 260690 SHA256 a70b9ffb2409c96c263823212b4be6819154eb858825c9a19aad0ae398d59b43 SHA512 435abb17ecad114c3e492fa193e508bad7ca61884bd09bf1bf0b8398c63151d33e571fea927b84f05bc2b647183af441da1550161a6f766db9e9a15d00cfc888 WHIRLPOOL a7b394976012df7a28b02ba63c092354daff2a55912b6ccc88914aac5811b09064227a08e0fdbd23dc41bcd453dc3fe9846c2517c83d8eed1d4131dbbafdac4a
diff --git a/dev-util/valkyrie/files/valkyrie-2.0.0-gcc47.patch b/dev-util/valkyrie/files/valkyrie-2.0.0-gcc47.patch
new file mode 100644
index 000000000000..d2d33166a85c
--- /dev/null
+++ b/dev-util/valkyrie/files/valkyrie-2.0.0-gcc47.patch
@@ -0,0 +1,37 @@
+Fix building with gcc-4.7
+
+https://bugs.gentoo.org/show_bug.cgi?id=421867
+
+Patch written by LE GARREC Vincent <legarrec.vincent@gmail.com>
+--- a/src/objects/tool_object.cpp
++++ b/src/objects/tool_object.cpp
+@@ -50,6 +50,7 @@ stopProcess()
+ #include <QKeySequence>
+ #include <QString>
+ #include <QStringList>
++#include <unistd.h> // usleep
+
+
+ #if 1
+--- a/src/utils/vk_config.cpp
++++ b/src/utils/vk_config.cpp
+@@ -25,6 +25,8 @@
+ #include "utils/vk_utils.h"
+
+ #include <pwd.h> // getpwuid
++#include <sys/types.h> // getuid
++#include <unistd.h> // getuid
+
+ #include <QColor>
+ #include <QDir>
+--- a/src/utils/vk_utils.cpp
++++ b/src/utils/vk_utils.cpp
+@@ -22,6 +22,8 @@
+ #include "utils/vk_config.h" // vkname()
+
+ #include <cstdlib> // exit, mkstemp, free/malloc, etc
++#include <sys/types.h> // getpid
++#include <unistd.h> // getpid
+
+ #include <QDateTime>
+ #include <QFile>
diff --git a/dev-util/valkyrie/files/valkyrie-2.0.0-prefix.patch b/dev-util/valkyrie/files/valkyrie-2.0.0-prefix.patch
new file mode 100644
index 000000000000..2f18491e8f81
--- /dev/null
+++ b/dev-util/valkyrie/files/valkyrie-2.0.0-prefix.patch
@@ -0,0 +1,11 @@
+--- valkyrie-2.0.0/vk_config.pri
++++ valkyrie-2.0.0/vk_config.pri
+@@ -14,7 +14,7 @@
+ # Set a default value for PREFIX (etc) in the generated makefiles
+ # Note: ignore INSTALL_ROOT: it's a qt special, can't be set from here
+ isEmpty(PREFIX) {
+- PREFIX = /usr/local
++ PREFIX = /usr
+ }
+ isEmpty(BINDIR) {
+ BINDIR = $$PREFIX/bin
diff --git a/dev-util/valkyrie/metadata.xml b/dev-util/valkyrie/metadata.xml
new file mode 100644
index 000000000000..59acc2cc580e
--- /dev/null
+++ b/dev-util/valkyrie/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
+
diff --git a/dev-util/valkyrie/valkyrie-2.0.0.ebuild b/dev-util/valkyrie/valkyrie-2.0.0.ebuild
new file mode 100644
index 000000000000..a6d6206cab52
--- /dev/null
+++ b/dev-util/valkyrie/valkyrie-2.0.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+
+inherit qt4-r2
+
+DESCRIPTION="Graphical front-end to the Valgrind suite of tools"
+HOMEPAGE="http://www.valgrind.org/"
+SRC_URI="http://www.valgrind.org/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND=">=dev-util/valgrind-3.6.0
+ dev-qt/qtgui:4
+ dev-qt/qtcore:4"
+RDEPEND="${DEPEND}"
+
+DOCS=( README )
+PATCHES=(
+ "${FILESDIR}"/${P}-prefix.patch
+ "${FILESDIR}"/${P}-gcc47.patch
+)