diff options
-rw-r--r-- | x11/xdg-desktop-portal-gnome/Makefile | 21 | ||||
-rw-r--r-- | x11/xdg-desktop-portal-gnome/distinfo | 6 | ||||
-rw-r--r-- | x11/xdg-desktop-portal-gnome/files/patch-data_meson.build | 22 | ||||
-rw-r--r-- | x11/xdg-desktop-portal-gnome/files/patch-meson.build | 29 | ||||
-rw-r--r-- | x11/xdg-desktop-portal-gnome/files/patch-src_screencastwidget.c | 11 | ||||
-rw-r--r-- | x11/xdg-desktop-portal-gnome/pkg-plist | 8 |
6 files changed, 52 insertions, 45 deletions
diff --git a/x11/xdg-desktop-portal-gnome/Makefile b/x11/xdg-desktop-portal-gnome/Makefile index a0f472f990c8..889288f3b610 100644 --- a/x11/xdg-desktop-portal-gnome/Makefile +++ b/x11/xdg-desktop-portal-gnome/Makefile @@ -1,5 +1,5 @@ PORTNAME= xdg-desktop-portal-gnome -DISTVERSION= 43.1 +DISTVERSION= 47.3 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome @@ -8,26 +8,33 @@ MAINTAINER= tagattie@FreeBSD.org COMMENT= Backend implementation for xdg-desktop-portal for GNOME WWW= https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome -LICENSE= LGPL21 +LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= xdg-desktop-portal>0:deskutils/xdg-desktop-portal \ - xdg-desktop-portal-gtk>0:x11/xdg-desktop-portal-gtk + gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ - libgnome-desktop-4.so:x11/gnome-desktop -RUN_DEPENDS= xdg-desktop-portal>0:deskutils/xdg-desktop-portal \ - xdg-desktop-portal-gtk>0:x11/xdg-desktop-portal-gtk + libgraphene-1.0.so:graphics/graphene \ + libwayland-client.so:graphics/wayland +RUN_DEPENDS= xdg-desktop-portal>0:deskutils/xdg-desktop-portal USES= gettext-tools gnome meson pkgconfig tar:xz xorg USE_XORG= x11 -USE_GNOME= cairo gdkpixbuf glib20 gtk40 libadwaita +USE_GNOME= cairo gdkpixbuf gnomedesktop4 glib20 gtk40 libadwaita GLIB_SCHEMAS= xdg-desktop-portal-gnome.gschema.xml +MESON_ARGS= -Dsystemd=disabled \ + -Dsystemduserunitdir=no + PORTDOCS= NEWS README.md OPTIONS_DEFINE= DOCS +post-patch: + @${REINPLACE_CMD} -i "" -e 's|SystemdService|#SystemdService|' \ + ${WRKSRC}/data/org.freedesktop.impl.portal.desktop.gnome.service.in + post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} diff --git a/x11/xdg-desktop-portal-gnome/distinfo b/x11/xdg-desktop-portal-gnome/distinfo index 8aeccea21e15..11916d34da04 100644 --- a/x11/xdg-desktop-portal-gnome/distinfo +++ b/x11/xdg-desktop-portal-gnome/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1676978672 -SHA256 (gnome/xdg-desktop-portal-gnome-43.1.tar.xz) = 09adb66c6d9153e6f05df66daa2ad62a5de0e36665e9d2295173bb0ddc53b4cd -SIZE (gnome/xdg-desktop-portal-gnome-43.1.tar.xz) = 125248 +TIMESTAMP = 1744991861 +SHA256 (gnome/xdg-desktop-portal-gnome-47.3.tar.xz) = 9f6e4b14b583367c915e9494764f27cb84927faa3f9e6e018b93bbbcf3361e44 +SIZE (gnome/xdg-desktop-portal-gnome-47.3.tar.xz) = 163996 diff --git a/x11/xdg-desktop-portal-gnome/files/patch-data_meson.build b/x11/xdg-desktop-portal-gnome/files/patch-data_meson.build index 9f718a38e65b..b76b04b5bc78 100644 --- a/x11/xdg-desktop-portal-gnome/files/patch-data_meson.build +++ b/x11/xdg-desktop-portal-gnome/files/patch-data_meson.build @@ -1,17 +1,11 @@ ---- data/meson.build.orig 2022-10-18 02:27:08 UTC +--- data/meson.build.orig 2024-05-25 18:46:09 UTC +++ data/meson.build -@@ -15,14 +15,6 @@ configure_file( - install_dir: dbus_service_dir, +@@ -41,7 +41,7 @@ configure_file( ) --# systemd unit --configure_file( -- input: 'xdg-desktop-portal-gnome.service.in', -- output: 'xdg-desktop-portal-gnome.service', -- configuration: libexecdir_conf, -- install_dir: systemduserunitdir, --) -- - # Desktop file - desktop_in = configure_file( - input: 'xdg-desktop-portal-gnome.desktop.in.in', + # systemd unit +-if systemduserunitdir != '' ++if systemduserunitdir != 'no' + configure_file( + input: 'xdg-desktop-portal-gnome.service.in', + output: 'xdg-desktop-portal-gnome.service', diff --git a/x11/xdg-desktop-portal-gnome/files/patch-meson.build b/x11/xdg-desktop-portal-gnome/files/patch-meson.build index f786d81b2a02..1d2818d837bc 100644 --- a/x11/xdg-desktop-portal-gnome/files/patch-meson.build +++ b/x11/xdg-desktop-portal-gnome/files/patch-meson.build @@ -1,24 +1,11 @@ ---- meson.build.orig 2022-10-18 02:27:08 UTC +--- meson.build.orig 2024-05-25 18:46:09 UTC +++ meson.build -@@ -11,15 +11,6 @@ datadir = get_option('datadir') - libdir = get_option('libdir') - libexecdir = get_option('libexecdir') +@@ -13,7 +13,7 @@ systemduserunitdir = get_option('systemduserunitdir') --systemduserunitdir = get_option('systemduserunitdir') + build_systemd_service = get_option('systemd') + systemduserunitdir = get_option('systemduserunitdir') -if systemduserunitdir == '' -- systemd = dependency('systemd', version: '>= 242') -- systemduserunitdir = systemd.get_pkgconfig_variable( -- 'systemduserunitdir', -- define_variable: ['prefix', get_option('prefix')] -- ) --endif -- - dbus_service_dir = get_option('dbus_service_dir') - if dbus_service_dir == '' - dbus_service_dir = datadir / 'dbus-1' / 'services' -@@ -35,5 +26,4 @@ summary({ - 'libdir': libdir, - 'libexecdir': libexecdir, - 'dbus_service_dir': dbus_service_dir, -- 'systemduserunitdir': systemduserunitdir, - }) ++if systemduserunitdir != 'no' + systemd = dependency('systemd', version: '>= 242', required: build_systemd_service) + if build_systemd_service.allowed() and systemd.found() + systemduserunitdir = systemd.get_variable( diff --git a/x11/xdg-desktop-portal-gnome/files/patch-src_screencastwidget.c b/x11/xdg-desktop-portal-gnome/files/patch-src_screencastwidget.c new file mode 100644 index 000000000000..804515ceb5fb --- /dev/null +++ b/x11/xdg-desktop-portal-gnome/files/patch-src_screencastwidget.c @@ -0,0 +1,11 @@ +--- src/screencastwidget.c.orig 2025-02-17 11:16:56 UTC ++++ src/screencastwidget.c +@@ -57,7 +57,7 @@ struct _ScreenCastWidget + ScreenCastPersistMode persist_mode; + + DisplayStateTracker *display_state_tracker; +- ulong monitors_changed_handler_id; ++ gulong monitors_changed_handler_id; + + ShellIntrospect *shell_introspect; + GListModel *filter_model; diff --git a/x11/xdg-desktop-portal-gnome/pkg-plist b/x11/xdg-desktop-portal-gnome/pkg-plist index 161061029b82..ae6c640d0585 100644 --- a/x11/xdg-desktop-portal-gnome/pkg-plist +++ b/x11/xdg-desktop-portal-gnome/pkg-plist @@ -2,6 +2,7 @@ libexec/xdg-desktop-portal-gnome share/applications/xdg-desktop-portal-gnome.desktop share/dbus-1/services/org.freedesktop.impl.portal.desktop.gnome.service share/locale/ab/LC_MESSAGES/xdg-desktop-portal-gnome.mo +share/locale/be/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/bg/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/ca/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/cs/LC_MESSAGES/xdg-desktop-portal-gnome.mo @@ -9,6 +10,7 @@ share/locale/da/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/de/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/el/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/en_GB/LC_MESSAGES/xdg-desktop-portal-gnome.mo +share/locale/eo/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/es/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/eu/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/fa/LC_MESSAGES/xdg-desktop-portal-gnome.mo @@ -17,16 +19,21 @@ share/locale/fr/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/fur/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/gl/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/he/LC_MESSAGES/xdg-desktop-portal-gnome.mo +share/locale/hi/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/hr/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/hu/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/id/LC_MESSAGES/xdg-desktop-portal-gnome.mo +share/locale/ie/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/is/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/it/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/ja/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/ka/LC_MESSAGES/xdg-desktop-portal-gnome.mo +share/locale/kab/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/kk/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/ko/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/lt/LC_MESSAGES/xdg-desktop-portal-gnome.mo +share/locale/lv/LC_MESSAGES/xdg-desktop-portal-gnome.mo +share/locale/nb/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/ne/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/nl/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/oc/LC_MESSAGES/xdg-desktop-portal-gnome.mo @@ -40,6 +47,7 @@ share/locale/sk/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/sl/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/sr/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/sv/LC_MESSAGES/xdg-desktop-portal-gnome.mo +share/locale/th/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/tr/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/uk/LC_MESSAGES/xdg-desktop-portal-gnome.mo share/locale/zh_CN/LC_MESSAGES/xdg-desktop-portal-gnome.mo |