[arch-commits] Commit in trace-cmd/repos/community-x86_64 (8 files)

David Runge dvzrv at archlinux.org
Wed May 19 10:02:05 UTC 2021


    Date: Wednesday, May 19, 2021 @ 10:02:05
  Author: dvzrv
Revision: 936394

archrelease: copy trunk to community-x86_64

Added:
  trace-cmd/repos/community-x86_64/PKGBUILD
    (from rev 936393, trace-cmd/trunk/PKGBUILD)
  trace-cmd/repos/community-x86_64/trace-cmd-2.9-make_install.patch
    (from rev 936393, trace-cmd/trunk/trace-cmd-2.9-make_install.patch)
  trace-cmd/repos/community-x86_64/trace-cmd-2.9.3-docs_makefile.patch
    (from rev 936393, trace-cmd/trunk/trace-cmd-2.9.3-docs_makefile.patch)
  trace-cmd/repos/community-x86_64/trace-cmd-2.9.3-python3.patch
    (from rev 936393, 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-docs_makefile.patch
  trace-cmd/repos/community-x86_64/trace-cmd-2.9.3-python3.patch

-------------------------------------+
 PKGBUILD                            |  106 +++++++++++++++++-----------------
 trace-cmd-2.9-make_install.patch    |   24 +++----
 trace-cmd-2.9.3-docs_makefile.patch |   84 +++++++++++++-------------
 trace-cmd-2.9.3-python3.patch       |   18 ++---
 4 files changed, 116 insertions(+), 116 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-19 10:01:55 UTC (rev 936393)
+++ PKGBUILD	2021-05-19 10:02:05 UTC (rev 936394)
@@ -1,53 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=trace-cmd
-pkgver=2.9.3
-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' 'libtraceevent' 'libtracefs' 'python' 'swig' 'xmlto')
-optdepends=('python: for Python plugins')
-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"
-        "${pkgname}-2.9.3-docs_makefile.patch")
-sha512sums=('3483e2682e39269c1f86387be74e18267e1352db99dc6748c67a25a5bd3c4d079c424c42fca69a0022e4b6496b43b831855904bc29645b4f02d7d1c23b673bf7'
-            'c9321b2b885d88557a057d7064690274799ab1d67a8babb78b1c54c4d81546fdea7313286cfd5fb9efbbcf87cf8394dcb17202ac88434a351aa652e7109e1db6'
-            'a1834b382cbee920697d08c7eb7292c4a5ea606e4f32459a60e0b236ad057536c987f3e162c9c99affa46396248e98c8f4ecd21031141f0221dbadf0bd33737d'
-            '1d43fc0fec3b386a741467966bcecdcacdfbe36e21c63d644ec281ff9577332e2d6cff95cef22bab85d2209017eb39d36def35f24b86e54720d6913a44fc3cbd')
-b2sums=('a62e625e13ffbe10280d330f3b40f636f156a001cbcefd3a6e5fabcf572c1a3cabcbde8288b6a5c69925c7b1f9f5a54e8ec21a02a3979dddb074f980cc0f511a'
-        '8a644be295417b1fd5fb807285a7176ef0ceb737352bbb4c7a88441f9b955a90befe974d890a58f2b8fb6de8a68a1b3c5d207f057c4b08db79caf6e97fa66f50'
-        'dac368fc62d99eba6d36f2c7d81475c28211dfe5d1d59ca5e468daff31d36710637943dc822fb266784feb5355ca0bfb525819bb96095c8e0c0fa91f32558877'
-        '86104406eb8694a96cd6ed34f2dcdf06039d4342ebacbb492759945b7b156d41806986fc96e421557a7a224f18a5786ec999c5c07f2a9ffff051351911cc8095')
-
-prepare() {
-  mv -v "${pkgname}-v${pkgver}" "${pkgname}-${pkgver}"
-  cd "${pkgname}-${pkgver}"
-  patch -Np1 -i "../${pkgname}-2.9-make_install.patch"
-  patch -Np1 -i "../${pkgname}-2.9.3-docs_makefile.patch"
-  patch -Np1 -i "../${pkgname}-2.9.3-python3.patch"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  export PYTHON_VERS=python3
-  make prefix='/usr' libdir_relative='lib'
-  make -C Documentation
-}
-
-package() {
-  depends+=('libaudit.so' 'libtraceevent.so' 'libtracefs.so')
-
-  cd "${pkgname}-${pkgver}"
-  make prefix="/usr" \
-       libdir_relative=lib \
-       DESTDIR="${pkgdir}/" \
-       BASH_COMPLETE_DIR="$(pkgconf --variable=completionsdir bash-completion)" \
-       install
-  make prefix="/usr" DESTDIR="${pkgdir}/" install -C Documentation
-  install -vDm 644 tracecmd/${pkgname}.bash \
-    "${pkgdir}/usr/share/bash/bash-completion/completions/${pkgname}"
-}

Copied: trace-cmd/repos/community-x86_64/PKGBUILD (from rev 936393, trace-cmd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-19 10:02:05 UTC (rev 936394)
@@ -0,0 +1,53 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=trace-cmd
+pkgver=2.9.3
+pkgrel=2
+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' 'libtraceevent' 'libtracefs' 'python' 'swig' 'xmlto')
+optdepends=('python: for Python plugins')
+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"
+        "${pkgname}-2.9.3-docs_makefile.patch")
+sha512sums=('3483e2682e39269c1f86387be74e18267e1352db99dc6748c67a25a5bd3c4d079c424c42fca69a0022e4b6496b43b831855904bc29645b4f02d7d1c23b673bf7'
+            'c9321b2b885d88557a057d7064690274799ab1d67a8babb78b1c54c4d81546fdea7313286cfd5fb9efbbcf87cf8394dcb17202ac88434a351aa652e7109e1db6'
+            'a1834b382cbee920697d08c7eb7292c4a5ea606e4f32459a60e0b236ad057536c987f3e162c9c99affa46396248e98c8f4ecd21031141f0221dbadf0bd33737d'
+            '1d43fc0fec3b386a741467966bcecdcacdfbe36e21c63d644ec281ff9577332e2d6cff95cef22bab85d2209017eb39d36def35f24b86e54720d6913a44fc3cbd')
+b2sums=('a62e625e13ffbe10280d330f3b40f636f156a001cbcefd3a6e5fabcf572c1a3cabcbde8288b6a5c69925c7b1f9f5a54e8ec21a02a3979dddb074f980cc0f511a'
+        '8a644be295417b1fd5fb807285a7176ef0ceb737352bbb4c7a88441f9b955a90befe974d890a58f2b8fb6de8a68a1b3c5d207f057c4b08db79caf6e97fa66f50'
+        'dac368fc62d99eba6d36f2c7d81475c28211dfe5d1d59ca5e468daff31d36710637943dc822fb266784feb5355ca0bfb525819bb96095c8e0c0fa91f32558877'
+        '86104406eb8694a96cd6ed34f2dcdf06039d4342ebacbb492759945b7b156d41806986fc96e421557a7a224f18a5786ec999c5c07f2a9ffff051351911cc8095')
+
+prepare() {
+  mv -v "${pkgname}-v${pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  patch -Np1 -i "../${pkgname}-2.9-make_install.patch"
+  patch -Np1 -i "../${pkgname}-2.9.3-docs_makefile.patch"
+  patch -Np1 -i "../${pkgname}-2.9.3-python3.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  export PYTHON_VERS=python3
+  make prefix='/usr' libdir_relative='lib' all libs
+  make -C Documentation
+}
+
+package() {
+  depends+=('libaudit.so' 'libtraceevent.so' 'libtracefs.so')
+
+  cd "${pkgname}-${pkgver}"
+  make prefix="/usr" \
+       libdir_relative=lib \
+       DESTDIR="${pkgdir}/" \
+       BASH_COMPLETE_DIR="$(pkgconf --variable=completionsdir bash-completion)" \
+       install_cmd install_libs
+  make prefix="/usr" DESTDIR="${pkgdir}/" install -C Documentation
+  install -vDm 644 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	2021-05-19 10:01:55 UTC (rev 936393)
+++ trace-cmd-2.9-make_install.patch	2021-05-19 10:02:05 UTC (rev 936394)
@@ -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 936393, 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	2021-05-19 10:02:05 UTC (rev 936394)
@@ -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-docs_makefile.patch
===================================================================
--- trace-cmd-2.9.3-docs_makefile.patch	2021-05-19 10:01:55 UTC (rev 936393)
+++ trace-cmd-2.9.3-docs_makefile.patch	2021-05-19 10:02:05 UTC (rev 936394)
@@ -1,42 +0,0 @@
-diff -ruN a/Documentation/libtracecmd/Makefile b/Documentation/libtracecmd/Makefile
---- a/Documentation/libtracecmd/Makefile	2021-05-14 16:20:12.000000000 +0200
-+++ b/Documentation/libtracecmd/Makefile	2021-05-14 21:32:15.921462439 +0200
-@@ -1,7 +1,7 @@
- # SPDX-License-Identifier: GPL-2.0
- 
- # Include the utils
--include $(src)/scripts/utils.mk
-+include ../../scripts/utils.mk
- 
- # This Makefile and manpage XSL files were taken from libtracefs
- # and modified for libtracecmd
-@@ -134,7 +134,7 @@
- endif
- 
- install-%.3: $(OUTPUT)%.3
--	$(Q)$(call do_install_docs,$<,$(man3dir),644);
-+	$(Q)$(call do_install_docs,$<,$(DESTDIR)$(man3dir),644);
- 
- do-install-man: man $(addprefix install-,$(wildcard $(OUTPUT)*.3))
- 
-@@ -142,7 +142,7 @@
- 	$(Q)$(MAKE) -C . do-install-man
- 
- install-%.txt: $(OUTPUT)%.html
--	$(Q)$(call do_install_docs,$<,$(htmldir),644);
-+	$(Q)$(call do_install_docs,$<,$(DESTDIR)$(htmldir),644);
- 
- do-install-html: html $(addprefix install-,$(wildcard *.txt))
- 
-diff -ruN a/Documentation/trace-cmd/Makefile b/Documentation/trace-cmd/Makefile
---- a/Documentation/trace-cmd/Makefile	2021-05-14 16:20:12.000000000 +0200
-+++ b/Documentation/trace-cmd/Makefile	2021-05-14 21:26:53.224092234 +0200
-@@ -1,7 +1,7 @@
- # SPDX-License-Identifier: GPL-2.0
- 
- # Include the utils
--include $(src)/scripts/utils.mk
-+include ../../scripts/utils.mk
- 
- bdir:=$(doc_dir)/trace-cmd
- 

Copied: trace-cmd/repos/community-x86_64/trace-cmd-2.9.3-docs_makefile.patch (from rev 936393, trace-cmd/trunk/trace-cmd-2.9.3-docs_makefile.patch)
===================================================================
--- trace-cmd-2.9.3-docs_makefile.patch	                        (rev 0)
+++ trace-cmd-2.9.3-docs_makefile.patch	2021-05-19 10:02:05 UTC (rev 936394)
@@ -0,0 +1,42 @@
+diff -ruN a/Documentation/libtracecmd/Makefile b/Documentation/libtracecmd/Makefile
+--- a/Documentation/libtracecmd/Makefile	2021-05-14 16:20:12.000000000 +0200
++++ b/Documentation/libtracecmd/Makefile	2021-05-14 21:32:15.921462439 +0200
+@@ -1,7 +1,7 @@
+ # SPDX-License-Identifier: GPL-2.0
+ 
+ # Include the utils
+-include $(src)/scripts/utils.mk
++include ../../scripts/utils.mk
+ 
+ # This Makefile and manpage XSL files were taken from libtracefs
+ # and modified for libtracecmd
+@@ -134,7 +134,7 @@
+ endif
+ 
+ install-%.3: $(OUTPUT)%.3
+-	$(Q)$(call do_install_docs,$<,$(man3dir),644);
++	$(Q)$(call do_install_docs,$<,$(DESTDIR)$(man3dir),644);
+ 
+ do-install-man: man $(addprefix install-,$(wildcard $(OUTPUT)*.3))
+ 
+@@ -142,7 +142,7 @@
+ 	$(Q)$(MAKE) -C . do-install-man
+ 
+ install-%.txt: $(OUTPUT)%.html
+-	$(Q)$(call do_install_docs,$<,$(htmldir),644);
++	$(Q)$(call do_install_docs,$<,$(DESTDIR)$(htmldir),644);
+ 
+ do-install-html: html $(addprefix install-,$(wildcard *.txt))
+ 
+diff -ruN a/Documentation/trace-cmd/Makefile b/Documentation/trace-cmd/Makefile
+--- a/Documentation/trace-cmd/Makefile	2021-05-14 16:20:12.000000000 +0200
++++ b/Documentation/trace-cmd/Makefile	2021-05-14 21:26:53.224092234 +0200
+@@ -1,7 +1,7 @@
+ # SPDX-License-Identifier: GPL-2.0
+ 
+ # Include the utils
+-include $(src)/scripts/utils.mk
++include ../../scripts/utils.mk
+ 
+ bdir:=$(doc_dir)/trace-cmd
+ 

Deleted: trace-cmd-2.9.3-python3.patch
===================================================================
--- trace-cmd-2.9.3-python3.patch	2021-05-19 10:01:55 UTC (rev 936393)
+++ trace-cmd-2.9.3-python3.patch	2021-05-19 10:02:05 UTC (rev 936394)
@@ -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 936393, 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	2021-05-19 10:02:05 UTC (rev 936394)
@@ -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