pkgsrc-WIP-changes archive

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

Imported dconf as wip/dconf



Module Name:	pkgsrc-wip
Committed By:	coypu <coypu%sdf.org@localhost>
Pushed By:	coypu
Date:		Wed Jan 27 12:30:26 2016 +0200
Changeset:	b7e8a2d12b1fc110cf93f30b6650d87b95093858

Added Files:
	dconf/DESCR
	dconf/Makefile
	dconf/Makefile.common
	dconf/PLIST
	dconf/buildlink3.mk
	dconf/database.mk
	dconf/distinfo
	dconf/files/database.tmpl
	dconf/patches/patch-aa
	dconf/patches/patch-editor_Makefile.in

Log Message:
Imported dconf as wip/dconf

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

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                         |  31 ++++++++++
 dconf/Makefile.common                  |  27 +++++++++
 dconf/PLIST                            | 106 +++++++++++++++++++++++++++++++++
 dconf/buildlink3.mk                    |  16 +++++
 dconf/database.mk                      |  21 +++++++
 dconf/distinfo                         |   8 +++
 dconf/files/database.tmpl              |  17 ++++++
 dconf/patches/patch-aa                 |  13 ++++
 dconf/patches/patch-editor_Makefile.in |  22 +++++++
 10 files changed, 264 insertions(+)

diffs:
diff --git a/dconf/DESCR b/dconf/DESCR
new file mode 100644
index 0000000..4ecd2a6
--- /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 0000000..9da87d8
--- /dev/null
+++ b/dconf/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.26 2015/09/07 12:02:06 jperkin Exp $
+
+PKGREVISION= 1
+.include "Makefile.common"
+
+CONFIGURE_ARGS+= --disable-editor
+
+PKGCONFIG_OVERRIDE+=	client/dconf.pc.in dbus-1/dconf-dbus-1.pc.in
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD"
+BUILDLINK_TRANSFORM+=	rm:-ldl
+.endif
+
+.if ${OPSYS} == "Darwin"
+BUILDLINK_TRANSFORM+=	rm:-Wl,-soname=libdconf-dbus-1.so.0
+BUILDLINK_TRANSFORM+=	rm:-Wl,-soname=libdconf.so.1
+.endif
+
+BUILD_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.39.1
+.include "../../devel/glib2/modules.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/dconf/Makefile.common b/dconf/Makefile.common
new file mode 100644
index 0000000..9b251de
--- /dev/null
+++ b/dconf/Makefile.common
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile.common,v 1.7 2014/11/10 23:23:17 prlw1 Exp $
+#
+# used by devel/dconf-editor/Makefile
+
+DISTNAME=	dconf-0.22.0
+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
+
+GNU_CONFIGURE=	yes
+USE_LANGUAGES=	c99
+USE_LIBTOOL=	yes
+USE_TOOLS+=	pkg-config gmake intltool msgfmt
+
+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+=	tests/engine.c
+SUBST_FILES.sysdir+=	bin/dconf-update.c
+SUBST_FILES.sysdir+=	bin/dconf-update.vala
+SUBST_SED.sysdir=	-e s,/etc/dconf,${PKG_SYSCONFDIR}/dconf,g
diff --git a/dconf/PLIST b/dconf/PLIST
new file mode 100644
index 0000000..a494417
--- /dev/null
+++ b/dconf/PLIST
@@ -0,0 +1,106 @@
+@comment $NetBSD: PLIST,v 1.7 2014/09/10 10:54:46 prlw1 Exp $
+bin/dconf
+include/dconf-dbus-1/dconf-dbus-1.h
+include/dconf/client/dconf-client.h
+include/dconf/common/dconf-changeset.h
+include/dconf/common/dconf-error.h
+include/dconf/common/dconf-paths.h
+include/dconf/dconf.h
+lib/gio/modules/libdconfsettings.so
+lib/libdconf-dbus-1.so
+lib/libdconf-dbus-1.so.0
+lib/libdconf-dbus-1.so.0.0.0
+lib/libdconf.so
+lib/libdconf.so.1
+lib/libdconf.so.1.0.0
+lib/pkgconfig/dconf-dbus-1.pc
+lib/pkgconfig/dconf.pc
+libexec/dconf-service
+man/man1/dconf-editor.1
+man/man1/dconf-service.1
+man/man1/dconf.1
+man/man7/dconf.7
+share/bash-completion/completions/dconf
+share/dbus-1/services/ca.desrt.dconf.service
+share/gtk-doc/html/dconf/DConfClient.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-DConfChangeset.html
+share/gtk-doc/html/dconf/dconf-DConfError.html
+share/gtk-doc/html/dconf/dconf-dconf-Paths.html
+share/gtk-doc/html/dconf/dconf-editor.html
+share/gtk-doc/html/dconf/dconf-overview.html
+share/gtk-doc/html/dconf/dconf-service.html
+share/gtk-doc/html/dconf/dconf-tool.html
+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-insensitive.png
+share/gtk-doc/html/dconf/left.png
+share/gtk-doc/html/dconf/object-tree.html
+share/gtk-doc/html/dconf/programs.html
+share/gtk-doc/html/dconf/right-insensitive.png
+share/gtk-doc/html/dconf/right.png
+share/gtk-doc/html/dconf/style.css
+share/gtk-doc/html/dconf/up-insensitive.png
+share/gtk-doc/html/dconf/up.png
+share/locale/an/LC_MESSAGES/dconf.mo
+share/locale/ar/LC_MESSAGES/dconf.mo
+share/locale/as/LC_MESSAGES/dconf.mo
+share/locale/be/LC_MESSAGES/dconf.mo
+share/locale/bg/LC_MESSAGES/dconf.mo
+share/locale/bn_IN/LC_MESSAGES/dconf.mo
+share/locale/ca/LC_MESSAGES/dconf.mo
+share/locale/ca@valencia/LC_MESSAGES/dconf.mo
+share/locale/cs/LC_MESSAGES/dconf.mo
+share/locale/da/LC_MESSAGES/dconf.mo
+share/locale/de/LC_MESSAGES/dconf.mo
+share/locale/el/LC_MESSAGES/dconf.mo
+share/locale/en_GB/LC_MESSAGES/dconf.mo
+share/locale/eo/LC_MESSAGES/dconf.mo
+share/locale/es/LC_MESSAGES/dconf.mo
+share/locale/et/LC_MESSAGES/dconf.mo
+share/locale/eu/LC_MESSAGES/dconf.mo
+share/locale/fa/LC_MESSAGES/dconf.mo
+share/locale/fi/LC_MESSAGES/dconf.mo
+share/locale/fr/LC_MESSAGES/dconf.mo
+share/locale/fur/LC_MESSAGES/dconf.mo
+share/locale/gl/LC_MESSAGES/dconf.mo
+share/locale/he/LC_MESSAGES/dconf.mo
+share/locale/hi/LC_MESSAGES/dconf.mo
+share/locale/hu/LC_MESSAGES/dconf.mo
+share/locale/id/LC_MESSAGES/dconf.mo
+share/locale/it/LC_MESSAGES/dconf.mo
+share/locale/ja/LC_MESSAGES/dconf.mo
+share/locale/ko/LC_MESSAGES/dconf.mo
+share/locale/lt/LC_MESSAGES/dconf.mo
+share/locale/lv/LC_MESSAGES/dconf.mo
+share/locale/ml/LC_MESSAGES/dconf.mo
+share/locale/mr/LC_MESSAGES/dconf.mo
+share/locale/nb/LC_MESSAGES/dconf.mo
+share/locale/nl/LC_MESSAGES/dconf.mo
+share/locale/pa/LC_MESSAGES/dconf.mo
+share/locale/pl/LC_MESSAGES/dconf.mo
+share/locale/pt/LC_MESSAGES/dconf.mo
+share/locale/pt_BR/LC_MESSAGES/dconf.mo
+share/locale/ru/LC_MESSAGES/dconf.mo
+share/locale/sk/LC_MESSAGES/dconf.mo
+share/locale/sl/LC_MESSAGES/dconf.mo
+share/locale/sr/LC_MESSAGES/dconf.mo
+share/locale/sr@latin/LC_MESSAGES/dconf.mo
+share/locale/sv/LC_MESSAGES/dconf.mo
+share/locale/ta/LC_MESSAGES/dconf.mo
+share/locale/te/LC_MESSAGES/dconf.mo
+share/locale/tg/LC_MESSAGES/dconf.mo
+share/locale/th/LC_MESSAGES/dconf.mo
+share/locale/tr/LC_MESSAGES/dconf.mo
+share/locale/ug/LC_MESSAGES/dconf.mo
+share/locale/uk/LC_MESSAGES/dconf.mo
+share/locale/vi/LC_MESSAGES/dconf.mo
+share/locale/zh_CN/LC_MESSAGES/dconf.mo
+share/locale/zh_HK/LC_MESSAGES/dconf.mo
+share/locale/zh_TW/LC_MESSAGES/dconf.mo
+share/vala/vapi/dconf.deps
+share/vala/vapi/dconf.vapi
diff --git a/dconf/buildlink3.mk b/dconf/buildlink3.mk
new file mode 100644
index 0000000..9a20dbe
--- /dev/null
+++ b/dconf/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.8 2013/09/30 11:17:32 obache 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"
+.include "../../sysutils/dbus/buildlink3.mk"
+.endif	# DCONF_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-dconf
diff --git a/dconf/database.mk b/dconf/database.mk
new file mode 100644
index 0000000..073efb3
--- /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 0000000..8cdd87e
--- /dev/null
+++ b/dconf/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.10 2015/11/03 03:27:22 agc Exp $
+
+SHA1 (dconf-0.22.0.tar.xz) = d1a03938451b19a53f0d2fd09b6c737542fdd4c4
+RMD160 (dconf-0.22.0.tar.xz) = a69abcb409ebdb3a72923ecbb23cbf5b43a5f98c
+SHA512 (dconf-0.22.0.tar.xz) = fee502b599da3634934eadc3d9fc138f2036118e88edadf0e3dc157f8e689ee1fee057342a296197b126e5f657fcb2bb1f399b6a3ffa9ff5fdcc3119d9433d9b
+Size (dconf-0.22.0.tar.xz) = 393260 bytes
+SHA1 (patch-aa) = c786bb85c3971f918294293df7c03fabf1ff201e
+SHA1 (patch-editor_Makefile.in) = 5caa945a7b792daa36fb090741b05e38f0f3945a
diff --git a/dconf/files/database.tmpl b/dconf/files/database.tmpl
new file mode 100644
index 0000000..cf1561e
--- /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
diff --git a/dconf/patches/patch-aa b/dconf/patches/patch-aa
new file mode 100644
index 0000000..8c973b2
--- /dev/null
+++ b/dconf/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.4 2013/09/30 11:42:13 obache Exp $
+
+--- configure.orig	2013-09-23 21:29:29.000000000 +0000
++++ configure
+@@ -5423,7 +5423,7 @@ if test "${enable_gcov+set}" = set; then
+ fi
+ 
+ 
+-if test "x$enable_gcov" == "xyes"; then
++if test "x$enable_gcov" = "xyes"; then
+   CFLAGS="$CFLAGS -O0 -fprofile-arcs -ftest-coverage"
+   LDFLAGS="$LDFLAGS -lgcov"
+ fi
diff --git a/dconf/patches/patch-editor_Makefile.in b/dconf/patches/patch-editor_Makefile.in
new file mode 100644
index 0000000..06f0af6
--- /dev/null
+++ b/dconf/patches/patch-editor_Makefile.in
@@ -0,0 +1,22 @@
+$NetBSD: patch-editor_Makefile.in,v 1.4 2013/09/30 11:42:13 obache Exp $
+
+--- editor/Makefile.in.orig	2013-09-23 21:29:28.000000000 +0000
++++ editor/Makefile.in
+@@ -103,7 +103,7 @@ nodist_dconf_editor_OBJECTS = dconf_edit
+ dconf_editor_OBJECTS = $(am_dconf_editor_OBJECTS) \
+ 	$(nodist_dconf_editor_OBJECTS)
+ am__DEPENDENCIES_1 =
+-dconf_editor_DEPENDENCIES = ../client/libdconf.so.1 \
++dconf_editor_DEPENDENCIES = \
+ 	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ 	$(am__DEPENDENCIES_1)
+ dconf_editor_LINK = $(CCLD) $(dconf_editor_CFLAGS) $(CFLAGS) \
+@@ -355,7 +355,7 @@ TEST_PROGS = 
+ AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/client
+ dconf_editor_VALAFLAGS = --vapidir ../client --pkg gtk+-3.0 --pkg gmodule-2.0 --pkg libxml-2.0 --pkg dconf
+ dconf_editor_LDADD = \
+-	../client/libdconf.so.1		\
++	$(prefix)/lib/libdconf.so.1	\
+ 	$(gtk_LIBS)			\
+ 	$(gee_LIBS)			\
+ 	$(gmodule_LIBS)			\


Home | Main Index | Thread Index | Old Index