* [PR PATCH] New package: apitrace 10.0
@ 2021-07-18 4:58 mahiuchun
2021-07-18 7:00 ` [PR PATCH] [Updated] " mahiuchun
` (18 more replies)
0 siblings, 19 replies; 20+ messages in thread
From: mahiuchun @ 2021-07-18 4:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1593 bytes --]
There is a new 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: 1675 bytes --]
From 82ae66d51d725049008e4dec208aa16b250c8849 Mon Sep 17 00:00:00 2001
From: Hill Ma <maahiuzeon@gmail.com>
Date: Sat, 17 Jul 2021 19:21:06 -0700
Subject: [PATCH] New package: apitrace 10.0
---
srcpkgs/apitrace-gui | 1 +
srcpkgs/apitrace/template | 31 +++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+)
create mode 120000 srcpkgs/apitrace-gui
create mode 100644 srcpkgs/apitrace/template
diff --git a/srcpkgs/apitrace-gui b/srcpkgs/apitrace-gui
new file mode 120000
index 000000000000..e7a67b504909
--- /dev/null
+++ b/srcpkgs/apitrace-gui
@@ -0,0 +1 @@
+apitrace/
\ No newline at end of file
diff --git a/srcpkgs/apitrace/template b/srcpkgs/apitrace/template
new file mode 100644
index 000000000000..9d09b17a3671
--- /dev/null
+++ b/srcpkgs/apitrace/template
@@ -0,0 +1,31 @@
+# Template file for 'apitrace'
+pkgname=apitrace
+version=10.0
+revision=1
+#archs="i686 x86_64"
+#wrksrc=
+#create_wrksrc=yes
+build_style=cmake
+configure_args="-DENABLE_GUI=1"
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="python3"
+makedepends="libX11-devel qt5-devel"
+depends="python3"
+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
+
+
+apitrace-gui_package() {
+ short_desc+=" - Qt GUI"
+ depends="${sourcepkg}-${version}_${revision}"
+ pkg_install() {
+ vmove usr/bin/qapitrace
+ }
+}
\ No newline at end of file
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: apitrace 10.0
2021-07-18 4:58 [PR PATCH] New package: apitrace 10.0 mahiuchun
@ 2021-07-18 7:00 ` mahiuchun
2021-07-18 23:10 ` mahiuchun
` (17 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: mahiuchun @ 2021-07-18 7:00 UTC (permalink / raw)
To: ml
[-- 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: 1515 bytes --]
From bfef28c0ff3dfcdf03d4a925930c6f07800b9b99 Mon Sep 17 00:00:00 2001
From: Hill Ma <maahiuzeon@gmail.com>
Date: Sat, 17 Jul 2021 23:59:14 -0700
Subject: [PATCH] New package: apitrace 10.0
---
srcpkgs/apitrace-gui | 1 +
srcpkgs/apitrace/template | 27 +++++++++++++++++++++++++++
2 files changed, 28 insertions(+)
create mode 120000 srcpkgs/apitrace-gui
create mode 100644 srcpkgs/apitrace/template
diff --git a/srcpkgs/apitrace-gui b/srcpkgs/apitrace-gui
new file mode 120000
index 000000000000..e7a67b504909
--- /dev/null
+++ b/srcpkgs/apitrace-gui
@@ -0,0 +1 @@
+apitrace/
\ No newline at end of file
diff --git a/srcpkgs/apitrace/template b/srcpkgs/apitrace/template
new file mode 100644
index 000000000000..a023201ec1a9
--- /dev/null
+++ b/srcpkgs/apitrace/template
@@ -0,0 +1,27 @@
+# Template file for 'apitrace'
+pkgname=apitrace
+version=10.0
+revision=1
+build_style=cmake
+configure_args="-DENABLE_GUI=1"
+hostmakedepends="python3"
+makedepends="libX11-devel qt5-devel"
+depends="python3"
+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
+ }
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: apitrace 10.0
2021-07-18 4:58 [PR PATCH] New package: apitrace 10.0 mahiuchun
2021-07-18 7:00 ` [PR PATCH] [Updated] " mahiuchun
@ 2021-07-18 23:10 ` mahiuchun
2021-07-31 4:25 ` mahiuchun
` (16 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: mahiuchun @ 2021-07-18 23:10 UTC (permalink / raw)
To: ml
[-- 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: 2132 bytes --]
From cd0faf3b9c5dca5913299ec83cdddf13c70568ea Mon Sep 17 00:00:00 2001
From: Hill Ma <maahiuzeon@gmail.com>
Date: Sun, 18 Jul 2021 15:41:29 -0700
Subject: [PATCH] New package: apitrace 10.0
---
srcpkgs/apitrace-gui | 1 +
srcpkgs/apitrace/patches/stdint-must.diff | 11 +++++++++
srcpkgs/apitrace/template | 27 +++++++++++++++++++++++
3 files changed, 39 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..e7a67b504909
--- /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..50888c2e256f
--- /dev/null
+++ b/srcpkgs/apitrace/template
@@ -0,0 +1,27 @@
+# Template file for 'apitrace'
+pkgname=apitrace
+version=10.0
+revision=1
+build_style=cmake
+configure_args="-DENABLE_GUI=1"
+hostmakedepends="python3"
+makedepends="libX11-devel libdwarf-devel procps-ng-devel qt5-devel"
+depends="python3"
+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
+ }
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: apitrace 10.0
2021-07-18 4:58 [PR PATCH] New package: apitrace 10.0 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
` (15 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: mahiuchun @ 2021-07-31 4:25 UTC (permalink / raw)
To: ml
[-- 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: 2132 bytes --]
From 590e91698e0bfea31a735bd9a5a023319c471566 Mon Sep 17 00:00:00 2001
From: Hill Ma <maahiuzeon@gmail.com>
Date: Sun, 18 Jul 2021 15:41:29 -0700
Subject: [PATCH] New package: apitrace 10.0
---
srcpkgs/apitrace-gui | 1 +
srcpkgs/apitrace/patches/stdint-must.diff | 11 +++++++++
srcpkgs/apitrace/template | 27 +++++++++++++++++++++++
3 files changed, 39 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..e7a67b504909
--- /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..50888c2e256f
--- /dev/null
+++ b/srcpkgs/apitrace/template
@@ -0,0 +1,27 @@
+# Template file for 'apitrace'
+pkgname=apitrace
+version=10.0
+revision=1
+build_style=cmake
+configure_args="-DENABLE_GUI=1"
+hostmakedepends="python3"
+makedepends="libX11-devel libdwarf-devel procps-ng-devel qt5-devel"
+depends="python3"
+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
+ }
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: apitrace 10.0
2021-07-18 4:58 [PR PATCH] New package: apitrace 10.0 mahiuchun
` (2 preceding siblings ...)
2021-07-31 4:25 ` mahiuchun
@ 2021-07-31 19:27 ` mahiuchun
2021-07-31 20:28 ` mahiuchun
` (14 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: mahiuchun @ 2021-07-31 19:27 UTC (permalink / raw)
To: ml
[-- 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: 2203 bytes --]
From 6e21f2bb894a7f248c4f8e54e85007c59d06027d Mon Sep 17 00:00:00 2001
From: Hill Ma <maahiuzeon@gmail.com>
Date: Sun, 18 Jul 2021 15:41:29 -0700
Subject: [PATCH] New package: apitrace 10.0
---
srcpkgs/apitrace-gui | 1 +
srcpkgs/apitrace/patches/stdint-must.diff | 11 ++++++++
srcpkgs/apitrace/template | 31 +++++++++++++++++++++++
3 files changed, 43 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..e7a67b504909
--- /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..fc1f81b1cbab
--- /dev/null
+++ b/srcpkgs/apitrace/template
@@ -0,0 +1,31 @@
+# Template file for 'apitrace'
+pkgname=apitrace
+version=10.0
+revision=1
+build_style=cmake
+configure_args="-DENABLE_GUI=1"
+hostmakedepends="python3"
+makedepends="libX11-devel libdwarf-devel procps-ng-devel qt5-devel"
+depends="python3"
+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
+
+if [ "$CROSS_BUILD" ]; then
+ hostmakedepends+=" qt5-host-tools"
+fi
+
+post_install() {
+ vlicense LICENSE
+}
+
+apitrace-gui_package() {
+ short_desc+=" - Qt GUI"
+ depends="${sourcepkg}-${version}_${revision}"
+ pkg_install() {
+ vmove usr/bin/qapitrace
+ }
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: apitrace 10.0
2021-07-18 4:58 [PR PATCH] New package: apitrace 10.0 mahiuchun
` (3 preceding siblings ...)
2021-07-31 19:27 ` mahiuchun
@ 2021-07-31 20:28 ` mahiuchun
2021-08-03 4:51 ` [PR REVIEW] " ericonr
` (13 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: mahiuchun @ 2021-07-31 20:28 UTC (permalink / raw)
To: ml
[-- 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: 2213 bytes --]
From bc87742b581e56308e32917da96550332d877eff Mon Sep 17 00:00:00 2001
From: Hill Ma <maahiuzeon@gmail.com>
Date: Sun, 18 Jul 2021 15:41:29 -0700
Subject: [PATCH] New package: apitrace 10.0
---
srcpkgs/apitrace-gui | 1 +
srcpkgs/apitrace/patches/stdint-must.diff | 11 ++++++++
srcpkgs/apitrace/template | 31 +++++++++++++++++++++++
3 files changed, 43 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..e7a67b504909
--- /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..4595b360cf12
--- /dev/null
+++ b/srcpkgs/apitrace/template
@@ -0,0 +1,31 @@
+# Template file for 'apitrace'
+pkgname=apitrace
+version=10.0
+revision=1
+build_style=cmake
+configure_args="-DENABLE_GUI=1"
+hostmakedepends="python3"
+makedepends="libX11-devel libdwarf-devel procps-ng-devel qt5-devel"
+depends="python3"
+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
+
+if [ "$CROSS_BUILD" ]; then
+ hostmakedepends+=" qt5-host-tools qt5-qmake"
+fi
+
+post_install() {
+ vlicense LICENSE
+}
+
+apitrace-gui_package() {
+ short_desc+=" - Qt GUI"
+ depends="${sourcepkg}-${version}_${revision}"
+ pkg_install() {
+ vmove usr/bin/qapitrace
+ }
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR REVIEW] New package: apitrace 10.0
2021-07-18 4:58 [PR PATCH] New package: apitrace 10.0 mahiuchun
` (4 preceding siblings ...)
2021-07-31 20:28 ` mahiuchun
@ 2021-08-03 4:51 ` ericonr
2021-08-03 4:51 ` ericonr
` (12 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: ericonr @ 2021-08-03 4:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 214 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/32029#discussion_r681432287
Comment:
```suggestion
depends="${sourcepkg}>=${version}_${revision}"
```
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR REVIEW] New package: apitrace 10.0
2021-07-18 4:58 [PR PATCH] New package: apitrace 10.0 mahiuchun
` (5 preceding siblings ...)
2021-08-03 4:51 ` [PR REVIEW] " ericonr
@ 2021-08-03 4:51 ` ericonr
2021-08-03 4:51 ` ericonr
` (11 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: ericonr @ 2021-08-03 4:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 193 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/32029#discussion_r681432230
Comment:
Just put in `hostmakedepends` unconditionally.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR REVIEW] New package: apitrace 10.0
2021-07-18 4:58 [PR PATCH] New package: apitrace 10.0 mahiuchun
` (6 preceding siblings ...)
2021-08-03 4:51 ` ericonr
@ 2021-08-03 4:51 ` ericonr
2021-08-03 15:16 ` [PR PATCH] [Updated] " mahiuchun
` (10 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: ericonr @ 2021-08-03 4:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 174 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/32029#discussion_r681431988
Comment:
No trailing slash, usually.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: apitrace 10.0
2021-07-18 4:58 [PR PATCH] New package: apitrace 10.0 mahiuchun
` (7 preceding siblings ...)
2021-08-03 4:51 ` ericonr
@ 2021-08-03 15:16 ` mahiuchun
2021-08-03 17:56 ` ericonr
` (9 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: mahiuchun @ 2021-08-03 15:16 UTC (permalink / raw)
To: ml
[-- 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: 2157 bytes --]
From 6a5d03239c1915e9f4e0796938a491d8c5f17a59 Mon Sep 17 00:00:00 2001
From: Hill Ma <maahiuzeon@gmail.com>
Date: Sun, 18 Jul 2021 15:41:29 -0700
Subject: [PATCH] New package: apitrace 10.0
---
srcpkgs/apitrace-gui | 1 +
srcpkgs/apitrace/patches/stdint-must.diff | 11 +++++++++
srcpkgs/apitrace/template | 27 +++++++++++++++++++++++
3 files changed, 39 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..64afa71e98b4
--- /dev/null
+++ b/srcpkgs/apitrace/template
@@ -0,0 +1,27 @@
+# Template file for 'apitrace'
+pkgname=apitrace
+version=10.0
+revision=1
+build_style=cmake
+configure_args="-DENABLE_GUI=1"
+hostmakedepends="python3 qt5-host-tools qt5-qmake"
+makedepends="libX11-devel libdwarf-devel procps-ng-devel qt5-devel"
+depends="python3"
+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
+ }
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: New package: apitrace 10.0
2021-07-18 4:58 [PR PATCH] New package: apitrace 10.0 mahiuchun
` (8 preceding siblings ...)
2021-08-03 15:16 ` [PR PATCH] [Updated] " mahiuchun
@ 2021-08-03 17:56 ` ericonr
2021-08-06 19:06 ` ericonr
` (8 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: ericonr @ 2021-08-03 17:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 182 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/32029#issuecomment-892046254
Comment:
Wow, I hate how much vendoring they do :/
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: New package: apitrace 10.0
2021-07-18 4:58 [PR PATCH] New package: apitrace 10.0 mahiuchun
` (9 preceding siblings ...)
2021-08-03 17:56 ` ericonr
@ 2021-08-06 19:06 ` ericonr
2021-09-07 6:36 ` [PR PATCH] [Updated] " mahiuchun
` (7 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: ericonr @ 2021-08-06 19:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1038 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/32029#issuecomment-894461765
Comment:
```
SONAME: libX11.so.6 <-> libX11>=1.2_1
SONAME: libpthread.so.0 <-> glibc>=2.32_1
SONAME: libdl.so.2 <-> glibc>=2.32_1
SONAME: libpng16.so.16 <-> libpng>=1.6.2_1
SONAME: libz.so.1 <-> zlib>=1.2.3_1
SONAME: libprocps.so.8 <-> procps-ng>=3.3.16_1
SONAME: libstdc++.so.6 <-> libstdc++>=4.4.0_1
SONAME: libm.so.6 <-> glibc>=2.32_1
SONAME: libgcc_s.so.1 <-> libgcc>=4.4.0_1
SONAME: libc.so.6 <-> glibc>=2.32_1
SONAME: ld-linux-armhf.so.3 <-> glibc>=2.32_1
```
From https://github.com/apitrace/apitrace/blob/master/thirdparty/CMakeLists.txt , we have a few more deps that could be there:
- snappy (might be that `ENABLE_STATIC_SNAPPY` is 1 by default, so fix configure args)
- brotli
- maybe gtest in `checkdepends`
- given https://github.com/apitrace/apitrace/blob/master/thirdparty/libbacktrace.cmake , adding libunwind might help the build too
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: apitrace 10.0
2021-07-18 4:58 [PR PATCH] New package: apitrace 10.0 mahiuchun
` (10 preceding siblings ...)
2021-08-06 19:06 ` ericonr
@ 2021-09-07 6:36 ` mahiuchun
2021-09-29 7:04 ` mahiuchun
` (6 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: mahiuchun @ 2021-09-07 6:36 UTC (permalink / raw)
To: ml
[-- 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: 2235 bytes --]
From cf5b5493a2c99d917bb5a5ea5b829ea7c7f4a7f7 Mon Sep 17 00:00:00 2001
From: Hill Ma <maahiuzeon@gmail.com>
Date: Mon, 6 Sep 2021 23:35:17 -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..afe5c7e8870e
--- /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 brotli-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
+ }
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: apitrace 10.0
2021-07-18 4:58 [PR PATCH] New package: apitrace 10.0 mahiuchun
` (11 preceding siblings ...)
2021-09-07 6:36 ` [PR PATCH] [Updated] " mahiuchun
@ 2021-09-29 7:04 ` mahiuchun
2021-10-22 20:41 ` [PR REVIEW] " ericonr
` (5 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: mahiuchun @ 2021-09-29 7:04 UTC (permalink / raw)
To: ml
[-- 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: 2235 bytes --]
From c8980f179e56b9c17c8ad130e1650398183ead33 Mon Sep 17 00:00:00 2001
From: Hill Ma <maahiuzeon@gmail.com>
Date: Mon, 6 Sep 2021 23:35:17 -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..afe5c7e8870e
--- /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 brotli-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
+ }
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR REVIEW] New package: apitrace 10.0
2021-07-18 4:58 [PR PATCH] New package: apitrace 10.0 mahiuchun
` (12 preceding siblings ...)
2021-09-29 7:04 ` mahiuchun
@ 2021-10-22 20:41 ` ericonr
2021-10-22 21:19 ` ericonr
` (4 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: ericonr @ 2021-10-22 20:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 217 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/32029#discussion_r734830693
Comment:
It doesn't seem to be linking in brotli? Even though I suggested it :p
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR REVIEW] New package: apitrace 10.0
2021-07-18 4:58 [PR PATCH] New package: apitrace 10.0 mahiuchun
` (13 preceding siblings ...)
2021-10-22 20:41 ` [PR REVIEW] " ericonr
@ 2021-10-22 21:19 ` ericonr
2021-10-26 6:08 ` [PR PATCH] [Updated] " mahiuchun
` (3 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: ericonr @ 2021-10-22 21:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 301 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/32029#discussion_r734830693
Comment:
It doesn't seem to be linking in brotli? Even though I suggested it :p might make sense to remove as dep.
Or try to understand why it isn't being used.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: apitrace 10.0
2021-07-18 4:58 [PR PATCH] New package: apitrace 10.0 mahiuchun
` (14 preceding siblings ...)
2021-10-22 21:19 ` ericonr
@ 2021-10-26 6:08 ` mahiuchun
2021-10-26 6:18 ` [PR REVIEW] " mahiuchun
` (2 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: mahiuchun @ 2021-10-26 6:08 UTC (permalink / raw)
To: ml
[-- 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
+ }
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR REVIEW] New package: apitrace 10.0
2021-07-18 4:58 [PR PATCH] New package: apitrace 10.0 mahiuchun
` (15 preceding siblings ...)
2021-10-26 6:08 ` [PR PATCH] [Updated] " mahiuchun
@ 2021-10-26 6:18 ` mahiuchun
2022-05-27 2:12 ` github-actions
2022-06-10 2:13 ` [PR PATCH] [Closed]: " github-actions
18 siblings, 0 replies; 20+ messages in thread
From: mahiuchun @ 2021-10-26 6:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 340 bytes --]
New review comment by mahiuchun on void-packages repository
https://github.com/void-linux/void-packages/pull/32029#discussion_r736185069
Comment:
Removed brotli-devel there.
Looks like the ability to use system brotli is introduced after 10.0 release: https://github.com/apitrace/apitrace/commit/3b4a698dde40022628a2e944008c43a67a6e1c02
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: New package: apitrace 10.0
2021-07-18 4:58 [PR PATCH] New package: apitrace 10.0 mahiuchun
` (16 preceding siblings ...)
2021-10-26 6:18 ` [PR REVIEW] " mahiuchun
@ 2022-05-27 2:12 ` github-actions
2022-06-10 2:13 ` [PR PATCH] [Closed]: " github-actions
18 siblings, 0 replies; 20+ messages in thread
From: github-actions @ 2022-05-27 2:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/32029#issuecomment-1139213567
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Closed]: New package: apitrace 10.0
2021-07-18 4:58 [PR PATCH] New package: apitrace 10.0 mahiuchun
` (17 preceding siblings ...)
2022-05-27 2:12 ` github-actions
@ 2022-06-10 2:13 ` github-actions
18 siblings, 0 replies; 20+ messages in thread
From: github-actions @ 2022-06-10 2:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1437 bytes --]
There's a closed pull request on the void-packages repository
New package: apitrace 10.0
https://github.com/void-linux/void-packages/pull/32029
Description:
<!-- 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
-->
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2022-06-10 2:13 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-18 4:58 [PR PATCH] New package: apitrace 10.0 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 ` [PR PATCH] [Updated] " mahiuchun
2021-10-26 6:18 ` [PR REVIEW] " mahiuchun
2022-05-27 2:12 ` github-actions
2022-06-10 2:13 ` [PR PATCH] [Closed]: " github-actions
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).