diff options
Diffstat (limited to 'sysutils/gnome-settings-daemon')
7 files changed, 68 insertions, 49 deletions
diff --git a/sysutils/gnome-settings-daemon/Makefile b/sysutils/gnome-settings-daemon/Makefile index 19efe2c86607..0c1e1b2a6cb4 100644 --- a/sysutils/gnome-settings-daemon/Makefile +++ b/sysutils/gnome-settings-daemon/Makefile @@ -1,20 +1,21 @@ PORTNAME= gnome-settings-daemon -PORTVERSION= 42.2 -PORTREVISION= 9 +PORTVERSION= 47.2 CATEGORIES= sysutils gnome -MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} +MASTER_SITES= GNOME DIST_SUBDIR= gnome -PATCH_SITES= https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/ -PATCHFILES+= 03739474621e.patch:-p1 # https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/300 - MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME settings daemon -WWW= https://www.gnome.org/ +WWW= https://gitlab.gnome.org/GNOME/gnome-settings-daemon + +LICENSE= GPLv2+ LGPL21+ +LICENSE_COMB= multi +LICENSE_FILE_GPLv2+= ${WRKSRC}/COPYING +LICENSE_FILE_LGPL21+= ${WRKSRC}/COPYING.LIB -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING +PORTSCOUT= limit:^47\. +BUILD_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcanberra.so:audio/libcanberra \ libcolord.so:graphics/colord \ @@ -29,40 +30,40 @@ LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libnss3.so:security/nss \ libpolkit-gobject-1.so:sysutils/polkit \ libpulse.so:audio/pulseaudio \ - libupower-glib.so:sysutils/upower - -PORTSCOUT= limitw:1,even + libupower-glib.so:sysutils/upower \ + libp11-kit.so:security/p11-kit \ + libgcr-4.so:security/gcr -USE_XORG= x11 xext xi xtst -USE_GNOME= cairo gnomedesktop3 gtk30 +USE_XORG= x11 xext xfixes xi xtst +USE_GNOME= cairo glib20 gnomedesktop3 gtk30 USES= gettext gnome localbase:ldflags meson perl5 pkgconfig \ python:build tar:xz xorg USE_PERL5= build -# -Dnssdb_dir=${LOCALBASE}/share/certs/ca-root-nss.crt MESON_ARGS= -Dalsa=false \ - -Dcolord=false \ -Dcups=true \ -Dnetwork_manager=false \ - -Dnssdb_dir=${LOCALBASE}/share/certs/ \ -Drfkill=false \ -Dsmartcard=true \ + -Dusb-protection=false \ -Dsystemd=false \ -Dwwan=false BINARY_ALIAS= python3=${PYTHON_VERSION} -# wayland doesn't build yet, undefined symbol -MESON_ARGS+= -Dgudev=false \ - -Dwayland=false -#WAYLAND_MESON_TRUE= wayland gudev -#WAYLAND_LIB_DEPENDS= libgudev-1.0.so:devel/libgudev \ -# libwayland-client.so:graphics/wayland +OPTIONS_DEFINE= WAYLAND +OPTIONS_DEFAULT= WAYLAND +OPTIONS_SUB= yes + +WAYLAND_MESON_TRUE= wayland gudev +WAYLAND_LIB_DEPENDS= libgudev-1.0.so:devel/libgudev \ + libwayland-client.so:graphics/wayland + +PLIST_SUB= VERSION=${PORTVERSION:C/^([0-9]+)\..*/\1/} GLIB_SCHEMAS= org.gnome.settings-daemon.enums.xml \ org.gnome.settings-daemon.peripherals.gschema.xml \ org.gnome.settings-daemon.peripherals.wacom.gschema.xml \ org.gnome.settings-daemon.plugins.color.gschema.xml \ org.gnome.settings-daemon.plugins.gschema.xml \ - org.gnome.settings-daemon.plugins.housekeeping.gschema.xml \ org.gnome.settings-daemon.plugins.media-keys.gschema.xml \ org.gnome.settings-daemon.plugins.power.gschema.xml \ org.gnome.settings-daemon.plugins.power.gschema.xml.override \ diff --git a/sysutils/gnome-settings-daemon/distinfo b/sysutils/gnome-settings-daemon/distinfo index 8c2646f03d89..267361e50dd1 100644 --- a/sysutils/gnome-settings-daemon/distinfo +++ b/sysutils/gnome-settings-daemon/distinfo @@ -1,5 +1,3 @@ -TIMESTAMP = 1654141293 -SHA256 (gnome/gnome-settings-daemon-42.2.tar.xz) = 9c449714aa8ec1271c0db5137df3458195943f05ccd0ac8935d93397770bab00 -SIZE (gnome/gnome-settings-daemon-42.2.tar.xz) = 1483864 -SHA256 (gnome/03739474621e.patch) = 885f142e092363362b5716eb6f3d9690db938a31f95ff38f17828649c4271280 -SIZE (gnome/03739474621e.patch) = 1270 +TIMESTAMP = 1743436584 +SHA256 (gnome/gnome-settings-daemon-47.2.tar.xz) = 1eb758862e888f55a0869193087f1cfbcc7a1163654e630099ff4342dd3f6a5a +SIZE (gnome/gnome-settings-daemon-47.2.tar.xz) = 1480428 diff --git a/sysutils/gnome-settings-daemon/files/patch-data_meson.build b/sysutils/gnome-settings-daemon/files/patch-data_meson.build new file mode 100644 index 000000000000..dcf1f5a8d559 --- /dev/null +++ b/sysutils/gnome-settings-daemon/files/patch-data_meson.build @@ -0,0 +1,10 @@ +--- data/meson.build.orig 2022-09-17 21:37:19 UTC ++++ data/meson.build +@@ -5,7 +5,6 @@ schemas = [ + 'org.gnome.settings-daemon.peripherals.wacom.gschema.xml', + 'org.gnome.settings-daemon.plugins.gschema.xml', + 'org.gnome.settings-daemon.plugins.color.gschema.xml', +- 'org.gnome.settings-daemon.plugins.housekeeping.gschema.xml', + 'org.gnome.settings-daemon.plugins.media-keys.gschema.xml', + 'org.gnome.settings-daemon.plugins.power.gschema.xml', + 'org.gnome.settings-daemon.plugins.sharing.gschema.xml', diff --git a/sysutils/gnome-settings-daemon/files/patch-data_org.gnome.settings-daemon.plugins.gschema.xml.in b/sysutils/gnome-settings-daemon/files/patch-data_org.gnome.settings-daemon.plugins.gschema.xml.in new file mode 100644 index 000000000000..9cad1cc9fe2b --- /dev/null +++ b/sysutils/gnome-settings-daemon/files/patch-data_org.gnome.settings-daemon.plugins.gschema.xml.in @@ -0,0 +1,10 @@ +--- data/org.gnome.settings-daemon.plugins.gschema.xml.in.orig 2022-09-17 21:37:19 UTC ++++ data/org.gnome.settings-daemon.plugins.gschema.xml.in +@@ -10,7 +10,6 @@ + </description> + </key> + <child name="color" schema="org.gnome.settings-daemon.plugins.color"/> +- <child name="housekeeping" schema="org.gnome.settings-daemon.plugins.housekeeping"/> + <child name="media-keys" schema="org.gnome.settings-daemon.plugins.media-keys"/> + <child name="power" schema="org.gnome.settings-daemon.plugins.power"/> + <child name="xsettings" schema="org.gnome.settings-daemon.plugins.xsettings"/> diff --git a/sysutils/gnome-settings-daemon/files/patch-meson.build b/sysutils/gnome-settings-daemon/files/patch-meson.build deleted file mode 100644 index 118acd8027ef..000000000000 --- a/sysutils/gnome-settings-daemon/files/patch-meson.build +++ /dev/null @@ -1,13 +0,0 @@ -XXX push upstream - -Index: meson.build ---- meson.build.orig 2022-03-19 23:08:57 UTC -+++ meson.build -@@ -97,7 +97,6 @@ gweather_dep = dependency('gweather4') - gtk_dep = dependency('gtk+-3.0', version: '>= 3.15.3') - gtk_x11_dep = dependency('gtk+-x11-3.0') - gweather_dep = dependency('gweather4') --lcms_dep = dependency('lcms2', version: '>= 2.2') - libcanberra_gtk_dep = dependency('libcanberra-gtk3') - libgeoclue_dep = dependency('libgeoclue-2.0', version: '>= 2.3.1') - libnotify_dep = dependency('libnotify', version: '>= 0.7.3') diff --git a/sysutils/gnome-settings-daemon/files/patch-plugins_meson.build b/sysutils/gnome-settings-daemon/files/patch-plugins_meson.build new file mode 100644 index 000000000000..1c55859dd23a --- /dev/null +++ b/sysutils/gnome-settings-daemon/files/patch-plugins_meson.build @@ -0,0 +1,15 @@ +--- plugins/meson.build.orig 2024-03-16 22:14:58 UTC ++++ plugins/meson.build +@@ -52,6 +52,12 @@ endif + disabled_plugins += ['print-notifications'] + endif + ++# It requires org.freedesktop.timedate1 service (systemd/elogind stuff) ++disabled_plugins += ['datetime', 'sharing'] ++ ++# It requires org.freedesktop.systemd1 service ++disabled_plugins += ['housekeeping'] ++ + # Specify futher required units, 'before' or 'after' may be specified if ordering is needed + plugin_gate_units = { + 'xsettings': [ diff --git a/sysutils/gnome-settings-daemon/pkg-plist b/sysutils/gnome-settings-daemon/pkg-plist index 0785c66eaa87..45c5b0794bc0 100644 --- a/sysutils/gnome-settings-daemon/pkg-plist +++ b/sysutils/gnome-settings-daemon/pkg-plist @@ -16,25 +16,22 @@ etc/xdg/autostart/org.gnome.SettingsDaemon.UsbProtection.desktop etc/xdg/autostart/org.gnome.SettingsDaemon.Wacom.desktop etc/xdg/autostart/org.gnome.SettingsDaemon.Wwan.desktop etc/xdg/autostart/org.gnome.SettingsDaemon.XSettings.desktop -include/gnome-settings-daemon-42/gnome-settings-daemon/gsd-enums.h -lib/gnome-settings-daemon-42/libgsd.so +include/gnome-settings-daemon-%%VERSION%%/gnome-settings-daemon/gsd-enums.h +lib/gnome-settings-daemon-%%VERSION%%/libgsd.so libdata/pkgconfig/gnome-settings-daemon.pc libexec/gsd-a11y-settings -libexec/gsd-datetime -libexec/gsd-housekeeping +libexec/gsd-color 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-smartcard libexec/gsd-sound -libexec/gsd-usb-protection libexec/gsd-xsettings share/GConf/gsettings/gnome-settings-daemon.convert -%%DATADIR%%/datetime/backward +share/locale/ab/LC_MESSAGES/gnome-settings-daemon.mo 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 @@ -82,6 +79,7 @@ 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/kab/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 |