File: README.md

package info (click to toggle)
appstream 0.7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 7,660 kB
  • ctags: 2,618
  • sloc: xml: 10,142; ansic: 8,362; cpp: 1,905; python: 236; sh: 58; makefile: 13
file content (63 lines) | stat: -rw-r--r-- 2,328 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
AppStream
=========

AppStream is a cross-distro effort for enhancing the way we interact with the software repositories provided by the
distribution by standardizing sets of additional metadata.
AppStream provides the foundation to build software-center applications. It additionally provides specifications
for things like an unified software metadata database, screenshot services and various other things needed to create
user-friendly application-centers for (Linux) distributions.

This repository contains the AppStream specification and a library for accessing the Xapian database which has been
generated from AppStream metadata.

![AppStream Architecture](docs/sources/images/architecture-small.png "AppStream Architecture")

## Useful Links
[AppStream Documentation](http://www.freedesktop.org/software/appstream/docs/) - The AppStream specification and help  
[Releases](http://www.freedesktop.org/software/appstream/releases/) - All releases of AppStream  
[AppStream on Freedesktop](http://www.freedesktop.org/wiki/Distributions/AppStream/) - The original Freedesktop.org page  

## Developers
[![Build Status](https://travis-ci.org/ximion/appstream.svg?branch=master)](https://travis-ci.org/ximion/appstream)

### Dependencies

#### Core
 * glib2 (>= 2.36)
 * GObject-Introspection
 * libxml2
 * Xapian

#### Optional
 * Vala Compiler (vapigen) (for Vala API file)
 * libyaml (for DEP-11 support)

#### Documentation
 * Publican

#### Qt (for libappstream-qt)
 * Qt4 or Qt5 Core


### Compiling 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 CMake to configure AppStream and build it with make:
```bash
mkdir build
cd build
cmake <flags> ..
make
```
Possible AppStream-specific flags are:  
 -DPROVIDER_DEBIAN_DEP11=ON      -- Enable support for Debian DEP11 AppStream format  
 -DPROVIDER_UBUNTU_APPINSTALL=ON -- Enable support for Ubuntu's AppInstall data  
 -DDOCUMENTATION=ON              -- (Re)generate API documentation  
 -DMAINTAINER=ON                 -- Enable strict compiler options - use this if you write a patch for AppStream

### Installation

To install the compiled binaries and required data files, execute
"make install" with superuser rights.