From nobody Fri Mar 04 05:37:04 2022 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 7CE3D19E0A6F; Fri, 4 Mar 2022 05:37:04 +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 4K8xSJ33XHz3h7b; Fri, 4 Mar 2022 05:37:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646372224; 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=7AODBiCcWBh6VLUZvmwcWQRSP9cKMVpdYTUzZqt/2yg=; b=Afj0yWQQ+AG4hwn2TqbxR+LxJLr/Q3GYGfqzAFXpOQd4hWb/ECJAwNz74btxsomOjE59CK iifmnlIvBC3H7c+IJLMQK3FqsaKAry8vMh2nuonQePyfLP/W7CUhiIc9MvXlXfmkIY1iO9 C1DJKWZLblzLVWI0gAqBU8cDRgMgyWMfgGk+Owh9YSf/z+XM7Jh2Wa3UthevWSIqBh6Bhv qXpTglsAY3Wi9yHQLOQslxOQmXNXQNaopUUggG7Nmac8zfSOSMjlijb5rsMH1X/YvMXuNj +vM6bMob8tHcJODvDrFx33ojcWnO68Gn/t1emN/m3enJgLZzI3gelb/zG631+w== 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 4498C2660C; Fri, 4 Mar 2022 05:37:04 +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 2245b496024667; Fri, 4 Mar 2022 05:37:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2245b45r024666; Fri, 4 Mar 2022 05:37:04 GMT (envelope-from git) Date: Fri, 4 Mar 2022 05:37:04 GMT Message-Id: <202203040537.2245b45r024666@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Tobias C. Berner" Subject: git: 6ee9ad126964 - main - devel/appstream: New port - Provides a standard for creating app stores 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: tcberner X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6ee9ad12696427e7e83a0ec9f0b0e5b5b6bc97ed Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646372224; 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=7AODBiCcWBh6VLUZvmwcWQRSP9cKMVpdYTUzZqt/2yg=; b=s+FvygIA42uCtGZXE7hV+wD3PjdTxKCT4oIITBu4HO3RS705KwIAkEV9zg68bIo68V+0RO sq0JoL/KvAO95U4Gavkl9kyz5FetfzL+rOy4JtP6GwH3Afm4+K5hjt7mHJTe9gk917LT74 HaCY9jgkuY/pWGj2NUVbxAPt6vsj83ZjdepNYiXpZIXWvyQ9vkrwHBsCQPcaodg2glnaCc 9fMfthRU1E27DudSRoUcwLcgWNrHy0dEUtVaTrgXpoD2KYIrkIOSkC4+NiILhHTOcKTUVk EbQ0iH83LQpqch9S3wCAmg4zo95YxxIwYhGlb59AoNP8/dAFlepUa/OiM8OlLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646372224; a=rsa-sha256; cv=none; b=aSmdae3str9jlzbfUKyUo8bgV9XHx76D6qBvVkfTqO6z3/zv0iNNrprgfNruhmjT12/Hcp ziUNHje9mCLQ+hhaSLix6WIcGyZEbYGH1/Ktkdq34O/7T62WSIzBjpyQDoPXITAw+P200n 86I43+XdfTWqbC/UYSN2dv2UFHuYpKUYr7nR4YnIJLEaL6Wtg1SzOu1BEprnev6JSl6Blo aTQAWy60V1rJ7/7TFuZ0EDj11DBkHV6BSH16AiRyUOiaIC2638EMxUcD9DLKi4e5/LJnpN D6g6DnUQIKU2W3lZv2TOdb6xDTbFoVTV9U4uq+cIUwi4EP+3ZU9hA403unXEHg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=6ee9ad12696427e7e83a0ec9f0b0e5b5b6bc97ed commit 6ee9ad12696427e7e83a0ec9f0b0e5b5b6bc97ed Author: Tobias C. Berner AuthorDate: 2022-03-04 05:33:11 +0000 Commit: Tobias C. Berner CommitDate: 2022-03-04 05:36:56 +0000 devel/appstream: New port - Provides a standard for creating app stores AppStream is a collaborative effort for making machine-readable software metadata easily available to programs that need it. It is part of the Freedesktop ecosystem and provides a convenient way to retrieve information about available software. AppStream consists of a specification to describe individual software component metadata in XML (so-called MetaInfo files), as well as a derived specification for a metadata-collection format to provide a list of these metadata entries in XML or YAML for easy consumption by software centers and other tools which need to know about available software in a repository. WWW: https://www.freedesktop.org/wiki/Distributions/AppStream/ PR: 258541 Original by: Olivier Duchateau --- devel/Makefile | 1 + devel/appstream/Makefile | 33 ++++++++++ devel/appstream/distinfo | 3 + devel/appstream/files/patch-data_meson.build | 10 +++ devel/appstream/files/patch-src_meson.build | 11 ++++ devel/appstream/pkg-descr | 13 ++++ devel/appstream/pkg-plist | 92 ++++++++++++++++++++++++++++ 7 files changed, 163 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 9f30dfabd9a8..e413edc1f5bb 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -167,6 +167,7 @@ SUBDIR += api-sanity-autotest SUBDIR += apitrace SUBDIR += app-builder + SUBDIR += appstream SUBDIR += appstream-glib SUBDIR += apr1 SUBDIR += arachne-pnr diff --git a/devel/appstream/Makefile b/devel/appstream/Makefile new file mode 100644 index 000000000000..41a6911719fc --- /dev/null +++ b/devel/appstream/Makefile @@ -0,0 +1,33 @@ +PORTNAME= AppStream +DISTVERSION= 0.15.2 +CATEGORIES= devel +MASTER_SITES= https://www.freedesktop.org/software/${PORTNAME:tl}/releases/ + +MAINTAINER= desktop@FreeBSD.org +COMMENT= Machine-readable software metadata for desktop environments + +LICENSE= GPLv2+ LGPL21+ +LICENSE_COMB= multi + +BUILD_DEPENDS= docbook-xsl>=0:textproc/docbook-xsl \ + gperf>0:devel/gperf \ + itstool:textproc/itstool \ + lmdb>0:databases/lmdb \ + valac:lang/vala +LIB_DEPENDS= libcurl.so:ftp/curl \ + liblmdb.so:databases/lmdb \ + libstemmer.so:textproc/snowballstemmer \ + libxmlb.so:textproc/libxmlb \ + libyaml.so:textproc/libyaml + +USES= gettext gnome localbase:ldflags meson pkgconfig \ + python:3.6+,build tar:xz + +USE_GNOME= glib20 introspection:build libxml2 libxslt + +MESON_ARGS= -Dstemming=true \ + -Dvapi=true \ + -Dapidocs=false \ + -Dinstall-docs=false + +.include diff --git a/devel/appstream/distinfo b/devel/appstream/distinfo new file mode 100644 index 000000000000..e98b9cde6574 --- /dev/null +++ b/devel/appstream/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1646369268 +SHA256 (AppStream-0.15.2.tar.xz) = 8f6c1cd288c7c59f5bf21746a6cfd1424cd9d7cbeb0b7920dbcdf9ef10e9c74a +SIZE (AppStream-0.15.2.tar.xz) = 2463900 diff --git a/devel/appstream/files/patch-data_meson.build b/devel/appstream/files/patch-data_meson.build new file mode 100644 index 000000000000..eec213898764 --- /dev/null +++ b/devel/appstream/files/patch-data_meson.build @@ -0,0 +1,10 @@ +--- data/meson.build.orig 2022-02-22 16:53:59 UTC ++++ data/meson.build +@@ -68,6 +68,7 @@ test('as-validate_metainfo.cli', + ) + + install_data('appstream.conf', ++ rename: ['appstream.conf.sample'], + install_dir: get_option('sysconfdir')) + + if get_option('compose') diff --git a/devel/appstream/files/patch-src_meson.build b/devel/appstream/files/patch-src_meson.build new file mode 100644 index 000000000000..6ca529fe1ded --- /dev/null +++ b/devel/appstream/files/patch-src_meson.build @@ -0,0 +1,11 @@ +--- src/meson.build.orig 2022-03-04 04:48:59 UTC ++++ src/meson.build +@@ -212,7 +212,7 @@ pkgc.generate( + # builds using libappstream. Fix this issue by post-processing the file. + sed_prog = find_program('sed') + pc_fixup = run_command(sed_prog, +- '-i', ++ '-i "" -e', + '/^Requires.private\|^Libs.private/ d', + join_paths(meson.project_build_root(), 'meson-private', 'appstream.pc'), + check: false) diff --git a/devel/appstream/pkg-descr b/devel/appstream/pkg-descr new file mode 100644 index 000000000000..041451c62e3b --- /dev/null +++ b/devel/appstream/pkg-descr @@ -0,0 +1,13 @@ +AppStream is a collaborative effort for making machine-readable software +metadata easily available to programs that need it. It is part of the +Freedesktop ecosystem and provides a convenient way to retrieve information +about available software. + +AppStream consists of a specification to describe individual software +component metadata in XML (so-called MetaInfo files), as well as a +derived specification for a metadata-collection format to provide a +list of these metadata entries in XML or YAML for easy consumption by +software centers and other tools which need to know about available +software in a repository. + +WWW: https://www.freedesktop.org/wiki/Distributions/AppStream/ diff --git a/devel/appstream/pkg-plist b/devel/appstream/pkg-plist new file mode 100644 index 000000000000..c9bd69c66a28 --- /dev/null +++ b/devel/appstream/pkg-plist @@ -0,0 +1,92 @@ +bin/appstreamcli +@sample etc/appstream.conf.sample +include/appstream/appstream.h +include/appstream/as-agreement-section.h +include/appstream/as-agreement.h +include/appstream/as-artifact.h +include/appstream/as-branding.h +include/appstream/as-bundle.h +include/appstream/as-category.h +include/appstream/as-checksum.h +include/appstream/as-component.h +include/appstream/as-content-rating.h +include/appstream/as-context.h +include/appstream/as-distro-details.h +include/appstream/as-enum-types.h +include/appstream/as-enums.h +include/appstream/as-icon.h +include/appstream/as-image.h +include/appstream/as-issue.h +include/appstream/as-launchable.h +include/appstream/as-metadata.h +include/appstream/as-pool.h +include/appstream/as-provided.h +include/appstream/as-relation.h +include/appstream/as-release.h +include/appstream/as-review.h +include/appstream/as-screenshot.h +include/appstream/as-spdx.h +include/appstream/as-suggested.h +include/appstream/as-translation.h +include/appstream/as-utils.h +include/appstream/as-validator-issue.h +include/appstream/as-validator.h +include/appstream/as-vercmp.h +include/appstream/as-version.h +include/appstream/as-video.h +lib/girepository-1.0/AppStream-1.0.typelib +lib/libappstream.so +lib/libappstream.so.0.15.2 +lib/libappstream.so.4 +libdata/pkgconfig/appstream.pc +man/man1/appstreamcli.1.gz +share/gettext/its/metainfo.its +share/gettext/its/metainfo.loc +share/gir-1.0/AppStream-1.0.gir +share/installed-tests/appstream/metainfo-validate.test +share/locale/ain/LC_MESSAGES/appstream.mo +share/locale/ar/LC_MESSAGES/appstream.mo +share/locale/bn_BD/LC_MESSAGES/appstream.mo +share/locale/ca/LC_MESSAGES/appstream.mo +share/locale/ckb/LC_MESSAGES/appstream.mo +share/locale/cs/LC_MESSAGES/appstream.mo +share/locale/da/LC_MESSAGES/appstream.mo +share/locale/de/LC_MESSAGES/appstream.mo +share/locale/en_GB/LC_MESSAGES/appstream.mo +share/locale/eo/LC_MESSAGES/appstream.mo +share/locale/es/LC_MESSAGES/appstream.mo +share/locale/et/LC_MESSAGES/appstream.mo +share/locale/eu/LC_MESSAGES/appstream.mo +share/locale/fi/LC_MESSAGES/appstream.mo +share/locale/fr/LC_MESSAGES/appstream.mo +share/locale/gd/LC_MESSAGES/appstream.mo +share/locale/gl/LC_MESSAGES/appstream.mo +share/locale/he/LC_MESSAGES/appstream.mo +share/locale/hr/LC_MESSAGES/appstream.mo +share/locale/hu/LC_MESSAGES/appstream.mo +share/locale/id/LC_MESSAGES/appstream.mo +share/locale/it/LC_MESSAGES/appstream.mo +share/locale/ja/LC_MESSAGES/appstream.mo +share/locale/ko/LC_MESSAGES/appstream.mo +share/locale/lt/LC_MESSAGES/appstream.mo +share/locale/nb/LC_MESSAGES/appstream.mo +share/locale/nl/LC_MESSAGES/appstream.mo +share/locale/oc/LC_MESSAGES/appstream.mo +share/locale/pl/LC_MESSAGES/appstream.mo +share/locale/pt/LC_MESSAGES/appstream.mo +share/locale/pt_BR/LC_MESSAGES/appstream.mo +share/locale/ro/LC_MESSAGES/appstream.mo +share/locale/rom/LC_MESSAGES/appstream.mo +share/locale/ru/LC_MESSAGES/appstream.mo +share/locale/sk/LC_MESSAGES/appstream.mo +share/locale/sl/LC_MESSAGES/appstream.mo +share/locale/sr/LC_MESSAGES/appstream.mo +share/locale/sr@latin/LC_MESSAGES/appstream.mo +share/locale/sv/LC_MESSAGES/appstream.mo +share/locale/tr/LC_MESSAGES/appstream.mo +share/locale/uk/LC_MESSAGES/appstream.mo +share/locale/zh_CN/LC_MESSAGES/appstream.mo +share/locale/zh_TW/LC_MESSAGES/appstream.mo +share/metainfo/org.freedesktop.appstream.cli.metainfo.xml +share/vala/vapi/appstream.deps +share/vala/vapi/appstream.vapi