Permalink
Commits on Jun 6, 2018
  1. Release v2.4.2 (Closes: #54)

    superm1 committed Jun 6, 2018
Commits on May 29, 2018
  1. trivial: fix line endings

    superm1 committed May 29, 2018
Commits on May 22, 2018
Commits on May 7, 2018
Commits on Apr 19, 2018
Commits on Feb 14, 2018
  1. Bump to 2.4.1 release

    superm1 committed Feb 14, 2018
  2. memory_linux.c:remap() fix some types to avoid comparison sign mismat…

    vathpela authored and superm1 committed Feb 14, 2018
    …ches
    
    struct linux_data, remap(), and trycopy() have types that don't have
    matching signs for no good reason, and this is noticed if you build with
    -Wsign-compare (enabled by the quite wonderful -Wextra in recent gcc).
    Right now these are the only thing in the tree that fail with "gcc -Wall
    -Wextra -Werror":
    
    libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I./out/include -I./out/include -I../src/include -DLIBSMBIOS_LOCALEDIR=\"/usr/share/locale\" -I../src/libsmbios_c/common -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -fPIC -fvisibility=hidden -Werror -c ../src/libsmbios_c/system_info/system_info.c  -fPIC -DPIC -o src/libsmbios_c/system_info/.libs/out_libsmbios_c_la-system_info.o
    ../src/libsmbios_c/memory/memory_linux.c: In function 'trycopy':
    ../src/libsmbios_c/memory/memory_linux.c:134:24: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
         if( length + mmoff > (private_data->mappingSize) )
                            ^
    and
    
    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./out/include -I./out/include -I./src/include -DLIBSMBIOS_LOCALEDIR=\"/usr/local/share/locale\" -I./src/libsmbios_c/common -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -fPIC -fvisibility=hidden -Wall -Werror -Wextra -DLIBSMBIOS_C_ALL_DYN_LINK -MT src/libsmbios_c/memory/out_libsmbios_c_la-memory_linux.lo -MD -MP -MF src/libsmbios_c/memory/.deps/out_libsmbios_c_la-memory_linux.Tpo -c src/libsmbios_c/memory/memory_linux.c  -fPIC -DPIC -o src/libsmbios_c/memory/.libs/out_libsmbios_c_la-memory_linux.o
    src/libsmbios_c/memory/memory_linux.c: In function ‘remap’:
    src/libsmbios_c/memory/memory_linux.c:109:22: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
         if (offset-mmoff == private_data->lastMappedOffset)
                          ^~
    
    This fixes them to use off_t and size_t as appropriate.
    
    Signed-off-by: Peter Jones <pjones@redhat.com>
  3. Force python to install to site-arch not site-packages

    vathpela authored and superm1 committed Feb 13, 2018
    For 2 reasons, if you do a build on 2 otherwise multilib-compatible
    architectures (say i686 and x86_64), smbios-python winds up having
    conflicting files between them.  The first reason is that the gettext
    domain is localized to each arch in configure.ac
    
    AC_SUBST([GETTEXT_PACKAGE], [libsmbios-$RELEASE_MAJOR.$RELEASE_MINOR-$host_cpu])
    AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Name of the gettext message domain])
    
    and since the real _vars.py gets created during the build, it gets:
    
    >>GETTEXT_PACKAGE="libsmbios-2.3-x86_64"
    
    Which means the files will be different.  But even without the arch
    there, the fact that it gets created during the build means the path
    substitutions for some things can be different, and in particular even
    with identical _vars.py, the generated _vars.py[co] wind up being
    different.
    
    So this isn't actually multilib compatible.  For now, since I don't have
    any idea what any of that is doing, this patch makes it install into the
    sitearch directory instead.
    
    Signed-off-by: Peter Jones <pjones@redhat.com>
  4. smbios-utils-python: make --version output parsable by help2man.

    vathpela authored and superm1 committed Oct 5, 2017
    Signed-off-by: Peter Jones <pjones@redhat.com>
  5. smbios-utils-bin: make --version output parsable by help2man.

    vathpela authored and superm1 committed Oct 5, 2017
    Signed-off-by: Peter Jones <pjones@redhat.com>
Commits on Feb 12, 2018
Commits on Feb 8, 2018
Commits on Feb 6, 2018
  1. Fix git-tag rule

    superm1 committed Feb 6, 2018
  2. Cleanup py-cli too

    superm1 committed Feb 6, 2018
  3. remove C++ includes too

    superm1 committed Feb 6, 2018
  4. Fix rpm build on Ubuntu

    superm1 committed Feb 6, 2018
  5. Drop C++ library (Closes #27)

    superm1 committed Feb 6, 2018
    The cppunit tests are still in tree, not run.  They need to be ported
    over to C/python still.
  6. drop old make target

    superm1 committed Feb 6, 2018