diff --git a/sysutils/xosview/Makefile b/sysutils/xosview/Makefile index 415053390806..16ab32e7e8e0 100644 --- a/sysutils/xosview/Makefile +++ b/sysutils/xosview/Makefile @@ -1,34 +1,36 @@ # Created by: Brian Handy PORTNAME= xosview -DISTVERSION= 1.21 +DISTVERSION= 1.23 CATEGORIES= sysutils -MAINTAINER= otacilio.neto@bsd.com.br +MAINTAINER= otaciliodearaujo@gmail.com COMMENT= Graphical performance meter LICENSE= BSD4CLAUSE GPLv2 LICENSE_COMB= multi ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= uses x86-specific hardware resources +RUN_DEPENDS= font-misc-misc>=1.1.2:x11-fonts/font-misc-misc + USES= gmake xorg USE_GITHUB= yes GH_ACCOUNT= hills USE_XORG= x11 xpm MAKE_ENV= OPTFLAGS="" PLATFORM=bsd MANDIR=${MANPREFIX}/man ALL_TARGET= xosview DESKTOP_ENTRIES="XOsview" "" "" "xosview" "" "" do-configure: @${SED} -e '/CXX/s|^|#|' -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/targets/freebsd > ${WRKSRC}/.config post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${CP} ${WRKSRC}/Xdefaults ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/XOsview .include diff --git a/sysutils/xosview/distinfo b/sysutils/xosview/distinfo index 3784ed104d43..eac46bf22709 100644 --- a/sysutils/xosview/distinfo +++ b/sysutils/xosview/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1546270995 -SHA256 (hills-xosview-1.21_GH0.tar.gz) = 7b7e2964526baf40c9bd59a6f414c42487187f6eaf1882c6d12ced4c80e7bbd5 -SIZE (hills-xosview-1.21_GH0.tar.gz) = 147486 +TIMESTAMP = 1620550480 +SHA256 (hills-xosview-1.23_GH0.tar.gz) = 2de555dc07e8d0a44417979116ce1661a3e1cde9f1a849881b999fbd4ec5bdb6 +SIZE (hills-xosview-1.23_GH0.tar.gz) = 147356 diff --git a/sysutils/xosview/files/patch-bsd_kernel.cc b/sysutils/xosview/files/patch-bsd_kernel.cc deleted file mode 100644 index 4b7902a10357..000000000000 --- a/sysutils/xosview/files/patch-bsd_kernel.cc +++ /dev/null @@ -1,32 +0,0 @@ ---- bsd/kernel.cc.orig 2018-09-12 13:52:23 UTC -+++ bsd/kernel.cc -@@ -93,6 +93,9 @@ static int mib_uvm[2] = { CTL_VM, VM_UVMEXP2 }; - static int mib_uvm[2] = { CTL_VM, VM_UVMEXP }; - #endif - #else -+#if defined(XOSVIEW_FREEBSD) -+#define _WANT_VMMETER -+#endif - #include - #endif - -@@ -339,7 +342,9 @@ BSDGetPageStats(uint64_t *meminfo, uint64_t *pageinfo) - GET_VM_STATS(v_active_count); - GET_VM_STATS(v_inactive_count); - GET_VM_STATS(v_wire_count); -+#if __FreeBSD_version < 1200017 - GET_VM_STATS(v_cache_count); -+#endif - GET_VM_STATS(v_free_count); - GET_VM_STATS(v_page_size); - GET_VM_STATS(v_vnodepgsin); -@@ -361,7 +366,9 @@ BSDGetPageStats(uint64_t *meminfo, uint64_t *pageinfo) - meminfo[0] = (uint64_t)vm.v_active_count * vm.v_page_size; - meminfo[1] = (uint64_t)vm.v_inactive_count * vm.v_page_size; - meminfo[2] = (uint64_t)vm.v_wire_count * vm.v_page_size; -+#if __FreeBSD_version < 1200017 - meminfo[3] = (uint64_t)vm.v_cache_count * vm.v_page_size; -+#endif - meminfo[4] = (uint64_t)vm.v_free_count * vm.v_page_size; - #else /* XOSVIEW_DFBSD */ - meminfo[0] = (uint64_t)vms.v_active_count * vms.v_page_size; diff --git a/sysutils/xosview/pkg-descr b/sysutils/xosview/pkg-descr index a6dc5c3175a7..338b1fadb16d 100644 --- a/sysutils/xosview/pkg-descr +++ b/sysutils/xosview/pkg-descr @@ -1,7 +1,7 @@ xosview is a monitor which displays the status of several system parameters. These include CPU usage, load average, memory, swap space, network usage and more. Each resource is displayed as a horizontal bar which is separated into color coded regions showing how much of the resource is being put to a particular use. -WWW: http://www.pogo.org.uk/~mark/xosview/ +WWW: https://www.pogo.org.uk/~mark/xosview/