Bug 258541 - [new port] devel/AppStream: Machine-readable software metadata for desktop environments
Summary: [new port] devel/AppStream: Machine-readable software metadata for desktop en...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-desktop (Team)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-16 17:47 UTC by Olivier Duchateau
Modified: 2022-03-11 21:29 UTC (History)
2 users (show)

See Also:


Attachments
Add devel/AppStream (7.07 KB, patch)
2021-09-16 17:47 UTC, Olivier Duchateau
no flags Details | Diff
devel/AppStream (7.07 KB, patch)
2021-10-10 18:13 UTC, Olivier Duchateau
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Duchateau 2021-09-16 17:47:07 UTC
Created attachment 227943 [details]
Add devel/AppStream

Add devel/AppStream, I need it for upcoming ports (especially VAPI file). This port must be improved with Qt support.
Comment 1 Olivier Duchateau 2021-10-10 18:13:42 UTC
Created attachment 228570 [details]
devel/AppStream

Update to 0.14.6
Comment 2 Tobias C. Berner freebsd_committer freebsd_triage 2022-03-04 04:41:56 UTC
Moin moin 

Sorry, that one got assigned to ports@ instead of desktop@ 

mfg Tobias
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-03-04 05:18:59 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c6d8fb35db81eaa939c3354462ce16171f8ffb98

commit c6d8fb35db81eaa939c3354462ce16171f8ffb98
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-03-04 05:09:04 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-03-04 05:16:56 +0000

    textproc/libxmlb: New port - Library to help create and query binary XML blobs

    XML is slow to parse and strings inside the document cannot be memory mapped as
    they do not have a trailing NUL char. The libxmlb library takes XML source, and
    converts it to a structured binary representation with a deduplicated string
    table -- where the strings have the NULs included.

    This allows an application to mmap the binary XML file, do an XPath query and
    return some strings without actually parsing the entire document. This is all
    done using (almost) zero allocations and no actual copying of the binary data.

    WWW:    https://github.com/hughsie/libxmlb

    PR:             258541

 textproc/Makefile                |  1 +
 textproc/libxmlb/Makefile (new)  | 20 +++++++++++++
 textproc/libxmlb/distinfo (new)  |  3 ++
 textproc/libxmlb/pkg-descr (new) | 10 +++++++
 textproc/libxmlb/pkg-plist (new) | 62 ++++++++++++++++++++++++++++++++++++++++
 5 files changed, 96 insertions(+)
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-03-04 05:38:04 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6ee9ad12696427e7e83a0ec9f0b0e5b5b6bc97ed

commit 6ee9ad12696427e7e83a0ec9f0b0e5b5b6bc97ed
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-03-04 05:33:11 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
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 <duchateau.olivier@gmail.com>

 devel/Makefile                                     |  1 +
 devel/appstream/Makefile (new)                     | 33 ++++++++
 devel/appstream/distinfo (new)                     |  3 +
 devel/appstream/files/patch-data_meson.build (new) | 10 +++
 devel/appstream/files/patch-src_meson.build (new)  | 11 +++
 devel/appstream/pkg-descr (new)                    | 13 +++
 devel/appstream/pkg-plist (new)                    | 92 ++++++++++++++++++++++
 7 files changed, 163 insertions(+)
Comment 5 Adriaan de Groot freebsd_committer freebsd_triage 2022-03-11 21:29:39 UTC
The bits have landed. Thanks Olivier! (Now come to think of it I can update the Calamares port to use AppStream, too)