Add categories to alpine packages

2 posts / 0 new
Last post
#1 Sun, 2017-08-27 11:17
pwFoo
  • pwFoo's picture
  • Offline
  • Last seen: 3 months 7 min ago
  • Joined: 2015-08-27

Categories should be added to http://pkgs.alpinelinux.org/packages for better filters like "terminal" or "desktop", "webserver", ...

Thu, 2017-09-21 12:16
technosaurus
  • technosaurus's picture
  • Offline
  • Last seen: 3 weeks 1 day ago
  • Joined: 2017-09-21

If Alpine is ever going to have a useful graphical package manager, this is necessary. I would suggest using the same format that is in *.desktop files and if no desktop file is provided in the package, parse the file list for specific files or directories such as:

*.debug) Debug
*.h|*.a|/usr/include/*) Development
*.so.*)Libraries
*.afm|*.pfa|*.ttf|*.otf|/usr/share/fonts/*)Font
*/bin/*|*/sbin/*)Administration Utilities
etc...

To further improve the situation, I would also add a field corresponding to the MimeType entry in the *.desktop file so that the package manager could automatically provide a list of usable applications to install (via wrapper around xdg-open??)

... and the final bonus, the Icon entry ...for obvious reasons in a graphical package manager, but it could also be used for an online distro iso/img builder
For a web-based example that would work over ssh (links), in the console (netsurf-framebuffer) or in X or Wayland (via browser) see: http://hg.slitaz.org/tazpkg/file/

Log in or register to post comments