Debian Packages Updater

Patrick CARDONA <[email protected]> Sat, 28 Mar 2026 21:04:58 +0100
Newsgroups gmane.comp.lib.gnustep.general
Message-ID <5d1022074bc52243dd88b8dc56804c57@pi500>
Hello everybody,

My little AppIcons are going forward: yet finished are Meteo.app, 
using Igor Chubin wttr.in API, UpMem.app and Birthday.app.  The last 
displays a badge if an event is available.
They supply a pretty replacement for the previous Dockapps I used with 
Bash scripts.
Now, they are full GNUstep and Objective-C code.
See screenshot below...

Updater.app is quite finished:
- Badge notification is working.
- Panel with a list of upgradable packages too.
- Pending is the way to implement action of 'Upgrade' button.

To perform this final upgrade, I firstly worked on a Panel with an 
NSProgressBar control and a label to display the current name of the 
package being upgraded...
Unfortunately, I did not find any way to use 'sudo' nor 'pkexec' 
command within an NSTask and have an NSPanel to type the needed 
password.
So I think I will use an 'Xterm -e command' to allow the necessary 
password typing... and finally perform the upgrade like I did 
previously with a simpler  wrapper.

But maybe I lacked some useful documentation in the GNUstep libs-gui 
reference? Until now, not found.


<Updater_preview.png>


Best regards,
Patrick

-- 
Patrick Cardona - Pi500 - GNU/Linux aarch64 (Debian 13.4)
Xorg (1:7.7+24) - libcairo2 (1.18.4-1+rpt1 arm64) - Window Maker 
(0.96.0-4)
GWorkspace (1.1.0 - 02 2025) - Theme: Heritage - MUA: GNUMail (1.4.0 - 
rev.947)
Updater_preview.png (image/png, 123.4 KB) - not displayed