From: toluschr <toluschr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: gammaray-2.11.1
Date: Tue, 14 Jul 2020 10:05:34 +0200 [thread overview]
Message-ID: <20200714080534.3HEYkAw9yBfr4Y6DRgXHF8SS7qA8iViKf7E9y3_qEus@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23242@inbox.vuxu.org>
[-- 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
+ }
+}
next prev parent reply other threads:[~2020-07-14 8:05 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[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
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 ` toluschr [this message]
2020-07-14 8:07 ` toluschr
2020-07-14 9:05 ` [PR PATCH] [Merged]: " Johnnynator
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200714080534.3HEYkAw9yBfr4Y6DRgXHF8SS7qA8iViKf7E9y3_qEus@z \
--to=toluschr@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).