From nobody Mon Jul 31 07:21:47 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RDqS92sJxz4ptVj; Mon, 31 Jul 2023 07:21:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RDqRv70fkz3M6c; Mon, 31 Jul 2023 07:21:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690788108; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=olqO/RPiHyUsNoa1Y9IxHq8ID9DUoXAr719R0JFCfT8=; b=VepZy4KusgyQvJ/s6gLL1dKeKYkexJkM5rCpCQw8QE0UXFEt2BgAiq9j6Sv5GKHsQFynUi 2RUpg6TNs/gPnlREMN2OCHWNUN/K9NO0skSpG1N274BWz4lgW963t8PNXlPxDVjHf+ZTzb qVef5tDY9Qzf9bZayohx9ucATyE8V551lze3HdSuldjMQXEiCMrru+p593gjrdCpbMhen9 uYfVlUHCEqB0Uec0+t1EOLt+BU01zTGdJ2kj8S6YDTPdZfVeob/0UuV9lcHfYHjmWKBS8o 8QrwK2ZWuqMeVQ9XBaeaIAF0Gu8gDRcLqYo22+NxM3PXcYDuVw+lgqaEhANifw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690788108; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=olqO/RPiHyUsNoa1Y9IxHq8ID9DUoXAr719R0JFCfT8=; b=iuG6LQjh25kpn30HGeASB7j02lXMvKD1qoHCSP3hWikwa4PxAF1Q1b46It9FMLVTm3b4x9 /iQrfNya+00wgL6njeTNxvU2oQTIuDYjAHmgRxNxtTYPpgd75iQJx5XxZoQJLQFbj2OX8h tfcTQ+OPerMnEDqYB3e/dY7KdJiNNqUNek2/LiIfQ1+Z1dC+P7PjhwVErsflaDqYxA5VfV uyLzYMnD2r2ocbwgSlyItU+n3EIllplNGD7hP8DrjMJTwF2xe2kLa2dF6YokcWF/4TxHQP Sgm6s9+nkhkRm1QLwSZNOWGHwKZ3JEoKfN4CEqpf280tX7Z+b48DMAXQtaRUww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690788108; a=rsa-sha256; cv=none; b=p2qc8P6z7/9ePHkkX8gAZ+6pKgQZnd691B4IVKUu2VeVH3Q8pxSnvrOcH2XpsyjjUcWUxb rj1ieE4lFfVyOcq1Rjtv/rgr8+wFktc/Cmd4IvtWm649ziAZ3aWkwkfu6Os4ZjbddLrfdX 2xD0LklKm88P6JWMj12sYF68PNMSoQns5tbeeCwykuEzJH8FeP3pmA0GsEHQnEiF+T2rG+ DzWCF1rpWYWwiN9o2zGwIoLFfihM0RNqe4KE+Ocglwku8hvsxaqhpnqjmspZmD88u50sTD Ley4ErWUjmsbNbktQBBaeyqftDmBLoZLOEOTfMKo4Mq58dfCn2lrxSvunXdEDA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RDqRv63c1znDX; Mon, 31 Jul 2023 07:21:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36V7Ll0b045228; Mon, 31 Jul 2023 07:21:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36V7LlBg045227; Mon, 31 Jul 2023 07:21:47 GMT (envelope-from git) Date: Mon, 31 Jul 2023 07:21:47 GMT Message-Id: <202307310721.36V7LlBg045227@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Hiroki Tagato Subject: git: 2d089e2172e8 - main - x11/xdg-desktop-portal-gnome: add port: Backend implementation for xdg-desktop-portal for GNOME List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tagattie X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2d089e2172e802b9399b25662e1e0be2bacd04a3 Auto-Submitted: auto-generated The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=2d089e2172e802b9399b25662e1e0be2bacd04a3 commit 2d089e2172e802b9399b25662e1e0be2bacd04a3 Author: Hiroki Tagato AuthorDate: 2023-07-31 07:16:31 +0000 Commit: Hiroki Tagato CommitDate: 2023-07-31 07:21:30 +0000 x11/xdg-desktop-portal-gnome: add port: Backend implementation for xdg-desktop-portal for GNOME xdg-desktop-portal-gnome is a backend implementation for xdg-desktop-portal that is using GTK and various pieces of GNOME infrastructure, such as the org.gnome.Shell.Screenshot or org.gnome.SessionManager D-Bus interfaces. WWW: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome --- x11/Makefile | 1 + x11/xdg-desktop-portal-gnome/Makefile | 35 ++++++++++++++++ x11/xdg-desktop-portal-gnome/distinfo | 3 ++ .../files/patch-data_meson.build | 17 ++++++++ .../files/patch-meson.build | 24 +++++++++++ x11/xdg-desktop-portal-gnome/pkg-descr | 4 ++ x11/xdg-desktop-portal-gnome/pkg-plist | 47 ++++++++++++++++++++++ 7 files changed, 131 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index 5cc5347266eb..e65ca29216e7 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -493,6 +493,7 @@ SUBDIR += xconsole SUBDIR += xcursorgen SUBDIR += xcut + SUBDIR += xdg-desktop-portal-gnome SUBDIR += xdg-desktop-portal-gtk SUBDIR += xdg-desktop-portal-hyprland SUBDIR += xdg-desktop-portal-wlr diff --git a/x11/xdg-desktop-portal-gnome/Makefile b/x11/xdg-desktop-portal-gnome/Makefile new file mode 100644 index 000000000000..8af9ba3a078d --- /dev/null +++ b/x11/xdg-desktop-portal-gnome/Makefile @@ -0,0 +1,35 @@ +PORTNAME= xdg-desktop-portal-gnome +DISTVERSION= 43.1 +CATEGORIES= x11 gnome +MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} +DIST_SUBDIR= gnome + +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_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= xdg-desktop-portal>0:deskutils/xdg-desktop-portal \ + xdg-desktop-portal-gtk>0:x11/xdg-desktop-portal-gtk +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 + +USES= gettext-tools gnome meson pkgconfig tar:xz xorg + +USE_XORG= x11 +USE_GNOME= cairo gdkpixbuf2 glib20 gtk40 libadwaita +GLIB_SCHEMAS= xdg-desktop-portal-gnome.gschema.xml + +PORTDOCS= NEWS README.md + +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include diff --git a/x11/xdg-desktop-portal-gnome/distinfo b/x11/xdg-desktop-portal-gnome/distinfo new file mode 100644 index 000000000000..8aeccea21e15 --- /dev/null +++ b/x11/xdg-desktop-portal-gnome/distinfo @@ -0,0 +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 diff --git a/x11/xdg-desktop-portal-gnome/files/patch-data_meson.build b/x11/xdg-desktop-portal-gnome/files/patch-data_meson.build new file mode 100644 index 000000000000..9f718a38e65b --- /dev/null +++ b/x11/xdg-desktop-portal-gnome/files/patch-data_meson.build @@ -0,0 +1,17 @@ +--- data/meson.build.orig 2022-10-18 02:27:08 UTC ++++ data/meson.build +@@ -15,14 +15,6 @@ configure_file( + install_dir: dbus_service_dir, + ) + +-# 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', diff --git a/x11/xdg-desktop-portal-gnome/files/patch-meson.build b/x11/xdg-desktop-portal-gnome/files/patch-meson.build new file mode 100644 index 000000000000..f786d81b2a02 --- /dev/null +++ b/x11/xdg-desktop-portal-gnome/files/patch-meson.build @@ -0,0 +1,24 @@ +--- meson.build.orig 2022-10-18 02:27:08 UTC ++++ meson.build +@@ -11,15 +11,6 @@ datadir = get_option('datadir') + libdir = get_option('libdir') + libexecdir = get_option('libexecdir') + +-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, + }) diff --git a/x11/xdg-desktop-portal-gnome/pkg-descr b/x11/xdg-desktop-portal-gnome/pkg-descr new file mode 100644 index 000000000000..c404a0747fcb --- /dev/null +++ b/x11/xdg-desktop-portal-gnome/pkg-descr @@ -0,0 +1,4 @@ +xdg-desktop-portal-gnome is a backend implementation for +xdg-desktop-portal that is using GTK and various pieces of GNOME +infrastructure, such as the org.gnome.Shell.Screenshot or +org.gnome.SessionManager D-Bus interfaces. diff --git a/x11/xdg-desktop-portal-gnome/pkg-plist b/x11/xdg-desktop-portal-gnome/pkg-plist new file mode 100644 index 000000000000..161061029b82 --- /dev/null +++ b/x11/xdg-desktop-portal-gnome/pkg-plist @@ -0,0 +1,47 @@ +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/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 +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/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 +share/locale/fi/LC_MESSAGES/xdg-desktop-portal-gnome.mo +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/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/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/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/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 +share/locale/pa/LC_MESSAGES/xdg-desktop-portal-gnome.mo +share/locale/pl/LC_MESSAGES/xdg-desktop-portal-gnome.mo +share/locale/pt/LC_MESSAGES/xdg-desktop-portal-gnome.mo +share/locale/pt_BR/LC_MESSAGES/xdg-desktop-portal-gnome.mo +share/locale/ro/LC_MESSAGES/xdg-desktop-portal-gnome.mo +share/locale/ru/LC_MESSAGES/xdg-desktop-portal-gnome.mo +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/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 +share/locale/zh_TW/LC_MESSAGES/xdg-desktop-portal-gnome.mo +share/xdg-desktop-portal/portals/gnome.portal