Accepting request 57467 from home:vuntz:branches:GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/57467 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/dconf?expand=0&rev=14
This commit is contained in:
parent
e21a60a768
commit
601884666a
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0083d70e1b5e540d8d4b3f04fa5d17dff4c574136682fe3bdd9b5ecc196ec4f6
|
|
||||||
size 251287
|
|
3
dconf-0.6.tar.bz2
Normal file
3
dconf-0.6.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1905655e2d3b1fa5110e75eb434467f9fcfd764992d73681486add7f0f9c7ef7
|
||||||
|
size 161812
|
37
dconf-fix-dbus-introspection-enumeration.patch
Normal file
37
dconf-fix-dbus-introspection-enumeration.patch
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
commit 388974f02f3267e118e2facdb32631331460aa04
|
||||||
|
Author: Ryan Lortie <desrt@desrt.ca>
|
||||||
|
Date: Tue Dec 21 12:53:44 2010 -0500
|
||||||
|
|
||||||
|
Fix DBus introspection enumeration
|
||||||
|
|
||||||
|
It should also work for people who have usernames other than 'desrt'
|
||||||
|
|
||||||
|
Closes #634229.
|
||||||
|
|
||||||
|
diff --git a/service/dconf-writer.c b/service/dconf-writer.c
|
||||||
|
index 3cf58f5..3b98efd 100644
|
||||||
|
--- a/service/dconf-writer.c
|
||||||
|
+++ b/service/dconf-writer.c
|
||||||
|
@@ -56,11 +56,13 @@ gchar **
|
||||||
|
dconf_writer_list_existing (void)
|
||||||
|
{
|
||||||
|
GPtrArray *array;
|
||||||
|
+ gchar *path;
|
||||||
|
GDir *dir;
|
||||||
|
|
||||||
|
+ path = g_build_filename (g_get_user_config_dir (), "dconf", NULL);
|
||||||
|
array = g_ptr_array_new ();
|
||||||
|
|
||||||
|
- if ((dir = g_dir_open ("/home/desrt/.config/dconf", 0, NULL)))
|
||||||
|
+ if ((dir = g_dir_open (path, 0, NULL)))
|
||||||
|
{
|
||||||
|
const gchar *name;
|
||||||
|
|
||||||
|
@@ -70,6 +72,7 @@ dconf_writer_list_existing (void)
|
||||||
|
}
|
||||||
|
|
||||||
|
g_ptr_array_add (array, NULL);
|
||||||
|
+ g_free (path);
|
||||||
|
|
||||||
|
return (gchar **) g_ptr_array_free (array, FALSE);
|
||||||
|
}
|
@ -1,3 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 7 17:47:04 CET 2011 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.6:
|
||||||
|
+ Rewrite a lot of the GSettings backend to reduce GDBus abuse.
|
||||||
|
We use our own worker thread now instead of trying to hijack
|
||||||
|
GDBus's.
|
||||||
|
+ Disable gobject-introspection support for now.
|
||||||
|
+ Drop support for GTK2 in dconf-editor.
|
||||||
|
+ Add a new torture-test case.
|
||||||
|
+ Increase dbus timeout to 2 minutes (in case the service is
|
||||||
|
heavily loaded).
|
||||||
|
+ Fix several memory leaks and other bugs.
|
||||||
|
- Change pkgconfig(gtk+-2.0) BuildRequires to pkgconfig(gtk+-3.0).
|
||||||
|
- Change vala-devel BuildRequires to vala-unstable-devel, following
|
||||||
|
an upstream commit after the release that recommends the use of
|
||||||
|
vala 0.11.
|
||||||
|
- Add dconf-fix-dbus-introspection-enumeration.patch to fix dbus
|
||||||
|
introspection enumeration; taken from git.
|
||||||
|
- Add Url tag.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 15 12:18:00 CET 2010 - vuntz@opensuse.org
|
Wed Dec 15 12:18:00 CET 2010 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
17
dconf.spec
17
dconf.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dconf (Version 0.5.1)
|
# spec file for package dconf (Version 0.6)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -18,20 +18,24 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: dconf
|
Name: dconf
|
||||||
Version: 0.5.1
|
Version: 0.6
|
||||||
Release: 3
|
Release: 1
|
||||||
|
# NOTE: once vala becomes 0.12, change BuildRequires back away from vala-unstable-devel
|
||||||
# FIXME: remove SUSE_ASNEEDED=0 when this is fixed: https://bugzilla.gnome.org/show_bug.cgi?id=626280
|
# FIXME: remove SUSE_ASNEEDED=0 when this is fixed: https://bugzilla.gnome.org/show_bug.cgi?id=626280
|
||||||
License: LGPLv2.1+
|
License: LGPLv2.1+
|
||||||
Summary: Simple key-based configuration system
|
Summary: Simple key-based configuration system
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
Url: http://live.gnome.org/dconf
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
|
# PATCH-FIX-UPSTREAM dconf-fix-dbus-introspection-enumeration.patch vuntz@opensuse.org -- Taken from git
|
||||||
|
Patch0: dconf-fix-dbus-introspection-enumeration.patch
|
||||||
# For directory ownership
|
# For directory ownership
|
||||||
BuildRequires: dbus-1
|
BuildRequires: dbus-1
|
||||||
BuildRequires: vala-devel
|
BuildRequires: vala-unstable-devel
|
||||||
BuildRequires: pkgconfig(gio-2.0)
|
BuildRequires: pkgconfig(gio-2.0)
|
||||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||||
BuildRequires: pkgconfig(gtk+-2.0)
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
BuildRequires: pkgconfig(libxml-2.0)
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
# dconf provides a dbus service, but has no dependency on dbus in any way
|
# dconf provides a dbus service, but has no dependency on dbus in any way
|
||||||
# (because it uses gdbus), so we need an explicit Requires
|
# (because it uses gdbus), so we need an explicit Requires
|
||||||
@ -98,6 +102,7 @@ have configuration storage systems.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export SUSE_ASNEEDED=0
|
export SUSE_ASNEEDED=0
|
||||||
@ -132,7 +137,6 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
|||||||
%files -n libdconf0
|
%files -n libdconf0
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/libdconf.so.*
|
%{_libdir}/libdconf.so.*
|
||||||
%{_libdir}/girepository-1.0/dconf-1.0.typelib
|
|
||||||
|
|
||||||
%files -n gsettings-backend-dconf
|
%files -n gsettings-backend-dconf
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -148,7 +152,6 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
|||||||
%{_includedir}/dconf/
|
%{_includedir}/dconf/
|
||||||
%{_libdir}/libdconf.so
|
%{_libdir}/libdconf.so
|
||||||
%{_libdir}/pkgconfig/dconf.pc
|
%{_libdir}/pkgconfig/dconf.pc
|
||||||
%{_datadir}/gir-1.0/*.gir
|
|
||||||
%dir %{_datadir}/vala
|
%dir %{_datadir}/vala
|
||||||
%dir %{_datadir}/vala/vapi
|
%dir %{_datadir}/vala/vapi
|
||||||
%{_datadir}/vala/vapi/dconf.*
|
%{_datadir}/vala/vapi/dconf.*
|
||||||
|
Loading…
Reference in New Issue
Block a user