Date: Thursday, December 15, 2022 @ 12:15:17
  Author: dvzrv
Revision: 1359241

archrelease: copy trunk to community-x86_64

Added:
  trace-cmd/repos/community-x86_64/PKGBUILD
    (from rev 1359240, trace-cmd/trunk/PKGBUILD)
  trace-cmd/repos/community-x86_64/trace-cmd-2.9-make_install.patch
    (from rev 1359240, 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 1359240, 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                         |   96 ++++++++++++++++++-------------------
 trace-cmd-2.9-make_install.patch |   24 ++++-----
 trace-cmd-2.9.3-python3.patch    |   18 +++---
 3 files changed, 69 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-15 12:14:59 UTC (rev 1359240)
+++ PKGBUILD    2022-12-15 12:15:17 UTC (rev 1359241)
@@ -1,48 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-pkgname=trace-cmd
-pkgver=3.1.4
-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)
-# kernelshark crashes if trace-cmd is built with LTO: 
https://bugs.archlinux.org/task/76170
-options=(!lto 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=('93ad775c1767d2a02b72386a29867c3bc141171403c152c0c4cb907da16b5ae69100924279d9529083449c1774c97c35d5b4790b188bcd4930cfa69076cef0b8'
-            
'c9321b2b885d88557a057d7064690274799ab1d67a8babb78b1c54c4d81546fdea7313286cfd5fb9efbbcf87cf8394dcb17202ac88434a351aa652e7109e1db6'
-            
'a1834b382cbee920697d08c7eb7292c4a5ea606e4f32459a60e0b236ad057536c987f3e162c9c99affa46396248e98c8f4ecd21031141f0221dbadf0bd33737d')
-b2sums=('6d3c964d1ba585213b75834b1037449464e5d54e5f49ed5b532cc599f6b960b79d0f0327a6af38e38b3471b54316810d9f05ef6cc7a3a4e39ee7eec9864e5ef9'
-        
'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
-}
-
-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 1359240, 
trace-cmd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-12-15 12:15:17 UTC (rev 1359241)
@@ -0,0 +1,48 @@
+# Maintainer: David Runge <[email protected]>
+
+pkgname=trace-cmd
+pkgver=3.1.5
+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)
+# kernelshark crashes if trace-cmd is built with LTO: 
https://bugs.archlinux.org/task/76170
+options=(!lto 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=('7262e69a990986975f0ee9287b16afc48f4f481fcb54ce64ca51dbba2e4c8cbb3c7c7d3d888aba10f3b12ac6b1cf9e612dd98982dc8d48ea221d231e3d16ac4d'
+            
'c9321b2b885d88557a057d7064690274799ab1d67a8babb78b1c54c4d81546fdea7313286cfd5fb9efbbcf87cf8394dcb17202ac88434a351aa652e7109e1db6'
+            
'a1834b382cbee920697d08c7eb7292c4a5ea606e4f32459a60e0b236ad057536c987f3e162c9c99affa46396248e98c8f4ecd21031141f0221dbadf0bd33737d')
+b2sums=('ae77b418505c545ef2b701c484cec944b6d8b9e7b0df9ea0a6475b099d59997a426a4c3f69fc2cfdaaaa4280f5fc53b18caf7a39011cd980fa331122f59feb13'
+        
'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
+}
+
+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-12-15 12:14:59 UTC (rev 1359240)
+++ trace-cmd-2.9-make_install.patch    2022-12-15 12:15:17 UTC (rev 1359241)
@@ -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 1359240, 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-12-15 12:15:17 UTC (rev 1359241)
@@ -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-12-15 12:14:59 UTC (rev 1359240)
+++ trace-cmd-2.9.3-python3.patch       2022-12-15 12:15:17 UTC (rev 1359241)
@@ -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 1359240, 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-12-15 12:15:17 UTC (rev 1359241)
@@ -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 *

Reply via email to