notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Ukraine
non port: sysutils/wmmemfree/files/patch-Makefile
SVNWeb

Number of commits found: 4

Wed, 26 Jul 2023
[ 14:10 Alexey Dokuchaev (danfe) search for other commits by this committer ]    commit hash:c8bcf96c005b148e5a3074c53b6a5909958e37a4  commit hash:c8bcf96c005b148e5a3074c53b6a5909958e37a4  commit hash:c8bcf96c005b148e5a3074c53b6a5909958e37a4  c8bcf96 
sysutils/wmmemfree: modernize, unbreak, undeprecate the port (+)

When I ported this dockapp 20 years ago, it was not uncommon to
peek inside ``struct vmmeter'' and other kernel structures with
kvm_read(3) to obtain various data (e.g. page counters).

These interfaces had always been fragile and potentially unsafe
(due to sgid-to-kmem requirement), so let's switch to sysctl(3)
instead as it provides the same data via documented, stable API.

Address another problem while here: the dockapp tried to update
the window from the signal handler, and no Xlib function can be
safely called within a signal handler*.  Do as advised and only
raise a "need update" flag upon receiving a signal, then gather
new data and redraw the window in the main loop.  This approach,
however, cannot work without modifying process_events() because
of the blocking nature of XNextEvent(3) -- put another select(2)
call in front so it can relinquish control to the outer loop.

[*] http://www-h.eng.cam.ac.uk/help/tpl/graphics/X/signals.html
Fri, 21 Jul 2023
[ 04:56 Alexey Dokuchaev (danfe) search for other commits by this committer ]    commit hash:8010c52fdd4568b8253b31513ee016194c9f688d  commit hash:8010c52fdd4568b8253b31513ee016194c9f688d  commit hash:8010c52fdd4568b8253b31513ee016194c9f688d  8010c52 
sysutils/wmmemfree: clean the port up prior to unbreaking it (+)

Ditch most of the gratuitous patching of the program's Makefile
as we only need to adjust object files, compiler, and libraries.
Sat, 19 Apr 2008
[ 17:56 miwi search for other commits by this committer ] Original commit  (Only the first 10 of 2842 ports in this commit are shown above. View all ports for this commit)
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
        Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
        ehaupt, nox, itetcu, flz, pav

PR:             116263
Tested on:      pointyhat
Approved by:    portmgr (pav)
Fri, 11 Apr 2003
[ 10:28 fjoe search for other commits by this committer ] Original commit 
New port: wmmemfree

WMMemFree shows system memory usage.  It runs as a dockapp for window
manager like WindowMaker or some other which supports dockapps.  On
the top side you have your physical memory usage and on the bottom there
is your swap space usage.

Submitted by:   Alexey Dokuchaev

Number of commits found: 4