New package: libcloudproviders-0.2.5.

Closes: #12334 [via git-merge-pr]
This commit is contained in:
maxice8 2018-02-13 23:53:36 -02:00 committed by Michael Aldridge
parent f033645881
commit 87377a8d72
4 changed files with 65 additions and 0 deletions

View file

@ -0,0 +1 @@
libcloudproviders

View file

@ -0,0 +1,39 @@
m 2e11b93fa0a7f3ac97b894ad0c3ed58bde73d7b4 Mon Sep 17 00:00:00 2001
Message-Id: <2e11b93fa0a7f3ac97b894ad0c3ed58bde73d7b4.1517303991.git.jan.steffens@gmail.com>
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
Date: Tue, 30 Jan 2018 10:14:56 +0100
Subject: [PATCH] collector: Always return a new reference to the singleton
Don't hand out our own reference with the newly created singleton, since
our pointer might become invalid if all the references we gave out were
removed.
Fixes a crash happening when opening a second file chooser dialog in
GEdit, Builder or Firefox. Doesn't trigger in the widget factory,
though.
---
src/cloudproviderscollector.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
--- src/cloudproviderscollector.c
+++ src/cloudproviderscollector.c
@@ -319,12 +319,8 @@ cloud_providers_collector_dup_singleton (void)
self->cancellable,
on_bus_acquired,
self);
+ }
- return self;
- }
- else
- {
- return g_object_ref (self);
- }
+ return g_object_ref (self);
}
--
2.16.1

View file

@ -0,0 +1,24 @@
# Template file for 'libcloudproviders'
pkgname=libcloudproviders
version=0.2.5
revision=1
wrksrc="${pkgname}-${version}-6fc78d1ac63400a098037d14984eaadba5ad6526"
build_style=meson
hostmakedepends="pkg-config glib-devel"
makedepends="libglib-devel"
short_desc="DBus API for cloud storage sync clients to expose their services"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="LGPL-3.0-or-later"
homepage="https://gitlab.gnome.org/Incubator/libcloudproviders"
distfiles="https://gitlab.gnome.org/Incubator/libcloudproviders/repository/${version}/archive.tar.gz"
checksum=6fcce3bc523411980132d258befd1893dcddb08638551a6275606bcad1737bb0
libcloudproviders-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}

View file

@ -0,0 +1 @@
site=https://gitlab.gnome.org/Incubator/libcloudproviders/tags