2022-03-30 12:02:21 +02:00
|
|
|
# $NetBSD: Makefile,v 1.67 2022/03/30 10:02:22 wiz Exp $
|
2016-04-21 00:00:55 +02:00
|
|
|
|
2022-03-02 14:17:25 +01:00
|
|
|
DISTNAME= dconf-0.40.0
|
2022-03-30 12:02:21 +02:00
|
|
|
PKGREVISION= 1
|
2016-04-21 00:00:55 +02:00
|
|
|
CATEGORIES= devel gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/dconf/${PKGVERSION_NOREV:R}/}
|
|
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= https://wiki.gnome.org/Projects/dconf
|
|
|
|
COMMENT= Backend for gsettings
|
|
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
|
2018-04-17 14:28:41 +02:00
|
|
|
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
|
|
|
|
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
|
|
|
|
|
2016-04-21 00:00:55 +02:00
|
|
|
USE_LANGUAGES= c99
|
2021-05-02 13:06:12 +02:00
|
|
|
USE_TOOLS+= pkg-config gdbus-codegen
|
2016-04-21 00:00:55 +02:00
|
|
|
|
2021-04-13 10:08:40 +02:00
|
|
|
PYTHON_FOR_BUILD_ONLY= tool
|
2018-04-17 14:28:41 +02:00
|
|
|
REPLACE_PYTHON+= *.py
|
|
|
|
|
|
|
|
# gtk-doc wants to run dconf-scan, but that does not find its library libdconf.so.1
|
2018-04-18 10:26:42 +02:00
|
|
|
# https://bugzilla.gnome.org/show_bug.cgi?id=795348
|
|
|
|
#MESON_ARGS+= -D enable-gtk-doc=true
|
2018-04-17 14:28:41 +02:00
|
|
|
# man option does not work without gtk-doc option
|
2018-04-18 10:26:42 +02:00
|
|
|
#MESON_ARGS+= -D enable-man=true
|
dconf: update to 0.30.1.
Changes in dconf 0.30.1
=======================
- Engine: Fix memory leak when subscribing to a path
(Guido Günther; !25)
Changes in dconf 0.30.0
=======================
None.
Changes in dconf 0.29.2
=======================
- Service: When corrupt GVDB files are found, they are now
transparently backed up and replaced with an empty database.
(Philip Withnall, !8)
- Replace all hard-coded /etc path with sysconfdir. This is useful for
JHBuild environments and systems that don't want to use /etc/dconf.
(Ting-Wei Lan; !21, #739229)
- Engine: Change overflow thresholds in subscription counts from
GMAXUINT32 to GMAXUINT (Daniel Playfair Cal; !20)
- Change meson flag used to build Gtk-Doc from enable-gtk-doc to
gtk_doc (Daniel Playfair Cal; !19)
- Declare libdconf_service as a dependency to fix the build in
massively parallelised environments (Emmanuele Bassi; !22)
Changes in dconf 0.29.1
=======================
- Engine: track in progress watch handles to avoid spurious changed
signals for the root path. Subscription requests are no longer sent
if the engine is already subscribed to the given path. In the case
that some value changes while a subscription request is in progress,
a changed signal is only sent for the path being subscribed to
instead of the root path. (Daniel Playfair Cal; !1, !5, #790640)
- Engine: fix deadlock which occured when using the engine from libsoup
within flatpak by extending the existing workaround for Glib !541, aka
#674885. GSocket and various other GObject types are now also
initialised in the main thread. (Owen Taylor; !15)
- Add transfer annotations to the GTK-Doc strings for functions in the
dconf_changeset_* and dconf_client_* namespaces (Xavier Claessens,
Philip Withnall; !9, #758903)
- Update GVDB subtree from GVDB master, containing mostly documentation
improvements (Philip Withnall; !17)
- dconf-update.vala: correct error message grammar (Kenyon Ralph; !6)
- Various meson related improvements (Iñigo Martínez; !11)
- Add GitLab CI (Philip Withnall; !10)
- Service: Port from the deprecated g_type_class_add_private() to
G_ADD_PRIVATE() (Philip Withnall; !7)
- Add Daniel Playfair Cal and Philip Withnall as maintainers (Philip
Withnall)
2018-12-02 08:11:55 +01:00
|
|
|
MESON_ARGS+= -D bash_completion=false
|
2018-04-17 14:28:41 +02:00
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE= output/meson-private/dconf.pc
|
|
|
|
PKGCONFIG_OVERRIDE_STAGE= post-build
|
2010-11-16 20:47:07 +01:00
|
|
|
|
2012-11-06 19:51:46 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2013-12-21 12:31:33 +01:00
|
|
|
|
2018-06-09 04:38:43 +02:00
|
|
|
post-install:
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
|
|
install_name_tool \
|
|
|
|
-id ${PREFIX}/lib/libdconf.dylib \
|
|
|
|
-change \
|
|
|
|
"@rpath/libdconf.1.dylib" \
|
|
|
|
"${PREFIX}/lib/libdconf.1.dylib" \
|
2018-12-07 21:02:58 +01:00
|
|
|
${DESTDIR}${PREFIX}/lib/libdconf.1.dylib
|
2018-06-09 04:38:43 +02:00
|
|
|
install_name_tool \
|
|
|
|
-id ${PREFIX}/lib/gio/modules/libdconfsettings.dylib \
|
|
|
|
-change \
|
|
|
|
"@rpath/libdconfsettings.dylib" \
|
|
|
|
"${PREFIX}/gio/modules/libdconfsettings.dylib" \
|
2018-12-07 21:02:58 +01:00
|
|
|
${DESTDIR}${PREFIX}/lib/gio/modules/libdconfsettings.dylib
|
|
|
|
install_name_tool \
|
|
|
|
-id ${PREFIX}/lib/libdconf.dylib \
|
|
|
|
-change \
|
|
|
|
"@rpath/libdconf.1.dylib" \
|
|
|
|
"${PREFIX}/lib/libdconf.1.dylib" \
|
|
|
|
${DESTDIR}${PREFIX}/bin/dconf
|
2018-06-09 04:38:43 +02:00
|
|
|
.endif
|
2012-11-06 19:51:46 +01:00
|
|
|
|
2016-03-02 14:32:06 +01:00
|
|
|
BUILDLINK_DEPMETHOD.vala= build
|
2014-11-11 00:23:17 +01:00
|
|
|
.include "../../lang/vala/buildlink3.mk"
|
2016-04-21 00:00:55 +02:00
|
|
|
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.44.0
|
2018-04-18 10:26:42 +02:00
|
|
|
#.include "../../textproc/gtk-doc/buildlink3.mk"
|
2010-11-17 15:35:32 +01:00
|
|
|
.include "../../devel/glib2/modules.mk"
|
2019-10-07 11:28:09 +02:00
|
|
|
.include "../../devel/meson/build.mk"
|
dconf: update to 0.30.1.
Changes in dconf 0.30.1
=======================
- Engine: Fix memory leak when subscribing to a path
(Guido Günther; !25)
Changes in dconf 0.30.0
=======================
None.
Changes in dconf 0.29.2
=======================
- Service: When corrupt GVDB files are found, they are now
transparently backed up and replaced with an empty database.
(Philip Withnall, !8)
- Replace all hard-coded /etc path with sysconfdir. This is useful for
JHBuild environments and systems that don't want to use /etc/dconf.
(Ting-Wei Lan; !21, #739229)
- Engine: Change overflow thresholds in subscription counts from
GMAXUINT32 to GMAXUINT (Daniel Playfair Cal; !20)
- Change meson flag used to build Gtk-Doc from enable-gtk-doc to
gtk_doc (Daniel Playfair Cal; !19)
- Declare libdconf_service as a dependency to fix the build in
massively parallelised environments (Emmanuele Bassi; !22)
Changes in dconf 0.29.1
=======================
- Engine: track in progress watch handles to avoid spurious changed
signals for the root path. Subscription requests are no longer sent
if the engine is already subscribed to the given path. In the case
that some value changes while a subscription request is in progress,
a changed signal is only sent for the path being subscribed to
instead of the root path. (Daniel Playfair Cal; !1, !5, #790640)
- Engine: fix deadlock which occured when using the engine from libsoup
within flatpak by extending the existing workaround for Glib !541, aka
#674885. GSocket and various other GObject types are now also
initialised in the main thread. (Owen Taylor; !15)
- Add transfer annotations to the GTK-Doc strings for functions in the
dconf_changeset_* and dconf_client_* namespaces (Xavier Claessens,
Philip Withnall; !9, #758903)
- Update GVDB subtree from GVDB master, containing mostly documentation
improvements (Philip Withnall; !17)
- dconf-update.vala: correct error message grammar (Kenyon Ralph; !6)
- Various meson related improvements (Iñigo Martínez; !11)
- Add GitLab CI (Philip Withnall; !10)
- Service: Port from the deprecated g_type_class_add_private() to
G_ADD_PRIVATE() (Philip Withnall; !7)
- Add Daniel Playfair Cal and Philip Withnall as maintainers (Philip
Withnall)
2018-12-02 08:11:55 +01:00
|
|
|
.include "../../sysutils/dbus/buildlink3.mk"
|
2018-04-18 00:38:42 +02:00
|
|
|
.include "../../lang/python/application.mk"
|
2010-11-16 20:47:07 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|