From nobody Mon Feb 13 13:13:01 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 4PFlBj6NJlz3qXJ6; Mon, 13 Feb 2023 13:13:01 +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 4PFlBj5tgfz45RJ; Mon, 13 Feb 2023 13:13:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676293981; 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=tHuYNxu/rZ95/LZjDjdQxadMVlqzYpkDVcYjojfdLIk=; b=vSKsZKN2NLFgI86P3VcHr9NQr602IKmUDFKGO9kC7Xnmjv8tAEumNMZNE6VncOT7zA+GFv d37Xi3nb72s0fuzStnS+W3bSRTaWa8YbhOjm93/ZxM0S7Jzw+xk1zFRBGntcE0zTVeRgh6 bMA2Syr6Qu7bUW19oI2Aj44E14fJEnscVMzWArvGL5MGsC4Vik8Ya7epbR8R6avEVIB/yc HjFrLEl2r4Y7v7xPCfL1DPE0okcHjzrrBmERftObqB154va1ICHGksFgg/yUK5i4bs5Q1w lfEBUp4pTsjFtNoBlPdpkhvMUa7ztK8cwpC0Dhocxk679+/8H16NQ/fdT53qag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676293981; 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=tHuYNxu/rZ95/LZjDjdQxadMVlqzYpkDVcYjojfdLIk=; b=KkTkLRVzHjktafzuShmRN0NgNDjeQiYlRVn1KVhOVz5WWovM0Jy3gfp0p7s2G16OOBWPUU gWqxYg0cnQxVMlf7psJnivjBHfrvIRUlnUX+a3C9cHPARtaGliUpgXzPT2AO45ZE/B+s/n ucbZC0jf6WUX9x36OchlCYQJnB16AsPNRqemH7c+sZ40badpTQAM25R1jbyJbMSol+qxok v815N8PpNgjPs3L+w6+aIY769J3REk0KWhC7lxTeM1ROOshL2YSQ47H3aq3aFNwQ+s7Jds Q0cbwkA/wn+z3zo3rwrVbP72nEk46wgYJID2yGsm7SUyNp6vrkTSOxVBDBxKtg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676293981; a=rsa-sha256; cv=none; b=cowJseKq3Evx4wArN9R0ydXa8MmIel05Z2yh8mEpMpjBsMjouJhliT8y2pMkm0rWrQtyAb YVxS2a2hymiCGyHC3955j8cyP2ovUH6DKmvevlsPoevkluQVEHY6d8RuGlKb3CdWr9K/Fa XVlES6FCKZCO/UUu5uU0dQTPvqWeLLBO9QVweTwMY5vHHYolbQQRk6OV6gkRR53c3f4ohB pimIqLTlUEG43QYyX6W0BAR16vzmq7chIdGEnebVOqhch3PZIEi87yh/8yelDq9IUiA84Q 22OYmPpQoLMUUNM05pUm2i/+JXAdQmH1c7YEC0b53MmgRuF/HvclLymcnVN2Sg== 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 4PFlBj4xZgzKbY; Mon, 13 Feb 2023 13:13:01 +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 31DDD1l6080591; Mon, 13 Feb 2023 13:13:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31DDD1Qm080590; Mon, 13 Feb 2023 13:13:01 GMT (envelope-from git) Date: Mon, 13 Feb 2023 13:13:01 GMT Message-Id: <202302131313.31DDD1Qm080590@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: 05305e7571b2 - main - devel/appstream: Point to /usr/local for metainfo. 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: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 05305e7571b27f3513a00105e281c3e64992d2a6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=05305e7571b27f3513a00105e281c3e64992d2a6 commit 05305e7571b27f3513a00105e281c3e64992d2a6 Author: Gleb Popov AuthorDate: 2023-02-13 13:11:22 +0000 Commit: Gleb Popov CommitDate: 2023-02-13 13:12:43 +0000 devel/appstream: Point to /usr/local for metainfo. AppStream is hardcoded to look for package metainto in /usr/share. With this patch the "appstreamcli search ..." command starts showing proper results. Sponsored by: Serenity Cybersecurity, LLC --- devel/appstream-qt/Makefile | 1 + devel/appstream/Makefile | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/devel/appstream-qt/Makefile b/devel/appstream-qt/Makefile index 69f354e4a134..0e787e767259 100644 --- a/devel/appstream-qt/Makefile +++ b/devel/appstream-qt/Makefile @@ -1,3 +1,4 @@ +PORTREVISION= 0 PKGNAMESUFFIX= Qt COMMENT?= Qt bindings to AppStream diff --git a/devel/appstream/Makefile b/devel/appstream/Makefile index f4b7c37c3a49..b2107808fcd3 100644 --- a/devel/appstream/Makefile +++ b/devel/appstream/Makefile @@ -3,6 +3,7 @@ PORTNAME?= AppStream DISTVERSION= 0.16.0 +PORTREVISION?= 1 CATEGORIES= devel MASTER_SITES= https://www.freedesktop.org/software/${PORTNAME:tl}/releases/ @@ -34,6 +35,12 @@ MESON_ARGS+= -Dstemming=true \ -Dvapi=true \ -Dapidocs=false \ -Dinstall-docs=false \ - -Dsystemd=false \ + -Dsystemd=false + +post-patch: + ${REINPLACE_CMD} \ + -e 's|APPLICATIONS_DIR = "/usr/share/applications"|APPLICATIONS_DIR = "${LOCALBASE}/share/applications"|' \ + -e 's|METAINFO_DIR = "/usr/share/metainfo"|METAINFO_DIR = "${LOCALBASE}/share/metainfo"|' \ + ${WRKSRC}/src/as-pool.c .include