Package Details: wmtop 0.84-3

Git Clone URL: https://aur.archlinux.org/wmtop.git (read-only, click to copy)
Package Base: wmtop
Description: wmapplet for monitoring cpu usage
Upstream URL: http://wmtop.sourceforge.net/
Licenses: GPL
Submitter: Neverth
Maintainer: bidulock
Last Packager: bidulock
Votes: 9
Popularity: 0.000000
First Submitted: 2006-07-29 17:27 (UTC)
Last Updated: 2015-06-11 05:12 (UTC)

Latest Comments

herges commented on 2023-05-30 18:57 (UTC) (edited on 2023-06-02 07:22 (UTC) by herges)

I've edited PKGBUILD to get version 0.85 built and installed. This works for me. The AUR package 'libdockapp' is needed to be installed to meet the make dependencies.

# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Changes for version 0.85: Hermann Gessl <h.gessl@aon.at>

pkgname=wmtop
pkgver=0.85
pkgrel=1
pkgdesc="wmapplet for monitoring cpu usage"
arch=('i686' 'x86_64')
license=('GPL')
url="https://www.dockapps.net/wmtop"
depends=('libxpm')
makedepends=('xorg-server' 'libdockapp>=0.7.3')
source=("https://www.dockapps.net/download/wmtop-0.85.tar.gz")
md5sums=('286fdcca77a8429ae1e99e618ea6b140')

build() {
  cd "$srcdir/dockapps-be3f170"
  autoreconf -fvi
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/dockapps-be3f170"
  make DESTDIR="$pkgdir/" install
}

# vim: set sw=2 et:

Neverth commented on 2018-01-31 14:37 (UTC)

Original submitter here. Can't build either even when using sources from https://repo.or.cz/dockapps.git.

Here is the binary I've been using for years, for some reason -v reports it as 0.9.

http://never.mortals.dy.fi/pub/wmtop.bin

wheatdog commented on 2018-01-31 14:16 (UTC) (edited on 2018-01-31 14:18 (UTC) by wheatdog)

Can't build.

wmgeneral/list.h:55:19: warning: inline function ‘list_find’ declared but never defined
 INLINE LinkedList*list_find(LinkedList* list, void* elem);
                   ^~~~~~~~~
wmgeneral/list.h:53:13: warning: inline function ‘list_mapcar’ declared but never defined
 INLINE void list_mapcar(LinkedList* list, void(*function)(void*));
             ^~~~~~~~~~~
wmgeneral/list.h:51:20: warning: inline function ‘list_remove_elem’ declared but never defined
 INLINE LinkedList *list_remove_elem(LinkedList* list, void* elem);
                    ^~~~~~~~~~~~~~~~
wmgeneral/list.h:49:13: warning: inline function ‘list_remove_head’ declared but never defined
 INLINE void list_remove_head(LinkedList** list);
             ^~~~~~~~~~~~~~~~
wmgeneral/list.h:47:14: warning: inline function ‘list_nth’ declared but never defined
 INLINE void* list_nth(int index, LinkedList* list);
              ^~~~~~~~
wmgeneral/list.h:45:12: warning: inline function ‘list_length’ declared but never defined
 INLINE int list_length(LinkedList* list);
            ^~~~~~~~~~~
wmgeneral/list.h:43:20: warning: inline function ‘list_cons’ declared but never defined
 INLINE LinkedList* list_cons(void* head, LinkedList* tail);
                    ^~~~~~~~~
cc -DPARANOID -O3 -g -Wall -DLINUX -I/usr/X11R6/share/include -I/usr/X11R6/include -c wmgeneral/list.c -o wmgeneral/list.o
cc -DPARANOID -O3 -g -Wall -DLINUX -o wmtop wmtop.o wmgeneral/wmgeneral.o wmgeneral/misc.o wmgeneral/list.o -L/usr/X11R6/lib -lXpm -lXext -lX11
wmgeneral/misc.o: In function `parse_command':
/build/wmtop/src/wmtop-0.84/wmgeneral/misc.c:122: undefined reference to `list_cons'
/build/wmtop/src/wmtop-0.84/wmgeneral/misc.c:126: undefined reference to `list_length'
/build/wmtop/src/wmtop-0.84/wmgeneral/misc.c:131: undefined reference to `list_remove_head'
/build/wmtop/src/wmtop-0.84/wmgeneral/misc.c:122: undefined reference to `list_cons'
/build/wmtop/src/wmtop-0.84/wmgeneral/misc.c:126: undefined reference to `list_length'
/build/wmtop/src/wmtop-0.84/wmgeneral/misc.c:131: undefined reference to `list_remove_head'

Maybe related to

Maybe use http://www.dockapps.net/wmtop instead?

abarbarian commented on 2012-03-02 13:56 (UTC)

This installs and works