Github messages for voidlinux
 help / color / mirror / Atom feed
* Re: [PR PATCH] [Updated] New package: gammaray-2.11.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23242@inbox.vuxu.org>
  2020-07-04  8:17 ` [PR PATCH] [Updated] New package: gammaray-2.11.1 toluschr
@ 2020-07-04  8:21 ` toluschr
  2020-07-07 10:17 ` toluschr
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: toluschr @ 2020-07-04  8:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 331 bytes --]

There is an updated pull request by toluschr against master on the void-packages repository

https://github.com/toluschr/void-packages new-gammaray
https://github.com/void-linux/void-packages/pull/23242

New package: gammaray-2.11.1
#22756

A patch file from https://github.com/void-linux/void-packages/pull/23242.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-gammaray-23242.patch --]
[-- Type: text/x-diff, Size: 5155 bytes --]

From 2ac3f3aa5fc3089ede9b2765153ba36de5634ad4 Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Wed, 10 Jun 2020 13:50:59 +0200
Subject: [PATCH] New package: GammaRay-2.11.1

---
 common/shlibs                                 |  2 ++
 srcpkgs/GammaRay-devel                        |  1 +
 srcpkgs/GammaRay/INSTALL.msg                  |  4 +++
 srcpkgs/GammaRay/patches/fix-probe-arch.patch | 18 ++++++++++
 srcpkgs/GammaRay/patches/fix-qt5.15.patch     | 22 ++++++++++++
 srcpkgs/GammaRay/template                     | 34 +++++++++++++++++++
 6 files changed, 81 insertions(+)
 create mode 120000 srcpkgs/GammaRay-devel
 create mode 100644 srcpkgs/GammaRay/INSTALL.msg
 create mode 100644 srcpkgs/GammaRay/patches/fix-probe-arch.patch
 create mode 100644 srcpkgs/GammaRay/patches/fix-qt5.15.patch
 create mode 100644 srcpkgs/GammaRay/template

diff --git a/common/shlibs b/common/shlibs
index 878ca5a5ac6..acdaa846d1b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -498,6 +498,8 @@ libfsimage.so.1.0 xen-libs-4.10.0_1
 libxenstat.so.0 xen-libs-4.10.0_1
 libfam.so.0 gamin-0.1.10_1
 libgamin-1.so.0 gamin-0.1.10_1
+libgammaray_core-qt5.so.2 GammaRay-2.11.1_1
+libgammaray_common-qt5.so.2 GammaRay-2.11.1_1
 libKF5SyntaxHighlighting.so.5 syntax-highlighting-5.29.0_1
 libKF5Libkleo.so.5 libkleo-17.12.3_1
 libKF5GrantleeTheme.so.5 grantleetheme-17.12.3_1
diff --git a/srcpkgs/GammaRay-devel b/srcpkgs/GammaRay-devel
new file mode 120000
index 00000000000..bd8ae5be493
--- /dev/null
+++ b/srcpkgs/GammaRay-devel
@@ -0,0 +1 @@
+GammaRay
\ No newline at end of file
diff --git a/srcpkgs/GammaRay/INSTALL.msg b/srcpkgs/GammaRay/INSTALL.msg
new file mode 100644
index 00000000000..276435eece8
--- /dev/null
+++ b/srcpkgs/GammaRay/INSTALL.msg
@@ -0,0 +1,4 @@
+The gdb and lldb injectors require kernel.yama.ptrace_scope to be set to 0.
+This might reduce system security, as it allows regular users to inject into a non-child process.
+
+# echo "kernel.yama.ptrace_scope=0" >> /etc/sysctl.conf
diff --git a/srcpkgs/GammaRay/patches/fix-probe-arch.patch b/srcpkgs/GammaRay/patches/fix-probe-arch.patch
new file mode 100644
index 00000000000..c5b83bcf5f2
--- /dev/null
+++ b/srcpkgs/GammaRay/patches/fix-probe-arch.patch
@@ -0,0 +1,18 @@
+diff --git cmake/GammaRayProbeABI.cmake cmake/GammaRayProbeABI.cmake
+index b359067..d478482 100644
+--- cmake/GammaRayProbeABI.cmake
++++ cmake/GammaRayProbeABI.cmake
+@@ -32,6 +32,8 @@
+ 
+ # This contains all properties that define ABI compatibility of a probe with a target
+ 
++set(GAMMARAY_PROBE_ABI "qt${Qt5Core_VERSION_MAJOR}")
++if(FALSE)
+ # Qt version
+ set(GAMMARAY_PROBE_ABI "qt${Qt5Core_VERSION_MAJOR}_${Qt5Core_VERSION_MINOR}")
+ 
+@@ -125,3 +127,4 @@ else()
+ endif()
+ 
+ message(STATUS "Building probe for ABI: ${GAMMARAY_PROBE_ABI} (${CMAKE_BUILD_TYPE})")
++endif()
diff --git a/srcpkgs/GammaRay/patches/fix-qt5.15.patch b/srcpkgs/GammaRay/patches/fix-qt5.15.patch
new file mode 100644
index 00000000000..4b0f74e9c61
--- /dev/null
+++ b/srcpkgs/GammaRay/patches/fix-qt5.15.patch
@@ -0,0 +1,22 @@
+--- plugins/network/networksupport.cpp
++++ plugins/network/networksupport.cpp
+@@ -89,7 +89,9 @@ Q_DECLARE_METATYPE(QNetworkInterface::InterfaceFlags)
+ #endif
+ Q_DECLARE_METATYPE(QNetworkProxy::Capabilities)
+ Q_DECLARE_METATYPE(QNetworkProxy::ProxyType)
++#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
+ Q_DECLARE_METATYPE(QSocketNotifier::Type)
++#endif
+ #ifndef QT_NO_SSL
+ Q_DECLARE_METATYPE(QSsl::KeyAlgorithm)
+ Q_DECLARE_METATYPE(QSsl::KeyType)
+--- plugins/widgetinspector/overlaywidget.h
++++ plugins/widgetinspector/overlaywidget.h
+@@ -30,6 +30,7 @@
+ #define GAMMARAY_WIDGETINSPECTOR_OVERLAYWIDGET_H
+ 
+ #include <QLayout>
++#include <QPainterPath>
+ #include <QPointer>
+ #include <QWidget>
+ 
diff --git a/srcpkgs/GammaRay/template b/srcpkgs/GammaRay/template
new file mode 100644
index 00000000000..f60dd8ec0dc
--- /dev/null
+++ b/srcpkgs/GammaRay/template
@@ -0,0 +1,34 @@
+# Template file for 'GammaRay'
+pkgname=GammaRay
+version=2.11.1
+revision=1
+wrksrc="gammaray-${version}"
+build_style=cmake
+configure_args="-DGAMMARAY_INSTALL_QT_LAYOUT=true -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules -DPLUGIN_INSTALL_DIR=/usr/lib/qt5/plugins/gammaray"
+hostmakedepends="qt5-host-tools qt5-devel"
+makedepends="qt5-devel"
+short_desc="Tool to poke around in a Qt-application"
+maintainer="toluschr <toluschr@protonmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/KDAB/GammaRay"
+distfiles="${homepage}/releases/download/v${version}/gammaray-${version}.tar.gz"
+checksum=87a1d72ad1ad6d1a0156c54a85b0976ab38c6a64136458ca7c4ee491566d25d0
+
+LDFLAGS=" -Wl,-no-fatal-warnings"
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e 's|plugins/gammaray|lib/qt5/plugins/gammaray|'
+}
+
+GammaRay-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/qt5/mkspecs
+		cd "${DESTDIR}"
+		# unversioned probes should go in main package
+		for f in usr/lib/*.so; do [ -L "${f}" ] && { vmove "${f}"; }; done
+	}
+}

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: New package: gammaray-2.11.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23242@inbox.vuxu.org>
  2020-07-04  8:17 ` [PR PATCH] [Updated] New package: gammaray-2.11.1 toluschr
  2020-07-04  8:21 ` toluschr
@ 2020-07-07 10:17 ` toluschr
  2020-07-07 23:13 ` [PR REVIEW] " sgn
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: toluschr @ 2020-07-07 10:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 176 bytes --]

New comment by toluschr on void-packages repository

https://github.com/void-linux/void-packages/pull/23242#issuecomment-654752841

Comment:
Any issues with the newest commit?

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR REVIEW] New package: gammaray-2.11.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23242@inbox.vuxu.org>
                   ` (2 preceding siblings ...)
  2020-07-07 10:17 ` toluschr
@ 2020-07-07 23:13 ` sgn
  2020-07-08  8:13 ` [PR PATCH] [Updated] " toluschr
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: sgn @ 2020-07-07 23:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 364 bytes --]

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/23242#discussion_r451194367

Comment:
Good suggestion.
But `configure` sometimes fails, too. Let's say in next version, they add new dependencies.

For that reason, I prefer to use `post_patch` instead.
It matches with the action: we're patching the code.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR PATCH] [Updated] New package: gammaray-2.11.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23242@inbox.vuxu.org>
                   ` (3 preceding siblings ...)
  2020-07-07 23:13 ` [PR REVIEW] " sgn
@ 2020-07-08  8:13 ` toluschr
  2020-07-09  8:44 ` [PR REVIEW] " mvf
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: toluschr @ 2020-07-08  8:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 331 bytes --]

There is an updated pull request by toluschr against master on the void-packages repository

https://github.com/toluschr/void-packages new-gammaray
https://github.com/void-linux/void-packages/pull/23242

New package: gammaray-2.11.1
#22756

A patch file from https://github.com/void-linux/void-packages/pull/23242.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-gammaray-23242.patch --]
[-- Type: text/x-diff, Size: 5152 bytes --]

From 6e075ca0b17569a0c8de3d11838dc7a2c298bd2d Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Wed, 10 Jun 2020 13:50:59 +0200
Subject: [PATCH] New package: GammaRay-2.11.1

---
 common/shlibs                                 |  2 ++
 srcpkgs/GammaRay-devel                        |  1 +
 srcpkgs/GammaRay/INSTALL.msg                  |  4 +++
 srcpkgs/GammaRay/patches/fix-probe-arch.patch | 18 ++++++++++
 srcpkgs/GammaRay/patches/fix-qt5.15.patch     | 22 ++++++++++++
 srcpkgs/GammaRay/template                     | 34 +++++++++++++++++++
 6 files changed, 81 insertions(+)
 create mode 120000 srcpkgs/GammaRay-devel
 create mode 100644 srcpkgs/GammaRay/INSTALL.msg
 create mode 100644 srcpkgs/GammaRay/patches/fix-probe-arch.patch
 create mode 100644 srcpkgs/GammaRay/patches/fix-qt5.15.patch
 create mode 100644 srcpkgs/GammaRay/template

diff --git a/common/shlibs b/common/shlibs
index 86ee9fcb734..4be14227ea2 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -498,6 +498,8 @@ libfsimage.so.1.0 xen-libs-4.10.0_1
 libxenstat.so.0 xen-libs-4.10.0_1
 libfam.so.0 gamin-0.1.10_1
 libgamin-1.so.0 gamin-0.1.10_1
+libgammaray_core-qt5.so.2 GammaRay-2.11.1_1
+libgammaray_common-qt5.so.2 GammaRay-2.11.1_1
 libKF5SyntaxHighlighting.so.5 syntax-highlighting-5.29.0_1
 libKF5Libkleo.so.5 libkleo-17.12.3_1
 libKF5GrantleeTheme.so.5 grantleetheme-17.12.3_1
diff --git a/srcpkgs/GammaRay-devel b/srcpkgs/GammaRay-devel
new file mode 120000
index 00000000000..bd8ae5be493
--- /dev/null
+++ b/srcpkgs/GammaRay-devel
@@ -0,0 +1 @@
+GammaRay
\ No newline at end of file
diff --git a/srcpkgs/GammaRay/INSTALL.msg b/srcpkgs/GammaRay/INSTALL.msg
new file mode 100644
index 00000000000..276435eece8
--- /dev/null
+++ b/srcpkgs/GammaRay/INSTALL.msg
@@ -0,0 +1,4 @@
+The gdb and lldb injectors require kernel.yama.ptrace_scope to be set to 0.
+This might reduce system security, as it allows regular users to inject into a non-child process.
+
+# echo "kernel.yama.ptrace_scope=0" >> /etc/sysctl.conf
diff --git a/srcpkgs/GammaRay/patches/fix-probe-arch.patch b/srcpkgs/GammaRay/patches/fix-probe-arch.patch
new file mode 100644
index 00000000000..c5b83bcf5f2
--- /dev/null
+++ b/srcpkgs/GammaRay/patches/fix-probe-arch.patch
@@ -0,0 +1,18 @@
+diff --git cmake/GammaRayProbeABI.cmake cmake/GammaRayProbeABI.cmake
+index b359067..d478482 100644
+--- cmake/GammaRayProbeABI.cmake
++++ cmake/GammaRayProbeABI.cmake
+@@ -32,6 +32,8 @@
+ 
+ # This contains all properties that define ABI compatibility of a probe with a target
+ 
++set(GAMMARAY_PROBE_ABI "qt${Qt5Core_VERSION_MAJOR}")
++if(FALSE)
+ # Qt version
+ set(GAMMARAY_PROBE_ABI "qt${Qt5Core_VERSION_MAJOR}_${Qt5Core_VERSION_MINOR}")
+ 
+@@ -125,3 +127,4 @@ else()
+ endif()
+ 
+ message(STATUS "Building probe for ABI: ${GAMMARAY_PROBE_ABI} (${CMAKE_BUILD_TYPE})")
++endif()
diff --git a/srcpkgs/GammaRay/patches/fix-qt5.15.patch b/srcpkgs/GammaRay/patches/fix-qt5.15.patch
new file mode 100644
index 00000000000..4b0f74e9c61
--- /dev/null
+++ b/srcpkgs/GammaRay/patches/fix-qt5.15.patch
@@ -0,0 +1,22 @@
+--- plugins/network/networksupport.cpp
++++ plugins/network/networksupport.cpp
+@@ -89,7 +89,9 @@ Q_DECLARE_METATYPE(QNetworkInterface::InterfaceFlags)
+ #endif
+ Q_DECLARE_METATYPE(QNetworkProxy::Capabilities)
+ Q_DECLARE_METATYPE(QNetworkProxy::ProxyType)
++#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
+ Q_DECLARE_METATYPE(QSocketNotifier::Type)
++#endif
+ #ifndef QT_NO_SSL
+ Q_DECLARE_METATYPE(QSsl::KeyAlgorithm)
+ Q_DECLARE_METATYPE(QSsl::KeyType)
+--- plugins/widgetinspector/overlaywidget.h
++++ plugins/widgetinspector/overlaywidget.h
+@@ -30,6 +30,7 @@
+ #define GAMMARAY_WIDGETINSPECTOR_OVERLAYWIDGET_H
+ 
+ #include <QLayout>
++#include <QPainterPath>
+ #include <QPointer>
+ #include <QWidget>
+ 
diff --git a/srcpkgs/GammaRay/template b/srcpkgs/GammaRay/template
new file mode 100644
index 00000000000..d17f73b7d97
--- /dev/null
+++ b/srcpkgs/GammaRay/template
@@ -0,0 +1,34 @@
+# Template file for 'GammaRay'
+pkgname=GammaRay
+version=2.11.1
+revision=1
+wrksrc="gammaray-${version}"
+build_style=cmake
+configure_args="-DGAMMARAY_INSTALL_QT_LAYOUT=true -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules -DPLUGIN_INSTALL_DIR=/usr/lib/qt5/plugins/gammaray"
+hostmakedepends="qt5-host-tools qt5-devel"
+makedepends="qt5-devel"
+short_desc="Tool to poke around in a Qt-application"
+maintainer="toluschr <toluschr@protonmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/KDAB/GammaRay"
+distfiles="${homepage}/releases/download/v${version}/gammaray-${version}.tar.gz"
+checksum=87a1d72ad1ad6d1a0156c54a85b0976ab38c6a64136458ca7c4ee491566d25d0
+
+LDFLAGS=" -Wl,-no-fatal-warnings"
+
+post_patch() {
+	vsed -i CMakeLists.txt -e 's|plugins/gammaray|lib/qt5/plugins/gammaray|'
+}
+
+GammaRay-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/qt5/mkspecs
+		cd "${DESTDIR}"
+		# unversioned probes should go in main package
+		for f in usr/lib/*.so; do [ -L "${f}" ] && { vmove "${f}"; }; done
+	}
+}

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR REVIEW] New package: gammaray-2.11.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23242@inbox.vuxu.org>
                   ` (4 preceding siblings ...)
  2020-07-08  8:13 ` [PR PATCH] [Updated] " toluschr
@ 2020-07-09  8:44 ` mvf
  2020-07-09  8:52 ` mvf
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: mvf @ 2020-07-09  8:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 177 bytes --]

New review comment by mvf on void-packages repository

https://github.com/void-linux/void-packages/pull/23242#discussion_r452060633

Comment:
Ah, of course, that's even better!

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR REVIEW] New package: gammaray-2.11.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23242@inbox.vuxu.org>
                   ` (5 preceding siblings ...)
  2020-07-09  8:44 ` [PR REVIEW] " mvf
@ 2020-07-09  8:52 ` mvf
  2020-07-09 13:39 ` sgn
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: mvf @ 2020-07-09  8:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 416 bytes --]

New review comment by mvf on void-packages repository

https://github.com/void-linux/void-packages/pull/23242#discussion_r452065314

Comment:
My preference as a user would be "least surprise". The executable is called `gammaray`, so the package should be called that too. The user doesn't know about repos, and the application name in the desktop file is a (possibly localized) title for presentation purposes only.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR REVIEW] New package: gammaray-2.11.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23242@inbox.vuxu.org>
                   ` (6 preceding siblings ...)
  2020-07-09  8:52 ` mvf
@ 2020-07-09 13:39 ` sgn
  2020-07-09 15:50 ` [PR PATCH] [Updated] " toluschr
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: sgn @ 2020-07-09 13:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 165 bytes --]

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/23242#discussion_r452224655

Comment:
I prefer `gammaray` :p

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR PATCH] [Updated] New package: gammaray-2.11.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23242@inbox.vuxu.org>
                   ` (7 preceding siblings ...)
  2020-07-09 13:39 ` sgn
@ 2020-07-09 15:50 ` toluschr
  2020-07-13 16:11 ` Johnnynator
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: toluschr @ 2020-07-09 15:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 331 bytes --]

There is an updated pull request by toluschr against master on the void-packages repository

https://github.com/toluschr/void-packages new-gammaray
https://github.com/void-linux/void-packages/pull/23242

New package: gammaray-2.11.1
#22756

A patch file from https://github.com/void-linux/void-packages/pull/23242.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-gammaray-23242.patch --]
[-- Type: text/x-diff, Size: 5123 bytes --]

From 31db75e1af7b3b099c66f8325da912ae59a7f534 Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Wed, 10 Jun 2020 13:50:59 +0200
Subject: [PATCH] New package: gammaray-2.11.1

---
 common/shlibs                                 |  2 ++
 srcpkgs/gammaray-devel                        |  1 +
 srcpkgs/gammaray/INSTALL.msg                  |  4 +++
 srcpkgs/gammaray/patches/fix-probe-arch.patch | 18 ++++++++++
 srcpkgs/gammaray/patches/fix-qt5.15.patch     | 22 +++++++++++++
 srcpkgs/gammaray/template                     | 33 +++++++++++++++++++
 6 files changed, 80 insertions(+)
 create mode 120000 srcpkgs/gammaray-devel
 create mode 100644 srcpkgs/gammaray/INSTALL.msg
 create mode 100644 srcpkgs/gammaray/patches/fix-probe-arch.patch
 create mode 100644 srcpkgs/gammaray/patches/fix-qt5.15.patch
 create mode 100644 srcpkgs/gammaray/template

diff --git a/common/shlibs b/common/shlibs
index 86ee9fcb734..fba3dc09674 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -498,6 +498,8 @@ libfsimage.so.1.0 xen-libs-4.10.0_1
 libxenstat.so.0 xen-libs-4.10.0_1
 libfam.so.0 gamin-0.1.10_1
 libgamin-1.so.0 gamin-0.1.10_1
+libgammaray_core-qt5.so.2 gammaray-2.11.1_1
+libgammaray_common-qt5.so.2 gammaray-2.11.1_1
 libKF5SyntaxHighlighting.so.5 syntax-highlighting-5.29.0_1
 libKF5Libkleo.so.5 libkleo-17.12.3_1
 libKF5GrantleeTheme.so.5 grantleetheme-17.12.3_1
diff --git a/srcpkgs/gammaray-devel b/srcpkgs/gammaray-devel
new file mode 120000
index 00000000000..ad95ecc9604
--- /dev/null
+++ b/srcpkgs/gammaray-devel
@@ -0,0 +1 @@
+gammaray
\ No newline at end of file
diff --git a/srcpkgs/gammaray/INSTALL.msg b/srcpkgs/gammaray/INSTALL.msg
new file mode 100644
index 00000000000..276435eece8
--- /dev/null
+++ b/srcpkgs/gammaray/INSTALL.msg
@@ -0,0 +1,4 @@
+The gdb and lldb injectors require kernel.yama.ptrace_scope to be set to 0.
+This might reduce system security, as it allows regular users to inject into a non-child process.
+
+# echo "kernel.yama.ptrace_scope=0" >> /etc/sysctl.conf
diff --git a/srcpkgs/gammaray/patches/fix-probe-arch.patch b/srcpkgs/gammaray/patches/fix-probe-arch.patch
new file mode 100644
index 00000000000..c5b83bcf5f2
--- /dev/null
+++ b/srcpkgs/gammaray/patches/fix-probe-arch.patch
@@ -0,0 +1,18 @@
+diff --git cmake/GammaRayProbeABI.cmake cmake/GammaRayProbeABI.cmake
+index b359067..d478482 100644
+--- cmake/GammaRayProbeABI.cmake
++++ cmake/GammaRayProbeABI.cmake
+@@ -32,6 +32,8 @@
+ 
+ # This contains all properties that define ABI compatibility of a probe with a target
+ 
++set(GAMMARAY_PROBE_ABI "qt${Qt5Core_VERSION_MAJOR}")
++if(FALSE)
+ # Qt version
+ set(GAMMARAY_PROBE_ABI "qt${Qt5Core_VERSION_MAJOR}_${Qt5Core_VERSION_MINOR}")
+ 
+@@ -125,3 +127,4 @@ else()
+ endif()
+ 
+ message(STATUS "Building probe for ABI: ${GAMMARAY_PROBE_ABI} (${CMAKE_BUILD_TYPE})")
++endif()
diff --git a/srcpkgs/gammaray/patches/fix-qt5.15.patch b/srcpkgs/gammaray/patches/fix-qt5.15.patch
new file mode 100644
index 00000000000..4b0f74e9c61
--- /dev/null
+++ b/srcpkgs/gammaray/patches/fix-qt5.15.patch
@@ -0,0 +1,22 @@
+--- plugins/network/networksupport.cpp
++++ plugins/network/networksupport.cpp
+@@ -89,7 +89,9 @@ Q_DECLARE_METATYPE(QNetworkInterface::InterfaceFlags)
+ #endif
+ Q_DECLARE_METATYPE(QNetworkProxy::Capabilities)
+ Q_DECLARE_METATYPE(QNetworkProxy::ProxyType)
++#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
+ Q_DECLARE_METATYPE(QSocketNotifier::Type)
++#endif
+ #ifndef QT_NO_SSL
+ Q_DECLARE_METATYPE(QSsl::KeyAlgorithm)
+ Q_DECLARE_METATYPE(QSsl::KeyType)
+--- plugins/widgetinspector/overlaywidget.h
++++ plugins/widgetinspector/overlaywidget.h
+@@ -30,6 +30,7 @@
+ #define GAMMARAY_WIDGETINSPECTOR_OVERLAYWIDGET_H
+ 
+ #include <QLayout>
++#include <QPainterPath>
+ #include <QPointer>
+ #include <QWidget>
+ 
diff --git a/srcpkgs/gammaray/template b/srcpkgs/gammaray/template
new file mode 100644
index 00000000000..1d3458bce07
--- /dev/null
+++ b/srcpkgs/gammaray/template
@@ -0,0 +1,33 @@
+# Template file for 'gammaray'
+pkgname=gammaray
+version=2.11.1
+revision=1
+build_style=cmake
+configure_args="-DGAMMARAY_INSTALL_QT_LAYOUT=true -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules -DPLUGIN_INSTALL_DIR=/usr/lib/qt5/plugins/gammaray"
+hostmakedepends="qt5-host-tools qt5-devel"
+makedepends="qt5-devel"
+short_desc="Tool to poke around in a Qt-application"
+maintainer="toluschr <toluschr@protonmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/KDAB/GammaRay"
+distfiles="${homepage}/releases/download/v${version}/gammaray-${version}.tar.gz"
+checksum=87a1d72ad1ad6d1a0156c54a85b0976ab38c6a64136458ca7c4ee491566d25d0
+
+LDFLAGS=" -Wl,-no-fatal-warnings"
+
+post_patch() {
+	vsed -i CMakeLists.txt -e 's|plugins/gammaray|lib/qt5/plugins/gammaray|'
+}
+
+gammaray-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/qt5/mkspecs
+		cd "${DESTDIR}"
+		# unversioned probes should go in main package
+		for f in usr/lib/*.so; do [ -L "${f}" ] && { vmove "${f}"; }; done
+	}
+}

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: New package: gammaray-2.11.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23242@inbox.vuxu.org>
                   ` (8 preceding siblings ...)
  2020-07-09 15:50 ` [PR PATCH] [Updated] " toluschr
@ 2020-07-13 16:11 ` Johnnynator
  2020-07-13 16:12 ` Johnnynator
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: Johnnynator @ 2020-07-13 16:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 267 bytes --]

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/pull/23242#issuecomment-657651750

Comment:
```
Error: No probes found - GammaRay not functional.
```
Just wanted to test this, and it doesn't seem to work at all.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: New package: gammaray-2.11.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23242@inbox.vuxu.org>
                   ` (9 preceding siblings ...)
  2020-07-13 16:11 ` Johnnynator
@ 2020-07-13 16:12 ` Johnnynator
  2020-07-13 16:18 ` toluschr
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: Johnnynator @ 2020-07-13 16:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 315 bytes --]

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/pull/23242#issuecomment-657651750

Comment:
```
Error: No probes found - GammaRay not functional.
```
Just wanted to test this, and it doesn't seem to work at all.
(Running gammaray --self-test on x86_64 glibc)

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: New package: gammaray-2.11.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23242@inbox.vuxu.org>
                   ` (10 preceding siblings ...)
  2020-07-13 16:12 ` Johnnynator
@ 2020-07-13 16:18 ` toluschr
  2020-07-13 16:19 ` toluschr
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: toluschr @ 2020-07-13 16:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 464 bytes --]

New comment by toluschr on void-packages repository

https://github.com/void-linux/void-packages/pull/23242#issuecomment-657655439

Comment:
> ```
> Error: No probes found - GammaRay not functional.
> ```
> 
> Just wanted to test this, and it doesn't seem to work at all.
> (Running gammaray --self-test on x86_64 glibc)

It seems that gammaray tried to the wrong probe library. The patch that removes the `_15-x86_64` suffix from shared libraries broke it

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: New package: gammaray-2.11.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23242@inbox.vuxu.org>
                   ` (11 preceding siblings ...)
  2020-07-13 16:18 ` toluschr
@ 2020-07-13 16:19 ` toluschr
  2020-07-14  8:05 ` [PR PATCH] [Updated] " toluschr
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: toluschr @ 2020-07-13 16:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 469 bytes --]

New comment by toluschr on void-packages repository

https://github.com/void-linux/void-packages/pull/23242#issuecomment-657655439

Comment:
> ```
> Error: No probes found - GammaRay not functional.
> ```
> 
> Just wanted to test this, and it doesn't seem to work at all.
> (Running gammaray --self-test on x86_64 glibc)

It seems that gammaray tries to load the wrong probe library. The patch that removes the `_15-x86_64` suffix from shared libraries broke it

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR PATCH] [Updated] New package: gammaray-2.11.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23242@inbox.vuxu.org>
                   ` (12 preceding siblings ...)
  2020-07-13 16:19 ` toluschr
@ 2020-07-14  8:05 ` toluschr
  2020-07-14  8:07 ` toluschr
  2020-07-14  9:05 ` [PR PATCH] [Merged]: " Johnnynator
  15 siblings, 0 replies; 16+ messages in thread
From: toluschr @ 2020-07-14  8:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 331 bytes --]

There is an updated pull request by toluschr against master on the void-packages repository

https://github.com/toluschr/void-packages new-gammaray
https://github.com/void-linux/void-packages/pull/23242

New package: gammaray-2.11.1
#22756

A patch file from https://github.com/void-linux/void-packages/pull/23242.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-gammaray-23242.patch --]
[-- Type: text/x-diff, Size: 3589 bytes --]

From e2f53738b3502477d97b3eb4ebed1a0a7cfb7e57 Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Wed, 10 Jun 2020 13:50:59 +0200
Subject: [PATCH] New package: gammaray-2.11.1

---
 srcpkgs/gammaray-devel                    |  1 +
 srcpkgs/gammaray/INSTALL.msg              |  4 +++
 srcpkgs/gammaray/patches/fix-qt5.15.patch | 22 +++++++++++++++
 srcpkgs/gammaray/template                 | 33 +++++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 120000 srcpkgs/gammaray-devel
 create mode 100644 srcpkgs/gammaray/INSTALL.msg
 create mode 100644 srcpkgs/gammaray/patches/fix-qt5.15.patch
 create mode 100644 srcpkgs/gammaray/template

diff --git a/srcpkgs/gammaray-devel b/srcpkgs/gammaray-devel
new file mode 120000
index 00000000000..ad95ecc9604
--- /dev/null
+++ b/srcpkgs/gammaray-devel
@@ -0,0 +1 @@
+gammaray
\ No newline at end of file
diff --git a/srcpkgs/gammaray/INSTALL.msg b/srcpkgs/gammaray/INSTALL.msg
new file mode 100644
index 00000000000..276435eece8
--- /dev/null
+++ b/srcpkgs/gammaray/INSTALL.msg
@@ -0,0 +1,4 @@
+The gdb and lldb injectors require kernel.yama.ptrace_scope to be set to 0.
+This might reduce system security, as it allows regular users to inject into a non-child process.
+
+# echo "kernel.yama.ptrace_scope=0" >> /etc/sysctl.conf
diff --git a/srcpkgs/gammaray/patches/fix-qt5.15.patch b/srcpkgs/gammaray/patches/fix-qt5.15.patch
new file mode 100644
index 00000000000..4b0f74e9c61
--- /dev/null
+++ b/srcpkgs/gammaray/patches/fix-qt5.15.patch
@@ -0,0 +1,22 @@
+--- plugins/network/networksupport.cpp
++++ plugins/network/networksupport.cpp
+@@ -89,7 +89,9 @@ Q_DECLARE_METATYPE(QNetworkInterface::InterfaceFlags)
+ #endif
+ Q_DECLARE_METATYPE(QNetworkProxy::Capabilities)
+ Q_DECLARE_METATYPE(QNetworkProxy::ProxyType)
++#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
+ Q_DECLARE_METATYPE(QSocketNotifier::Type)
++#endif
+ #ifndef QT_NO_SSL
+ Q_DECLARE_METATYPE(QSsl::KeyAlgorithm)
+ Q_DECLARE_METATYPE(QSsl::KeyType)
+--- plugins/widgetinspector/overlaywidget.h
++++ plugins/widgetinspector/overlaywidget.h
+@@ -30,6 +30,7 @@
+ #define GAMMARAY_WIDGETINSPECTOR_OVERLAYWIDGET_H
+ 
+ #include <QLayout>
++#include <QPainterPath>
+ #include <QPointer>
+ #include <QWidget>
+ 
diff --git a/srcpkgs/gammaray/template b/srcpkgs/gammaray/template
new file mode 100644
index 00000000000..1d3458bce07
--- /dev/null
+++ b/srcpkgs/gammaray/template
@@ -0,0 +1,33 @@
+# Template file for 'gammaray'
+pkgname=gammaray
+version=2.11.1
+revision=1
+build_style=cmake
+configure_args="-DGAMMARAY_INSTALL_QT_LAYOUT=true -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules -DPLUGIN_INSTALL_DIR=/usr/lib/qt5/plugins/gammaray"
+hostmakedepends="qt5-host-tools qt5-devel"
+makedepends="qt5-devel"
+short_desc="Tool to poke around in a Qt-application"
+maintainer="toluschr <toluschr@protonmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/KDAB/GammaRay"
+distfiles="${homepage}/releases/download/v${version}/gammaray-${version}.tar.gz"
+checksum=87a1d72ad1ad6d1a0156c54a85b0976ab38c6a64136458ca7c4ee491566d25d0
+
+LDFLAGS=" -Wl,-no-fatal-warnings"
+
+post_patch() {
+	vsed -i CMakeLists.txt -e 's|plugins/gammaray|lib/qt5/plugins/gammaray|'
+}
+
+gammaray-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/qt5/mkspecs
+		cd "${DESTDIR}"
+		# unversioned probes should go in main package
+		for f in usr/lib/*.so; do [ -L "${f}" ] && { vmove "${f}"; }; done
+	}
+}

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: New package: gammaray-2.11.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23242@inbox.vuxu.org>
                   ` (13 preceding siblings ...)
  2020-07-14  8:05 ` [PR PATCH] [Updated] " toluschr
@ 2020-07-14  8:07 ` toluschr
  2020-07-14  9:05 ` [PR PATCH] [Merged]: " Johnnynator
  15 siblings, 0 replies; 16+ messages in thread
From: toluschr @ 2020-07-14  8:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 821 bytes --]

New comment by toluschr on void-packages repository

https://github.com/void-linux/void-packages/pull/23242#issuecomment-658036563

Comment:
@Johnnynator 
Should work now. The patch to remove the arch from the shlibs was not necessary anymore, since the libraries were in `common/shlibs` by mistake.
```
$ gammaray --self-test
Found valid probe for ABI qt5_15-x86_64 at /usr/lib/libgammaray_probe-qt5_15-x86_64.so.
Injector preload successfully passed its self-test.
Error: Injector gdb failed to pass its self-test: Yama security extension is blocking runtime attaching, see /proc/sys/kernel/yama/ptrace_scope.
Error: Injector lldb failed to pass its self-test: Yama security extension is blocking runtime attaching, see /proc/sys/kernel/yama/ptrace_scope.
Injector style successfully passed its self-test.
```

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR PATCH] [Merged]: New package: gammaray-2.11.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23242@inbox.vuxu.org>
                   ` (14 preceding siblings ...)
  2020-07-14  8:07 ` toluschr
@ 2020-07-14  9:05 ` Johnnynator
  15 siblings, 0 replies; 16+ messages in thread
From: Johnnynator @ 2020-07-14  9:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 168 bytes --]

There's a merged pull request on the void-packages repository

New package: gammaray-2.11.1
https://github.com/void-linux/void-packages/pull/23242

Description:
#22756

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PR PATCH] [Updated] New package: gammaray-2.11.1
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23242@inbox.vuxu.org>
@ 2020-07-04  8:17 ` toluschr
  2020-07-04  8:21 ` toluschr
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 16+ messages in thread
From: toluschr @ 2020-07-04  8:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 331 bytes --]

There is an updated pull request by toluschr against master on the void-packages repository

https://github.com/toluschr/void-packages new-gammaray
https://github.com/void-linux/void-packages/pull/23242

New package: gammaray-2.11.1
#22756

A patch file from https://github.com/void-linux/void-packages/pull/23242.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-gammaray-23242.patch --]
[-- Type: text/x-diff, Size: 5126 bytes --]

From f90c844880636099b48ecd320a9f02ad67cee8a8 Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Wed, 10 Jun 2020 13:50:59 +0200
Subject: [PATCH] New package: gammaray-2.11.1

---
 common/shlibs                                 |  2 ++
 srcpkgs/gammaray-devel                        |  1 +
 srcpkgs/gammaray/INSTALL.msg                  |  4 +++
 srcpkgs/gammaray/patches/fix-probe-arch.patch | 18 ++++++++++
 srcpkgs/gammaray/patches/fix-qt5.15.patch     | 22 +++++++++++++
 srcpkgs/gammaray/template                     | 33 +++++++++++++++++++
 6 files changed, 80 insertions(+)
 create mode 120000 srcpkgs/gammaray-devel
 create mode 100644 srcpkgs/gammaray/INSTALL.msg
 create mode 100644 srcpkgs/gammaray/patches/fix-probe-arch.patch
 create mode 100644 srcpkgs/gammaray/patches/fix-qt5.15.patch
 create mode 100644 srcpkgs/gammaray/template

diff --git a/common/shlibs b/common/shlibs
index 878ca5a5ac6..0e8243c94ad 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -498,6 +498,8 @@ libfsimage.so.1.0 xen-libs-4.10.0_1
 libxenstat.so.0 xen-libs-4.10.0_1
 libfam.so.0 gamin-0.1.10_1
 libgamin-1.so.0 gamin-0.1.10_1
+libgammaray_core-qt5.so.2 gammaray-2.11.1_1
+libgammaray_common-qt5.so.2 gammaray-2.11.1_1
 libKF5SyntaxHighlighting.so.5 syntax-highlighting-5.29.0_1
 libKF5Libkleo.so.5 libkleo-17.12.3_1
 libKF5GrantleeTheme.so.5 grantleetheme-17.12.3_1
diff --git a/srcpkgs/gammaray-devel b/srcpkgs/gammaray-devel
new file mode 120000
index 00000000000..ad95ecc9604
--- /dev/null
+++ b/srcpkgs/gammaray-devel
@@ -0,0 +1 @@
+gammaray
\ No newline at end of file
diff --git a/srcpkgs/gammaray/INSTALL.msg b/srcpkgs/gammaray/INSTALL.msg
new file mode 100644
index 00000000000..276435eece8
--- /dev/null
+++ b/srcpkgs/gammaray/INSTALL.msg
@@ -0,0 +1,4 @@
+The gdb and lldb injectors require kernel.yama.ptrace_scope to be set to 0.
+This might reduce system security, as it allows regular users to inject into a non-child process.
+
+# echo "kernel.yama.ptrace_scope=0" >> /etc/sysctl.conf
diff --git a/srcpkgs/gammaray/patches/fix-probe-arch.patch b/srcpkgs/gammaray/patches/fix-probe-arch.patch
new file mode 100644
index 00000000000..c5b83bcf5f2
--- /dev/null
+++ b/srcpkgs/gammaray/patches/fix-probe-arch.patch
@@ -0,0 +1,18 @@
+diff --git cmake/GammaRayProbeABI.cmake cmake/GammaRayProbeABI.cmake
+index b359067..d478482 100644
+--- cmake/GammaRayProbeABI.cmake
++++ cmake/GammaRayProbeABI.cmake
+@@ -32,6 +32,8 @@
+ 
+ # This contains all properties that define ABI compatibility of a probe with a target
+ 
++set(GAMMARAY_PROBE_ABI "qt${Qt5Core_VERSION_MAJOR}")
++if(FALSE)
+ # Qt version
+ set(GAMMARAY_PROBE_ABI "qt${Qt5Core_VERSION_MAJOR}_${Qt5Core_VERSION_MINOR}")
+ 
+@@ -125,3 +127,4 @@ else()
+ endif()
+ 
+ message(STATUS "Building probe for ABI: ${GAMMARAY_PROBE_ABI} (${CMAKE_BUILD_TYPE})")
++endif()
diff --git a/srcpkgs/gammaray/patches/fix-qt5.15.patch b/srcpkgs/gammaray/patches/fix-qt5.15.patch
new file mode 100644
index 00000000000..4b0f74e9c61
--- /dev/null
+++ b/srcpkgs/gammaray/patches/fix-qt5.15.patch
@@ -0,0 +1,22 @@
+--- plugins/network/networksupport.cpp
++++ plugins/network/networksupport.cpp
+@@ -89,7 +89,9 @@ Q_DECLARE_METATYPE(QNetworkInterface::InterfaceFlags)
+ #endif
+ Q_DECLARE_METATYPE(QNetworkProxy::Capabilities)
+ Q_DECLARE_METATYPE(QNetworkProxy::ProxyType)
++#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
+ Q_DECLARE_METATYPE(QSocketNotifier::Type)
++#endif
+ #ifndef QT_NO_SSL
+ Q_DECLARE_METATYPE(QSsl::KeyAlgorithm)
+ Q_DECLARE_METATYPE(QSsl::KeyType)
+--- plugins/widgetinspector/overlaywidget.h
++++ plugins/widgetinspector/overlaywidget.h
+@@ -30,6 +30,7 @@
+ #define GAMMARAY_WIDGETINSPECTOR_OVERLAYWIDGET_H
+ 
+ #include <QLayout>
++#include <QPainterPath>
+ #include <QPointer>
+ #include <QWidget>
+ 
diff --git a/srcpkgs/gammaray/template b/srcpkgs/gammaray/template
new file mode 100644
index 00000000000..1244580c3dc
--- /dev/null
+++ b/srcpkgs/gammaray/template
@@ -0,0 +1,33 @@
+# Template file for 'gammaray'
+pkgname=gammaray
+version=2.11.1
+revision=1
+build_style=cmake
+configure_args="-DGAMMARAY_INSTALL_QT_LAYOUT=true -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules -DPLUGIN_INSTALL_DIR=/usr/lib/qt5/plugins/gammaray"
+hostmakedepends="qt5-host-tools qt5-devel"
+makedepends="qt5-devel"
+short_desc="Tool to poke around in a Qt-application"
+maintainer="toluschr <toluschr@protonmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/KDAB/GammaRay"
+distfiles="${homepage}/releases/download/v${version}/gammaray-${version}.tar.gz"
+checksum=87a1d72ad1ad6d1a0156c54a85b0976ab38c6a64136458ca7c4ee491566d25d0
+
+LDFLAGS=" -Wl,-no-fatal-warnings"
+
+pre_configure() {
+	vsed -i CMakeLists.txt -e 's|plugins/gammaray|lib/qt5/plugins/gammaray|'
+}
+
+gammaray-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/qt5/mkspecs
+		cd "${DESTDIR}"
+		# unversioned probes should go in main package
+		for f in usr/lib/*.so; do [ -L "${f}" ] && { vmove "${f}"; }; done
+	}
+}

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-07-14  9:05 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23242@inbox.vuxu.org>
2020-07-04  8:17 ` [PR PATCH] [Updated] New package: gammaray-2.11.1 toluschr
2020-07-04  8:21 ` toluschr
2020-07-07 10:17 ` toluschr
2020-07-07 23:13 ` [PR REVIEW] " sgn
2020-07-08  8:13 ` [PR PATCH] [Updated] " toluschr
2020-07-09  8:44 ` [PR REVIEW] " mvf
2020-07-09  8:52 ` mvf
2020-07-09 13:39 ` sgn
2020-07-09 15:50 ` [PR PATCH] [Updated] " toluschr
2020-07-13 16:11 ` Johnnynator
2020-07-13 16:12 ` Johnnynator
2020-07-13 16:18 ` toluschr
2020-07-13 16:19 ` toluschr
2020-07-14  8:05 ` [PR PATCH] [Updated] " toluschr
2020-07-14  8:07 ` toluschr
2020-07-14  9:05 ` [PR PATCH] [Merged]: " Johnnynator

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).