#10236 closed enhancement (fixed)
HPKG Installer app (for local packages)
Reported by: | Giova84 | Owned by: | stippi |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta1 |
Component: | Applications/HaikuDepot | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | #10069 | |
Platform: | x86 |
Description
As suggested by Scott on the mailing list, i open this ticket to submit a GUI app to install local hpkg files:
I made this little and simple app to install local HPKG files, which is based on TrackerScript: https://github.com/HaikuArchives/TrackerScript (which is released under MIT license). Differently from pkgman, this is a GUI app.
So, If core developers think that would be useful improve and/or include this app in Haiku, i attach a zip archive to this ticket, an archive which contain the HPKG file for the installer (move under /boot/home/config/packages), and the modified source code (for now is only possible build this app with gcc2 compiler, but this app properly works under gcc2h Haiku and should also work in gcc4h).
I also guess that this app could be placed under system (to be treated as system apps) by replacing reference, in the source code, from"B_USER_APPS_DIRECTORY" to "B_SYSTEM_APPS_DIRECTORY".
Some screenshots:
http://softwaredepot.xoom.it/HPKG_Installer/Screenshots/HPKG_Installer_I.png http://softwaredepot.xoom.it/HPKG_Installer/Screenshots/HPKG_Installer_II.png http://softwaredepot.xoom.it/HPKG_Installer/Screenshots/HPKG_Installer_III.png
Attachments (2)
Change History (12)
by , 11 years ago
Attachment: | HPKG_Installer-1.0.0.zip added |
---|
comment:2 by , 11 years ago
I wonder if it weren't a better idea to open hpkgs with HaikuDepot:
- It starts fast enough (should be even faster when it doesn't have to load a remote repository)
- It shows the summary/description of the package
- It shows links to the project website
- In the future it may run some security and integrity checks
comment:3 by , 11 years ago
Component: | Applications/PackageInstaller → Kits/Package Kit |
---|---|
Milestone: | R1 → R1/alpha5 |
Owner: | changed from | to
comment:4 by , 11 years ago
Maybe PackageInstaller could be adapted to do that? This way it will handle both BeOS and Haiku packages and the name fits perfectly ;-)
comment:5 by , 11 years ago
Component: | Kits/Package Kit → Applications/HaikuDepot |
---|---|
Owner: | changed from | to
No, actually I now think is a job for HaikuDepot.
I think the correct way to do this is to have a pop-up dialog that's basically the lower panel of HaikuDepot (like GDebi is on Ubuntu) and have the same "Install" button there.
comment:6 by , 10 years ago
I agree that it should be part of HaikuDepot. The package info area has quite a lot of code that doesn't need duplication. There are other ways of avoiding duplication, but I don't see why HaikuDepot should not simply run in a different mode when launched this way. Also, to extract information from a package file, I believe the tool needs to be a C++ app linking against Package Kit.
comment:7 by , 10 years ago
@stippi With your recent changes, this can probably be closed. However, it'd be nice to have HaikuDepot be set as the default app for HPKGs, can you do that?
comment:8 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:10 by , 10 years ago
Milestone: | R1/alpha5 → R1/beta1 |
---|
I upload revision 2 with some improvements about mime type