[arch-commits] Commit in libportal/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Sat May 16 09:27:03 UTC 2020


    Date: Saturday, May 16, 2020 @ 09:27:03
  Author: foutrelis
Revision: 383855

archrelease: copy trunk to staging-x86_64

Added:
  libportal/repos/staging-x86_64/
  libportal/repos/staging-x86_64/0001-filechooser-Don-t-try-to-free-the-method-name-it-s-s.patch
    (from rev 383854, libportal/trunk/0001-filechooser-Don-t-try-to-free-the-method-name-it-s-s.patch)
  libportal/repos/staging-x86_64/PKGBUILD
    (from rev 383854, libportal/trunk/PKGBUILD)

-----------------------------------------------------------------+
 0001-filechooser-Don-t-try-to-free-the-method-name-it-s-s.patch |   24 ++++++
 PKGBUILD                                                        |   40 ++++++++++
 2 files changed, 64 insertions(+)

Copied: libportal/repos/staging-x86_64/0001-filechooser-Don-t-try-to-free-the-method-name-it-s-s.patch (from rev 383854, libportal/trunk/0001-filechooser-Don-t-try-to-free-the-method-name-it-s-s.patch)
===================================================================
--- staging-x86_64/0001-filechooser-Don-t-try-to-free-the-method-name-it-s-s.patch	                        (rev 0)
+++ staging-x86_64/0001-filechooser-Don-t-try-to-free-the-method-name-it-s-s.patch	2020-05-16 09:27:03 UTC (rev 383855)
@@ -0,0 +1,24 @@
+From 902917eb4f66f69496e977b3c72e0fa178775f89 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
+Date: Wed, 27 Nov 2019 22:29:48 +0000
+Subject: [PATCH] filechooser: Don't try to free the method name; it's static
+
+---
+ libportal/filechooser.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/libportal/filechooser.c b/libportal/filechooser.c
+index 2b665b8..135c269 100644
+--- a/libportal/filechooser.c
++++ b/libportal/filechooser.c
+@@ -78,7 +78,6 @@ file_call_free (FileCall *call)
+   g_object_unref (call->portal);
+   g_object_unref (call->task);
+ 
+-  g_free (call->method);
+   g_free (call->title);
+   g_free (call->current_name);
+   g_free (call->current_folder);
+-- 
+2.24.0
+

Copied: libportal/repos/staging-x86_64/PKGBUILD (from rev 383854, libportal/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 09:27:03 UTC (rev 383855)
@@ -0,0 +1,40 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+ 
+pkgname=libportal
+pkgver=0.3
+pkgrel=2
+pkgdesc="GIO-style async APIs for most Flatpak portals"
+url="https://github.com/flatpak/libportal"
+arch=(x86_64)
+license=(LGPL)
+depends=(glib2)
+makedepends=(git meson gtk-doc)
+_commit=7b11b2a42fd4e7681bd38f3986b47108c0a3cc66  # tags/0.3^0
+source=("git+https://github.com/flatpak/libportal#commit=$_commit"
+        0001-filechooser-Don-t-try-to-free-the-method-name-it-s-s.patch)
+sha256sums=('SKIP'
+            '934374cb20a3bb76df2c1982a56a15e1c9808a1dfa46273db6529dd6213bde1f')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed -r 's/[^-]+-g[^-]+$/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list