[arch-commits] Commit in qcachegrind/repos (8 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sun Dec 6 23:36:23 UTC 2015
Date: Monday, December 7, 2015 @ 00:36:22
Author: bpiotrowski
Revision: 149368
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
qcachegrind/repos/community-staging-i686/
qcachegrind/repos/community-staging-i686/PKGBUILD
(from rev 149367, qcachegrind/trunk/PKGBUILD)
qcachegrind/repos/community-staging-i686/qcachegrind.install
(from rev 149367, qcachegrind/trunk/qcachegrind.install)
qcachegrind/repos/community-staging-i686/qt-5.5.patch
(from rev 149367, qcachegrind/trunk/qt-5.5.patch)
qcachegrind/repos/community-staging-x86_64/
qcachegrind/repos/community-staging-x86_64/PKGBUILD
(from rev 149367, qcachegrind/trunk/PKGBUILD)
qcachegrind/repos/community-staging-x86_64/qcachegrind.install
(from rev 149367, qcachegrind/trunk/qcachegrind.install)
qcachegrind/repos/community-staging-x86_64/qt-5.5.patch
(from rev 149367, qcachegrind/trunk/qt-5.5.patch)
----------------------------------------------+
community-staging-i686/PKGBUILD | 51 +++++++++++++++++++++++++
community-staging-i686/qcachegrind.install | 12 +++++
community-staging-i686/qt-5.5.patch | 22 ++++++++++
community-staging-x86_64/PKGBUILD | 51 +++++++++++++++++++++++++
community-staging-x86_64/qcachegrind.install | 12 +++++
community-staging-x86_64/qt-5.5.patch | 22 ++++++++++
6 files changed, 170 insertions(+)
Copied: qcachegrind/repos/community-staging-i686/PKGBUILD (from rev 149367, qcachegrind/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-06 23:36:22 UTC (rev 149368)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Ivan Sichmann Freitas <ivansichfreitas at gmail.com>
+
+pkgname=qcachegrind
+_pkgname=kcachegrind
+pkgver=0.7.4
+pkgrel=5
+pkgdesc='Visualization of Performance Profiling Data'
+arch=('i686' 'x86_64')
+url='http://kcachegrind.sourceforge.net'
+license=('GPL2')
+depends=('qt5-base' 'desktop-file-utils' 'hicolor-icon-theme' 'libxkbcommon-x11')
+optdepends=('graphviz: For drawing call graphs'
+ 'php: pprof2calltree'
+ 'python2: hotshot2calltree')
+conflicts=('kdesdk-kcachegrind')
+source=(http://kcachegrind.sourceforge.net/$_pkgname-$pkgver.tar.gz qt-5.5.patch)
+md5sums=('a0be465c0f4acfa08bedafb3963a3193'
+ '8e6873dec097dfee6e960845d9decf5b')
+install=$pkgname.install
+
+prepare() {
+ # Fix build with Qt 5.5
+ cd $_pkgname-$pkgver
+ patch -p1 -i ../qt-5.5.patch
+}
+
+build() {
+ cd $_pkgname-$pkgver
+ qmake-qt5
+ make
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ install -Dm755 cgview/cgview "$pkgdir/usr/bin/cgview"
+ install -Dm755 qcachegrind/qcachegrind "$pkgdir/usr/bin/qcachegrind"
+ install -Dm755 converters/{dprof,hotshot,memprof,op,pprof}2calltree \
+ "$pkgdir/usr/bin/"
+ install -Dm644 qcachegrind/qcachegrind.desktop \
+ "$pkgdir/usr/share/applications/qcachegrind.desktop"
+ install -Dm644 kcachegrind/hi32-app-kcachegrind.png \
+ "$pkgdir/usr/share/icons/hicolor/32x32/apps/kcachegrind.png"
+ install -Dm644 kcachegrind/hi48-app-kcachegrind.png \
+ "$pkgdir/usr/share/icons/hicolor/48x48/apps/kcachegrind.png"
+
+ # Fix python 2 path
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+ "${pkgdir}"/usr/bin/hotshot2calltree
+}
Copied: qcachegrind/repos/community-staging-i686/qcachegrind.install (from rev 149367, qcachegrind/trunk/qcachegrind.install)
===================================================================
--- community-staging-i686/qcachegrind.install (rev 0)
+++ community-staging-i686/qcachegrind.install 2015-12-06 23:36:22 UTC (rev 149368)
@@ -0,0 +1,12 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: qcachegrind/repos/community-staging-i686/qt-5.5.patch (from rev 149367, qcachegrind/trunk/qt-5.5.patch)
===================================================================
--- community-staging-i686/qt-5.5.patch (rev 0)
+++ community-staging-i686/qt-5.5.patch 2015-12-06 23:36:22 UTC (rev 149368)
@@ -0,0 +1,22 @@
+From: Josef Weidendorfer <Josef.Weidendorfer at gmx.de>
+Date: Fri, 18 Sep 2015 18:41:43 +0000
+Subject: Compile fix for Qt 5.5
+X-Git-Tag: v15.11.80
+X-Git-Url: http://quickgit.kde.org/?p=kcachegrind.git&a=commitdiff&h=69223f24d7c864310b45cd184cb04956b7214b7f
+---
+Compile fix for Qt 5.5
+---
+
+
+--- a/libcore/costitem.cpp
++++ b/libcore/costitem.cpp
+@@ -17,6 +17,8 @@
+ */
+
+ #include "costitem.h"
++
++#include <QObject>
+
+ #include "tracedata.h"
+
+
Copied: qcachegrind/repos/community-staging-x86_64/PKGBUILD (from rev 149367, qcachegrind/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-06 23:36:22 UTC (rev 149368)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Ivan Sichmann Freitas <ivansichfreitas at gmail.com>
+
+pkgname=qcachegrind
+_pkgname=kcachegrind
+pkgver=0.7.4
+pkgrel=5
+pkgdesc='Visualization of Performance Profiling Data'
+arch=('i686' 'x86_64')
+url='http://kcachegrind.sourceforge.net'
+license=('GPL2')
+depends=('qt5-base' 'desktop-file-utils' 'hicolor-icon-theme' 'libxkbcommon-x11')
+optdepends=('graphviz: For drawing call graphs'
+ 'php: pprof2calltree'
+ 'python2: hotshot2calltree')
+conflicts=('kdesdk-kcachegrind')
+source=(http://kcachegrind.sourceforge.net/$_pkgname-$pkgver.tar.gz qt-5.5.patch)
+md5sums=('a0be465c0f4acfa08bedafb3963a3193'
+ '8e6873dec097dfee6e960845d9decf5b')
+install=$pkgname.install
+
+prepare() {
+ # Fix build with Qt 5.5
+ cd $_pkgname-$pkgver
+ patch -p1 -i ../qt-5.5.patch
+}
+
+build() {
+ cd $_pkgname-$pkgver
+ qmake-qt5
+ make
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ install -Dm755 cgview/cgview "$pkgdir/usr/bin/cgview"
+ install -Dm755 qcachegrind/qcachegrind "$pkgdir/usr/bin/qcachegrind"
+ install -Dm755 converters/{dprof,hotshot,memprof,op,pprof}2calltree \
+ "$pkgdir/usr/bin/"
+ install -Dm644 qcachegrind/qcachegrind.desktop \
+ "$pkgdir/usr/share/applications/qcachegrind.desktop"
+ install -Dm644 kcachegrind/hi32-app-kcachegrind.png \
+ "$pkgdir/usr/share/icons/hicolor/32x32/apps/kcachegrind.png"
+ install -Dm644 kcachegrind/hi48-app-kcachegrind.png \
+ "$pkgdir/usr/share/icons/hicolor/48x48/apps/kcachegrind.png"
+
+ # Fix python 2 path
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+ "${pkgdir}"/usr/bin/hotshot2calltree
+}
Copied: qcachegrind/repos/community-staging-x86_64/qcachegrind.install (from rev 149367, qcachegrind/trunk/qcachegrind.install)
===================================================================
--- community-staging-x86_64/qcachegrind.install (rev 0)
+++ community-staging-x86_64/qcachegrind.install 2015-12-06 23:36:22 UTC (rev 149368)
@@ -0,0 +1,12 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: qcachegrind/repos/community-staging-x86_64/qt-5.5.patch (from rev 149367, qcachegrind/trunk/qt-5.5.patch)
===================================================================
--- community-staging-x86_64/qt-5.5.patch (rev 0)
+++ community-staging-x86_64/qt-5.5.patch 2015-12-06 23:36:22 UTC (rev 149368)
@@ -0,0 +1,22 @@
+From: Josef Weidendorfer <Josef.Weidendorfer at gmx.de>
+Date: Fri, 18 Sep 2015 18:41:43 +0000
+Subject: Compile fix for Qt 5.5
+X-Git-Tag: v15.11.80
+X-Git-Url: http://quickgit.kde.org/?p=kcachegrind.git&a=commitdiff&h=69223f24d7c864310b45cd184cb04956b7214b7f
+---
+Compile fix for Qt 5.5
+---
+
+
+--- a/libcore/costitem.cpp
++++ b/libcore/costitem.cpp
+@@ -17,6 +17,8 @@
+ */
+
+ #include "costitem.h"
++
++#include <QObject>
+
+ #include "tracedata.h"
+
+
More information about the arch-commits
mailing list