[arch-commits] Commit in trace-cmd/repos/community-x86_64 (6 files)
David Runge
dvzrv at gemini.archlinux.org
Wed Jul 20 10:27:31 UTC 2022
Date: Wednesday, July 20, 2022 @ 10:27:31
Author: dvzrv
Revision: 1254855
archrelease: copy trunk to community-x86_64
Added:
trace-cmd/repos/community-x86_64/PKGBUILD
(from rev 1254854, trace-cmd/trunk/PKGBUILD)
trace-cmd/repos/community-x86_64/trace-cmd-2.9-make_install.patch
(from rev 1254854, trace-cmd/trunk/trace-cmd-2.9-make_install.patch)
trace-cmd/repos/community-x86_64/trace-cmd-2.9.3-python3.patch
(from rev 1254854, trace-cmd/trunk/trace-cmd-2.9.3-python3.patch)
Deleted:
trace-cmd/repos/community-x86_64/PKGBUILD
trace-cmd/repos/community-x86_64/trace-cmd-2.9-make_install.patch
trace-cmd/repos/community-x86_64/trace-cmd-2.9.3-python3.patch
----------------------------------+
PKGBUILD | 102 ++++++++++++++++++-------------------
trace-cmd-2.9-make_install.patch | 24 ++++----
trace-cmd-2.9.3-python3.patch | 18 +++---
3 files changed, 72 insertions(+), 72 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-20 10:26:55 UTC (rev 1254854)
+++ PKGBUILD 2022-07-20 10:27:31 UTC (rev 1254855)
@@ -1,51 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=trace-cmd
-pkgver=3.1.1
-pkgrel=1
-pkgdesc="Interact with Ftrace Linux kernel internal tracer"
-arch=(x86_64)
-url="https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git"
-license=(GPL2 LGPL2.1)
-depends=(glibc)
-makedepends=(asciidoc audit bash-completion cunit libtraceevent libtracefs python swig xmlto zstd)
-optdepends=('python: for Python plugins')
-provides=(libtracecmd.so)
-options=(debug)
-source=(
- https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot/trace-cmd-v$pkgver.tar.gz
- $pkgname-2.9-make_install.patch
- $pkgname-2.9.3-python3.patch
-)
-sha512sums=('985ac09f16beb65a9dfa77dc94c4cc110c377d7d538351d6a97448818eef68412cff399da3e873fd44684b082848010864ef2860b9d2daea1de1cd9dcaf31140'
- 'c9321b2b885d88557a057d7064690274799ab1d67a8babb78b1c54c4d81546fdea7313286cfd5fb9efbbcf87cf8394dcb17202ac88434a351aa652e7109e1db6'
- 'a1834b382cbee920697d08c7eb7292c4a5ea606e4f32459a60e0b236ad057536c987f3e162c9c99affa46396248e98c8f4ecd21031141f0221dbadf0bd33737d')
-b2sums=('6bb93f8c9b777d488cde5c2147eaee49cd8a0e74daacc6202f0710af9dd1edb090666dffce60b04c7e93a610e08c9bd4e0bb1b51831dfc4b717744230131b68f'
- '8a644be295417b1fd5fb807285a7176ef0ceb737352bbb4c7a88441f9b955a90befe974d890a58f2b8fb6de8a68a1b3c5d207f057c4b08db79caf6e97fa66f50'
- 'dac368fc62d99eba6d36f2c7d81475c28211dfe5d1d59ca5e468daff31d36710637943dc822fb266784feb5355ca0bfb525819bb96095c8e0c0fa91f32558877')
-
-prepare() {
- cd $pkgname-v$pkgver
- patch -Np1 -i ../$pkgname-2.9-make_install.patch
- patch -Np1 -i ../$pkgname-2.9.3-python3.patch
-}
-
-build() {
- export PYTHON_VERS=python3
- make prefix=/usr libdir_relative=lib all libs -C $pkgname-v$pkgver
- make prefix=/usr doc -C $pkgname-v$pkgver
- make test -C $pkgname-v$pkgver
-}
-
-check() {
- ./$pkgname-v$pkgver/utest/trace-utest
-}
-
-package() {
- depends+=(libaudit.so libtraceevent.so libtracefs.so libzstd.so)
-
- make prefix=/usr libdir_relative=lib DESTDIR="$pkgdir" BASH_COMPLETE_DIR="$(pkgconf --variable=completionsdir bash-completion)" install_cmd install_libs -C $pkgname-v$pkgver
- # NOTE: for unknown reasons upstream does not use DESTDIR here...
- make prefix="$pkgdir/usr" install_doc -C $pkgname-v$pkgver
- install -vDm 644 $pkgname-v$pkgver/tracecmd/$pkgname.bash "$pkgdir/usr/share/bash/bash-completion/completions/$pkgname"
-}
Copied: trace-cmd/repos/community-x86_64/PKGBUILD (from rev 1254854, trace-cmd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-20 10:27:31 UTC (rev 1254855)
@@ -0,0 +1,51 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=trace-cmd
+pkgver=3.1.2
+pkgrel=1
+pkgdesc="Interact with Ftrace Linux kernel internal tracer"
+arch=(x86_64)
+url="https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git"
+license=(GPL2 LGPL2.1)
+depends=(glibc)
+makedepends=(asciidoc audit bash-completion cunit libtraceevent libtracefs python swig xmlto zstd)
+optdepends=('python: for Python plugins')
+provides=(libtracecmd.so)
+options=(debug)
+source=(
+ https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot/trace-cmd-v$pkgver.tar.gz
+ $pkgname-2.9-make_install.patch
+ $pkgname-2.9.3-python3.patch
+)
+sha512sums=('d894842c11d895e2753fe254a83ecdc6bedcdfe1eceba5d75f1302b5476c9a3114c1fc5acddcba19ab05eaafb30db97e2e9b51b90afb1fd0550f1fbe0f59e0ac'
+ 'c9321b2b885d88557a057d7064690274799ab1d67a8babb78b1c54c4d81546fdea7313286cfd5fb9efbbcf87cf8394dcb17202ac88434a351aa652e7109e1db6'
+ 'a1834b382cbee920697d08c7eb7292c4a5ea606e4f32459a60e0b236ad057536c987f3e162c9c99affa46396248e98c8f4ecd21031141f0221dbadf0bd33737d')
+b2sums=('485d62bfd6c7e3dedc5c3a9eb18af4b425bccc03e932854ef87fc0d032ef011e68cb978b34e319d97b85b24bba6d16ce619faaca8d96c77be1b64b1c4ca06e69'
+ '8a644be295417b1fd5fb807285a7176ef0ceb737352bbb4c7a88441f9b955a90befe974d890a58f2b8fb6de8a68a1b3c5d207f057c4b08db79caf6e97fa66f50'
+ 'dac368fc62d99eba6d36f2c7d81475c28211dfe5d1d59ca5e468daff31d36710637943dc822fb266784feb5355ca0bfb525819bb96095c8e0c0fa91f32558877')
+
+prepare() {
+ cd $pkgname-v$pkgver
+ patch -Np1 -i ../$pkgname-2.9-make_install.patch
+ patch -Np1 -i ../$pkgname-2.9.3-python3.patch
+}
+
+build() {
+ export PYTHON_VERS=python3
+ make prefix=/usr libdir_relative=lib all libs -C $pkgname-v$pkgver
+ make prefix=/usr doc -C $pkgname-v$pkgver
+ make test -C $pkgname-v$pkgver
+}
+
+check() {
+ ./$pkgname-v$pkgver/utest/trace-utest
+}
+
+package() {
+ depends+=(libaudit.so libtraceevent.so libtracefs.so libzstd.so)
+
+ make prefix=/usr libdir_relative=lib DESTDIR="$pkgdir" BASH_COMPLETE_DIR="$(pkgconf --variable=completionsdir bash-completion)" install_cmd install_libs -C $pkgname-v$pkgver
+ # NOTE: for unknown reasons upstream does not use DESTDIR here...
+ make prefix="$pkgdir/usr" install_doc -C $pkgname-v$pkgver
+ install -vDm 644 $pkgname-v$pkgver/tracecmd/$pkgname.bash "$pkgdir/usr/share/bash/bash-completion/completions/$pkgname"
+}
Deleted: trace-cmd-2.9-make_install.patch
===================================================================
--- trace-cmd-2.9-make_install.patch 2022-07-20 10:26:55 UTC (rev 1254854)
+++ trace-cmd-2.9-make_install.patch 2022-07-20 10:27:31 UTC (rev 1254855)
@@ -1,12 +0,0 @@
-diff -ruN a/Makefile b/Makefile
---- a/Makefile 2020-07-17 17:14:20.000000000 +0200
-+++ b/Makefile 2020-07-18 10:37:32.898885286 +0200
-@@ -398,7 +398,7 @@
- install_bash_completion: force
- $(Q)$(call do_install_data,$(src)/tracecmd/trace-cmd.bash,$(BASH_COMPLETE_DIR))
-
--install_cmd: all_cmd install_plugins install_python install_bash_completion
-+install_cmd: all_cmd install_plugins install_python
- $(Q)$(call do_install,$(obj)/tracecmd/trace-cmd,$(bindir_SQ))
-
- install: install_cmd
Copied: trace-cmd/repos/community-x86_64/trace-cmd-2.9-make_install.patch (from rev 1254854, trace-cmd/trunk/trace-cmd-2.9-make_install.patch)
===================================================================
--- trace-cmd-2.9-make_install.patch (rev 0)
+++ trace-cmd-2.9-make_install.patch 2022-07-20 10:27:31 UTC (rev 1254855)
@@ -0,0 +1,12 @@
+diff -ruN a/Makefile b/Makefile
+--- a/Makefile 2020-07-17 17:14:20.000000000 +0200
++++ b/Makefile 2020-07-18 10:37:32.898885286 +0200
+@@ -398,7 +398,7 @@
+ install_bash_completion: force
+ $(Q)$(call do_install_data,$(src)/tracecmd/trace-cmd.bash,$(BASH_COMPLETE_DIR))
+
+-install_cmd: all_cmd install_plugins install_python install_bash_completion
++install_cmd: all_cmd install_plugins install_python
+ $(Q)$(call do_install,$(obj)/tracecmd/trace-cmd,$(bindir_SQ))
+
+ install: install_cmd
Deleted: trace-cmd-2.9.3-python3.patch
===================================================================
--- trace-cmd-2.9.3-python3.patch 2022-07-20 10:26:55 UTC (rev 1254854)
+++ trace-cmd-2.9.3-python3.patch 2022-07-20 10:27:31 UTC (rev 1254855)
@@ -1,9 +0,0 @@
-diff -ruN a/python/event-viewer.py b/python/event-viewer.py
---- a/python/event-viewer.py 2021-05-14 16:20:12.000000000 +0200
-+++ b/python/event-viewer.py 2021-05-14 21:43:38.019590304 +0200
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python2
-+#!/usr/bin/env python3
-
- import getopt
- from gobject import *
Copied: trace-cmd/repos/community-x86_64/trace-cmd-2.9.3-python3.patch (from rev 1254854, trace-cmd/trunk/trace-cmd-2.9.3-python3.patch)
===================================================================
--- trace-cmd-2.9.3-python3.patch (rev 0)
+++ trace-cmd-2.9.3-python3.patch 2022-07-20 10:27:31 UTC (rev 1254855)
@@ -0,0 +1,9 @@
+diff -ruN a/python/event-viewer.py b/python/event-viewer.py
+--- a/python/event-viewer.py 2021-05-14 16:20:12.000000000 +0200
++++ b/python/event-viewer.py 2021-05-14 21:43:38.019590304 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2
++#!/usr/bin/env python3
+
+ import getopt
+ from gobject import *
More information about the arch-commits
mailing list