/haiku/src/apps/haikudepot/util/ |
H A D | PackageUtils.cpp | 15 PackageUtils::TitleOrName(const PackageInfoRef& package, BString& title) in TitleOrName() argument 17 PackageUtils::Title(package, title); in TitleOrName() 18 if (title.IsEmpty() && package.IsSet()) in TitleOrName() 19 title.SetTo(package->Name()); in TitleOrName() 24 PackageUtils::Title(const PackageInfoRef& package, BString& title) in Title() argument 26 if (package.IsSet()) { in Title() 27 PackageLocalizedTextRef localizedText = package->LocalizedText(); in Title() 40 PackageUtils::Summary(const PackageInfoRef& package, BString& summary) in Summary() argument 42 if (package.IsSet()) { in Summary() 43 PackageLocalizedTextRef localizedText = package->LocalizedText(); in Summary() [all …]
|
H A D | PackageUtils.h | 14 static void TitleOrName(const PackageInfoRef& package, BString& title); 15 static void Title(const PackageInfoRef& package, BString& title); 16 static void Summary(const PackageInfoRef& package, BString& summary); 18 static bool IsNativeDesktop(const PackageInfoRef& package); 21 NewLocalizedText(const PackageInfoRef& package); 23 static bool Viewed(const PackageInfoRef& package); 24 static PackageState State(const PackageInfoRef& package); 25 static float DownloadProgress(const PackageInfoRef& package); 26 static bool IsActivatedOrLocalFile(const PackageInfoRef& package); 27 static off_t Size(const PackageInfoRef& package); [all …]
|
/haiku/src/apps/haikudepot/packagemanagement/ |
H A D | AbstractPackageProcess.cpp | 25 PackageInfoRef package, Model* model) in AbstractPackageProcess() argument 27 fPackage(package), in AbstractPackageProcess() 30 if (package.IsSet()) in AbstractPackageProcess() 31 fInstallLocation = PackageKitUtils::DeriveInstallLocation(package.Get()); in AbstractPackageProcess() 58 AbstractPackageProcess::SetPackageState(PackageInfoRef& package, PackageState state) in SetPackageState() argument 60 if (package.IsSet()) { in SetPackageState() 61 PackageLocalInfoRef localInfo = PackageUtils::NewLocalInfo(package); in SetPackageState() 63 package->SetLocalInfo(localInfo); in SetPackageState() 72 AbstractPackageProcess::SetPackageDownloadProgress(PackageInfoRef& package, float value) in SetPackageDownloadProgress() argument 74 if (package.IsSet()) { in SetPackageDownloadProgress() [all …]
|
H A D | PackageManager.cpp | 134 PackageManager::GetPackageState(const PackageInfo& package) in GetPackageState() argument 142 PackageManager::CollectPackageActions(PackageInfoRef package, in CollectPackageActions() argument 145 if (!package.IsSet()) in CollectPackageActions() 148 PackageLocalInfoRef localInfo = package->LocalInfo(); in CollectPackageActions() 156 switch (PackageUtils::State(package)) { in CollectPackageActions() 159 _CollectPackageActionsForActivatedOrInstalled(package, actionList); in CollectPackageActions() 163 actionList.Add(_CreateInstallPackageAction(package)); in CollectPackageActions() 167 package->Name().String()); in CollectPackageActions() 171 package->Name().String()); in CollectPackageActions() 175 package->Name().String()); in CollectPackageActions() [all …]
|
/haiku/src/servers/package/ |
H A D | VolumeState.cpp | 28 Package* package = fPackagesByNodeRef.Clear(true); in ~VolumeState() local 29 while (package != NULL) { in ~VolumeState() 30 Package* next = package->NodeRefHashTableNext(); in ~VolumeState() 31 delete package; in ~VolumeState() 32 package = next; in ~VolumeState() 46 VolumeState::AddPackage(Package* package) in AddPackage() argument 48 fPackagesByFileName.Insert(package); in AddPackage() 49 fPackagesByNodeRef.Insert(package); in AddPackage() 54 VolumeState::RemovePackage(Package* package) in RemovePackage() argument 56 fPackagesByFileName.Remove(package); in RemovePackage() [all …]
|
H A D | CommitTransactionHandler.cpp | 44 Package* package = NULL) in TransactionIssueBuilder() 47 fPackageName(package != NULL ? package->FileName() : BString()), in TransactionIssueBuilder() 89 BTransactionIssue BuildIssue(Package* package) const in BuildIssue() 92 if (packageName.IsEmpty() && package != NULL) in BuildIssue() 93 packageName = package->FileName(); in BuildIssue() 146 Package* package = fPackagesToActivate.ItemAt(i); in ~CommitTransactionHandler() local 147 if (fPackagesAlreadyAdded.find(package) in ~CommitTransactionHandler() 149 delete package; in ~CommitTransactionHandler() 170 Package* package = fVolumeState->FindPackage((*it)->FileName()); in Init() local 171 fPackagesAlreadyAdded.insert(package); in Init() [all …]
|
H A D | PackageManager.cpp | 110 Package* package = *it; in HandleUserChanges() local 112 repositoryBuilder.AddPackage(package->Info(), NULL, &solverPackage); in HandleUserChanges() 113 fSolverPackages[package] = solverPackage; in HandleUserChanges() 139 Package* package = it.Next(); in InitInstalledRepository() local 140 if (package->IsActive()) { in InitInstalledRepository() 142 repositoryBuilder.AddPackage(package->Info(), NULL, in InitInstalledRepository() 144 fSolverPackages[package] = solverPackage; in InitInstalledRepository() 163 for (int32 i = 0; BSolverPackage* package = packagesToDeactivate.ItemAt(i); in ResultComputed() 165 if (fPackagesAddedByUser.erase(package) == 0) in ResultComputed() 170 if (it->second == package) { in ResultComputed() [all …]
|
/haiku/src/apps/haikudepot/packagemodel/ |
H A D | PackageFilter.cpp | 36 NotFilter::AcceptsPackage(const PackageInfoRef& package) const in AcceptsPackage() 38 return !(fFilter.IsSet() && fFilter->AcceptsPackage(package)); in AcceptsPackage() 43 AndFilter::AcceptsPackage(const PackageInfoRef& package) const in AcceptsPackage() 48 if (!aFilter.IsSet() || !aFilter->AcceptsPackage(package)) in AcceptsPackage() 64 virtual bool AcceptsPackage(const PackageInfoRef& package) const in AcceptsPackage() 66 return PackageUtils::State(package) == fState; in AcceptsPackage() 82 virtual bool AcceptsPackage(const PackageInfoRef& package) const in AcceptsPackage() 84 if (!package.IsSet()) in AcceptsPackage() 87 PackageClassificationInfoRef classificationInfo = package->PackageClassificationInfo(); in AcceptsPackage() 113 virtual bool AcceptsPackage(const PackageInfoRef& package) const in AcceptsPackage() [all …]
|
/haiku/src/add-ons/kernel/file_systems/packagefs/package_links/ |
H A D | PackageLinkDirectory.cpp | 48 PackageLinkDirectory::Init(Package* package) in Init() argument 51 status_t error = Init(package->VersionedName()); in Init() 56 AddPackage(package, NULL); in Init() 79 Package* package = fPackages.Head(); in OpenAttributeDirectory() local 80 if (package == NULL) in OpenAttributeDirectory() 97 Package* package = fPackages.Head(); in OpenAttribute() local 98 if (package == NULL) in OpenAttribute() 101 return AutoPackageAttributes::OpenCookie(package, name, openMode, _cookie); in OpenAttribute() 106 PackageLinkDirectory::AddPackage(Package* package, in AddPackage() argument 113 MountType mountType = package->Volume()->MountType(); in AddPackage() [all …]
|
H A D | PackageLinksDirectory.cpp | 40 PackageLinksDirectory::AddPackage(Package* package) in AddPackage() argument 51 status_t error = linkDirectory->Init(package); in AddPackage() 66 linkDirectory->RemovePackage(package, NULL); in AddPackage() 70 linkDirectory->AddPackage(package, fListener); in AddPackage() 84 PackageLinksDirectory::RemovePackage(Package* package) in RemovePackage() argument 89 PackageLinkDirectory* linkDirectory = package->LinkDirectory(); in RemovePackage() 95 linkDirectory->RemovePackage(package, fListener); in RemovePackage() 110 PackageLinksDirectory::UpdatePackageDependencies(Package* package) in UpdatePackageDependencies() argument 114 PackageLinkDirectory* linkDirectory = package->LinkDirectory(); in UpdatePackageDependencies() 118 linkDirectory->UpdatePackageDependencies(package, fListener); in UpdatePackageDependencies()
|
/haiku/build/jam/ |
H A D | PackageRules | 1 rule FHaikuPackageGrist package 3 local grist = [ Match "<(.*)>" : $(package:G) ] ; 4 return hpkg_$(grist:E="")-$(package:G=) ; 8 rule HaikuPackage package 10 local grist = [ FHaikuPackageGrist $(package) ] ; 12 HAIKU_CONTAINER_GRIST on $(package) = $(grist) ; 13 HAIKU_INCLUDE_IN_CONTAINER_VAR on $(package) = HAIKU_INCLUDE_IN_PACKAGES ; 14 HAIKU_INSTALL_TARGETS_VAR on $(package) 16 HAIKU_CONTAINER_SYSTEM_DIR_TOKENS on $(package) = ; 18 HAIKU_CURRENTLY_BUILT_HAIKU_PACKAGE = $(package) ; [all …]
|
H A D | HaikuPackages | 36 packages = $(packages:G=package-rules) ; 37 archDependentPackages = $(archDependentPackages:G=package-rules) ; 38 secondaryArchPackages = $(secondaryArchPackages:G=package-rules) ; 42 local package ; 43 for package in $(packages) { 44 include $(package) ; 47 for package in $(archDependentPackages) { 51 include $(package) ; 56 for package in $(secondaryArchPackages) { 61 include $(package) ;
|
H A D | RepositoryRules | 9 return $(packageBaseName:G=package-family) ; 35 local package = $(baseName)-$(version) ; 36 package = $(package:E=$(baseName):G=package-in-$(repository:G=)) ; 37 HAIKU_PACKAGE_REPOSITORY on $(package) = $(repository) ; 38 HAIKU_PACKAGE_ARCHITECTURE on $(package) = $(architecture) ; 39 local packageFileName = $(package:G=)-$(architecture).hpkg ; 40 HAIKU_PACKAGE_FILE_NAME on $(package) = $(packageFileName) ; 58 HAIKU_PACKAGE_VERSIONS on $(packageFamily) += $(package) ; 59 HAIKU_REPOSITORY_PACKAGES on $(repository) += $(package) ; 61 return $(package) ; [all …]
|
/haiku/3rdparty/pulkomandy/ |
H A D | unbootstrap.sh | 13 for package in ../packages/*.hpkg 15 echo --- Processing $package --- 18 echo Extracting package... 19 package extract $package 22 name=`basename $package|sed -e s/_bootstrap//g` 25 oldpkgname=$(basename $package | sed -e s/-source.hpkg//g | sed -e s/_source//g) 34 echo Regenerating package... 35 package create ../$name
|
/haiku/data/catalogs/apps/packageinstaller/ |
H A D | el.catkeys | 11 …ready exists in the given path.\nReplace the link with the one from this package or skip it? Packa… 14 The given package seems to be already installed on your system. Would you like to uninstall the exi… 16 The installation of the package has been aborted. PackageView Η εγκατάσταση αυτού του πακέτου ματα… 19 The selected package was not removed from your system. The given installed package information file… 21 …ready exists in the given path.\nReplace the item with the one from this package or skip it? Packa… 25 …uested package failed to install on your system. This might be a problem with the target package f… 30 Preparing package PackageInstall Προετοιμασία πακέτου 31 The package you requested has been successfully installed on your system. PackageView Το πακέτο πο… 35 Installing package PackageStatus Εγκατάσταση πακέτου 38 No package selected. UninstallView Δεν επιλέχθηκε πακέτο. [all …]
|
H A D | th.catkeys | 11 …ready exists in the given path.\nReplace the link with the one from this package or skip it? Packa… 14 The given package seems to be already installed on your system. Would you like to uninstall the exi… 16 The installation of the package has been aborted. PackageView การติดตั้งแพคเกจถูกยกเลิก 19 The selected package was not removed from your system. The given installed package information file… 21 …ready exists in the given path.\nReplace the item with the one from this package or skip it? Packa… 25 …uested package failed to install on your system. This might be a problem with the target package f… 30 Preparing package PackageInstall กำลังเตรียมแพ็คเกจ 31 The package you requested has been successfully installed on your system. PackageView แพคเกจที่คุณ… 35 Installing package PackageStatus กำลังติดตั้งแพ็คเกจ 38 No package selected. UninstallView ไม่ได้เลือกแพ็คเกจ [all …]
|
H A D | ja.catkeys | 11 …ready exists in the given path.\nReplace the link with the one from this package or skip it? Packa… 14 The given package seems to be already installed on your system. Would you like to uninstall the exi… 16 The installation of the package has been aborted. PackageView パッケージのインストールは中止されました。 19 The selected package was not removed from your system. The given installed package information file… 21 …ready exists in the given path.\nReplace the item with the one from this package or skip it? Packa… 25 …uested package failed to install on your system. This might be a problem with the target package f… 30 Preparing package PackageInstall パッケージを準備しています 31 The package you requested has been successfully installed on your system. PackageView 要求されたパッケージはシ… 35 Installing package PackageStatus パッケージのインストール中 38 No package selected. UninstallView パッケージが選択されていません。 [all …]
|
H A D | ko.catkeys | 11 …ready exists in the given path.\nReplace the link with the one from this package or skip it? Packa… 14 The given package seems to be already installed on your system. Would you like to uninstall the exi… 16 The installation of the package has been aborted. PackageView 패키지 설치가 중단되었습니다. 19 The selected package was not removed from your system. The given installed package information file… 21 …ready exists in the given path.\nReplace the item with the one from this package or skip it? Packa… 25 …uested package failed to install on your system. This might be a problem with the target package f… 30 Preparing package PackageInstall 패키지 준비중 31 The package you requested has been successfully installed on your system. PackageView 요청한 패키지가 시스템… 35 Installing package PackageStatus 패키지 설치중 38 No package selected. UninstallView 패키지가 선택되지 않았습니다. [all …]
|
H A D | zh_Hans.catkeys | 11 …ready exists in the given path.\nReplace the link with the one from this package or skip it? Packa… 14 The given package seems to be already installed on your system. Would you like to uninstall the exi… 16 The installation of the package has been aborted. PackageView 该包的安装已经取消。 19 The selected package was not removed from your system. The given installed package information file… 21 …ready exists in the given path.\nReplace the item with the one from this package or skip it? Packa… 25 …uested package failed to install on your system. This might be a problem with the target package f… 30 Preparing package PackageInstall 准备安装包 31 The package you requested has been successfully installed on your system. PackageView 您所需要的包已经成功的安… 35 Installing package PackageStatus 安装包 38 No package selected. UninstallView 未选择安装包。 [all …]
|
H A D | ru.catkeys | 11 …ready exists in the given path.\nReplace the link with the one from this package or skip it? Packa… 14 The given package seems to be already installed on your system. Would you like to uninstall the exi… 16 The installation of the package has been aborted. PackageView Установка пакета была прервана. 19 The selected package was not removed from your system. The given installed package information file… 21 …ready exists in the given path.\nReplace the item with the one from this package or skip it? Packa… 25 …uested package failed to install on your system. This might be a problem with the target package f… 30 Preparing package PackageInstall Подготовка пакета 31 The package you requested has been successfully installed on your system. PackageView Пакет, котор… 35 Installing package PackageStatus Установка пакета 38 No package selected. UninstallView Ни один пакет не выбран. [all …]
|
H A D | uk.catkeys | 11 …ready exists in the given path.\nReplace the link with the one from this package or skip it? Packa… 14 The given package seems to be already installed on your system. Would you like to uninstall the exi… 16 The installation of the package has been aborted. PackageView Встановлення пакета перервано. 19 The selected package was not removed from your system. The given installed package information file… 21 …ready exists in the given path.\nReplace the item with the one from this package or skip it? Packa… 25 …uested package failed to install on your system. This might be a problem with the target package f… 30 Preparing package PackageInstall Підготовка пакета 31 The package you requested has been successfully installed on your system. PackageView Пакет який В… 35 Installing package PackageStatus Інсталяція пакета 38 No package selected. UninstallView Не вибрано пакет. [all …]
|
H A D | be.catkeys | 12 The given package seems to be already installed on your system. Would you like to uninstall the exi… 14 The installation of the package has been aborted. PackageView Усталёўка пакунка была перарваная. 18 …uested package failed to install on your system. This might be a problem with the target package f… 23 Preparing package PackageInstall Прыгатаванне пакунку 24 The package you requested has been successfully installed on your system. PackageView Абраны пакун… 28 Installing package PackageStatus Усталеўка пакунка 31 No package selected. UninstallView Няма абраных пакункаў. 33 Error while installing the package\n PackageView Памылка падчас усталёўкі пакунка\n 35 No package available. PackageInfo Няма даступных пакункаў. 37 There seems to be a file size mismatch in the package file. The package might be corrupted or have … [all …]
|
/haiku/src/add-ons/kernel/file_systems/packagefs/package/ |
H A D | PackageNode.cpp | 22 PackageNode::PackageNode(Package* package, mode_t mode) in PackageNode() argument 24 fPackage(package), in PackageNode() 58 BReference<Package> package(GetPackage()); in VFSInit() local 61 int fd = package->Open(); in VFSInit() 65 package->AcquireReference(); in VFSInit() 73 BReference<Package> package(GetPackage()); in VFSUninit() local 74 package->Close(); in VFSUninit() 75 package->ReleaseReference(); in VFSUninit() 134 BReference<Package> package(GetPackage()), otherPackage(other->GetPackage()); in HasPrecedenceOver() local 135 if (package) in HasPrecedenceOver() [all …]
|
/haiku/docs/develop/packages/ |
H A D | README.rst | 4 This is a short index of the available package management related documentation. 7 belong to Haiku's package management infrastructure and how they work and 10 - :doc:`BuildingPackages` gives information on various aspects of the package 14 package management powered Haiku boot volume. 17 package files (HPKG) and Haiku package repository files (HPKR). 24 package management Haiku. 28 - :doc:`TODO <TODO>` is a list of package management related work still to be done. 30 - `Blog posts`_ on package management (the Batisseur ones are only indirectly 31 package management related). 33 .. _Blog posts: https://www.haiku-os.org/tags/package-management/ [all …]
|
/haiku/src/bin/pkgman/ |
H A D | command_search.cpp | 275 BSolverPackage* package = packages.ItemAt(i); in Execute() local 278 if (package->Repository() == systemRepository) in Execute() 280 else if (package->Repository() == homeRepository) in Execute() 283 repository = package->Repository()->Name(); in Execute() 286 table.SetTextAt(i, 1, package->Name()); in Execute() 287 table.SetTextAt(i, 2, package->Version().ToString()); in Execute() 288 table.SetTextAt(i, 3, package->Info().ArchitectureName()); in Execute() 303 BSolverPackage* package = packages.ItemAt(i); in Execute() local 305 && package->Name() != packages.ItemAt(groupStart)->Name()) { in Execute() 309 if (package->Repository() == systemRepository) in Execute() [all …]
|