Hello community, here is the log from the commit of package lxqt-powermanagement for openSUSE:Factory checked in at 2018-06-29 22:30:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lxqt-powermanagement (Old) and /work/SRC/openSUSE:Factory/.lxqt-powermanagement.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lxqt-powermanagement" Fri Jun 29 22:30:29 2018 rev:10 rq:618043 version:0.13.0 Changes: -------- --- /work/SRC/openSUSE:Factory/lxqt-powermanagement/lxqt-powermanagement.changes 2017-10-24 22:23:12.484890212 +0200 +++ /work/SRC/openSUSE:Factory/.lxqt-powermanagement.new/lxqt-powermanagement.changes 2018-06-29 22:31:23.230256265 +0200 @@ -1,0 +2,6 @@ +Tue May 22 15:11:24 UTC 2018 - mvet...@suse.com + +- Update to 0.13.0: + * Add support for turning monitor(s) off + +------------------------------------------------------------------- Old: ---- lxqt-powermanagement-0.12.0.tar.xz lxqt-powermanagement-0.12.0.tar.xz.asc New: ---- lxqt-powermanagement-0.13.0.tar.xz lxqt-powermanagement-0.13.0.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lxqt-powermanagement.spec ++++++ --- /var/tmp/diff_new_pack.U1vh5I/_old 2018-06-29 22:31:24.086255611 +0200 +++ /var/tmp/diff_new_pack.U1vh5I/_new 2018-06-29 22:31:24.090255608 +0200 @@ -1,7 +1,7 @@ # # spec file for package lxqt-powermanagement # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,32 +17,32 @@ Name: lxqt-powermanagement -Version: 0.12.0 +Version: 0.13.0 Release: 0 Summary: Power Management and Auto-suspend -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: System/GUI/LXQt -Url: http://www.lxqt.org -Source: https://github.com/lxde/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz -Source1: https://github.com/lxde/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc +URL: http://www.lxqt.org +Source: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz +Source1: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc Source2: %{name}.keyring BuildRequires: cmake >= 3.0.2 BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: lxqt-build-tools-devel -BuildRequires: cmake(KF5WindowSystem) -BuildRequires: cmake(KF5IdleTime) BuildRequires: libQt5Gui-private-headers-devel +BuildRequires: lxqt-build-tools-devel >= 0.5.0 +BuildRequires: pkgconfig +BuildRequires: cmake(KF5IdleTime) BuildRequires: cmake(KF5Solid) +BuildRequires: cmake(KF5WindowSystem) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5UiTools) BuildRequires: pkgconfig(Qt5Xdg) BuildRequires: pkgconfig(lxqt) >= %{version} +%requires_eq libQt5Gui5 #BuildRequires: pkgconfig(xcb) Recommends: %{name}-lang -%requires_eq libQt5Gui5 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description LXQt daemon for power management and auto-suspend @@ -61,8 +61,8 @@ %fdupes -s %{buildroot}%{_datadir} %files -%defattr(-,root,root) -%doc AUTHORS LICENSE README.md +%license LICENSE +%doc AUTHORS README.md %{_bindir}/lxqt* %{_datadir}/applications/*.desktop %dir %{_datadir}/icons/hicolor ++++++ lxqt-powermanagement-0.12.0.tar.xz -> lxqt-powermanagement-0.13.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/AUTHORS new/lxqt-powermanagement-0.13.0/AUTHORS --- old/lxqt-powermanagement-0.12.0/AUTHORS 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/AUTHORS 2018-05-21 20:37:40.000000000 +0200 @@ -1,5 +1,5 @@ Upstream Authors: - LXQt team: http://lxqt.org + LXQt team: https://lxqt.org Copyright: Copyright (c) 2013-2017 LXQt team diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/CHANGELOG new/lxqt-powermanagement-0.13.0/CHANGELOG --- old/lxqt-powermanagement-0.12.0/CHANGELOG 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/CHANGELOG 2018-05-21 20:37:40.000000000 +0200 @@ -1,7 +1,21 @@ -lxqt-powermanagement-0.12.0 / 2017-10-21 +lxqt-powermanagement-0.13.0 / 2018-05-21 ======================================== + * Spanish translation update + * CMake: Prevent in-source builds + * fix razor-qt -> lxqt and http -> https + * Fix mentions of LXDE + * Add Simplified Chinese translations + * Add support for turning monitor(s) off + * Add Traditional Chinese desktop entry + * Add Simplified Chinese desktop entry + * Drop Qt foreach + +0.12.0 / 2017-10-21 +=================== + + * Release 0.12.0: Update changelog * Set patch version * Spell check (add "," and "-") * Don't export github templates diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/CMakeLists.txt new/lxqt-powermanagement-0.13.0/CMakeLists.txt --- old/lxqt-powermanagement-0.12.0/CMakeLists.txt 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/CMakeLists.txt 2018-05-21 20:37:40.000000000 +0200 @@ -30,8 +30,12 @@ set(LXQT_POWERMANAGEMENT_PATCH_VERSION 0) set(LXQT_POWERMANAGEMENT_VERSION ${LXQT_MAJOR_VERSION}.${LXQT_MINOR_VERSION}.${LXQT_POWERMANAGEMENT_PATCH_VERSION}) -add_definitions("-DLXQT_POWERMANAGEMENT_VERSION=\"${LXQT_POWERMANAGEMENT_VERSION}\"") +add_definitions( + "-DLXQT_POWERMANAGEMENT_VERSION=\"${LXQT_POWERMANAGEMENT_VERSION}\"" + "-DQT_NO_FOREACH" +) +include(LXQtPreventInSourceBuilds) include(LXQtCompilerSettings NO_POLICY_SCOPE) # Translations ********************************** diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/README.md new/lxqt-powermanagement-0.13.0/README.md --- old/lxqt-powermanagement-0.12.0/README.md 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/README.md 2018-05-21 20:37:40.000000000 +0200 @@ -7,14 +7,14 @@ The core components are two binaries `lxqt-powermanagement` and `lxqt-config-powermanagement`. `lxqt-powermanagement` is running in a daemon-like manner as so-called "LXQt Module" and doing the actual work. GUI "Power Management Settings (binary `lxqt-config-powermanagement`) is used to customize settings. -Warning messages are displayed on the desktop by [lxqt-notificationd](https://github.com/lxde/lxqt-notificationd). +Warning messages are displayed on the desktop by [lxqt-notificationd](https://github.com/lxqt/lxqt-notificationd). ## Installation ### Compiling source code -Runtime dependencies are UPower, KIdleTime, qtsvg and [liblxqt](https://github.com/lxde/liblxqt). -Additional build dependencies are CMake and Solid, optionally Git to pull latest VCS checkouts. The localization files were outsourced to repository [lxqt-l10n](https://github.com/lxde/lxqt-l10n) so the corresponding dependencies are needed, too. Please refer to this repository's `README.md` for further information. +Runtime dependencies are UPower, KIdleTime, qtsvg and [liblxqt](https://github.com/lxqt/liblxqt). +Additional build dependencies are CMake and Solid, optionally Git to pull latest VCS checkouts. The localization files were outsourced to repository [lxqt-l10n](https://github.com/lxqt/lxqt-l10n) so the corresponding dependencies are needed, too. Please refer to this repository's `README.md` for further information. Code configuration is handled by CMake. CMake variable `CMAKE_INSTALL_PREFIX` has to be set to `/usr` on most operating systems. @@ -26,6 +26,6 @@ ## Configuration, Usage -Daemon-like `lxqt-powermanagement` can be adjusted from section "Basic Settings" in configuration dialogue "LXQt Session Settings" (binary `lxqt-config-session`) of [lxqt-session](https://github.com/lxde/lxqt-session). +Daemon-like `lxqt-powermanagement` can be adjusted from section "Basic Settings" in configuration dialogue "LXQt Session Settings" (binary `lxqt-config-session`) of [lxqt-session](https://github.com/lxqt/lxqt-session). -To customize settings there's configuration dialogue "Power Management Settings" (binary `lxqt-config-powermanagement`). It can be opened from the panel's main menu - Preferences - LXQt Settings - Power Management and is provided by the "Configuration Center" (binary `lxqt-config`) of [lxqt-config](https://github.com/lxde/lxqt-config) as well. +To customize settings there's configuration dialogue "Power Management Settings" (binary `lxqt-config-powermanagement`). It can be opened from the panel's main menu - Preferences - LXQt Settings - Power Management and is provided by the "Configuration Center" (binary `lxqt-config`) of [lxqt-config](https://github.com/lxqt/lxqt-config) as well. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/autostart/translations/lxqt-powermanagement_es.desktop new/lxqt-powermanagement-0.13.0/autostart/translations/lxqt-powermanagement_es.desktop --- old/lxqt-powermanagement-0.12.0/autostart/translations/lxqt-powermanagement_es.desktop 1970-01-01 01:00:00.000000000 +0100 +++ new/lxqt-powermanagement-0.13.0/autostart/translations/lxqt-powermanagement_es.desktop 2018-05-21 20:37:40.000000000 +0200 @@ -0,0 +1 @@ +Name[es]=Gestión de energía diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/autostart/translations/lxqt-powermanagement_zh_CN.desktop new/lxqt-powermanagement-0.13.0/autostart/translations/lxqt-powermanagement_zh_CN.desktop --- old/lxqt-powermanagement-0.12.0/autostart/translations/lxqt-powermanagement_zh_CN.desktop 1970-01-01 01:00:00.000000000 +0100 +++ new/lxqt-powermanagement-0.13.0/autostart/translations/lxqt-powermanagement_zh_CN.desktop 2018-05-21 20:37:40.000000000 +0200 @@ -0,0 +1 @@ +Name[zh_CN]=电源管理 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/autostart/translations/lxqt-powermanagement_zh_TW.desktop new/lxqt-powermanagement-0.13.0/autostart/translations/lxqt-powermanagement_zh_TW.desktop --- old/lxqt-powermanagement-0.12.0/autostart/translations/lxqt-powermanagement_zh_TW.desktop 1970-01-01 01:00:00.000000000 +0100 +++ new/lxqt-powermanagement-0.13.0/autostart/translations/lxqt-powermanagement_zh_TW.desktop 2018-05-21 20:37:40.000000000 +0200 @@ -0,0 +1 @@ +Name[zh_TW]=電源管理 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/config/batterywatchersettings.cpp new/lxqt-powermanagement-0.13.0/config/batterywatchersettings.cpp --- old/lxqt-powermanagement-0.12.0/config/batterywatchersettings.cpp 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/config/batterywatchersettings.cpp 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2012 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/config/batterywatchersettings.h new/lxqt-powermanagement-0.13.0/config/batterywatchersettings.h --- old/lxqt-powermanagement-0.12.0/config/batterywatchersettings.h 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/config/batterywatchersettings.h 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2012 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/config/helpers.cpp new/lxqt-powermanagement-0.13.0/config/helpers.cpp --- old/lxqt-powermanagement-0.12.0/config/helpers.cpp 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/config/helpers.cpp 2018-05-21 20:37:40.000000000 +0200 @@ -1,7 +1,7 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset + * LXQt - a lightweight, Qt based, desktop toolset * * Authors: * Christian Surlykke <christ...@surlykke.dk> @@ -37,6 +37,7 @@ comboBox->addItem(QObject::tr("Suspend"), LXQt::Power::PowerSuspend); comboBox->addItem(QObject::tr("Hibernate"), LXQt::Power::PowerHibernate); comboBox->addItem(QObject::tr("Shutdown"), LXQt::Power::PowerShutdown); + comboBox->addItem(QObject::tr("Turn Off monitor(s)"), LXQt::Power::PowerMonitorOff); } void setComboBoxToValue(QComboBox* comboBox, int value) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/config/helpers.h new/lxqt-powermanagement-0.13.0/config/helpers.h --- old/lxqt-powermanagement-0.12.0/config/helpers.h 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/config/helpers.h 2018-05-21 20:37:40.000000000 +0200 @@ -1,7 +1,7 @@ /* * Copyright (c) 2014 Christian Surlykke * -* This file is part of the LXQt project. <http://lxqt.org> +* This file is part of the LXQt project. <https://lxqt.org> * It is distributed under the LGPL 2.1 or later license. * Please refer to the LICENSE file for a copy of the license. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/config/idlenesswatchersettings.cpp new/lxqt-powermanagement-0.13.0/config/idlenesswatchersettings.cpp --- old/lxqt-powermanagement-0.12.0/config/idlenesswatchersettings.cpp 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/config/idlenesswatchersettings.cpp 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2012 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/config/idlenesswatchersettings.h new/lxqt-powermanagement-0.13.0/config/idlenesswatchersettings.h --- old/lxqt-powermanagement-0.12.0/config/idlenesswatchersettings.h 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/config/idlenesswatchersettings.h 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2012 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/config/lidwatchersettings.cpp new/lxqt-powermanagement-0.13.0/config/lidwatchersettings.cpp --- old/lxqt-powermanagement-0.12.0/config/lidwatchersettings.cpp 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/config/lidwatchersettings.cpp 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2012 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/config/lidwatchersettings.h new/lxqt-powermanagement-0.13.0/config/lidwatchersettings.h --- old/lxqt-powermanagement-0.12.0/config/lidwatchersettings.h 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/config/lidwatchersettings.h 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2012 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/config/main.cpp new/lxqt-powermanagement-0.13.0/config/main.cpp --- old/lxqt-powermanagement-0.12.0/config/main.cpp 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/config/main.cpp 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2012 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/config/mainwindow.cpp new/lxqt-powermanagement-0.13.0/config/mainwindow.cpp --- old/lxqt-powermanagement-0.12.0/config/mainwindow.cpp 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/config/mainwindow.cpp 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2012 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/config/mainwindow.h new/lxqt-powermanagement-0.13.0/config/mainwindow.h --- old/lxqt-powermanagement-0.12.0/config/mainwindow.h 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/config/mainwindow.h 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2012 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/config/powermanagementsettings.cpp new/lxqt-powermanagement-0.13.0/config/powermanagementsettings.cpp --- old/lxqt-powermanagement-0.12.0/config/powermanagementsettings.cpp 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/config/powermanagementsettings.cpp 2018-05-21 20:37:40.000000000 +0200 @@ -1,7 +1,7 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset + * LXQt - a lightweight, Qt based, desktop toolset * * Authors: * Christian Surlykke <christ...@surlykke.dk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/config/powermanagementsettings.h new/lxqt-powermanagement-0.13.0/config/powermanagementsettings.h --- old/lxqt-powermanagement-0.12.0/config/powermanagementsettings.h 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/config/powermanagementsettings.h 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2012 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/config/translations/lxqt-config-powermanagement_es.desktop new/lxqt-powermanagement-0.13.0/config/translations/lxqt-config-powermanagement_es.desktop --- old/lxqt-powermanagement-0.12.0/config/translations/lxqt-config-powermanagement_es.desktop 1970-01-01 01:00:00.000000000 +0100 +++ new/lxqt-powermanagement-0.13.0/config/translations/lxqt-config-powermanagement_es.desktop 2018-05-21 20:37:40.000000000 +0200 @@ -0,0 +1,3 @@ +Name[es]=Gestión de energía +GenericName[es]=Configuración de la gestión de energía +Comment[es]=Configuraciones varias relacionadas con la gestión de energía, como la batería o el monitor de inactividad diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/config/translations/lxqt-config-powermanagement_zh_CN.desktop new/lxqt-powermanagement-0.13.0/config/translations/lxqt-config-powermanagement_zh_CN.desktop --- old/lxqt-powermanagement-0.12.0/config/translations/lxqt-config-powermanagement_zh_CN.desktop 1970-01-01 01:00:00.000000000 +0100 +++ new/lxqt-powermanagement-0.13.0/config/translations/lxqt-config-powermanagement_zh_CN.desktop 2018-05-21 20:37:40.000000000 +0200 @@ -0,0 +1,3 @@ +Name[zh_CN]=电源管理 +GenericName[zh_CN]=电源管理设置 +Comment[zh_CN]=关于电源管理的各种设置,如电池与空闲监视器 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/batteryhelper.cpp new/lxqt-powermanagement-0.13.0/src/batteryhelper.cpp --- old/lxqt-powermanagement-0.12.0/src/batteryhelper.cpp 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/batteryhelper.cpp 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2011 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/batteryhelper.h new/lxqt-powermanagement-0.13.0/src/batteryhelper.h --- old/lxqt-powermanagement-0.12.0/src/batteryhelper.h 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/batteryhelper.h 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2011 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/batteryinfodialog.cpp new/lxqt-powermanagement-0.13.0/src/batteryinfodialog.cpp --- old/lxqt-powermanagement-0.12.0/src/batteryinfodialog.cpp 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/batteryinfodialog.cpp 2018-05-21 20:37:40.000000000 +0200 @@ -1,7 +1,7 @@ /* * Copyright (c) 2014 Christian Surlykke * -* This file is part of the LXQt project. <http://lxqt.org> +* This file is part of the LXQt project. <https://lxqt.org> * It is distributed under the LGPL 2.1 or later license. * Please refer to the LICENSE file for a copy of the license. */ @@ -30,7 +30,7 @@ { QTabWidget *tabWidget = new QTabWidget(this); ui->verticalLayout->insertWidget(0, tabWidget); - foreach (Solid::Battery *battery, batteries) + for (Solid::Battery *const battery : qAsConst(batteries)) { BatteryInfoFrame *batteryInfoFrame = new BatteryInfoFrame(battery); tabWidget->addTab(batteryInfoFrame, "BAT"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/batteryinfodialog.h new/lxqt-powermanagement-0.13.0/src/batteryinfodialog.h --- old/lxqt-powermanagement-0.12.0/src/batteryinfodialog.h 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/batteryinfodialog.h 2018-05-21 20:37:40.000000000 +0200 @@ -1,7 +1,7 @@ /* * Copyright (c) 2014 Christian Surlykke * -* This file is part of the LXQt project. <http://lxqt.org> +* This file is part of the LXQt project. <https://lxqt.org> * It is distributed under the LGPL 2.1 or later license. * Please refer to the LICENSE file for a copy of the license. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/batteryinfoframe.cpp new/lxqt-powermanagement-0.13.0/src/batteryinfoframe.cpp --- old/lxqt-powermanagement-0.12.0/src/batteryinfoframe.cpp 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/batteryinfoframe.cpp 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2012 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/batteryinfoframe.h new/lxqt-powermanagement-0.13.0/src/batteryinfoframe.h --- old/lxqt-powermanagement-0.12.0/src/batteryinfoframe.h 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/batteryinfoframe.h 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2012 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/batterywatcher.cpp new/lxqt-powermanagement-0.13.0/src/batterywatcher.cpp --- old/lxqt-powermanagement-0.12.0/src/batterywatcher.cpp 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/batterywatcher.cpp 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2012 Razor team * Authors: @@ -40,7 +40,7 @@ BatteryWatcher::BatteryWatcher(QObject *parent) : Watcher(parent) { - QList<Solid::Device> devices = Solid::Device::listFromType(Solid::DeviceInterface::Battery, QString()); + const QList<Solid::Device> devices = Solid::Device::listFromType(Solid::DeviceInterface::Battery, QString()); if (devices.isEmpty()) { @@ -49,7 +49,7 @@ "lxqt-powermanagement"); } - foreach (Solid::Device device, devices) + for (Solid::Device device : devices) { Solid::Battery *battery = device.as<Solid::Battery>(); if (battery->type() != Solid::Battery::PrimaryBattery) @@ -84,7 +84,7 @@ bool discharging = true; double chargeLevel; - foreach (Solid::Battery *battery, mBatteries) + for (const Solid::Battery *battery : qAsConst(mBatteries)) { totalEnergyFull += battery->energyFull(); totalEnergyNow += battery->energy(); @@ -166,7 +166,7 @@ } else if (mTrayIcons.isEmpty()) { - foreach (Solid::Battery *battery, mBatteries) + for (Solid::Battery *battery : qAsConst(mBatteries)) { mTrayIcons.append(new TrayIcon(battery, this)); connect(mTrayIcons.last(), SIGNAL(toggleShowInfo()), mBatteryInfoDialog, SLOT(toggleShow())); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/batterywatcher.h new/lxqt-powermanagement-0.13.0/src/batterywatcher.h --- old/lxqt-powermanagement-0.12.0/src/batterywatcher.h 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/batterywatcher.h 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2012 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/iconproducer.cpp new/lxqt-powermanagement-0.13.0/src/iconproducer.cpp --- old/lxqt-powermanagement-0.12.0/src/iconproducer.cpp 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/iconproducer.cpp 2018-05-21 20:37:40.000000000 +0200 @@ -1,7 +1,7 @@ /* -* Copyright (c) 2014, 2015 Christian Surlykke, Paulo Lieuthier +* Copyright (c) 2014, 2015 Christian Surlykke, Paulo Lieuthier * -* This file is part of the LXQt project. <http://lxqt.org> +* This file is part of the LXQt project. <https://lxqt.org> * It is distributed under the LGPL 2.1 or later license. * Please refer to the LICENSE file for a copy of the license. */ @@ -52,7 +52,8 @@ if (mSettings.isUseThemeIcons()) { QMap<float, QString> *levelNameMap = (mState == Solid::Battery::Discharging ? &mLevelNameMapDischarging : &mLevelNameMapCharging); - foreach (float level, levelNameMap->keys()) + const auto levels = levelNameMap->keys(); + for (const float level : levels) { if (level >= mChargePercent) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/iconproducer.h new/lxqt-powermanagement-0.13.0/src/iconproducer.h --- old/lxqt-powermanagement-0.12.0/src/iconproducer.h 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/iconproducer.h 2018-05-21 20:37:40.000000000 +0200 @@ -1,7 +1,7 @@ /* * Copyright (c) 2014 Christian Surlykke * -* This file is part of the LXQt project. <http://lxqt.org> +* This file is part of the LXQt project. <https://lxqt.org> * It is distributed under the LGPL 2.1 or later license. * Please refer to the LICENSE file for a copy of the license. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/idlenesswatcher.cpp new/lxqt-powermanagement-0.13.0/src/idlenesswatcher.cpp --- old/lxqt-powermanagement-0.12.0/src/idlenesswatcher.cpp 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/idlenesswatcher.cpp 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright (C) 2013 Alec Moskvin <al...@gmx.com> * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/idlenesswatcher.h new/lxqt-powermanagement-0.13.0/src/idlenesswatcher.h --- old/lxqt-powermanagement-0.12.0/src/idlenesswatcher.h 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/idlenesswatcher.h 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright (C) 2013 Alec Moskvin <al...@gmx.com> * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/lid.cpp new/lxqt-powermanagement-0.13.0/src/lid.cpp --- old/lxqt-powermanagement-0.12.0/src/lid.cpp 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/lid.cpp 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2011 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/lid.h new/lxqt-powermanagement-0.13.0/src/lid.h --- old/lxqt-powermanagement-0.12.0/src/lid.h 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/lid.h 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2011 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/lidwatcher.cpp new/lxqt-powermanagement-0.13.0/src/lidwatcher.cpp --- old/lxqt-powermanagement-0.12.0/src/lidwatcher.cpp 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/lidwatcher.cpp 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2012 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/lidwatcher.h new/lxqt-powermanagement-0.13.0/src/lidwatcher.h --- old/lxqt-powermanagement-0.12.0/src/lidwatcher.h 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/lidwatcher.h 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2012 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/main.cpp new/lxqt-powermanagement-0.13.0/src/main.cpp --- old/lxqt-powermanagement-0.12.0/src/main.cpp 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/main.cpp 2018-05-21 20:37:40.000000000 +0200 @@ -1,7 +1,7 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset + * LXQt - a lightweight, Qt based, desktop toolset * * Authors: * Christian Surlykke <christ...@surlykke.dk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/powermanagementd.cpp new/lxqt-powermanagement-0.13.0/src/powermanagementd.cpp --- old/lxqt-powermanagement-0.12.0/src/powermanagementd.cpp 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/powermanagementd.cpp 2018-05-21 20:37:40.000000000 +0200 @@ -1,7 +1,7 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset + * LXQt - a lightweight, Qt based, desktop toolset * * Authors: * Christian Surlykke <christ...@surlykke.dk> @@ -98,7 +98,9 @@ { mSettings.setLidWatcherEnabled(Lid().haveLid()); bool hasBattery = false; - foreach (Solid::Device device, Solid::Device::listFromType(Solid::DeviceInterface::Battery, QString())) + + const auto devices = Solid::Device::listFromType(Solid::DeviceInterface::Battery, QString()); + for (const Solid::Device& device : devices) if (device.as<Solid::Battery>()->type() == Solid::Battery::PrimaryBattery) hasBattery = true; mSettings.setBatteryWatcherEnabled(hasBattery); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/powermanagementd.h new/lxqt-powermanagement-0.13.0/src/powermanagementd.h --- old/lxqt-powermanagement-0.12.0/src/powermanagementd.h 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/powermanagementd.h 2018-05-21 20:37:40.000000000 +0200 @@ -1,7 +1,7 @@ /* * Copyright (c) 2014 Christian Surlykke * -* This file is part of the LXQt project. <http://lxqt.org> +* This file is part of the LXQt project. <https://lxqt.org> * It is distributed under the LGPL 2.1 or later license. * Please refer to the LICENSE file for a copy of the license. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/trayicon.cpp new/lxqt-powermanagement-0.13.0/src/trayicon.cpp --- old/lxqt-powermanagement-0.12.0/src/trayicon.cpp 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/trayicon.cpp 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2011 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/trayicon.h new/lxqt-powermanagement-0.13.0/src/trayicon.h --- old/lxqt-powermanagement-0.12.0/src/trayicon.h 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/trayicon.h 2018-05-21 20:37:40.000000000 +0200 @@ -1,8 +1,8 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset - * http://razor-qt.org + * LXQt - a lightweight, Qt based, desktop toolset + * https://lxqt.org * * Copyright: 2011 Razor team * Authors: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/watcher.cpp new/lxqt-powermanagement-0.13.0/src/watcher.cpp --- old/lxqt-powermanagement-0.12.0/src/watcher.cpp 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/watcher.cpp 2018-05-21 20:37:40.000000000 +0200 @@ -1,7 +1,7 @@ /* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * - * LXDE-Qt - a lightweight, Qt based, desktop toolset + * LXQt - a lightweight, Qt based, desktop toolset * * Authors: * Christian Surlykke <christ...@surlykke.dk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-powermanagement-0.12.0/src/watcher.h new/lxqt-powermanagement-0.13.0/src/watcher.h --- old/lxqt-powermanagement-0.12.0/src/watcher.h 2017-10-21 21:31:32.000000000 +0200 +++ new/lxqt-powermanagement-0.13.0/src/watcher.h 2018-05-21 20:37:40.000000000 +0200 @@ -1,7 +1,7 @@ /* * Copyright (c) 2014,2015 Christian Surlykke, Paulo Lieuthier * -* This file is part of the LXQt project. <http://lxqt.org> +* This file is part of the LXQt project. <https://lxqt.org> * It is distributed under the LGPL 2.1 or later license. * Please refer to the LICENSE file for a copy of the license. */