From 8a30ab82ad25be0e08ce0686d4f06229746c8ba3 Mon Sep 17 00:00:00 2001 From: jym Date: Wed, 7 Dec 2011 00:23:09 +0000 Subject: Welcome to phoronix-test-suite-3.4.0. DESCR: The Phoronix Test Suite is the most comprehensive testing and benchmarking platform available for the *nix operating system. This software is designed to effectively carry out both qualitative and quantitative benchmarks in a clean, reproducible, and easy-to-use manner. --- benchmarks/Makefile | 3 +- .../phoronix-test-suite/patches/patch-install-sh | 41 ++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 benchmarks/phoronix-test-suite/patches/patch-install-sh diff --git a/benchmarks/Makefile b/benchmarks/Makefile index ab9540b81bb..1e3febb1d81 100644 --- a/benchmarks/Makefile +++ b/benchmarks/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.44 2011/02/28 18:39:07 wiz Exp $ +# $NetBSD: Makefile,v 1.45 2011/12/07 00:23:09 jym Exp $ # COMMENT= Benchmarking tools @@ -30,6 +30,7 @@ SUBDIR+= nettest SUBDIR+= nsieve SUBDIR+= nttcp SUBDIR+= paranoia +SUBDIR+= phoronix-test-suite SUBDIR+= pipebench SUBDIR+= postal SUBDIR+= postmark diff --git a/benchmarks/phoronix-test-suite/patches/patch-install-sh b/benchmarks/phoronix-test-suite/patches/patch-install-sh new file mode 100644 index 00000000000..68ab8b1bf2d --- /dev/null +++ b/benchmarks/phoronix-test-suite/patches/patch-install-sh @@ -0,0 +1,41 @@ +$NetBSD: patch-install-sh,v 1.1 2011/12/07 00:23:09 jym Exp $ +Handle pkgsrc hierarchy, especially paths to man pages. +Do not execute xdg-* during installation, let the shared-mime-info +and desktop-file-utils update their databases. +--- install-sh.orig 2011-05-17 18:00:59.000000000 +0000 ++++ install-sh +@@ -50,10 +50,9 @@ rm -rf $DESTDIR$INSTALL_PREFIX/share/doc + mkdir -p $DESTDIR$INSTALL_PREFIX/bin/ + mkdir -p $DESTDIR$INSTALL_PREFIX/share/applications/ + mkdir -p $DESTDIR$INSTALL_PREFIX/share/icons/hicolor/48x48/apps/ +-mkdir -p $DESTDIR$INSTALL_PREFIX/share/man/man1/ ++mkdir -p $DESTDIR$INSTALL_PREFIX/man/man1/ + mkdir -p $DESTDIR$INSTALL_PREFIX/share/phoronix-test-suite/ + mkdir -p $DESTDIR$INSTALL_PREFIX/share/doc/phoronix-test-suite/ +-mkdir -p $DESTDIR$INSTALL_PREFIX/../etc/bash_completion.d/ + + cp CHANGE-LOG $DESTDIR$INSTALL_PREFIX/share/doc/phoronix-test-suite/ + cp COPYING $DESTDIR$INSTALL_PREFIX/share/doc/phoronix-test-suite/ +@@ -64,8 +63,8 @@ cp -r * $DESTDIR$INSTALL_PREFIX/share/do + cd .. + rm -rf $DESTDIR$INSTALL_PREFIX/share/doc/phoronix-test-suite/man-pages/ + +-cp documentation/man-pages/*.1 $DESTDIR$INSTALL_PREFIX/share/man/man1/ +-cp pts-core/static/bash_completion $DESTDIR$INSTALL_PREFIX/../etc/bash_completion.d/phoronix-test-suite ++cp documentation/man-pages/*.1 $DESTDIR$INSTALL_PREFIX/man/man1/ ++cp pts-core/static/bash_completion $DESTDIR$INSTALL_PREFIX/share/bash-completion.d + cp pts-core/static/images/phoronix-test-suite.png $DESTDIR$INSTALL_PREFIX/share/icons/hicolor/48x48/apps/phoronix-test-suite.png + cp pts-core/static/images/openbenchmarking.png $DESTDIR$INSTALL_PREFIX/share/icons/hicolor/64x64/apps/openbenchmarking.png + cp pts-core/static/phoronix-test-suite.desktop $DESTDIR$INSTALL_PREFIX/share/applications/ +@@ -79,11 +78,6 @@ chmod +x $DESTDIR$INSTALL_PREFIX/bin/pho + + # sed 's:\$url = PTS_PATH . \"documentation\/index.html\";:\$url = \"'"$INSTALL_PREFIX"'\/share\/doc\/packages\/phoronix-test-suite\/index.html\";:g' pts-core/commands/gui_gtk.php > $DESTDIR$INSTALL_PREFIX/share/phoronix-test-suite/pts-core/commands/gui_gtk.php + +-# XDG MIME OpenBenchmarking support +-xdg-mime install pts-core/openbenchmarking.org/openbenchmarking-mime.xml +-xdg-mime default phoronix-test-suite.desktop application/x-openbenchmarking +-xdg-icon-resource install --context mimetypes --size 64 pts-core/static/images/openbenchmarking.png application-x-openbenchmarking +- + echo -e "\nPhoronix Test Suite Installation Completed\n + Executable File: $INSTALL_PREFIX/bin/phoronix-test-suite + Documentation: $INSTALL_PREFIX/share/doc/phoronix-test-suite/ -- cgit v1.2.3