[ANNOUNCE] Systeminfo-Plugin 0.1.4

  • Nach langer Zeit war mal wieder etwas Produktpflege nötig:


    Änderungen:
    - added support for /etc/os-release for getting the distribution and fall back to distribution specific files if it does not exist
    - added example script 50-systeminfo.conf for conf.d mechanism
    - fixed compile errors with VDR 2.3.1
    - added uptime to systeminfo.sh


    Hier geht es zur Homepage
    und hier direkt zum Download 0.1.4


    Happy compiling
    FireFly

  • Moin,



    danke für das update.



    Compile fehler unter gcc-6

    Code
    xgettext -C -cTRANSLATORS --no-wrap --no-location  -k -ktr -ktrNOOP --package-name=vdr-systeminfo --package-version=0.1.4 --msgid-bugs-address='<see README>' -o po/systeminfo.pot `ls displayinfo.c systeminfo.c i18n.c`
    displayinfo.c: In member function ‘cString cInfoLines::PrepareInfoline(int, bool*)’:
    displayinfo.c:170:84: warning: format ‘%a’ expects argument of type ‘float*’, but argument 3 has type ‘char**’ [-Wformat=]
           if (3 == sscanf(systeminfo, "%a[a-zA-Z,/0-9 ]: %f %f", &pname, &fval1, &fval2)) {
                                                                                        ^
    displayinfo.c:187:93: warning: format ‘%a’ expects argument of type ‘float*’, but argument 3 has type ‘char**’ [-Wformat=]
     else if (3 == sscanf(systeminfo, "%a[a-zA-Z,/0-9 ]: %fkB %fkB", &pname, &fval1, &fval2)) {
                                                                                           ^
    displayinfo.c:210:73: warning: format ‘%a’ expects argument of type ‘float*’, but argument 3 has type ‘char**’ [-Wformat=]
           else if (1 == sscanf(systeminfo, "%a[a-zA-Z,/0-9 ]: CPU%%", &pname) && NULL != strstr(systeminfo, "CPU%")) {


    Cheers :prost2


    /bin/joerg

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!