#26 Modified cpu plugin to work on Cygwin

open
nobody
None
5
2005-06-07
2005-06-07
No

Everything is in the title, but the patch :
- adds a new configuration file just for the cpu plugin
- modify the Makefile and plugin.* to deal with a static
cpu plugin
- adds the cygwin stuff in the plugins/cpu.c file
based on what is done on wmcpuload (maybe the files from
wmcpuload that deal with other OSes can be reused too ?)
The linux version was not (re)tested but it should work
asis.

Discussion

  • Eric Lassauge

    Eric Lassauge - 2005-06-07

    Logged In: YES
    user_id=18731

    Small error in the patch file. This is missing:

    --- plugin.c.orig 2005-05-29 06:02:03.000000000 +0200
    +++ plugin.c 2005-06-07 16:54:48.407103900 +0200
    @@ -98,6 +98,10 @@
    #ifdef STATIC_DESKNO
    REGISTER_PLUGIN_CLASS(deskno_plugin_class, 0);
    #endif
    +
    +#ifdef STATIC_CPU
    + REGISTER_PLUGIN_CLASS(cpu_plugin_class, 0);
    +#endif

    RET();
    }

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks