mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
Add dconf.
Dconf will be the replacement of gconf for GNOME 3. This was a late addition to the gnome 2.32 update, and I forgot to add it to update patch. PR: ports/152424 Submitted by: Pascal Stumpf <Pascal.Stumpf@cubes.de> Pointyhat to: kwm@
This commit is contained in:
parent
28a806acbd
commit
b146451a6e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264846
@ -289,6 +289,7 @@
|
||||
SUBDIR += dbus-qt4
|
||||
SUBDIR += dbus-sharp
|
||||
SUBDIR += dcmtk
|
||||
SUBDIR += dconf
|
||||
SUBDIR += ddd
|
||||
SUBDIR += deputy
|
||||
SUBDIR += desktop-file-utils
|
||||
|
36
devel/dconf/Makefile
Normal file
36
devel/dconf/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# New ports collection makefile for: dconf
|
||||
# Date created: 28 May 2010
|
||||
# Whom: Koop Mast <kwm@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
# $MCom: ports/devel/dconf/Makefile,v 1.9 2010/11/04 16:41:01 kwm Exp $
|
||||
#
|
||||
|
||||
PORTNAME= dconf
|
||||
PORTVERSION= 0.5.1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= devel gnome
|
||||
MASTER_SITES= GNOME
|
||||
DIST_SUBDIR= gnome3
|
||||
|
||||
MAINTAINER= gnome@FreeBSD.org
|
||||
COMMENT= A configuration database system for GNOME
|
||||
|
||||
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
|
||||
valac:${PORTSDIR}/lang/vala
|
||||
LIB_DEPENDS= gee.2:${PORTSDIR}/devel/libgee
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
#USE_GETTEXT= yes
|
||||
USE_GNOME= gnomehack gtk20
|
||||
USE_LDCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
post-install:
|
||||
-${LOCALBASE}/bin/gio-querymodules ${PREFIX}/lib/gio/modules
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/dconf/distinfo
Normal file
3
devel/dconf/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gnome3/dconf-0.5.1.tar.bz2) = c905497d0255fe2ba58564f9655908ab
|
||||
SHA256 (gnome3/dconf-0.5.1.tar.bz2) = 0083d70e1b5e540d8d4b3f04fa5d17dff4c574136682fe3bdd9b5ecc196ec4f6
|
||||
SIZE (gnome3/dconf-0.5.1.tar.bz2) = 251287
|
41
devel/dconf/files/patch-client_Makefile.in
Normal file
41
devel/dconf/files/patch-client_Makefile.in
Normal file
@ -0,0 +1,41 @@
|
||||
--- client/Makefile.in.orig 2010-11-04 17:09:33.000000000 +0100
|
||||
+++ client/Makefile.in 2010-11-04 17:18:20.000000000 +0100
|
||||
@@ -34,7 +34,7 @@
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
-shlib_PROGRAMS = libdconf.so.0.0.0$(EXEEXT)
|
||||
+shlib_PROGRAMS = libdconf.so.0$(EXEEXT)
|
||||
subdir = client
|
||||
DIST_COMMON = $(am__dist_gir_DATA_DIST) $(dconfinclude_HEADERS) \
|
||||
$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
|
||||
@@ -332,9 +332,10 @@
|
||||
|
||||
clean-shlibPROGRAMS:
|
||||
-test -z "$(shlib_PROGRAMS)" || rm -f $(shlib_PROGRAMS)
|
||||
-libdconf.so.0.0.0$(EXEEXT): $(libdconf_so_0_0_0_OBJECTS) $(libdconf_so_0_0_0_DEPENDENCIES)
|
||||
- @rm -f libdconf.so.0.0.0$(EXEEXT)
|
||||
+libdconf.so.0$(EXEEXT): $(libdconf_so_0_0_0_OBJECTS) $(libdconf_so_0_0_0_DEPENDENCIES)
|
||||
+ @rm -f libdconf.so.0$(EXEEXT)
|
||||
$(AM_V_CCLD)$(libdconf_so_0_0_0_LINK) $(libdconf_so_0_0_0_OBJECTS) $(libdconf_so_0_0_0_LDADD) $(LIBS)
|
||||
+ $(AM_V_GEN) ln -fs libdconf.so.0 libdconf.so
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
@@ -750,14 +751,10 @@
|
||||
|
||||
@HAVE_INTROSPECTION_TRUE@include $(INTROSPECTION_MAKEFILE)
|
||||
|
||||
-@HAVE_INTROSPECTION_TRUE@dconf-1.0.gir: libdconf.so.0 libdconf.so
|
||||
-
|
||||
-libdconf.so.0 libdconf.so: libdconf.so.0.0.0
|
||||
- $(AM_V_GEN) ln -fs libdconf.so.0.0.0 $@
|
||||
+@HAVE_INTROSPECTION_TRUE@dconf-1.0.gir: libdconf.so.0
|
||||
|
||||
install-data-hook:
|
||||
- ln -fs libdconf.so.0.0.0 $(DESTDIR)$(shlibdir)/libdconf.so.0
|
||||
- ln -fs libdconf.so.0.0.0 $(DESTDIR)$(shlibdir)/libdconf.so
|
||||
+ ln -fs libdconf.so.0 $(DESTDIR)$(shlibdir)/libdconf.so
|
||||
|
||||
uninstall-hook:
|
||||
rm -f $(DESTDIR)$(shlibdir)/libdconf.so.0
|
16
devel/dconf/files/patch-common_shmdir.c
Normal file
16
devel/dconf/files/patch-common_shmdir.c
Normal file
@ -0,0 +1,16 @@
|
||||
--- common/dconf-shmdir.c.orig 2010-10-21 13:46:17.000000000 +0200
|
||||
+++ common/dconf-shmdir.c 2010-10-21 13:47:46.000000000 +0200
|
||||
@@ -21,8 +21,13 @@
|
||||
|
||||
#include "dconf-shmdir.h"
|
||||
|
||||
+#ifdef __linux__
|
||||
#include <sys/statfs.h>
|
||||
#include <sys/vfs.h>
|
||||
+#elif __FreeBSD__
|
||||
+#include <sys/param.h>
|
||||
+#include <sys/mount.h>
|
||||
+#endif
|
||||
#include <errno.h>
|
||||
|
||||
#ifndef NFS_SUPER_MAGIC
|
11
devel/dconf/files/patch-engine_dconf-engine.c
Normal file
11
devel/dconf/files/patch-engine_dconf-engine.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- engine/dconf-engine.c.orig 2010-08-04 17:40:53.000000000 +0200
|
||||
+++ engine/dconf-engine.c 2010-11-03 00:23:07.000000000 +0100
|
||||
@@ -144,7 +144,7 @@ dconf_engine_setup_user (DConfEngine *en
|
||||
|
||||
if (fd >= 0)
|
||||
{
|
||||
- if (posix_fallocate (fd, 0, 1) == 0)
|
||||
+ if (ftruncate (fd, 1) == 0)
|
||||
{
|
||||
engine->shm = mmap (NULL, 1, PROT_READ, MAP_SHARED, fd, 0);
|
||||
|
36
devel/dconf/files/patch-gsettings_dconfsettingsbackend.c
Normal file
36
devel/dconf/files/patch-gsettings_dconfsettingsbackend.c
Normal file
@ -0,0 +1,36 @@
|
||||
--- gsettings/dconfsettingsbackend.c.orig 2010-11-03 00:18:46.000000000 +0100
|
||||
+++ gsettings/dconfsettingsbackend.c 2010-11-03 00:21:03.000000000 +0100
|
||||
@@ -155,6 +155,7 @@ dconf_settings_backend_remove_outstandin
|
||||
g_dbus_message_get_sender (message),
|
||||
g_dbus_message_get_body (message),
|
||||
anti_expose, NULL);
|
||||
+ g_slice_free (Outstanding, tmp);
|
||||
|
||||
found = TRUE;
|
||||
break;
|
||||
@@ -457,6 +458,7 @@ dconf_settings_backend_write_tree (GSett
|
||||
gpointer origin_tag)
|
||||
{
|
||||
DConfSettingsBackend *dcsb = (DConfSettingsBackend *) backend;
|
||||
+ gboolean success = FALSE;
|
||||
volatile guint32 *serial;
|
||||
DConfEngineMessage dcem;
|
||||
GDBusConnection *bus;
|
||||
@@ -478,15 +480,11 @@ dconf_settings_backend_write_tree (GSett
|
||||
|
||||
g_settings_backend_keys_changed (backend, prefix, keys, origin_tag);
|
||||
|
||||
- return TRUE;
|
||||
+ success = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
- g_free (prefix);
|
||||
- g_free (values);
|
||||
- g_free (keys);
|
||||
-
|
||||
- return FALSE;
|
||||
+ return success;
|
||||
}
|
||||
|
||||
static void
|
18
devel/dconf/pkg-descr
Normal file
18
devel/dconf/pkg-descr
Normal file
@ -0,0 +1,18 @@
|
||||
GConf extends the concept of a configuration registry. It provides
|
||||
a simple way for applications and administrators to store data;
|
||||
often GConf is used to store preferences for applications.
|
||||
|
||||
Some of the features of GConf are:
|
||||
GConf provides:
|
||||
|
||||
* Documentation for each configuration key, so that administrators
|
||||
can better modify the value.
|
||||
|
||||
* Notifications to interested applications when configuration data
|
||||
is changed. The notification service works across networks,
|
||||
affecting all login sessions for a single user.
|
||||
|
||||
* Proper locking so that configuration data doesn't get corrupted
|
||||
when accessed by multiple applications at the same time.
|
||||
|
||||
WWW: http://www.gnome.org/projects/gconf/
|
41
devel/dconf/pkg-plist
Normal file
41
devel/dconf/pkg-plist
Normal file
@ -0,0 +1,41 @@
|
||||
bin/dconf
|
||||
bin/dconf-editor
|
||||
include/dconf/dconf-client.h
|
||||
include/dconf/dconf-engine.h
|
||||
include/dconf/dconf-paths.h
|
||||
include/dconf/dconf-readtype.h
|
||||
include/dconf/dconf-resetlist.h
|
||||
include/dconf/dconf.h
|
||||
lib/gio/modules/libdconfsettings.so
|
||||
lib/girepository-1.0/dconf-1.0.typelib
|
||||
lib/libdconf.so
|
||||
lib/libdconf.so.0
|
||||
libdata/pkgconfig/dconf.pc
|
||||
libexec/dconf-service
|
||||
share/dbus-1/services/ca.desrt.dconf.service
|
||||
share/dbus-1/system-services/ca.desrt.dconf.service
|
||||
share/gir-1.0/dconf-1.0.gir
|
||||
share/gtk-doc/html/dconf/DConfClient.html
|
||||
share/gtk-doc/html/dconf/dconf-DConf-Paths.html
|
||||
share/gtk-doc/html/dconf/annotation-glossary.html
|
||||
share/gtk-doc/html/dconf/api-index-full.html
|
||||
share/gtk-doc/html/dconf/ch01.html
|
||||
share/gtk-doc/html/dconf/dconf.devhelp
|
||||
share/gtk-doc/html/dconf/dconf.devhelp2
|
||||
share/gtk-doc/html/dconf/home.png
|
||||
share/gtk-doc/html/dconf/index.html
|
||||
share/gtk-doc/html/dconf/index.sgml
|
||||
share/gtk-doc/html/dconf/left.png
|
||||
share/gtk-doc/html/dconf/object-tree.html
|
||||
share/gtk-doc/html/dconf/right.png
|
||||
share/gtk-doc/html/dconf/style.css
|
||||
share/gtk-doc/html/dconf/up.png
|
||||
share/vala/vapi/dconf.deps
|
||||
share/vala/vapi/dconf.vapi
|
||||
@dirrmtry share/vala/vapi
|
||||
@dirrm share/gtk-doc/html/dconf
|
||||
@dirrmtry share/gtk-doc/html
|
||||
@dirrmtry share/gtk-doc
|
||||
@dirrm include/dconf
|
||||
@exec %D/bin/gio-querymodules %D/lib/gio/modules 2>/dev/null || /usr/bin/true
|
||||
@unexec %D/bin/gio-querymodules %D/lib/gio/modules 2>/dev/null || /usr/bin/true
|
Loading…
Reference in New Issue
Block a user