User Tools

Site Tools


etc:30-gtk3-lpm

This is an old revision of the document!


Features for the gtk3 lpm frontend

This document lists features desired for a gtk3 front-end to lpm. It is structured into:

  • General functionality and appearance
  • Basic functionality
  • Additional features

The document is based on commit 7167406d4c1c60a1a65fcdfd46dadc10dc690ec0 of the gtk3 branch of dalglish:/var/lib/git/lpm.git.

1. General functionality and appearance

1.1 Naming

The gtk3 frontend should be called glpm (and glpm-update, for an update-only invocation), so it does not conflict with the current fltk-based xlpm frontend. Should be easy to change, I can do that myself…

1.2 Output of privileged functions

Currently, glpm outputs stdout of any plpm call also on stdout, which is usually not visible when the program is invoked from the desktop.

If this is doable whithin resonable effort, glpm should implement some kind of output window like in fltk xlpm, displaying the stdout of any plpm invocation.

Whithin plpm, it is implemented that “high-level” messages are pre-prepended with “plpm: ”, this can be used to display progress on a status bar.

1.3 Settings

A settings dialogue backed by some ~/.config/glpm config file belongs in the nice-to-have section, possible settings would be:

  • show_old_versions (false): also show older versions of available packages
  • delete_dependencies (false): delete unused dependencies of deleted packages
  • auto_cleanup (true): cleanup stagearea after successfull install or update
  • auto_update (false): apply all available updates on invocation
  • any other stuff I currently can't think of

1.4 Actions

Apart from the package-specific actions (install, update, remove), the following actions should be executable by the user, maybe by means of buttons:

  • Cleanup: clean up the stage-area, corresponds to: plpm cleanup
  • Refresh: refresh the package catalugue, corrensponds to: plpm refresh

2. Package Lists

The package lists….

etc/30-gtk3-lpm.1653251047.txt.gz · Last modified: by wikiadmin