2011-02-04 20:43:07 +03:00
|
|
|
/*
|
2013-05-23 23:29:18 +04:00
|
|
|
* Copyright 2011-2013, Haiku, Inc.
|
2011-02-04 20:43:07 +03:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _PACKAGE__PACKAGE_INFO_ATTRIBUTES_H_
|
|
|
|
#define _PACKAGE__PACKAGE_INFO_ATTRIBUTES_H_
|
|
|
|
|
|
|
|
|
|
|
|
namespace BPackageKit {
|
|
|
|
|
|
|
|
|
2011-02-12 22:21:37 +03:00
|
|
|
enum BPackageInfoAttributeID {
|
2011-02-04 20:43:07 +03:00
|
|
|
B_PACKAGE_INFO_NAME = 0,
|
|
|
|
B_PACKAGE_INFO_SUMMARY, // single line
|
|
|
|
B_PACKAGE_INFO_DESCRIPTION, // multiple lines possible
|
|
|
|
B_PACKAGE_INFO_VENDOR, // e.g. "Haiku Project"
|
|
|
|
B_PACKAGE_INFO_PACKAGER, // e-mail address preferred
|
|
|
|
B_PACKAGE_INFO_ARCHITECTURE,
|
2013-04-16 02:05:19 +04:00
|
|
|
B_PACKAGE_INFO_VERSION, // <major>[.<minor>[.<micro>]][-<pre>]
|
|
|
|
// -<revision>
|
2011-02-04 20:43:07 +03:00
|
|
|
B_PACKAGE_INFO_COPYRIGHTS, // list
|
|
|
|
B_PACKAGE_INFO_LICENSES, // list
|
|
|
|
B_PACKAGE_INFO_PROVIDES, // list of resolvables this package provides,
|
|
|
|
// each optionally giving a version
|
|
|
|
B_PACKAGE_INFO_REQUIRES, // list of resolvables required by this package,
|
|
|
|
// each optionally specifying a version relation
|
|
|
|
// (e.g. libssl.so >= 0.9.8)
|
|
|
|
B_PACKAGE_INFO_SUPPLEMENTS, // list of resolvables that are supplemented
|
|
|
|
// by this package, i.e. this package marks
|
|
|
|
// itself as an extension to other packages
|
|
|
|
B_PACKAGE_INFO_CONFLICTS, // list of resolvables that inhibit installation
|
|
|
|
// of this package
|
|
|
|
B_PACKAGE_INFO_FRESHENS, // list of resolvables that this package
|
|
|
|
// contains a patch for
|
|
|
|
B_PACKAGE_INFO_REPLACES, // list of resolvables that this package
|
|
|
|
// will replace (upon update)
|
2011-02-08 22:50:36 +03:00
|
|
|
B_PACKAGE_INFO_FLAGS,
|
2011-06-28 19:24:34 +04:00
|
|
|
B_PACKAGE_INFO_URLS, // list
|
|
|
|
B_PACKAGE_INFO_SOURCE_URLS, // list
|
2011-02-09 22:11:23 +03:00
|
|
|
B_PACKAGE_INFO_CHECKSUM, // sha256-checksum
|
2011-07-11 16:00:55 +04:00
|
|
|
B_PACKAGE_INFO_INSTALL_PATH, // package install path; only for package
|
|
|
|
// building
|
2013-05-13 23:02:30 +04:00
|
|
|
B_PACKAGE_INFO_BASE_PACKAGE, // name of the base package for this package
|
2013-05-23 23:29:18 +04:00
|
|
|
B_PACKAGE_INFO_GLOBAL_SETTINGS_FILES,
|
|
|
|
// list of global settings file infos
|
|
|
|
B_PACKAGE_INFO_USER_SETTINGS_FILES,
|
|
|
|
// list of user settings file infos
|
2011-02-04 20:43:07 +03:00
|
|
|
//
|
|
|
|
B_PACKAGE_INFO_ENUM_COUNT,
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace BPackageKit
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _PACKAGE__PACKAGE_INFO_ATTRIBUTES_H_
|