From nobody Wed Sep 27 10:01:49 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 4RwXFp1dZTz4vF0T; Wed, 27 Sep 2023 10:01:50 +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 4RwXFp1BFXz3WPx; Wed, 27 Sep 2023 10:01:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695808910; 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=wCZ1KVBfVdC0LLYB4Qr+Oy6iZlYf/TBbsquoYQPnYjw=; b=caI9SPG2+ctL4xKqtoolCfH2YJH3ySAme3kjpO7iWLRM/gZG2VarOoDtsWay/Yo7Njadnb lYmtOt/oulU5v3kJ/W8Uw2O/NEwkf6FnG/4oMcTZ0ClvegDusqSMVWRn4y5245lTmEIq7P ln7wLmOkRuApL04TieOAln6ickT0I4NSclfueV/yA9rOaDPYJJtQgF6+B/GACfevStn3VW ImQjvvkHtYI9CbWAfGTk7uYS+PTaVinrkgn0fXWkV1wUS4HA89g7mre3w/HKWWyJJORX4N THZBQ6c9UlGkVEscOn+J/47QT+bOK3w1+BDGMTqbQlrCjfpjABIP/2t+G3ZN+Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695808910; a=rsa-sha256; cv=none; b=UJqvetiLwhJAonMiuos0+Acr9JD232Rc24x4iHH/jFDqNcYVSmq0YjFC6VuwCt8gXfrxjD VeMBNXmDYq9E+lfcSR5mayUHHh5GXxYZZIqc0sC4ya9eNIPZ7V7INf5znDQunlG/Z6Bre/ t/EgtV5TzOPbfGtBcyO9s1YTtjZmsTIKU3lUWN0va0BLBWhSH9xaPNMJo/Cn104dPDqAuI 6RRKWnHu6t6rm+8x42ylQ+okmqU30vs+m0OWXqgK5uYWSnv4GXpDxooyCnrWthsE6pV+f2 3ZAxOBwZdoVKiNRvjwW9Ee5MifHNtRiozNfYfjvdFhryP9Al6N9GkeSpl95Eqw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695808910; 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=wCZ1KVBfVdC0LLYB4Qr+Oy6iZlYf/TBbsquoYQPnYjw=; b=tAiMIRGeNLEK4JgBPVNMAKydV/gAi+6ujKff0xs/XmbL7bAl6P8X3nteh99h26kfWU45P4 4BWhvlhOXEW9tWw+cPn14SfPmxC7ShT78TdZToLdnH3N6qbTuEXRDwMe8i+IPi7wQwEP/s kZeJKdpcazVa17f+Ku6/Q7z+nVCgmQZUxmGhDy9mBW+03MjupTaxG+YbELZ4s5B4vlV0f0 KhTgZCIlIQSItlVI7DYzkoQMxlp2YZsjFFeI7AtJq7QsOYx6iDYBHN41Aoe/ImygoUQtHU Rmgvv8pHhyE9ts+3IFjYWRAZFT2QHlXuRndjBiQCGIccG2O87PwgMJA5PuZmjw== 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 4RwXFp0F24zb3C; Wed, 27 Sep 2023 10:01:50 +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 38RA1nSM040254; Wed, 27 Sep 2023 10:01:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38RA1nAo040251; Wed, 27 Sep 2023 10:01:49 GMT (envelope-from git) Date: Wed, 27 Sep 2023 10:01:49 GMT Message-Id: <202309271001.38RA1nAo040251@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: 080478034ac8 - main - editors/lite-xl: install some nonessential but nice to have files 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: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 080478034ac8ba6bf5cc2edc240385d8ad4c4048 Auto-Submitted: auto-generated The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=080478034ac8ba6bf5cc2edc240385d8ad4c4048 commit 080478034ac8ba6bf5cc2edc240385d8ad4c4048 Author: Alexey Dokuchaev AuthorDate: 2023-09-27 10:00:48 +0000 Commit: Alexey Dokuchaev CommitDate: 2023-09-27 10:00:48 +0000 editors/lite-xl: install some nonessential but nice to have files Modern graphical environments usually give better user experience when programs are supplied with icon(s), .desktop file, etc. PR: 274077 --- editors/lite-xl/Makefile | 10 +++++++++- editors/lite-xl/pkg-plist | 3 +++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/editors/lite-xl/Makefile b/editors/lite-xl/Makefile index e1935ce0dcf8..46fe66cea3d0 100644 --- a/editors/lite-xl/Makefile +++ b/editors/lite-xl/Makefile @@ -1,6 +1,7 @@ PORTNAME= lite-xl PORTVERSION= 2.1.1 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= editors MAINTAINER= danfe@FreeBSD.org @@ -12,7 +13,7 @@ LICENSE= MIT LIB_DEPENDS= libfreetype.so:print/freetype2 \ libpcre2-8.so:devel/pcre2 -USES= lua:54 meson pkgconfig sdl +USES= desktop-file-utils lua:54 meson pkgconfig sdl USE_SDL= sdl2 USE_GITHUB= yes @@ -29,6 +30,13 @@ post-install: ${STAGEDIR}${DATADIR}/plugins ${CP} -a ${WRKSRC_plugins}/plugins \ ${STAGEDIR}${DATADIR}/plugins/extra + ${CP} -a ${WRKSRC}/resources/linux/org.lite_xl.lite_xl.desktop \ + ${STAGEDIR}${PREFIX}/share/applications + @${MKDIR} ${STAGEDIR}${PREFIX}/share/metainfo + ${CP} -a ${WRKSRC}/resources/linux/org.lite_xl.lite_xl.appdata.xml \ + ${STAGEDIR}${PREFIX}/share/metainfo + ${CP} -a ${WRKSRC}/resources/icons/lite-xl.svg \ + ${STAGEDIR}${PREFIX}/share/pixmaps post-install-DOCS-on: ${INSTALL_DATA} ${WRKSRC}/changelog.md ${STAGEDIR}${DOCSDIR} diff --git a/editors/lite-xl/pkg-plist b/editors/lite-xl/pkg-plist index b124e334b1f1..4aab730db0cb 100644 --- a/editors/lite-xl/pkg-plist +++ b/editors/lite-xl/pkg-plist @@ -1,4 +1,5 @@ bin/lite-xl +share/applications/org.lite_xl.lite_xl.desktop %%DATADIR%%/colors/abyss.lua %%DATADIR%%/colors/betelgeuse.lua %%DATADIR%%/colors/c0mfy.lua @@ -271,3 +272,5 @@ bin/lite-xl %%DATADIR%%/string.lua %%DATADIR%%/system.lua %%DATADIR%%/utf8extra.lua +share/metainfo/org.lite_xl.lite_xl.appdata.xml +share/pixmaps/lite-xl.svg