From nobody Fri Apr 7 07:29:51 2023 X-Original-To: dev-commits-ports-all@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 4Pt94J2kSPz44HYr; Fri, 7 Apr 2023 07:29:52 +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 4Pt94H6VfJz3GSL; Fri, 7 Apr 2023 07:29:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680852591; 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=M+HumPxN2YfsYiAGYPQuDtBp1y6FME5I63DJJRyIOnU=; b=xRGMPL/eHg8kUf2sqMduvvDM3GiBhyl8y/PsOT1gJfpEMziW+vPhLR0iLVO7LwtibK+kJs OvaZhwCjsg1bA6W7Mp48mMWKwXqhm3AQpzVC7fQg3nRRcw4oTTAURfnqpM9btWYZ2mys/7 WyO2rmCOCNCsVIPkDPPFW/R7UDqXicpTjlWl4/EVZ31wlvmLW8B6d2Gzg/SroTwhErNmPt 2fXwxM7vYvxmBXVijtr9rQKdIPNpMVLLQNeDZ1Yt0BUH9gz0Ab07StMnF3MZoZCXShvX6t E1x4udglLbpiN3Rp9eDJAE8til+kcBZWiAvfRgONDyxbPTDTkmLDdbJYraRTgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680852591; 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=M+HumPxN2YfsYiAGYPQuDtBp1y6FME5I63DJJRyIOnU=; b=uQJTvpVm7u1Ci3/xgYxVM7BeurHxZFiIrsQIKYCDXXFKilZA94XCi8GLLwsX62QIYYwc6r jxwRFYDjBPTH/egr9WNlFoBVlnODRXCwSeXPI6EeV5jA4E3P0Cy8XojKGclF35IwPZp2bZ cHnqR+dVG4sMSH5CNFMRvhbhCtiD+FdfntuQrIzkHcyqiN38gaD6mGkkA06ulKQiQLw02e i7MGdmDhFtaHiZ0DyoHFYqi2WISo10gPGFLKVW7ISz7b60qFvl2CPbjpSQidnnKxqS+r/S SXsXhHXDsxqv5BDwEkH3ynFDi+YuDIAy6RHh/iT0E9IHj9Bdn3rRlLzk2XN9JA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680852591; a=rsa-sha256; cv=none; b=Q2wJTxhsm2ZO4A4e6VNbjiyF+MZodNYtBFTMhotU73YiMeynZ9ZN7j1KzlYciSQi6hZxXC LQZLd+jx2zD1fr/2aNW2LDFm0GehqKUcfp3zLJQLZ7wMvwUY7/LU2IOccdn28J47NNc6+Y vKKh5bOcjBSSV3jray/0SEDZNUYDlizpOnDJf8NbyxQ9BCSopBt8H2rgUndBNvmmWehANQ Ybb6zTybF5HU5/N8h+yaqmndNWbZ9DxRjWAnRJNW6qN3EVSaKW/i8nH7CvqOLa8L4Y19e+ +cEn55j89U/ZVkllb2yST69EBzQWU8pKZgwTLfzWzVVw8PmRisusWlJU/Dkzmg== 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 4Pt94H5TwJzcd6; Fri, 7 Apr 2023 07:29:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 3377Tpnn024375; Fri, 7 Apr 2023 07:29:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3377Tpsh024374; Fri, 7 Apr 2023 07:29:51 GMT (envelope-from git) Date: Fri, 7 Apr 2023 07:29:51 GMT Message-Id: <202304070729.3377Tpsh024374@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 3134a82bb460 - main - x11-wm/xdgmenumaker: XDG menu generator for various WMs (new port). List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3134a82bb460522e758004581548f571a5390452 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=3134a82bb460522e758004581548f571a5390452 commit 3134a82bb460522e758004581548f571a5390452 Author: Alexey Dokuchaev AuthorDate: 2023-04-07 07:29:12 +0000 Commit: Alexey Dokuchaev CommitDate: 2023-04-07 07:29:12 +0000 x11-wm/xdgmenumaker: XDG menu generator for various WMs (new port). --- x11-wm/Makefile | 1 + x11-wm/xdgmenumaker/Makefile | 22 ++++++++++++++++++++++ x11-wm/xdgmenumaker/distinfo | 3 +++ x11-wm/xdgmenumaker/pkg-descr | 7 +++++++ x11-wm/xdgmenumaker/pkg-plist | 14 ++++++++++++++ 5 files changed, 47 insertions(+) diff --git a/x11-wm/Makefile b/x11-wm/Makefile index 36a85272a33d..737524324cf7 100644 --- a/x11-wm/Makefile +++ b/x11-wm/Makefile @@ -122,6 +122,7 @@ SUBDIR += wmname SUBDIR += wmx SUBDIR += xcompmgr + SUBDIR += xdgmenumaker SUBDIR += xfce4 SUBDIR += xfce4-desktop SUBDIR += xfce4-panel diff --git a/x11-wm/xdgmenumaker/Makefile b/x11-wm/xdgmenumaker/Makefile new file mode 100644 index 000000000000..c25ea7287ae8 --- /dev/null +++ b/x11-wm/xdgmenumaker/Makefile @@ -0,0 +1,22 @@ +PORTNAME= xdgmenumaker +PORTVERSION= 2.0 +CATEGORIES= x11-wm python + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Generates XDG menus for several window managers +WWW= https://github.com/gapan/xdgmenumaker + +LICENSE= GPLv3 + +BUILD_DEPENDS= txt2tags:textproc/txt2tags +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xdg>=0:devel/py-xdg@${PY_FLAVOR} + +USES= gnome python:run shebangfix +USE_GNOME= gtk30 pygobject3 +USE_GITHUB= yes +GH_ACCOUNT= gapan +SHEBANG_FILES= src/xdgmenumaker + +ALL_TARGET= man + +.include diff --git a/x11-wm/xdgmenumaker/distinfo b/x11-wm/xdgmenumaker/distinfo new file mode 100644 index 000000000000..13d13408b874 --- /dev/null +++ b/x11-wm/xdgmenumaker/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1622935626 +SHA256 (gapan-xdgmenumaker-2.0_GH0.tar.gz) = eda8f25a09131db2186035d660fea8ae13f016c0f4a51f7bb52a39c7deb9e328 +SIZE (gapan-xdgmenumaker-2.0_GH0.tar.gz) = 309405 diff --git a/x11-wm/xdgmenumaker/pkg-descr b/x11-wm/xdgmenumaker/pkg-descr new file mode 100644 index 000000000000..96355d3a677a --- /dev/null +++ b/x11-wm/xdgmenumaker/pkg-descr @@ -0,0 +1,7 @@ +xdgmenumaker is a command line tool, written in Python, that generates +application menus using XDG information, by scanning *.desktop files in +all $XDG_DATA_DIRS/applications directories. Applications are sorted +according to the main categories as specified by freedesktop.org. + +Menu entries that are generated by xdgmenumaker are localized according +to the running user's locale settings. diff --git a/x11-wm/xdgmenumaker/pkg-plist b/x11-wm/xdgmenumaker/pkg-plist new file mode 100644 index 000000000000..a5483f9cf51c --- /dev/null +++ b/x11-wm/xdgmenumaker/pkg-plist @@ -0,0 +1,14 @@ +bin/xdgmenumaker +share/desktop-directories/xdgmenumaker-accessories.directory +share/desktop-directories/xdgmenumaker-applications.directory +share/desktop-directories/xdgmenumaker-development.directory +share/desktop-directories/xdgmenumaker-education.directory +share/desktop-directories/xdgmenumaker-games.directory +share/desktop-directories/xdgmenumaker-graphics.directory +share/desktop-directories/xdgmenumaker-multimedia.directory +share/desktop-directories/xdgmenumaker-network.directory +share/desktop-directories/xdgmenumaker-office.directory +share/desktop-directories/xdgmenumaker-other.directory +share/desktop-directories/xdgmenumaker-settings.directory +share/desktop-directories/xdgmenumaker-system.directory +share/man/man1/xdgmenumaker.1.gz