pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

dconf: add update to 0.27.1



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Thu Nov 23 16:09:52 2017 +0100
Changeset:	3611b45c8eeb16ea673ff11c063f2f0ff3482e65

Added Files:
	dconf/DESCR
	dconf/Makefile
	dconf/PLIST
	dconf/TODO
	dconf/buildlink3.mk
	dconf/database.mk
	dconf/distinfo
	dconf/files/database.tmpl

Log Message:
dconf: add update to 0.27.1

It has problems, see TODO; reported upstream.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3611b45c8eeb16ea673ff11c063f2f0ff3482e65

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 dconf/DESCR               |  3 +++
 dconf/Makefile            | 48 +++++++++++++++++++++++++++++++++++++++++++++++
 dconf/PLIST               | 17 +++++++++++++++++
 dconf/TODO                | 23 +++++++++++++++++++++++
 dconf/buildlink3.mk       | 15 +++++++++++++++
 dconf/database.mk         | 21 +++++++++++++++++++++
 dconf/distinfo            |  6 ++++++
 dconf/files/database.tmpl | 17 +++++++++++++++++
 8 files changed, 150 insertions(+)

diffs:
diff --git a/dconf/DESCR b/dconf/DESCR
new file mode 100644
index 0000000000..4ecd2a6f73
--- /dev/null
+++ b/dconf/DESCR
@@ -0,0 +1,3 @@
+dconf is a low-level configuration system. Its main purpose is
+to provide a backend to GSettings on platforms that don't already
+have configuration storage systems.
diff --git a/dconf/Makefile b/dconf/Makefile
new file mode 100644
index 0000000000..5d98eb1374
--- /dev/null
+++ b/dconf/Makefile
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.38 2017/10/15 22:31:02 prlw1 Exp $
+
+DISTNAME=	dconf-0.27.1
+CATEGORIES=	devel gnome
+MASTER_SITES=	${MASTER_SITE_GNOME:=sources/dconf/${PKGVERSION_NOREV:R}/}
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://wiki.gnome.org/Projects/dconf
+COMMENT=	Backend for gsettings
+LICENSE=	gnu-lgpl-v2.1
+
+USE_LANGUAGES=	c99
+USE_TOOLS+=	pkg-config gmake
+
+REPLACE_PYTHON+=	*.py
+
+SUBST_CLASSES+=		sysdir
+SUBST_MESSAGE.sysdir=	Fixes hard-coded dconf database directory name
+SUBST_STAGE.sysdir=	post-configure
+SUBST_FILES.sysdir+=	engine/dconf-engine-source-system.c
+SUBST_FILES.sysdir+=	engine/dconf-engine-profile.c
+SUBST_FILES.sysdir+=	tests/engine.c
+SUBST_FILES.sysdir+=	bin/dconf-update.c
+SUBST_FILES.sysdir+=	bin/dconf-update.vala
+SUBST_SED.sysdir=	-e s,/etc,${PKG_SYSCONFDIR},g
+
+.include "../../mk/bsd.prefs.mk"
+
+SUBST_CLASSES.Darwin+=	libname
+SUBST_STAGE.libname=	pre-configure
+SUBST_FILES.libname=	client/Makefile.in
+SUBST_FILES.libname+=	gsettings/Makefile.in
+SUBST_SED.libname=	-e "s|-Wl,-soname=|-install_name ${PREFIX}/lib/|g"
+SUBST_SED.libname+=	-e "/^libdconfsettings_so_LDFLAGS/s,$$, -install_name ${PREFIX}/lib/gio/modules/libdconfsettings.so,g"
+
+TOOL_DEPENDS+=	gdbus-codegen-[0-9]*:../../devel/gdbus-codegen
+BUILD_DEPENDS+=	libxslt-[0-9]*:../../textproc/libxslt
+BUILD_DEPENDS+=	docbook-xsl-[0-9]*:../../textproc/docbook-xsl
+
+BUILDLINK_DEPMETHOD.vala=	build
+BUILDLINK_API_DEPENDS.vala+=	vala>=0.18.0
+.include "../../lang/vala/buildlink3.mk"
+BUILDLINK_API_DEPENDS.glib2+=	glib2>=2.44.0
+.include "../../devel/glib2/modules.mk"
+.include "../../lang/python/application.mk"
+.include "../../devel/py-meson/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/dconf/PLIST b/dconf/PLIST
new file mode 100644
index 0000000000..ef0d0185b3
--- /dev/null
+++ b/dconf/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD$
+bin/dconf
+include/dconf/client/dconf-client.h
+include/dconf/common/dconf-changeset.h
+include/dconf/common/dconf-enums.h
+include/dconf/common/dconf-paths.h
+include/dconf/dconf.h
+lib/gio/modules/libdconfsettings.so
+lib/libdconf.so
+lib/libdconf.so.1
+lib/libdconf.so.1.0.0
+lib/pkgconfig/dconf.pc
+libexec/dconf-service
+share/bash-completion/completions/dconf
+share/dbus-1/services/ca.desrt.dconf.service
+share/vala/vapi/dconf.deps
+share/vala/vapi/dconf.vapi
diff --git a/dconf/TODO b/dconf/TODO
new file mode 100644
index 0000000000..8c1ea7fd4e
--- /dev/null
+++ b/dconf/TODO
@@ -0,0 +1,23 @@
+0.27.1 switched to meson build system. At least the following problems exist:
+
+* .pc file is broken: it contains "${prefix}//usr/pkg/lib" and misses -Wl,R
+
+* -Wl,-R from glib2's pkg-config file is ignored:
+
+=> Checking for missing run-time search paths in dconf-0.27.1
+ERROR: bin/dconf: missing library: libgobject-2.0.so.0
+ERROR: bin/dconf: missing library: libdconf.so.1
+ERROR: bin/dconf: missing library: libgio-2.0.so.0
+ERROR: bin/dconf: missing library: libglib-2.0.so.0
+ERROR: lib/gio/modules/libdconfsettings.so: missing library: libgobject-2.0.so.0
+ERROR: lib/gio/modules/libdconfsettings.so: missing library: libgio-2.0.so.0
+ERROR: lib/gio/modules/libdconfsettings.so: missing library: libglib-2.0.so.0
+ERROR: lib/libdconf.so.1.0.0: missing library: libgobject-2.0.so.0
+ERROR: lib/libdconf.so.1.0.0: missing library: libgio-2.0.so.0
+ERROR: lib/libdconf.so.1.0.0: missing library: libglib-2.0.so.0
+ERROR: libexec/dconf-service: missing library: libgobject-2.0.so.0
+ERROR: libexec/dconf-service: missing library: libgio-2.0.so.0
+ERROR: libexec/dconf-service: missing library: libglib-2.0.so.0
+*** Error code 1
+
+* man pages and gtk-doc is not installed any longer 
diff --git a/dconf/buildlink3.mk b/dconf/buildlink3.mk
new file mode 100644
index 0000000000..c8bf0d1dd4
--- /dev/null
+++ b/dconf/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.9 2016/04/20 22:00:55 prlw1 Exp $
+
+BUILDLINK_TREE+=	dconf
+
+.if !defined(DCONF_BUILDLINK3_MK)
+DCONF_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.dconf+=	dconf>=0.11.0
+BUILDLINK_ABI_DEPENDS.dconf?=	dconf>=0.14.0
+BUILDLINK_PKGSRCDIR.dconf?=	../../devel/dconf
+
+.include "../../devel/glib2/buildlink3.mk"
+.endif	# DCONF_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-dconf
diff --git a/dconf/database.mk b/dconf/database.mk
new file mode 100644
index 0000000000..073efb3677
--- /dev/null
+++ b/dconf/database.mk
@@ -0,0 +1,21 @@
+# $NetBSD: database.mk,v 1.2 2015/11/25 12:49:46 jperkin Exp $
+#
+# This Makefile fragment is intended to be included by packages that install
+# dconf database.  It takes care of update the corresponding databases
+# at (de)installation time.
+#
+
+.if !defined(DCONF_DATABASE_MK)
+DCONF_DATABASE_MK=	# defined
+
+DCONF=			${LOCALBASE}/bin/dconf
+
+FILES_SUBST+=		DCONF=${DCONF:Q}
+INSTALL_TEMPLATES+=	../../devel/dconf/files/database.tmpl
+DEINSTALL_TEMPLATES+=	../../devel/dconf/files/database.tmpl
+
+TOOLS_NOOP+=		dconf
+
+DEPENDS+=		dconf-[0-9]*:../../devel/dconf
+
+.endif			# DCONF_DATABASE_MK
diff --git a/dconf/distinfo b/dconf/distinfo
new file mode 100644
index 0000000000..f5241b911a
--- /dev/null
+++ b/dconf/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.12 2017/10/11 09:20:00 wiz Exp $
+
+SHA1 (dconf-0.27.1.tar.xz) = 0a7c416ef3112813d6122306172bb5b7a2ccc8df
+RMD160 (dconf-0.27.1.tar.xz) = b722ce4b99bef2082f7a9353f3521ca62d661680
+SHA512 (dconf-0.27.1.tar.xz) = a92bd67fb47e6ffaa1994ef6d99d349d38fcb6acff54e343d4451055dce26770bb385d2729fcfb44fe246247a1985fbaad2248cfbf9026312c55f17ec849b8ec
+Size (dconf-0.27.1.tar.xz) = 99996 bytes
diff --git a/dconf/files/database.tmpl b/dconf/files/database.tmpl
new file mode 100644
index 0000000000..cf1561e899
--- /dev/null
+++ b/dconf/files/database.tmpl
@@ -0,0 +1,17 @@
+# $NetBSD: database.tmpl,v 1.1 2014/05/25 06:06:00 obache Exp $
+#
+# Update the dconf database.
+#
+
+DCONF="@DCONF@"
+
+case "${STAGE}" in
+POST-INSTALL)
+	${DCONF} update
+	;;
+POST-DEINSTALL)
+	${DCONF} update
+	;;
+*)
+	;;
+esac


Home | Main Index | Thread Index | Old Index