From nobody Mon Jul 31 16:37:50 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 4RF3nh4LTWz4qFSN; Mon, 31 Jul 2023 16:37:59 +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 4RF3nd6rX5z3FfW; Mon, 31 Jul 2023 16:37:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690821479; 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=kWHTgwpMceHFdZ93HDTPPVrQ3FZAWe7yjf5GIwAbtGw=; b=QKZxuEj9Mnq5PitatXKGnb25EeWRQfYzyuROsKkKkdM+CGTitii2jvXZsFUnkOEcHA9qPg dGhMj8OyJuNeZXCTm3xFh6i9JQRF7YD34QolFn7a61WmQBB+diTOJ/W9zNTM409g7cNivR ouU6ipX4c2JXBU+aiWIVzDOaCuQ3IZ6f7Zj1gLhHMBgmp7d1YUDtIcykpWpuB3YUKXEvUU uJBXIKVitdGCMc8P0ZLaZrYKoDM+Ime4/9n4cCMmeE0kb7bguv+DS0ExHQaOq/QyjpWA1C uNbcqG4eL6thE+tsFp8uXkO6fyB7SWUNwwP0MDwaAZ9myMZuw8AFrWiVSotKAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690821479; 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=kWHTgwpMceHFdZ93HDTPPVrQ3FZAWe7yjf5GIwAbtGw=; b=QIsYxPxNZI1Y5thAIgqwVFqXWqxhgFRKWSWo7B4Avn17H3uCG3x2VKW+TCN9FeuvPawfAg tiK3M53yED6b8JWDP42p03CknzZ0Z+umYQvczWRuffvPaA46y/ZR28nBZtnY52vC+qWykU xDS7N6dPT4ICAkq379MNXA45hd+utl1JMrfKyAcwBfLUIDQxpZb5XMKPDSiGxUHY2t3q/8 oCb2I25CFM4GfJIXH4kH95z1+YM5dvinfthsr1qxag509Ux9ZlCl45Ggr/0xgAMtkDbaFd QYqM2Hgm3pAQC8piEHPWDPz3sjwVdIZV1UTFIdkcPQ/nrs2Ac0vLoVY7xQQjTQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690821479; a=rsa-sha256; cv=none; b=DL+16uh334gB9F/MgocR0K4/QioGs4x9/CKX4G1+gxx8/2BeTWeytP5Syr3WI7s0INrQrm Bxq90mnudxI37y0dkoLCWI1tH/QenkY519Hn2AsxQjfbGnZmfkfpbUOq4gTfkNjlWAbAJ5 RVReaJarn8tIdz9ucSUUnwD/m9+5PaQaec2tV3eORCubIZgUZ8a1ZLmeUwHeE17P10caRX 4MpsMwW+PYzvScY1ueIxHF12au+McA1wcRRqt6BbvwF4F4JvLXv5a3BtbYxMpYeoL7auuH CuGtkCdgw8l+I2f9tyOHf/QhQBKZ2IOgjyUHBeQxsS5Q3P0QQn+KDLz/PlXZSg== 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 4RF3nc5KHJz139t; Mon, 31 Jul 2023 16:37:56 +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 36VGbo4T058430; Mon, 31 Jul 2023 16:37:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36VGbo9w058429; Mon, 31 Jul 2023 16:37:50 GMT (envelope-from git) Date: Mon, 31 Jul 2023 16:37:50 GMT Message-Id: <202307311637.36VGbo9w058429@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Felix Palmen Subject: git: d5f33570094c - main - x11-wm/fvwm3: Add .desktop entry for XSession 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: zirias X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d5f33570094ca4777eb4a906214f2465961a712b Auto-Submitted: auto-generated The branch main has been updated by zirias: URL: https://cgit.FreeBSD.org/ports/commit/?id=d5f33570094ca4777eb4a906214f2465961a712b commit d5f33570094ca4777eb4a906214f2465961a712b Author: Felix Palmen AuthorDate: 2023-07-31 12:13:22 +0000 Commit: Felix Palmen CommitDate: 2023-07-31 16:37:21 +0000 x11-wm/fvwm3: Add .desktop entry for XSession Add a .desktop file of type XSession, so fvwm3 is discoverable for display managers following freedesktop.org standards. PR: 272836 Co-authored-by: Bartek Jasicki --- x11-wm/fvwm3/Makefile | 8 +++++++- x11-wm/fvwm3/files/fvwm3.desktop.in | 6 ++++++ x11-wm/fvwm3/pkg-plist | 1 + 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/x11-wm/fvwm3/Makefile b/x11-wm/fvwm3/Makefile index accd089a2535..77f8ed3a7142 100644 --- a/x11-wm/fvwm3/Makefile +++ b/x11-wm/fvwm3/Makefile @@ -1,6 +1,6 @@ PORTNAME= fvwm3 DISTVERSION= 1.0.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-wm MASTER_SITES= https://github.com/fvwmorg/fvwm3/releases/download/${DISTVERSION}/ \ http://fvwm.sourceforge.net/generated/icon_download/:icons @@ -25,6 +25,7 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= ac_cv_path_PYTHON=${PYTHON_CMD} CONFLICTS_INSTALL= fvwm +SUB_FILES= fvwm3.desktop PLIST_SUB= DISTVERSION=${DISTVERSION} OPTIONS_DEFINE= FRIBIDI GO ICONS ICONV MANPAGES NLS PERL PNG SVG \ @@ -74,6 +75,11 @@ post-patch: @${REINPLACE_CMD} -e 's,/etc/,${LOCALBASE}/etc/,g' \ ${WRKSRC}/bin/fvwm-menu-desktop.in +post-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/share/xsessions + ${INSTALL_DATA} ${WRKDIR}/fvwm3.desktop \ + ${STAGEDIR}${PREFIX}/share/xsessions + post-install-ICONS-on: ${MKDIR} ${STAGEDIR}${PREFIX}/share/fvwm3/pixmaps ${INSTALL_DATA} ${WRKDIR}/${FVWM_ICONS}/*.xpm \ diff --git a/x11-wm/fvwm3/files/fvwm3.desktop.in b/x11-wm/fvwm3/files/fvwm3.desktop.in new file mode 100644 index 000000000000..11d64c92ede2 --- /dev/null +++ b/x11-wm/fvwm3/files/fvwm3.desktop.in @@ -0,0 +1,6 @@ +[Desktop Entry] +Name=FVWM3 +Comment=The fvwm3 window manager +Type=XSession +Exec=%%PREFIX%%/bin/fvwm3 +TryExec=%%PREFIX%%/bin/fvwm3 diff --git a/x11-wm/fvwm3/pkg-plist b/x11-wm/fvwm3/pkg-plist index 83fe6fb2310d..3dfb7615b278 100644 --- a/x11-wm/fvwm3/pkg-plist +++ b/x11-wm/fvwm3/pkg-plist @@ -125,6 +125,7 @@ libexec/fvwm3/%%DISTVERSION%%/FvwmTalk %%DATADIR%%/default-config/stalonetrayrc %%DATADIR%%/fvwm-menu-desktop-config.fpl %%DATADIR%%/fvwm-script-ComExample.pl +share/xsessions/fvwm3.desktop %%PERL%%%%DATADIR%%/perllib/FVWM/Commands.pm %%PERL%%%%DATADIR%%/perllib/FVWM/Constants.pm %%PERL%%%%DATADIR%%/perllib/FVWM/Event.pm