[arch-commits] Commit in pacman-contrib/repos/community-x86_64 (4 files)

Daniel M. Capella polyzen at gemini.archlinux.org
Wed May 4 05:31:18 UTC 2022


    Date: Wednesday, May 4, 2022 @ 05:31:18
  Author: polyzen
Revision: 1192486

archrelease: copy trunk to community-x86_64

Added:
  pacman-contrib/repos/community-x86_64/0001-pactree-fix-compilation-with-pacman-6.patch
    (from rev 1192485, pacman-contrib/trunk/0001-pactree-fix-compilation-with-pacman-6.patch)
  pacman-contrib/repos/community-x86_64/PKGBUILD
    (from rev 1192485, pacman-contrib/trunk/PKGBUILD)
Deleted:
  pacman-contrib/repos/community-x86_64/0001-pactree-fix-compilation-with-pacman-6.patch
  pacman-contrib/repos/community-x86_64/PKGBUILD

--------------------------------------------------+
 0001-pactree-fix-compilation-with-pacman-6.patch |   88 +++++++++----------
 PKGBUILD                                         |   94 ++++++++++-----------
 2 files changed, 91 insertions(+), 91 deletions(-)

Deleted: 0001-pactree-fix-compilation-with-pacman-6.patch
===================================================================
--- 0001-pactree-fix-compilation-with-pacman-6.patch	2022-05-04 05:30:54 UTC (rev 1192485)
+++ 0001-pactree-fix-compilation-with-pacman-6.patch	2022-05-04 05:31:18 UTC (rev 1192486)
@@ -1,44 +0,0 @@
-From fd21ee241c85856be941e41942d6c179ca713c41 Mon Sep 17 00:00:00 2001
-From: Eli Schwartz via pacman-contrib <pacman-contrib at lists.archlinux.org>
-Date: Fri, 21 May 2021 00:30:07 -0400
-Subject: [PATCH] pactree: fix compilation with pacman 6
-
-In "add front-end provided context to callbacks", libalpm gained a new
-argument to callbacks which we don't use and is only needed by some
-frontends wishing to do stuff with the callback state. NULL it and move
-on with life, just like pacman itself did.
-
-Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
-Signed-off-by: Daniel M. Capella <polyzen at archlinux.org>
----
- src/pactree.c | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/src/pactree.c b/src/pactree.c
-index e8f5086..9e6ac1b 100644
---- a/src/pactree.c
-+++ b/src/pactree.c
-@@ -135,8 +135,10 @@ static const char *dbpath = DBPATH;
- static const char *configfile = CONFFILE;
- static const char *gpgdir = GPGDIR;
- 
--void cb_log(alpm_loglevel_t level, const char *fmt, va_list args)
-+void cb_log(void *ctx, alpm_loglevel_t level, const char *fmt, va_list args)
- {
-+	(void)ctx;
-+
- 	switch(level) {
- 		case ALPM_LOG_ERROR:
- 			fprintf(stderr, "%s%s%s", color->error, "error: ",
-@@ -621,7 +623,7 @@ int main(int argc, char *argv[])
- 	}
- 
- 	if(debug) {
--		alpm_option_set_logcb(handle, cb_log);
-+		alpm_option_set_logcb(handle, cb_log, NULL);
- 	}
- 
- 	/* no need to fail on error here */
--- 
-2.31.1
-

Copied: pacman-contrib/repos/community-x86_64/0001-pactree-fix-compilation-with-pacman-6.patch (from rev 1192485, pacman-contrib/trunk/0001-pactree-fix-compilation-with-pacman-6.patch)
===================================================================
--- 0001-pactree-fix-compilation-with-pacman-6.patch	                        (rev 0)
+++ 0001-pactree-fix-compilation-with-pacman-6.patch	2022-05-04 05:31:18 UTC (rev 1192486)
@@ -0,0 +1,44 @@
+From fd21ee241c85856be941e41942d6c179ca713c41 Mon Sep 17 00:00:00 2001
+From: Eli Schwartz via pacman-contrib <pacman-contrib at lists.archlinux.org>
+Date: Fri, 21 May 2021 00:30:07 -0400
+Subject: [PATCH] pactree: fix compilation with pacman 6
+
+In "add front-end provided context to callbacks", libalpm gained a new
+argument to callbacks which we don't use and is only needed by some
+frontends wishing to do stuff with the callback state. NULL it and move
+on with life, just like pacman itself did.
+
+Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
+Signed-off-by: Daniel M. Capella <polyzen at archlinux.org>
+---
+ src/pactree.c | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/src/pactree.c b/src/pactree.c
+index e8f5086..9e6ac1b 100644
+--- a/src/pactree.c
++++ b/src/pactree.c
+@@ -135,8 +135,10 @@ static const char *dbpath = DBPATH;
+ static const char *configfile = CONFFILE;
+ static const char *gpgdir = GPGDIR;
+ 
+-void cb_log(alpm_loglevel_t level, const char *fmt, va_list args)
++void cb_log(void *ctx, alpm_loglevel_t level, const char *fmt, va_list args)
+ {
++	(void)ctx;
++
+ 	switch(level) {
+ 		case ALPM_LOG_ERROR:
+ 			fprintf(stderr, "%s%s%s", color->error, "error: ",
+@@ -621,7 +623,7 @@ int main(int argc, char *argv[])
+ 	}
+ 
+ 	if(debug) {
+-		alpm_option_set_logcb(handle, cb_log);
++		alpm_option_set_logcb(handle, cb_log, NULL);
+ 	}
+ 
+ 	/* no need to fail on error here */
+-- 
+2.31.1
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-04 05:30:54 UTC (rev 1192485)
+++ PKGBUILD	2022-05-04 05:31:18 UTC (rev 1192486)
@@ -1,47 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=pacman-contrib
-pkgver=1.5.0
-pkgrel=1
-pkgdesc='Contributed scripts and tools for pacman systems'
-arch=('x86_64')
-url=https://gitlab.archlinux.org/pacman/pacman-contrib
-license=('GPL')
-depends=('fakeroot' 'pacman' 'perl')
-makedepends=('asciidoc')
-optdepends=('diffutils: for pacdiff'
-            'findutils: for pacdiff --find'
-            'mlocate: for pacdiff --locate'
-            'sudo: privilege elevation for several scripts'
-            'vim: default merge program for pacdiff')
-source=("$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
-b2sums=('1cfe87ad9b520d8851f3d7ec9e1f1f788210951ed167ad09486c64fa6b4321b1d473009d3f911b8066a65a88818254fabbbe4dcd34de63505e40a8b739d3ba7a')
-#validpgpkeys=('5134EF9EAF65F95B6BB1608E50FB9B273A9D0BB5'  # Johannes Löthberg <johannes at kyriasis.com>
-#              '04DC3FB1445FECA813C27EFAEA4F7B321A906AD9') # Daniel M. Capella <polyzen at archlinux.org>
-
-prepare() {
-  cd $pkgname-v$pkgver
-  ./autogen.sh
-}
-
-build() {
-  cd $pkgname-v$pkgver
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --localstatedir=/var
-  make
-}
-
-check() {
-  cd $pkgname-v$pkgver
-  make check
-}
-
-package() {
-  cd $pkgname-v$pkgver
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: pacman-contrib/repos/community-x86_64/PKGBUILD (from rev 1192485, pacman-contrib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-04 05:31:18 UTC (rev 1192486)
@@ -0,0 +1,47 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=pacman-contrib
+pkgver=1.5.1
+pkgrel=1
+pkgdesc='Contributed scripts and tools for pacman systems'
+arch=('x86_64')
+url=https://gitlab.archlinux.org/pacman/pacman-contrib
+license=('GPL')
+depends=('fakeroot' 'pacman' 'perl')
+makedepends=('asciidoc')
+optdepends=('diffutils: for pacdiff'
+            'findutils: for pacdiff --find'
+            'mlocate: for pacdiff --locate'
+            'sudo: privilege elevation for several scripts'
+            'vim: default merge program for pacdiff')
+source=("$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
+b2sums=('e3ade880ce59f9576a9e06f687efd0f4d3adc5e3c4070f73f38108623b6cabb43e8009b0026bd405f4e341a2f6c8e8bd22b266b2aafccd336af3afdd74bf7d93')
+#validpgpkeys=('5134EF9EAF65F95B6BB1608E50FB9B273A9D0BB5'  # Johannes Löthberg <johannes at kyriasis.com>
+#              '04DC3FB1445FECA813C27EFAEA4F7B321A906AD9') # Daniel M. Capella <polyzen at archlinux.org>
+
+prepare() {
+  cd $pkgname-v$pkgver
+  ./autogen.sh
+}
+
+build() {
+  cd $pkgname-v$pkgver
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var
+  make
+}
+
+check() {
+  cd $pkgname-v$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-v$pkgver
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list