Home
last modified time | relevance | path

Searched refs:packageInfo (Results 1 – 25 of 32) sorted by relevance

12

/haiku/src/libs/libsolv/ext/
H A Drepo_haiku.cpp115 const BPackageInfo &packageInfo) in add_package_info_to_repo() argument
124 name << packageInfo.Name(); in add_package_info_to_repo()
126 if (packageInfo.Architecture() == B_PACKAGE_ARCHITECTURE_ANY) in add_package_info_to_repo()
128 else if (packageInfo.Architecture() == B_PACKAGE_ARCHITECTURE_SOURCE) in add_package_info_to_repo()
132 BPackageInfo::kArchitectureNames[packageInfo.Architecture()], 1); in add_package_info_to_repo()
133 solvable->evr = pool_str2id(pool, packageInfo.Version().ToString(), 1); in add_package_info_to_repo()
134 solvable->vendor = pool_str2id(pool, packageInfo.Vendor(), 1); in add_package_info_to_repo()
136 packageInfo.Summary()); in add_package_info_to_repo()
138 packageInfo.Description()); in add_package_info_to_repo()
140 packageInfo.Packager()); in add_package_info_to_repo()
[all …]
H A Drepo_haiku.h29 const BPackageKit::BPackageInfo &packageInfo, int flags);
/haiku/src/apps/haikudepot/server/
H A DPopulatePkgSizesProcess.cpp64 PackageInfoRef packageInfo = depotInfo->PackageAtIndex(p); in RunInternal() local
66 if (!packageInfo.IsSet()) in RunInternal()
69 PackageLocalInfoRef localInfo = PackageUtils::NewLocalInfo(packageInfo); in RunInternal()
73 off_t derivedSize = _DeriveSize(packageInfo); in RunInternal()
79 packageInfo->Name().String()); in RunInternal()
83 packageInfo->Name().String()); in RunInternal()
87 packageInfo->SetLocalInfo(localInfo); in RunInternal()
H A DPopulatePkgChangelogFromServerProcess.cpp24 PackageInfoRef packageInfo, Model* model) in PopulatePkgChangelogFromServerProcess() argument
27 fPackageInfo(packageInfo) in PopulatePkgChangelogFromServerProcess()
H A DPopulatePkgUserRatingsFromServerProcess.h32 PopulatePkgUserRatingsFromServerProcess(PackageInfoRef packageInfo,
H A DPopulatePkgChangelogFromServerProcess.h34 PopulatePkgChangelogFromServerProcess(PackageInfoRef packageInfo,
/haiku/src/bin/package_repo/
H A Dcommand_create.cpp42 virtual void OnPackageAdded(const BPackageInfo& packageInfo) in OnPackageAdded() argument
47 printf("%s (%s)\n", packageInfo.Name().String(), in OnPackageAdded()
48 packageInfo.Version().ToString().String()); in OnPackageAdded()
50 printf("\tsummary: %s\n", packageInfo.Summary().String()); in OnPackageAdded()
51 printf("\tvendor: %s\n", packageInfo.Vendor().String()); in OnPackageAdded()
52 printf("\tpackager: %s\n", packageInfo.Packager().String()); in OnPackageAdded()
53 printf("\tchecksum: %s\n", packageInfo.Checksum().String()); in OnPackageAdded()
54 if (uint32 flags = packageInfo.Flags()) { in OnPackageAdded()
62 printf("\tchecksum: %s\n", packageInfo.Checksum().String()); in OnPackageAdded()
H A Dcommand_update.cpp166 virtual void OnPackageAdded(const BPackageInfo& packageInfo) in OnPackageAdded() argument
358 BPackageInfo packageInfo; in command_update() local
361 packageInfo.SetFileName(*packageNames.ItemAt(i)); in command_update()
363 if ((result = packageInfo.ReadFromPackageFile( in command_update()
372 PackageInfos::iterator infoIter = packageInfos.find(packageInfo); in command_update()
/haiku/src/kits/package/hpkg/
H A DWriterImplBase.cpp376 const BPackageInfo& packageInfo) in RegisterPackageInfo() argument
379 AddStringAttribute(B_HPKG_ATTRIBUTE_ID_PACKAGE_NAME, packageInfo.Name(), in RegisterPackageInfo()
384 packageInfo.Summary(), attributeList); in RegisterPackageInfo()
388 packageInfo.Description(), attributeList); in RegisterPackageInfo()
392 packageInfo.Vendor(), attributeList); in RegisterPackageInfo()
396 packageInfo.Packager(), attributeList); in RegisterPackageInfo()
400 packageInfo.BasePackage(), attributeList); in RegisterPackageInfo()
406 flags->unsignedInt = packageInfo.Flags(); in RegisterPackageInfo()
413 architecture->unsignedInt = packageInfo.Architecture(); in RegisterPackageInfo()
417 RegisterPackageVersion(attributeList, packageInfo.Version()); in RegisterPackageInfo()
[all …]
H A DRepositoryWriter.cpp55 BRepositoryWriter::AddPackageInfo(const BPackageInfo& packageInfo) in AddPackageInfo() argument
60 return fImpl->AddPackageInfo(packageInfo); in AddPackageInfo()
H A DRepositoryWriterImpl.cpp96 PackageContentHandler(BErrorOutput* errorOutput, BPackageInfo* packageInfo, in PackageContentHandler()
100 BPackageInfoContentHandler(*packageInfo, errorOutput), in PackageContentHandler()
237 RepositoryWriterImpl::AddPackageInfo(const BPackageInfo& packageInfo) in AddPackageInfo() argument
240 return _AddPackageInfo(packageInfo); in AddPackageInfo()
373 RepositoryWriterImpl::_AddPackageInfo(const BPackageInfo& packageInfo) in _AddPackageInfo() argument
375 fPackageInfo = packageInfo; in _AddPackageInfo()
/haiku/src/apps/packageinstaller/
H A DPackageInstall.cpp140 InstalledPackageInfo packageInfo(info->GetName(), info->GetVersion()); in _Install() local
142 status_t err = packageInfo.InitCheck(); in _Install()
155 err = packageInfo.Uninstall(); in _Install()
162 err = packageInfo.SetTo(info->GetName(), info->GetVersion(), true); in _Install()
173 err = packageInfo.SetTo(info->GetName(), info->GetVersion(), true); in _Install()
190 packageInfo.SetName(info->GetName()); in _Install()
200 packageInfo.SetDescription(description.String()); in _Install()
201 packageInfo.SetSpaceNeeded(type->space_needed); in _Install()
234 packageInfo.AddItem(state.destination.Path()); in _Install()
272 err = packageInfo.Save(); in _Install()
/haiku/src/tools/update_package_requires/
H A Dupdate_package_requires.cpp131 BPackageInfo packageInfo; in main() local
132 error = packageInfo.ReadFromConfigFile(packageInfoPath); in main()
139 int32 requiresCount = packageInfo.RequiresList().CountItems(); in main()
141 requiresList.push_back(*packageInfo.RequiresList().ItemAt(i)); in main()
144 packageInfo.ClearRequiresList(); in main()
152 error = packageInfo.AddRequires(expression); in main()
159 error = packageInfo.GetConfigString(configString); in main()
/haiku/src/kits/package/
H A DPackageInfoParser.cpp37 BPackageInfo* packageInfo) in Parse() argument
39 if (packageInfo == NULL) in Parse()
45 _Parse(packageInfo); in Parse()
961 BPackageInfo::Parser::_Parse(BPackageInfo* packageInfo) in _Parse() argument
1007 packageInfo->SetName(name); in _Parse()
1017 packageInfo->SetSummary(summary); in _Parse()
1022 _ParseStringValue(&packageInfo->fDescription); in _Parse()
1026 _ParseStringValue(&packageInfo->fVendor); in _Parse()
1030 _ParseStringValue(&packageInfo->fPackager); in _Parse()
1034 _ParseStringValue(&packageInfo->fBasePackage); in _Parse()
[all …]
H A DPackageInfoContentHandler.cpp21 BPackageInfo& packageInfo, BErrorOutput* errorOutput) in BPackageInfoContentHandler() argument
23 fPackageInfo(packageInfo), in BPackageInfoContentHandler()
H A DPackageInfoParser.h25 BPackageInfo* packageInfo);
100 void _Parse(BPackageInfo* packageInfo);
/haiku/src/kits/package/solver/
H A DSolverRepository.cpp154 while (const BPackageInfo* packageInfo = it.Next()) { in SetTo() local
155 error = AddPackage(*packageInfo); in SetTo()
179 while (const BPackageInfo* packageInfo = it.Next()) { in SetTo() local
180 status_t error = AddPackage(*packageInfo); in SetTo()
296 while (const BPackageInfo* packageInfo = it.Next()) { in AddPackages() local
297 error = AddPackage(*packageInfo); in AddPackages()
H A DSolverPackage.cpp17 const BPackageInfo& packageInfo) in BSolverPackage() argument
20 fInfo(packageInfo) in BSolverPackage()
/haiku/headers/private/package/hpkg/
H A DRepositoryWriterImpl.h44 status_t AddPackageInfo(const BPackageInfo& packageInfo);
51 const BPackageInfo& packageInfo);
/haiku/headers/os/package/hpkg/
H A DRepositoryWriter.h37 const BPackageInfo& packageInfo) = 0;
63 status_t AddPackageInfo(const BPackageInfo& packageInfo);
/haiku/src/kits/package/manager/
H A DRepositoryBuilder.cpp141 BPackageInfo packageInfo; in AddPackage() local
168 error = packageInfo.ReadFromPackageFile(path); in AddPackage()
171 error = packageInfo.ReadFromConfigFile(entry, &errorListener); in AddPackage()
181 AddPackage(packageInfo, path, &package); in AddPackage()
/haiku/src/kits/package/hpkg/v1/
H A DPackageInfoContentHandlerV1.cpp22 BPackageInfo& packageInfo, BErrorOutput* errorOutput) in BPackageInfoContentHandler() argument
24 fPackageInfo(packageInfo), in BPackageInfoContentHandler()
/haiku/src/libs/libsolv/solv/
H A Drepo_haiku.h29 const BPackageKit::BPackageInfo &packageInfo, int flags);
/haiku/headers/os/package/solver/
H A DSolverPackage.h21 const BPackageInfo& packageInfo);
/haiku/build/jam/
H A DPackageRules148 rule BuildHaikuPackage package : packageInfo
173 packageInfo = [ PreprocessPackageInfo $(packageInfo) : $(tempDir)
175 Depends $(package) : $(packageInfo) ;
228 BuildHaikuPackage1 $(package) : $(mainScript) $(packageInfo) $(scripts) ;

12