pkgsrc-WIP-changes archive

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

gnome-settings-daemon: Import gnome-settings-daemon-40.0.1 as wip/gnome-settings-daemon



Module Name:	pkgsrc-wip
Committed By:	Dan Cîrnaț <dan%alt.md@localhost>
Pushed By:	cirnatdan
Date:		Wed Nov 17 13:50:52 2021 +0100
Changeset:	2e0a1142e7232ac0106ddcd87eb991f2cbe245ae

Added Files:
	gnome-settings-daemon/DESCR
	gnome-settings-daemon/Makefile
	gnome-settings-daemon/PLIST
	gnome-settings-daemon/buildlink3.mk
	gnome-settings-daemon/distinfo
	gnome-settings-daemon/patches/patch-meson.build
	gnome-settings-daemon/patches/patch-plugins_xsettings_meson.build

Log Message:
gnome-settings-daemon: Import gnome-settings-daemon-40.0.1 as wip/gnome-settings-daemon

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

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

diffstat:
 gnome-settings-daemon/DESCR                        |   1 +
 gnome-settings-daemon/Makefile                     | 106 +++++++++++++++
 gnome-settings-daemon/PLIST                        | 147 +++++++++++++++++++++
 gnome-settings-daemon/buildlink3.mk                |  13 ++
 gnome-settings-daemon/distinfo                     |   7 +
 gnome-settings-daemon/patches/patch-meson.build    |  51 +++++++
 .../patches/patch-plugins_xsettings_meson.build    |  15 +++
 7 files changed, 340 insertions(+)

diffs:
diff --git a/gnome-settings-daemon/DESCR b/gnome-settings-daemon/DESCR
new file mode 100644
index 0000000000..97d5b9d2d6
--- /dev/null
+++ b/gnome-settings-daemon/DESCR
@@ -0,0 +1 @@
+GNOME settings daemon
diff --git a/gnome-settings-daemon/Makefile b/gnome-settings-daemon/Makefile
new file mode 100644
index 0000000000..6a285269c8
--- /dev/null
+++ b/gnome-settings-daemon/Makefile
@@ -0,0 +1,106 @@
+# $NetBSD: Makefile,v 1.84 2021/09/29 19:01:20 adam Exp $
+
+DISTNAME=	gnome-settings-daemon-40.0.1
+CATEGORIES=	sysutils gnome
+MASTER_SITES=	${MASTER_SITE_GNOME:=sources/${PKGBASE}/40/}
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://gitlab.gnome.org/GNOME/gnome-settings-daemon
+COMMENT=	GNOME settings daemon
+LICENSE=	gnu-gpl-v2 AND gnu-lgpl-v2.1
+
+TOOL_DEPENDS+=	docbook-xsl-[0-9]*:../../textproc/docbook-xsl
+
+USE_TOOLS+=	pkg-config msgfmt xgettext perl
+USE_TOOLS+=	gdbus-codegen
+
+CONFLICTS+=	gnome-control-center<2.22.0
+
+LDFLAGS+=	${COMPILER_RPATH_FLAG}${PREFIX}/lib/gnome-settings-daemon-3.0
+
+MESON_ARGS+=		-Drfkill=false
+MESON_ARGS+=		-Dnetwork_manager=false
+MESON_ARGS+=		-Dsystemd=false
+MESON_ARGS+=		-Dwayland=false
+MESON_ARGS+=		-Dsmartcard=false
+MESON_ARGS+=		-Dwwan=false
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Linux"
+MESON_ARGS+=		-Dalsa=false
+MESON_ARGS+=		-Dgudev=false
+.endif
+
+PKGCONFIG_OVERRIDE_STAGE=	pre-install
+PKGCONFIG_OVERRIDE+=		output/meson-private/gnome-settings-daemon.pc
+
+CONF_FILES+=	${PREFIX}/share/examples/xdg/Xwayland-session.d/00-xrdb \
+		${PKG_SYSCONFDIR}/xdg/Xwayland-session.d/00-xrdb
+CONF_FILES+=	${PREFIX}/share/examples/xdg/autostart/org.gnome.SettingsDaemon.A11ySettings.desktop \
+		${PKG_SYSCONFDIR}/xdg/autostart/org.gnome.SettingsDaemon.A11ySettings.desktop
+CONF_FILES+=	${PREFIX}/share/examples/xdg/autostart/org.gnome.SettingsDaemon.Color.desktop \
+		${PKG_SYSCONFDIR}/xdg/autostart/org.gnome.SettingsDaemon.Color.desktop
+CONF_FILES+=	${PREFIX}/share/examples/xdg/autostart/org.gnome.SettingsDaemon.Datetime.desktop \
+		${PKG_SYSCONFDIR}/xdg/autostart/org.gnome.SettingsDaemon.Datetime.desktop
+CONF_FILES+=	${PREFIX}/share/examples/xdg/autostart/org.gnome.SettingsDaemon.Housekeeping.desktop \
+		${PKG_SYSCONFDIR}/xdg/autostart/org.gnome.SettingsDaemon.Housekeeping.desktop
+CONF_FILES+=	${PREFIX}/share/examples/xdg/autostart/org.gnome.SettingsDaemon.Keyboard.desktop \
+		${PKG_SYSCONFDIR}/xdg/autostart/org.gnome.SettingsDaemon.Keyboard.desktop
+CONF_FILES+=	${PREFIX}/share/examples/xdg/autostart/org.gnome.SettingsDaemon.MediaKeys.desktop \
+		${PKG_SYSCONFDIR}/xdg/autostart/org.gnome.SettingsDaemon.MediaKeys.desktop
+CONF_FILES+=	${PREFIX}/share/examples/xdg/autostart/org.gnome.SettingsDaemon.Power.desktop \
+		${PKG_SYSCONFDIR}/xdg/autostart/org.gnome.SettingsDaemon.Power.desktop
+CONF_FILES+=	${PREFIX}/share/examples/xdg/autostart/org.gnome.SettingsDaemon.PrintNotifications.desktop \
+		${PKG_SYSCONFDIR}/xdg/autostart/org.gnome.SettingsDaemon.PrintNotifications.desktop
+CONF_FILES+=	${PREFIX}/share/examples/xdg/autostart/org.gnome.SettingsDaemon.Rfkill.desktop \
+		${PKG_SYSCONFDIR}/xdg/autostart/org.gnome.SettingsDaemon.Rfkill.desktop
+CONF_FILES+=	${PREFIX}/share/examples/xdg/autostart/org.gnome.SettingsDaemon.ScreensaverProxy.desktop \
+		${PKG_SYSCONFDIR}/xdg/autostart/org.gnome.SettingsDaemon.ScreensaverProxy.desktop
+CONF_FILES+=	${PREFIX}/share/examples/xdg/autostart/org.gnome.SettingsDaemon.Sharing.desktop \
+		${PKG_SYSCONFDIR}/xdg/autostart/org.gnome.SettingsDaemon.Sharing.desktop
+CONF_FILES+=	${PREFIX}/share/examples/xdg/autostart/org.gnome.SettingsDaemon.Smartcard.desktop \
+		${PKG_SYSCONFDIR}/xdg/autostart/org.gnome.SettingsDaemon.Smartcard.desktop
+CONF_FILES+=	${PREFIX}/share/examples/xdg/autostart/org.gnome.SettingsDaemon.Sound.desktop \
+		${PKG_SYSCONFDIR}/xdg/autostart/org.gnome.SettingsDaemon.Sound.desktop
+CONF_FILES+=	${PREFIX}/share/examples/xdg/autostart/org.gnome.SettingsDaemon.UsbProtection.desktop \
+		${PKG_SYSCONFDIR}/xdg/autostart/org.gnome.SettingsDaemon.UsbProtection.desktop
+CONF_FILES+=	${PREFIX}/share/examples/xdg/autostart/org.gnome.SettingsDaemon.Wacom.desktop \
+		${PKG_SYSCONFDIR}/xdg/autostart/org.gnome.SettingsDaemon.Wacom.desktop
+CONF_FILES+=	${PREFIX}/share/examples/xdg/autostart/org.gnome.SettingsDaemon.Wwan.desktop \
+		${PKG_SYSCONFDIR}/xdg/autostart/org.gnome.SettingsDaemon.Wwan.desktop
+CONF_FILES+=	${PREFIX}/share/examples/xdg/autostart/org.gnome.SettingsDaemon.XSettings.desktop \
+		${PKG_SYSCONFDIR}/xdg/autostart/org.gnome.SettingsDaemon.XSettings.desktop
+
+PYTHON_FOR_BUILD_ONLY=	tool
+
+.if ${OPSYS} == "Linux"
+.include "../../wip/libgudev/buildlink3.mk"
+.include "../../audio/alsa-lib/buildlink3.mk"
+.endif
+.include "../../wip/mk/libseccomp.buildlink3.mk"
+.include "../../devel/meson/build.mk"
+.include "../../audio/pulseaudio/buildlink3.mk"
+.include "../../audio/libcanberra/buildlink3.mk"
+.include "../../devel/dconf/buildlink3.mk"
+.include "../../devel/libgweather/buildlink3.mk"
+.include "../../geography/geoclue/buildlink3.mk"
+.include "../../geography/geocode-glib/buildlink3.mk"
+.include "../../graphics/colord/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+BUILDLINK_API_DEPENDS.dbus-glib+=	dbus-glib>=0.74
+.include "../../graphics/lcms2/buildlink3.mk"
+.include "../../print/libcups/buildlink3.mk"
+.include "../../sysutils/libnotify/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gsettings-desktop-schemas+=	gsettings-desktop-schemas>=3.15.4
+.include "../../sysutils/gsettings-desktop-schemas/buildlink3.mk"
+.include "../../security/polkit/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+.include "../../sysutils/upower/buildlink3.mk"
+.include "../../textproc/iso-codes/buildlink3.mk"
+.include "../../textproc/json-glib/buildlink3.mk"
+.include "../../x11/gnome-desktop3/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gnome-settings-daemon/PLIST b/gnome-settings-daemon/PLIST
new file mode 100644
index 0000000000..d9aefc9faf
--- /dev/null
+++ b/gnome-settings-daemon/PLIST
@@ -0,0 +1,147 @@
+@comment $NetBSD$
+include/gnome-settings-daemon-40/gnome-settings-daemon/gsd-enums.h
+lib/gnome-settings-daemon-40/libgsd.so
+lib/pkgconfig/gnome-settings-daemon.pc
+libexec/gsd-a11y-settings
+libexec/gsd-backlight-helper
+libexec/gsd-color
+libexec/gsd-datetime
+libexec/gsd-housekeeping
+libexec/gsd-keyboard
+libexec/gsd-media-keys
+libexec/gsd-power
+libexec/gsd-print-notifications
+libexec/gsd-printer
+libexec/gsd-screensaver-proxy
+libexec/gsd-sharing
+libexec/gsd-sound
+libexec/gsd-usb-protection
+libexec/gsd-xsettings
+share/GConf/gsettings/gnome-settings-daemon.convert
+share/examples/xdg/Xwayland-session.d/00-xrdb
+share/examples/xdg/autostart/org.gnome.SettingsDaemon.A11ySettings.desktop
+share/examples/xdg/autostart/org.gnome.SettingsDaemon.Color.desktop
+share/examples/xdg/autostart/org.gnome.SettingsDaemon.Datetime.desktop
+share/examples/xdg/autostart/org.gnome.SettingsDaemon.Housekeeping.desktop
+share/examples/xdg/autostart/org.gnome.SettingsDaemon.Keyboard.desktop
+share/examples/xdg/autostart/org.gnome.SettingsDaemon.MediaKeys.desktop
+share/examples/xdg/autostart/org.gnome.SettingsDaemon.Power.desktop
+share/examples/xdg/autostart/org.gnome.SettingsDaemon.PrintNotifications.desktop
+share/examples/xdg/autostart/org.gnome.SettingsDaemon.Rfkill.desktop
+share/examples/xdg/autostart/org.gnome.SettingsDaemon.ScreensaverProxy.desktop
+share/examples/xdg/autostart/org.gnome.SettingsDaemon.Sharing.desktop
+share/examples/xdg/autostart/org.gnome.SettingsDaemon.Smartcard.desktop
+share/examples/xdg/autostart/org.gnome.SettingsDaemon.Sound.desktop
+share/examples/xdg/autostart/org.gnome.SettingsDaemon.UsbProtection.desktop
+share/examples/xdg/autostart/org.gnome.SettingsDaemon.Wacom.desktop
+share/examples/xdg/autostart/org.gnome.SettingsDaemon.Wwan.desktop
+share/examples/xdg/autostart/org.gnome.SettingsDaemon.XSettings.desktop
+share/glib-2.0/schemas/org.gnome.settings-daemon.enums.xml
+share/glib-2.0/schemas/org.gnome.settings-daemon.peripherals.gschema.xml
+share/glib-2.0/schemas/org.gnome.settings-daemon.peripherals.wacom.gschema.xml
+share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.color.gschema.xml
+share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.gschema.xml
+share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.housekeeping.gschema.xml
+share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.media-keys.gschema.xml
+share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.power.gschema.xml
+share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.sharing.gschema.xml
+share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.xsettings.gschema.xml
+share/gnome-settings-daemon/datetime/backward
+share/locale/af/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/am/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/ar/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/as/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/ast/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/az/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/be/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/be@latin/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/bg/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/bn/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/bn_IN/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/br/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/bs/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/ca/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/ca@valencia/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/ckb/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/crh/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/cs/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/cy/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/da/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/de/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/dz/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/el/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/en@shaw/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/en_CA/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/en_GB/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/eo/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/es/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/et/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/eu/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/fa/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/fi/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/fr/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/fur/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/ga/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/gd/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/gl/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/gu/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/he/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/hi/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/hr/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/hu/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/id/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/is/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/it/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/ja/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/ka/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/kk/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/km/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/kn/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/ko/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/ku/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/lt/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/lv/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/mai/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/mg/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/mk/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/ml/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/mn/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/mr/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/ms/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/nb/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/nds/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/ne/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/nl/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/nn/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/nso/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/oc/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/or/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/pa/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/pl/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/pt/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/pt_BR/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/ro/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/ru/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/rw/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/si/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/sk/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/sl/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/sq/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/sr/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/sr@latin/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/sv/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/ta/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/te/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/tg/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/th/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/tr/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/ug/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/uk/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/vi/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/wa/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/xh/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/zh_CN/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/zh_HK/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/zh_TW/LC_MESSAGES/gnome-settings-daemon.mo
+share/locale/zu/LC_MESSAGES/gnome-settings-daemon.mo
+share/polkit-1/actions/org.gnome.settings-daemon.plugins.power.policy
diff --git a/gnome-settings-daemon/buildlink3.mk b/gnome-settings-daemon/buildlink3.mk
new file mode 100644
index 0000000000..0aca7c3582
--- /dev/null
+++ b/gnome-settings-daemon/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.9 2020/11/10 01:21:24 nia Exp $
+
+BUILDLINK_TREE+=	gnome-settings-daemon
+
+.if !defined(GNOME_SETTINGS_DAEMON_BUILDLINK3_MK)
+GNOME_SETTINGS_DAEMON_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gnome-settings-daemon+=	gnome-settings-daemon>=3.16.0
+BUILDLINK_ABI_DEPENDS.gnome-settings-daemon+=	gnome-settings-daemon>=3.16.1nb13
+BUILDLINK_PKGSRCDIR.gnome-settings-daemon?=	../../sysutils/gnome-settings-daemon
+.endif # GNOME_SETTINGS_DAEMON_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-gnome-settings-daemon
diff --git a/gnome-settings-daemon/distinfo b/gnome-settings-daemon/distinfo
new file mode 100644
index 0000000000..243264796c
--- /dev/null
+++ b/gnome-settings-daemon/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.19 2021/11/17 09:43:03 cirnatdan Exp $
+
+BLAKE2s (gnome-settings-daemon-40.0.1.tar.xz) = 9e11f4977a112af78602cee7c61ca618e80c183c6173b5e0c5e8bf47e1ac055c
+SHA512 (gnome-settings-daemon-40.0.1.tar.xz) = d5b7235e097baded66cbbc2c4f05effcac722daa09413f495368555ad97830746415c4c8f1ecfe54dac262f3b75ab1a83863dc4b736b9854dcf86c94c14edd79
+Size (gnome-settings-daemon-40.0.1.tar.xz) = 1443100 bytes
+SHA1 (patch-meson.build) = b30c456bb328f6d10f57f8e89fc018d9050b9e51
+SHA1 (patch-plugins_xsettings_meson.build) = 38fbf05aec12262ad7a3528a98ace9af19b7e828
diff --git a/gnome-settings-daemon/patches/patch-meson.build b/gnome-settings-daemon/patches/patch-meson.build
new file mode 100644
index 0000000000..8f8d415b19
--- /dev/null
+++ b/gnome-settings-daemon/patches/patch-meson.build
@@ -0,0 +1,51 @@
+$NetBSD: patch-meson.build,v 1.1 2020/11/10 01:21:24 nia Exp $
+
+Install config files to examples.
+
+--- meson.build.orig	2021-04-14 14:55:00.460781800 +0000
++++ meson.build
+@@ -23,7 +23,7 @@ gsd_includedir = join_paths(gsd_prefix,
+ gsd_libdir = join_paths(gsd_prefix, get_option('libdir'))
+ gsd_libexecdir = join_paths(gsd_prefix, get_option('libexecdir'))
+ gsd_localedir = join_paths(gsd_prefix, get_option('localedir'))
+-gsd_sysconfdir = join_paths(gsd_prefix, get_option('sysconfdir'))
++gsd_sysconfdir = join_paths(gsd_prefix, get_option('datadir'), 'examples')
+ 
+ gsd_pkgdatadir = join_paths(gsd_datadir, meson.project_name())
+ gsd_pkgincludedir = join_paths(gsd_includedir, gsd_api_name)
+@@ -84,7 +84,7 @@ endif
+ 
+ # Workaround for meson's bug
+ # https://github.com/mesonbuild/meson/pull/1896
+-if get_option('b_ndebug') == true
++if get_option('b_ndebug') == 'true'
+   common_flags += ['-DG_DISABLE_ASSERT']
+ endif
+ 
+@@ -156,7 +156,7 @@ endif
+ config_h.set10('HAVE_WAYLAND', enable_wayland)
+ 
+ # wacom (disabled for s390/s390x and non Linux platforms)
+-enable_wacom = host_is_linux_not_s390
++enable_wacom = false #host_is_linux_not_s390
+ if enable_wacom
+   assert(enable_gudev, 'GUDev support is required for wacom support.')
+   libwacom_dep = dependency('libwacom', version: '>= 0.7')
+@@ -198,7 +198,7 @@ endif
+ 
+ # Rfkill
+ enable_rfkill = get_option('rfkill')
+-assert(enable_rfkill or not host_is_linux, 'rfkill is not optional on Linux platforms')
++#assert(enable_rfkill or not host_is_linux, 'rfkill is not optional on Linux platforms')
+ if enable_rfkill
+   assert(cc.has_header('linux/rfkill.h'), 'rfkill support requested but RFKill headers not found')
+   assert(enable_gudev, 'GUdev is required for rfkill support')
+@@ -218,7 +218,7 @@ endif
+ 
+ # Sharing plugin
+ enable_network_manager = get_option('network_manager')
+-assert(enable_network_manager or not host_is_linux, 'NetworkManager support is not optional on Linux platforms')
++#assert(enable_network_manager or not host_is_linux, 'NetworkManager support is not optional on Linux platforms')
+ if enable_network_manager
+   # network manager
+   libnm_dep = dependency('libnm', version: '>= 1.0')
diff --git a/gnome-settings-daemon/patches/patch-plugins_xsettings_meson.build b/gnome-settings-daemon/patches/patch-plugins_xsettings_meson.build
new file mode 100644
index 0000000000..8f3c208315
--- /dev/null
+++ b/gnome-settings-daemon/patches/patch-plugins_xsettings_meson.build
@@ -0,0 +1,15 @@
+$NetBSD: patch-plugins_xsettings_meson.build,v 1.1 2020/11/10 01:21:24 nia Exp $
+
+Install config files to examples.
+
+--- plugins/xsettings/meson.build.orig	2020-10-08 20:37:58.241902000 +0000
++++ plugins/xsettings/meson.build
+@@ -48,7 +48,7 @@ endforeach
+ 
+ install_data(
+   files('00-xrdb'),
+-  install_dir: join_paths(gsd_sysconfdir, 'xdg/Xwayland-session.d')
++  install_dir: join_paths(get_option('datadir'), 'examples/xdg/Xwayland-session.d')
+ )
+ 
+ test_py = find_program('test.py')


Home | Main Index | Thread Index | Old Index