Github messages for voidlinux
 help / color / mirror / Atom feed
From: mahiuchun <mahiuchun@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: apitrace 10.0
Date: Tue, 26 Oct 2021 08:08:01 +0200	[thread overview]
Message-ID: <20211026060801.YH6beESTq9d_XOrMjvNzuv0EeWWR7Hc4TRn-loOSth4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32029@inbox.vuxu.org>

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

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

https://github.com/mahiuchun/void-packages apitrace
https://github.com/void-linux/void-packages/pull/32029

New package: apitrace 10.0
<!-- Mark items with [x] where applicable -->

#### General
- [X] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [X] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From 73e1abf152cfe15a583530cbaca1b9a7f5ebb98a Mon Sep 17 00:00:00 2001
From: Hill Ma <maahiuzeon@gmail.com>
Date: Mon, 25 Oct 2021 23:07:01 -0700
Subject: [PATCH] New package: apitrace 10.0

---
 srcpkgs/apitrace-gui                      |  1 +
 srcpkgs/apitrace/patches/stdint-must.diff | 11 +++++++++
 srcpkgs/apitrace/template                 | 28 +++++++++++++++++++++++
 3 files changed, 40 insertions(+)
 create mode 120000 srcpkgs/apitrace-gui
 create mode 100644 srcpkgs/apitrace/patches/stdint-must.diff
 create mode 100644 srcpkgs/apitrace/template

diff --git a/srcpkgs/apitrace-gui b/srcpkgs/apitrace-gui
new file mode 120000
index 000000000000..436bdb5f48cf
--- /dev/null
+++ b/srcpkgs/apitrace-gui
@@ -0,0 +1 @@
+apitrace
\ No newline at end of file
diff --git a/srcpkgs/apitrace/patches/stdint-must.diff b/srcpkgs/apitrace/patches/stdint-must.diff
new file mode 100644
index 000000000000..c46c9449b9b2
--- /dev/null
+++ b/srcpkgs/apitrace/patches/stdint-must.diff
@@ -0,0 +1,11 @@
+--- a/thirdparty/libbacktrace/backtrace.h
++++ b/thirdparty/libbacktrace/backtrace.h
+@@ -43,7 +43,7 @@
+ #include <stdint.h>
+ 
+-#elif defined(HAVE_STDINT_H)
++#elif 1
+ 
+ #include <stdint.h>
+
+ #else
diff --git a/srcpkgs/apitrace/template b/srcpkgs/apitrace/template
new file mode 100644
index 000000000000..296fae05d7dd
--- /dev/null
+++ b/srcpkgs/apitrace/template
@@ -0,0 +1,28 @@
+# Template file for 'apitrace'
+pkgname=apitrace
+version=10.0
+revision=1
+build_style=cmake
+configure_args="-DENABLE_GUI=1 -DENABLE_STATIC_SNAPPY=0"
+hostmakedepends="python3 qt5-host-tools qt5-qmake"
+makedepends="libX11-devel libdwarf-devel procps-ng-devel qt5-devel snappy-devel"
+depends="python3"
+checkdepends="gtest-devel"
+short_desc="Tools for tracing graphics APIs"
+maintainer="Hill Ma <maahiuzeon@gmail.com>"
+license="MIT"
+homepage="http://apitrace.github.io/"
+distfiles="https://github.com/apitrace/apitrace/archive/refs/tags/${version}.tar.gz"
+checksum=2e57d37af39369d7ce78666acb8afb1a49ec758f683a21077ec39eb0befae4ad
+
+post_install() {
+	vlicense LICENSE
+}
+
+apitrace-gui_package() {
+	short_desc+=" - Qt GUI"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/bin/qapitrace
+	}
+}

  parent reply	other threads:[~2021-10-26  6:08 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-18  4:58 [PR PATCH] " mahiuchun
2021-07-18  7:00 ` [PR PATCH] [Updated] " mahiuchun
2021-07-18 23:10 ` mahiuchun
2021-07-31  4:25 ` mahiuchun
2021-07-31 19:27 ` mahiuchun
2021-07-31 20:28 ` mahiuchun
2021-08-03  4:51 ` [PR REVIEW] " ericonr
2021-08-03  4:51 ` ericonr
2021-08-03  4:51 ` ericonr
2021-08-03 15:16 ` [PR PATCH] [Updated] " mahiuchun
2021-08-03 17:56 ` ericonr
2021-08-06 19:06 ` ericonr
2021-09-07  6:36 ` [PR PATCH] [Updated] " mahiuchun
2021-09-29  7:04 ` mahiuchun
2021-10-22 20:41 ` [PR REVIEW] " ericonr
2021-10-22 21:19 ` ericonr
2021-10-26  6:08 ` mahiuchun [this message]
2021-10-26  6:18 ` mahiuchun
2022-05-27  2:12 ` github-actions
2022-06-10  2:13 ` [PR PATCH] [Closed]: " github-actions

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=20211026060801.YH6beESTq9d_XOrMjvNzuv0EeWWR7Hc4TRn-loOSth4@z \
    --to=mahiuchun@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).