Github messages for voidlinux
 help / color / mirror / Atom feed
* Re: [ISSUE] [CLOSED] Package request: gammaray
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22756@inbox.vuxu.org>
@ 2020-08-20 20:17 ` toluschr
  0 siblings, 0 replies; only message in thread
From: toluschr @ 2020-08-20 20:17 UTC (permalink / raw)
  To: ml

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

Closed issue by toluschr on void-packages repository

https://github.com/void-linux/void-packages/issues/22756

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  *Void 5.6.17_1 x86_64 AuthenticAMD notuptodate hold rrrrmmnFFFFFFFFFFFFFFFFFFFFFFFFFFFF*
* package:  
  *gammaray-2.11.1*

I'm requesting this because `gammaray` is present in most major distributions repositories and I'd like to debug Qt5 applications.

I already made a template. I encountered the following error when testing some of it's features, maybe it should be mentioned in a post installation message.
```
Startup: gammaray-launcher
Detaching: /usr/bin/gammaray --inprocess --probe qt5_14-x86_64 --no-listen --pid 31713
Working Directory: /home/tom
Detected ABI qt5_14-x86_64, using ABI qt5_14-x86_64.
Potential errors:
  Error: gdb: Yama security extension is blocking runtime attaching, see /proc/sys/kernel/yama/ptrace_scope
  Error: lldb: Yama security extension is blocking runtime attaching, see /proc/sys/kernel/yama/ptrace_scope

Uh-oh, there is no default attach injector on this platform.
See <https://github.com/KDAB/GammaRay/wiki/Known-Issues> for troubleshooting
```

```sh
# 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"
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="https://github.com/KDAB/GammaRay/releases/download/v${version}/${pkgname}-${version}.tar.gz"
checksum=87a1d72ad1ad6d1a0156c54a85b0976ab38c6a64136458ca7c4ee491566d25d0

LDFLAGS+="-Wl,-no-fatal-warnings"

pre_build() {
	sed -e 's|plugins/gammaray|lib/qt5/plugins/gammaray|' -i CMakeLists.txt
}

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}"
		for f in usr/lib/*.so; do [ -L "${f}" ] && vmove "${f}"; done
	}
}
```


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-20 20:17 UTC | newest]

Thread overview: (only message) (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-22756@inbox.vuxu.org>
2020-08-20 20:17 ` [ISSUE] [CLOSED] Package request: gammaray toluschr

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).