pkgsrc/devel/dconf/Makefile

66 lines
2 KiB
Makefile
Raw Normal View History

2022-03-30 12:02:21 +02:00
# $NetBSD: Makefile,v 1.67 2022/03/30 10:02:22 wiz Exp $
Update dconf to 0.26.0 XXX is SUBST_CLASSES.Darwin+= libname still needed? Changes in dconf 0.26.0 ======================== None. Changes in dconf 0.25.1 ======================== - the libdbus-1 backend has been removed. dconf now always uses GDBus. - support has been added for system administration frameworks to set up the dconf profile via a file placed in the XDG_RUNTIME_DIR or in /run/dconf/. In the case of the file in /run/dconf/, it is not possible to modify the proile, even via the DCONF_PROFILE environment variable, which makes it slightly more difficult to evade lockdown. - directory resets are now implemented properly in DConfChangeset which means that reading a subkey through a changeset that contains a reset for a parent directory of that key will return TRUE with a NULL value - a new API dconf_client_read_full() has been added which allows reading the user value, the default value, or querying what the effective value would be if a changeset were to be applied. - a new API has been added for listing the locks that are in effect: dconf_client_list_locks() - DConfClient has a new "writability-changed" signal - support for reading default values and listing locks have been added to the dconf commandline tool - support for g_autoptr() has been added for DConfClient and DConfChangeset - the handling of reading of default values via GSettings has been made more efficient. More major changes to the GSettings backend are expected in the near future. Changes in dconf 0.24.0 ======================== The version number was increased and a new entry was added to the NEWS. Changes in dconf 0.23.2 ======================== - remove dconf-editor manpage (accidentally missed during the split) - fix whitespace issues in 'dconf --help' Changes in dconf 0.23.1 ======================== - dconf-editor is now in a separate package - portability improvements
2016-04-21 00:00:55 +02:00
DISTNAME= dconf-0.40.0
2022-03-30 12:02:21 +02:00
PKGREVISION= 1
Update dconf to 0.26.0 XXX is SUBST_CLASSES.Darwin+= libname still needed? Changes in dconf 0.26.0 ======================== None. Changes in dconf 0.25.1 ======================== - the libdbus-1 backend has been removed. dconf now always uses GDBus. - support has been added for system administration frameworks to set up the dconf profile via a file placed in the XDG_RUNTIME_DIR or in /run/dconf/. In the case of the file in /run/dconf/, it is not possible to modify the proile, even via the DCONF_PROFILE environment variable, which makes it slightly more difficult to evade lockdown. - directory resets are now implemented properly in DConfChangeset which means that reading a subkey through a changeset that contains a reset for a parent directory of that key will return TRUE with a NULL value - a new API dconf_client_read_full() has been added which allows reading the user value, the default value, or querying what the effective value would be if a changeset were to be applied. - a new API has been added for listing the locks that are in effect: dconf_client_list_locks() - DConfClient has a new "writability-changed" signal - support for reading default values and listing locks have been added to the dconf commandline tool - support for g_autoptr() has been added for DConfClient and DConfChangeset - the handling of reading of default values via GSettings has been made more efficient. More major changes to the GSettings backend are expected in the near future. Changes in dconf 0.24.0 ======================== The version number was increased and a new entry was added to the NEWS. Changes in dconf 0.23.2 ======================== - remove dconf-editor manpage (accidentally missed during the split) - fix whitespace issues in 'dconf --help' Changes in dconf 0.23.1 ======================== - dconf-editor is now in a separate package - portability improvements
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
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
Update dconf to 0.26.0 XXX is SUBST_CLASSES.Darwin+= libname still needed? Changes in dconf 0.26.0 ======================== None. Changes in dconf 0.25.1 ======================== - the libdbus-1 backend has been removed. dconf now always uses GDBus. - support has been added for system administration frameworks to set up the dconf profile via a file placed in the XDG_RUNTIME_DIR or in /run/dconf/. In the case of the file in /run/dconf/, it is not possible to modify the proile, even via the DCONF_PROFILE environment variable, which makes it slightly more difficult to evade lockdown. - directory resets are now implemented properly in DConfChangeset which means that reading a subkey through a changeset that contains a reset for a parent directory of that key will return TRUE with a NULL value - a new API dconf_client_read_full() has been added which allows reading the user value, the default value, or querying what the effective value would be if a changeset were to be applied. - a new API has been added for listing the locks that are in effect: dconf_client_list_locks() - DConfClient has a new "writability-changed" signal - support for reading default values and listing locks have been added to the dconf commandline tool - support for g_autoptr() has been added for DConfClient and DConfChangeset - the handling of reading of default values via GSettings has been made more efficient. More major changes to the GSettings backend are expected in the near future. Changes in dconf 0.24.0 ======================== The version number was increased and a new entry was added to the NEWS. Changes in dconf 0.23.2 ======================== - remove dconf-editor manpage (accidentally missed during the split) - fix whitespace issues in 'dconf --help' Changes in dconf 0.23.1 ======================== - dconf-editor is now in a separate package - portability improvements
2016-04-21 00:00:55 +02:00
USE_LANGUAGES= c99
USE_TOOLS+= pkg-config gdbus-codegen
Update dconf to 0.26.0 XXX is SUBST_CLASSES.Darwin+= libname still needed? Changes in dconf 0.26.0 ======================== None. Changes in dconf 0.25.1 ======================== - the libdbus-1 backend has been removed. dconf now always uses GDBus. - support has been added for system administration frameworks to set up the dconf profile via a file placed in the XDG_RUNTIME_DIR or in /run/dconf/. In the case of the file in /run/dconf/, it is not possible to modify the proile, even via the DCONF_PROFILE environment variable, which makes it slightly more difficult to evade lockdown. - directory resets are now implemented properly in DConfChangeset which means that reading a subkey through a changeset that contains a reset for a parent directory of that key will return TRUE with a NULL value - a new API dconf_client_read_full() has been added which allows reading the user value, the default value, or querying what the effective value would be if a changeset were to be applied. - a new API has been added for listing the locks that are in effect: dconf_client_list_locks() - DConfClient has a new "writability-changed" signal - support for reading default values and listing locks have been added to the dconf commandline tool - support for g_autoptr() has been added for DConfClient and DConfChangeset - the handling of reading of default values via GSettings has been made more efficient. More major changes to the GSettings backend are expected in the near future. Changes in dconf 0.24.0 ======================== The version number was increased and a new entry was added to the NEWS. Changes in dconf 0.23.2 ======================== - remove dconf-editor manpage (accidentally missed during the split) - fix whitespace issues in 'dconf --help' Changes in dconf 0.23.1 ======================== - dconf-editor is now in a separate package - portability improvements
2016-04-21 00:00:55 +02:00
PYTHON_FOR_BUILD_ONLY= tool
REPLACE_PYTHON+= *.py
# gtk-doc wants to run dconf-scan, but that does not find its library libdconf.so.1
# https://bugzilla.gnome.org/show_bug.cgi?id=795348
#MESON_ARGS+= -D enable-gtk-doc=true
# man option does not work without gtk-doc option
#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
PKGCONFIG_OVERRIDE= output/meson-private/dconf.pc
PKGCONFIG_OVERRIDE_STAGE= post-build
.include "../../mk/bsd.prefs.mk"
post-install:
.if ${OPSYS} == "Darwin"
install_name_tool \
-id ${PREFIX}/lib/libdconf.dylib \
-change \
"@rpath/libdconf.1.dylib" \
"${PREFIX}/lib/libdconf.1.dylib" \
${DESTDIR}${PREFIX}/lib/libdconf.1.dylib
install_name_tool \
-id ${PREFIX}/lib/gio/modules/libdconfsettings.dylib \
-change \
"@rpath/libdconfsettings.dylib" \
"${PREFIX}/gio/modules/libdconfsettings.dylib" \
${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
.endif
2016-03-02 14:32:06 +01:00
BUILDLINK_DEPMETHOD.vala= build
.include "../../lang/vala/buildlink3.mk"
Update dconf to 0.26.0 XXX is SUBST_CLASSES.Darwin+= libname still needed? Changes in dconf 0.26.0 ======================== None. Changes in dconf 0.25.1 ======================== - the libdbus-1 backend has been removed. dconf now always uses GDBus. - support has been added for system administration frameworks to set up the dconf profile via a file placed in the XDG_RUNTIME_DIR or in /run/dconf/. In the case of the file in /run/dconf/, it is not possible to modify the proile, even via the DCONF_PROFILE environment variable, which makes it slightly more difficult to evade lockdown. - directory resets are now implemented properly in DConfChangeset which means that reading a subkey through a changeset that contains a reset for a parent directory of that key will return TRUE with a NULL value - a new API dconf_client_read_full() has been added which allows reading the user value, the default value, or querying what the effective value would be if a changeset were to be applied. - a new API has been added for listing the locks that are in effect: dconf_client_list_locks() - DConfClient has a new "writability-changed" signal - support for reading default values and listing locks have been added to the dconf commandline tool - support for g_autoptr() has been added for DConfClient and DConfChangeset - the handling of reading of default values via GSettings has been made more efficient. More major changes to the GSettings backend are expected in the near future. Changes in dconf 0.24.0 ======================== The version number was increased and a new entry was added to the NEWS. Changes in dconf 0.23.2 ======================== - remove dconf-editor manpage (accidentally missed during the split) - fix whitespace issues in 'dconf --help' Changes in dconf 0.23.1 ======================== - dconf-editor is now in a separate package - portability improvements
2016-04-21 00:00:55 +02:00
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.44.0
#.include "../../textproc/gtk-doc/buildlink3.mk"
.include "../../devel/glib2/modules.mk"
.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"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"