Hello community, here is the log from the commit of package libsysstat-qt5 for openSUSE:Factory checked in at 2016-10-06 12:43:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libsysstat-qt5 (Old) and /work/SRC/openSUSE:Factory/.libsysstat-qt5.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libsysstat-qt5" Changes: -------- --- /work/SRC/openSUSE:Factory/libsysstat-qt5/libsysstat-qt5.changes 2015-11-13 23:35:31.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libsysstat-qt5.new/libsysstat-qt5.changes 2016-10-06 12:43:10.000000000 +0200 @@ -1,0 +2,7 @@ +Sat Sep 24 19:52:58 UTC 2016 - mvetter@suse.com + +- Update to 0.3.2: + * rare file descriptor leak fixed + * documentation improvements + +------------------------------------------------------------------- Old: ---- libsysstat-0.3.1.tar.xz New: ---- libsysstat-0.3.2.tar.xz libsysstat-0.3.2.tar.xz.asc libsysstat-qt5.keyring ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libsysstat-qt5.spec ++++++ --- /var/tmp/diff_new_pack.lIrAoJ/_old 2016-10-06 12:43:12.000000000 +0200 +++ /var/tmp/diff_new_pack.lIrAoJ/_new 2016-10-06 12:43:12.000000000 +0200 @@ -16,17 +16,20 @@ # +%define _name libsysstat Name: libsysstat-qt5 -Version: 0.3.1 +Version: 0.3.2 Release: 0 Summary: Query system info and statistics License: LGPL-2.1+ Group: Development/Libraries/C and C++ Url: http://www.lxde.org Source: http://downloads.lxqt.org/libsysstat/%{version}/libsysstat-%{version}.tar.xz +Source1: http://downloads.lxqt.org/libsysstat/%{version}/libsysstat-%{version}.tar.xz.asc +Source2: libsysstat-qt5.keyring BuildRequires: cmake >= 3.0.2 BuildRequires: gcc-c++ -BuildRequires: libqt5-linguist-devel +BuildRequires: cmake(Qt5LinguistTools) BuildRequires: pkgconfig(Qt5Core) BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -45,13 +48,13 @@ Summary: Devel files for libsysstat Group: Development/Libraries/C and C++ Requires: libsysstat-qt5-0 = %{version} -Requires: pkg-config +Requires: pkgconfig %description devel sysstat libraries for development %prep -%setup -q -n libsysstat-%{version} +%setup -q -n %{_name}-%{version} %build %cmake -DUSE_QT5=ON ++++++ libsysstat-0.3.1.tar.xz -> libsysstat-0.3.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsysstat-0.3.1/AUTHORS new/libsysstat-0.3.2/AUTHORS --- old/libsysstat-0.3.1/AUTHORS 2015-10-30 23:38:55.000000000 +0100 +++ new/libsysstat-0.3.2/AUTHORS 2016-09-17 14:03:10.000000000 +0200 @@ -5,7 +5,7 @@ Copyright: Copyright (c) 2012 Razor team - Copyright (c) 2012-2014 LXQt team + Copyright (c) 2012-2016 LXQt team -License: GPL-2 and LGPL-2.1+ +License: LGPL-2.1+ The full text of the licenses can be found in the 'COPYING' file. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsysstat-0.3.1/CHANGELOG new/libsysstat-0.3.2/CHANGELOG --- old/libsysstat-0.3.1/CHANGELOG 1970-01-01 01:00:00.000000000 +0100 +++ new/libsysstat-0.3.2/CHANGELOG 2016-09-17 14:03:10.000000000 +0200 @@ -0,0 +1,74 @@ + +libsysstat-0.3.2 / 2016-09-17 +============================= + + * Bump version to 0.3.2 + * Add README.md + * fixes lxde/libsysstat/issues/11 + * Bump year and change listed licenses + * Fix rare file descriptor leak in readAllFile() + +0.3.1 / 2015-10-31 +================== + + * Release 0.3.1 + * Remove duplicate LICENSE file + * Remove leftover translation comments + * Fix license file + * Add release script + * Handles CMake policy CMP0063 + * Uses a local copy of LXQCompilerSettings + * CMake: Adds Runtime and Devel install COMPONENTs + * Use target_compile_definitions() + * Use CMAKE_INCLUDE_CURRENT_DIR + * Use GNUInstallDirs + * Coding style cleanups + * Disables translations support + * Use CMAKE_AUTOMOC, drops qt5_wrap_cpp() + * Adapts the buildsystem to use CMake Targets + * Fix warnings about using uninitialized variables + * - Bump missing versioning + +0.3.0 / 2014-10-21 +================== + + * Adds the Requires field to the .pc confile file + * Generate .pc file with the proper version value + * Clean up CMakeLists.txt, drop Qt4 support + +0.2.0 / 2014-10-19 +================== + + * Release 0.2.0 + * simplify QT switching, use ENV + * Use QString::fromLatin1() instead of QString::fromAscii() + * Adapt the build system to handle Qt4 and Qt5 + * Improve FreeBSD support + +0.1.0 / 2014-04-29 +================== + + * Update AUTHORS and COPYING + * Add CPack rules for creating tarball + * Don't append library suffix to library install path, but use it by default + * Allow installation path configuration with standard CMake X_INSTALL_DIR + * Retain old CMAKE_CXX_FLAGS while setting visibility. + * Install cmake files. + * Use gcc visibility to avoid unecessary symbol exports. + * Make the lib buildable independently. Fix AUTHORS file. + * Add COPYING and AUTHORS files + * libraries: Removes unneeded include(RazorLibSuffix) + * libraries: Removes unneeded cmake_minimum_required(VERSION 2.6) + * libraries: Removes unneeded find_package(Qt4) + * Style follows the Coding Standard + * Sysstat lib: version number functions renamed to avoid conflicts + * SysStat: license updated & unused files removed + * Time zone list built from ICU + * SysStat lib: Better CPU stat handling (possible fix for issue #480) + * Revert "Sysstat lib: default c-tors fixed (issue #480)" + * Sysstat lib: default c-tors fixed (issue #480) + * Relicensing again + * Parent folder added for inclusion + * Relicensing + * code style is up to Coding Standards + * SysStat library and plugin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsysstat-0.3.1/CMakeLists.txt new/libsysstat-0.3.2/CMakeLists.txt --- old/libsysstat-0.3.1/CMakeLists.txt 2015-10-30 23:38:55.000000000 +0100 +++ new/libsysstat-0.3.2/CMakeLists.txt 2016-09-17 14:03:10.000000000 +0200 @@ -4,7 +4,7 @@ set(MAJOR_VERSION 0) set(MINOR_VERSION 3) -set(PATCH_VERSION 1) +set(PATCH_VERSION 2) set(SYSSTAT_VERSION "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}") # additional cmake files @@ -161,7 +161,7 @@ # cmake version config file write_basic_package_version_file( "${CMAKE_BINARY_DIR}/${SYSSTAT_LIBRARY_NAME}-config-version.cmake" - VERSION ${MAJOR}.${MINOR}.${PATCH} + VERSION ${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION} COMPATIBILITY AnyNewerVersion ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsysstat-0.3.1/README.md new/libsysstat-0.3.2/README.md --- old/libsysstat-0.3.1/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/libsysstat-0.3.2/README.md 2016-09-17 14:03:10.000000000 +0200 @@ -0,0 +1,24 @@ +# libsysstat + +## Overview + +libsysstat is a library to query system information like CPU and memory usage or network traffic. Conceptually it's roughly similar to [libstatgrab](https://www.i-scream.org/libstatgrab), a third-party library used by LXQt as well. + +It is maintained by the LXQt project but can be used independently from this desktop environment, too. As for LXQt libsysstat is used by plugin-sysstat of lxqt-panel and hence an optional dependency of the latter. + +Note replacing both libsysstat and libstatgrab in LXQt by KDE Frameworks components is being considered but a final decision hasn't been made yet, see https://github.com/lxde/lxqt/issues/704. + +## Installation + +### Sources + +The only runtime dependency is qtbase. To build CMake is needed in addition, as well as optionally Git to pull latest VCS checkouts. + +Code configuration is handled by CMake. CMake variable `CMAKE_INSTALL_PREFIX` will normally have to be set to `/usr`, depending on the way library paths are dealt with on 64bit systems variables like `CMAKE_INSTALL_LIBDIR` may have to be set as well. + +To build run `make`, to install `make install` which accepts variable `DESTDIR` as usual. + +### Binary packages + +The library is provided by all major Linux distributions like Arch Linux, Debian, Fedora and openSUSE. +Just use the distributions' package managers to search for string `libsysstat`. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsysstat-0.3.1/basestat.cpp new/libsysstat-0.3.2/basestat.cpp --- old/libsysstat-0.3.1/basestat.cpp 2015-10-30 23:38:55.000000000 +0100 +++ new/libsysstat-0.3.2/basestat.cpp 2016-09-17 14:03:10.000000000 +0200 @@ -122,7 +122,7 @@ static char buffer[bufferSize]; int fd = ::open(filename, O_RDONLY); - if (fd > 0) + if (fd > -1) { ssize_t size = ::read(fd, buffer, bufferSize); ::close(fd);