[arch-commits] Commit in geany-plugins/repos (4 files)

Alexander Rødseth arodseth at gemini.archlinux.org
Wed Aug 17 01:31:06 UTC 2022


    Date: Wednesday, August 17, 2022 @ 01:31:06
  Author: arodseth
Revision: 1266689

archrelease: copy trunk to community-staging-x86_64

Added:
  geany-plugins/repos/community-staging-x86_64/
  geany-plugins/repos/community-staging-x86_64/PKGBUILD
    (from rev 1266688, geany-plugins/trunk/PKGBUILD)
  geany-plugins/repos/community-staging-x86_64/keys/
  geany-plugins/repos/community-staging-x86_64/libgit2.patch
    (from rev 1266688, geany-plugins/trunk/libgit2.patch)

---------------+
 PKGBUILD      |   41 +++++++++++++++++++++++++++++++++++++++++
 libgit2.patch |   22 ++++++++++++++++++++++
 2 files changed, 63 insertions(+)

Copied: geany-plugins/repos/community-staging-x86_64/PKGBUILD (from rev 1266688, geany-plugins/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-08-17 01:31:06 UTC (rev 1266689)
@@ -0,0 +1,41 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Angel 'angvp' Velasquez <angvp at archlinux.org>
+# Contributor: Gerardo Exequiel Pozzi <vmlinuz386 at gmail.com>
+# Contributor: Patrick Melo <patrick at patrickmelo.eti.br>
+
+pkgname=geany-plugins
+pkgver=1.38
+pkgrel=4
+pkgdesc='Plugins for Geany'
+arch=(x86_64)
+url='https://plugins.geany.org/'
+license=(GPL)
+depends=(ctpl "geany>=$pkgver" gpgme gtkspell3 libgit2 lua51 python vte3 webkit2gtk)
+makedepends=(cppcheck intltool)
+source=(libgit2.patch
+        "$url$pkgname/$pkgname-$pkgver.tar.bz2"{,.sig})
+b2sums=('8daf8357caf09eb62844b6c44fa2a819231879b6d7e69bde4039f87230419cf371d1e8b5dede2f23dbb65d5d652b0bce3e51c79164ab8e3d76b445130cd5d387'
+        'a2fd9e59218e4b5359b910ccff8d0a6504845081f827d2f1c798ea6401914e8e01222c784a76ab0a126f5fe07c8aa86018cef4c71bb5e2891193f6c8965a3e47'
+        'SKIP')
+validpgpkeys=('986FA7E80256D3D16F30FB7A01380DF54FD09D02') # Frank Lanitz <frank at geany.org>
+
+prepare() {
+  cd $pkgname-$pkgver
+  # https://github.com/geany/geany-plugins/issues/1164
+  patch -p1 -i ../libgit2.patch
+  autoreconf -fi
+}
+
+build() {
+  cd $pkgname-$pkgver
+  export CFLAGS+=' -w' PYTHON=/usr/bin/python
+  ./configure --prefix=/usr --libexecdir=/usr/lib
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+}
+
+# getver: plugins.geany.org/downloads.html

Copied: geany-plugins/repos/community-staging-x86_64/libgit2.patch (from rev 1266688, geany-plugins/trunk/libgit2.patch)
===================================================================
--- community-staging-x86_64/libgit2.patch	                        (rev 0)
+++ community-staging-x86_64/libgit2.patch	2022-08-17 01:31:06 UTC (rev 1266689)
@@ -0,0 +1,22 @@
+diff --git i/git-changebar/src/gcb-plugin.c w/git-changebar/src/gcb-plugin.c
+index f8ce20cd..4488b22f 100644
+--- i/git-changebar/src/gcb-plugin.c
++++ w/git-changebar/src/gcb-plugin.c
+@@ -216,7 +216,7 @@ static int
+ gcb_git_buf_grow (git_buf  *buf,
+                   size_t    target_size)
+ {
+-  if (buf->asize == 0) {
++  if (buf->reserved == 0) {
+     if (target_size == 0) {
+       target_size = buf->size;
+     }
+@@ -234,7 +234,7 @@ buf_zero (git_buf *buf)
+   if (buf) {
+     buf->ptr = NULL;
+     buf->size = 0;
+-    buf->asize = 0;
++    buf->reserved = 0;
+   }
+ }
+ 



More information about the arch-commits mailing list