Coder Social home page Coder Social logo

felixonmars / appstream Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ximion/appstream

0.0 2.0 0.0 19.05 MB

Tools and libraries to work with AppStream metadata

Home Page: http://www.freedesktop.org/wiki/Distributions/AppStream/

License: GNU General Public License v2.0

CMake 0.13% C++ 7.72% C 90.03% Shell 0.30% Python 0.47% Meson 1.32% Vala 0.02%

appstream's Introduction

AppStream

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, making it one of the building blocks for modern software centers.

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. In addition to the metadata specification, AppStream specifies a set of related features to help providing better metadata for software repositories (primarily in Linux distributions). This reference implementation of AppStream provides a shared library to work with these metadata files, features to index and query their data quickly, as well as other useful related functionality to make building programs which work with software metadata very easy.

This repository contains:

  • the AppStream specification
  • the appstreamcli utility to access and edit metadata, manipulate caches, show diagnostic information, etc. (see man appstreamcli)
  • a GLib/GObject based library for reading and writing AppStream metadata in XML and YAML, accessing the system data pool, and auxiliary functionality
  • a Qt5 based library for accessing AppStream

Useful Links

AppStream Documentation - The AppStream specification and help
Releases - All (signed) releases of AppStream
AppStream on Freedesktop - The original Freedesktop.org page

For help and development discussion, check out the AppStream mailinglist.

Users

If you are an upstream application author and want to add a MetaInfo file to your application, check out the Quickstart Guides in the documentation. An even quicker way to get to your metadata is using the MetaInfo Creator web application. You can check out its source code here.

If you are a (Linux) distributor or owner of a software repository you want to generate AppStream Collection Metadata for, you may want to take a look at the AppStream Generator project.

Developers

Build Test Translation status

Dependencies

Required

  • Meson (>= 0.48)
  • glib2 (>= 2.58)
  • GObject-Introspection
  • libxml2
  • libyaml
  • libcurl (>= 7.62)
  • LMDB

Optional

  • Vala Compiler (vapigen) (for Vala VAPI file)
  • Snowball (for stemming support)

Qt (for libappstream-qt)

  • Qt5 Core

Documentation / Specification

If you are using the released tarballs, the HTML documentation will be prebuilt and DAPS, which is a heavy dependency, is not required to make it available locally. Of course, AppStream doesn't need the documentation to function, so it can even be built completely without it.

Build instructions

To compile AppStream, make sure that you have all required libraries (development files!) installed. Then continue (the build system will complain about missing dependencies).

Use Meson to configure AppStream and build it with ninja:

mkdir build
cd build
meson <flags> ..
ninja
ninja test

Possible AppStream-specific flags are:
-Dqt=true -- Build the Qt interface library (default: false)
-Dvapi=true -- Build Vala API to use the library with the Vala programming language (default: false)
-Ddocs=true -- Build specification and other documentation, requires DAPS (default: false)
-Dinstall-docs=true -- Install documentation (default: true)
-Dmaintainer=true -- Enable strict compiler options - use this if you write a patch for AppStream (default: false)
-Dstemming=true -- Enable support for stemming in fulltext searches (default: true)
-Dapt-support=true -- Enable integration with the APT package manager on Debian (default: false)

Installation

To install the compiled binaries and required data, execute ninja install with superuser permission.

Translators

You can help translating AppStream via Weblate. Check out the AppStream Weblate Page.

appstream's People

Contributors

aleixpol avatar amalvarenga avatar atriwidada avatar avganec avatar cheve11e avatar comradekingu avatar f2404 avatar fitojb avatar haaninjo avatar milocasagrande avatar milotype avatar p-bo avatar piotrdrag avatar pwithnall avatar rffontenelle avatar ricotz avatar robert-ancell avatar ryonakano avatar santossi avatar scootergrisen avatar svuorela avatar tintou avatar verytastytomato avatar vistaus avatar weblate avatar welaq avatar wsxy162 avatar ximion avatar yurchor avatar zerng07 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.