commit 560cbff74fe81cb7913ee7e07081ecb5b475948c24ee08b873363387f15b7920 Author: Shawn Dunn Date: Mon Nov 11 00:28:56 2024 +0000 - Update to version 2.1.0: * Pre-release changes (#415) * Weblate commits (#416) * Weblate commits (#414) * Updated translations (incl. Luganda) (#413) * Weblate commits (#412) * Weblate commits (#411) * Weblate commits (#410) * Weblate commits (#409) * Weblate commits (#407) * Weblate commits (#406) OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lxqt-powermanagement?expand=0&rev=41 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/lxqt-powermanagement-2.0.0.tar.xz b/lxqt-powermanagement-2.0.0.tar.xz new file mode 100644 index 0000000..15c92d1 --- /dev/null +++ b/lxqt-powermanagement-2.0.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:300c4d50fd1fd78b57bd6a472eddbc7ab30ca3fb64650699184d4b07a8050b0e +size 97220 diff --git a/lxqt-powermanagement-2.0.0.tar.xz.asc b/lxqt-powermanagement-2.0.0.tar.xz.asc new file mode 100644 index 0000000..5c0ed56 --- /dev/null +++ b/lxqt-powermanagement-2.0.0.tar.xz.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- + +iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmYfrxoVHHRzdWphbjIw +MDBAZ21haWwuY29tAAoJEL55MAetIt9+bEkQAJjacCOdzQ2oIrLjC0fNRUod4WFx +2ROsxM0MesaTUAKh2S0hlZeJpmpyP6MAQpqb4SY9LV4nbfFCr5IPpCgIFqX5PJhH +igfdoEfIIHu/z8FiLtDj4e233nMDuPua9b9Z7VjM7Xr1nK3pYyyS7QibTNeALIWT +2CKZlLjwt5lkqxohkplVBWy0thdKAuiDaFlilGAz0m1hNLW13YX7qEXK8+Fvp3zJ +wDyjp8sZlZH+RpiTMYJPLaHvmew5phjW9YGr3dkCI9kuB0x3N0j31EaQ7hrpAkVU +ex+4AWBhnq7SU36Ec/6E3MLENSo6/lP4nJe27bT5AC3Ok5QMIk29KowBqdMOk99E +Zij7nfJaFEz4fVkOGAPYBxuaqsHVYONdevpnqVfPlxZAobrz5bu4DhnVPQU/xOWN +PIIpcbZiJZZ9/T6ZnlH8lQ046WWUgFG5RVzvCkhjeIZIV2Qq91TN+8ymgw5Rq6Sc +BJF94/0DywhZIW6bVrGnsXEGTxnUQdrJgYzLxKmE0KpzMORvZVRsf5kAnNv4DWSQ +ugzWTu1c5yeo4r3+Nq+xBLMs3vTz/aMz4QqLdCR02WX9G08MC/T9kR+M3ZCChPnJ +pLwe1QiZRX1b2QwIrlfPFrkxGhSat+d1gGsjKIv+SV7tvi2FIXaPk5Ukc+aU+zJr +pw5NVl6DlLqCBwAD +=J+M5 +-----END PGP SIGNATURE----- diff --git a/lxqt-powermanagement-2.1.0.tar.xz b/lxqt-powermanagement-2.1.0.tar.xz new file mode 100644 index 0000000..d70f7a0 --- /dev/null +++ b/lxqt-powermanagement-2.1.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:12e24a8c91071c25b0f0f8daabf252bcc7bdc273488d148a03f7d6c1ef69df5f +size 98352 diff --git a/lxqt-powermanagement-2.1.0.tar.xz.asc b/lxqt-powermanagement-2.1.0.tar.xz.asc new file mode 100644 index 0000000..f6f159f --- /dev/null +++ b/lxqt-powermanagement-2.1.0.tar.xz.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- + +iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmcpu3MVHHRzdWphbjIw +MDBAZ21haWwuY29tAAoJEL55MAetIt9+tOUP/jSqt6rD4NqgXafCuRwLts0uZCs8 +zwTebT5owSck2GarIx81dsirUJ6JekUiYG/fhfgSZsU+8MCUaBnQKvDqwyrQofZ/ +P2/sbXGtr2/dnzEgxzXXbL38gH73PE8zSJxM4gbqwteqeTzX+2114CDRoiEOon4q +U1buNC8bCW3Y4QbjafMBGBDPRdMmzYnNReN43uFTN/U02tY93pRj0yNljLDyrIUF +trLiwxy8+Ijdc4okq3jxgjOHyCb9lPVFMQjl6GUxAVPv+sBKaOHGuLSuzGOp0p2W +RRnLAE9c4/bjerz/rPEhQF8Brh9coDN2wRA2XEiuUSLB4G8mEkQB6M+dCJdrRPU6 +4Uq3gqa9k9NG0q96dbjkRM8PrAR2DeYJfRO2K/dQsuibbsBt8mjy7gVMZzf1Q72K +P++WWAWuID+nBnRgQALJ/XEvFFcPBHuzJRPmpyzRV6mtNv0q/M0ZB8vogHTOQRQb +KZnWijytrETkKVB1nvdHCCiS8dl4XsBvNuntpGsanHTrkRc87jiIKJNPkI3iHoCL +flBZezOo7+GflLa9mUw+Lh+ku9W1YcCyixf8cax6Vb+9zqwOXZOgr9DE3y6HXTH0 +omEZLrtYCsNxAqsvoJK4aHOhys6YDuPOEUvVFj4qkkT4imH0uycOgotQf9iGpCi/ +7NqcA8oHkXL4dLGM +=mcBu +-----END PGP SIGNATURE----- diff --git a/lxqt-powermanagement.changes b/lxqt-powermanagement.changes new file mode 100644 index 0000000..834aee5 --- /dev/null +++ b/lxqt-powermanagement.changes @@ -0,0 +1,300 @@ +------------------------------------------------------------------- +Wed Nov 6 21:34:12 UTC 2024 - Андрей Алыпов + +- Update to version 2.1.0: + * Pre-release changes (#415) + * Weblate commits (#416) + * Weblate commits (#414) + * Updated translations (incl. Luganda) (#413) + * Weblate commits (#412) + * Weblate commits (#411) + * Weblate commits (#410) + * Weblate commits (#409) + * Weblate commits (#407) + * Weblate commits (#406) + +------------------------------------------------------------------- +Sat May 11 07:50:06 UTC 2024 - Андрей Алыпов + +- Update to 2.0.0: + * Ported to Qt6. + +------------------------------------------------------------------- +Mon Jan 1 07:29:25 UTC 2024 - Shawn Dunn + +- Added %dir declarations for icon directories, to clear buildfail + +------------------------------------------------------------------- +Sun Nov 5 22:14:58 UTC 2023 - Shawn Dunn + +- Update to 1.4.0: + * Override DPMS on enabling idleness watcher (to fix the problem + of default TPMS timeouts being in conflict with + lxqt-powermanagement). + * Suspend screensaver when idle watcher is enabled (to prevent + the screensaver timeout from kicking in and interfere with + our daemon). + * Removed "Ask" option from lid and idle watchers. + +------------------------------------------------------------------- +Sat Apr 15 19:04:25 UTC 2023 - Shawn Dunn + +- Update to 1.3.0: + * Updated translations and bumped the version + +------------------------------------------------------------------- +Sat Nov 5 20:38:42 UTC 2022 - Shawn Dunn + +- Update to 1.2.0: + * Better tray icon descriptions. + * Consider the stable state of battery (neither charging nor + discharging). + * Fixed the error message "QString::arg: Argument missing". + + +------------------------------------------------------------------- +Fri Apr 29 05:56:39 UTC 2022 - Michael Vetter + +- Update to 1.1.0: + * Three tray icons are added, with the charge percentage inside them. + Now, the built-in tray icon can be circular or shaped like a battery. + +------------------------------------------------------------------- +Mon Nov 8 09:50:34 UTC 2021 - Michael Vetter + +- Update to 1.0.0: + * Idleness checks can be paused from the tray icon for 30 + minutes to 4 hours. + +------------------------------------------------------------------- +Fri Apr 16 09:57:07 UTC 2021 - Michael Vetter + +- Update to 0.17.0: + * Separate idle watchers for AC and battery. + * An option to disable idle watcher when the active window is full-screen. + +------------------------------------------------------------------- +Wed Nov 4 13:44:24 UTC 2020 - Michael Vetter + +- Update to 0.16.0: + * Added a Power keys section for customizing actions of power, + suspend and hibernate keys. + * Dropped QProcess deprecated methods. + +------------------------------------------------------------------- +Wed Jun 24 12:00:07 UTC 2020 - Callum Farmer + +- Don't package icon dirs + +------------------------------------------------------------------- +Mon Apr 27 10:59:58 UTC 2020 - Callum Farmer + +- Changed lxqt-powermanagement.keyring to tsujan's key + +------------------------------------------------------------------- +Sat Apr 25 11:21:52 UTC 2020 - Callum Farmer + +- Update to version 0.15.0 + * An option is added for changing the display backlight when the computer is idle. + +------------------------------------------------------------------- +Mon Jan 27 10:31:11 UTC 2020 - Michael Vetter + +- bsc#1161365: Fix build +- Add buildrequire for glib + +------------------------------------------------------------------- +Mon Mar 11 21:33:19 UTC 2019 - Axel Braun + +- Requires: upower added + +------------------------------------------------------------------- +Fri Mar 1 09:57:32 UTC 2019 - mvetter@suse.com + +- Update to 0.14.1: + * Only translations was changed + +------------------------------------------------------------------- +Thu Jan 31 10:18:48 UTC 2019 - Michael Vetter + +- Update to 0.14.0: + * Don't use automatic string conversions + * Improved cmake scripting + - set cmake_minimum_required to 3.1.0 + - removed locale compile definitons + * Moved translations from lxqt-l10n back to lxqt-powermanagement + - removed obsolete translation fuctionality + - Added translation promo in README.md + * Translation updates +- Move translation from lxqt-l10n into package + +------------------------------------------------------------------- +Tue May 22 15:11:24 UTC 2018 - mvetter@suse.com + +- Update to 0.13.0: + * Add support for turning monitor(s) off + +------------------------------------------------------------------- +Mon Oct 23 11:21:56 UTC 2017 - mvetter@suse.com + +- Update to 0.12.0: + * Set patch version + * Spell check (add "," and "-") + * Don't export github templates + * Adding missing "Comment" section to .desktop files. Fix for https://github.com/lxde/lxqt/issues/1339 + * Added Lithuanian language + * Drops Qt5Core_VERSION_STRING + * lxqt-config-powermanagement: set Qt::AA_UseHighDpiPixmaps to true + * Added QCommandLineParser and basic cli interface to lxqt-config-powermanagement and lxqt-powermanagement + * Added default CMAKE_BUILD_TYPE and LXQT_POWERMANAGEMENT_PATCH_VERSION + * added *pl.desktop + * Fixes a FTBFS in superbuild mode + * Added merged autostart to CMakeLists.txt + * Updated *_da.desktop files and removed *_da_DK.desktop files + * Update desktop entries and Replace fr_FR by fr + * Move Italian desktop entry to correct path + * Update Greek translation (el) Remove country variant from language code + * Rename LxQt to LXQt everywhere + * CMake: Adds Runtime and Devel install COMPONENTs + * Coding style changes + * Updates the build system to use the Targets infrastructure + * Rename Power Management module name again + * Rename LXQt Power Management module name + * Drops hardcoded /etc/xdg paths + * Updated german translation, replaced Qt4 by Qt in all xsession/translations + * Portuguese update for .desktop files + * Updates translations infrastructure + * Update the required minimum cmake version + * remove dead template lines switch OnlyShowIn from Razor -> LXQt stringchanges LxQt -> LXQt + * Renamed lxqt-autosuspend.desktop.in --> lxqt-powermanagement.desktop.in + * Support lxqt-session and add necessary xdg autostart desktop entry files. + * Default to no action if the action is not specified in the config file + * BatteryWatcher: Fix indentation + * Bump year +- Remove post and postun + +------------------------------------------------------------------- +Fri Feb 24 01:28:31 UTC 2017 - sfalken@opensuse.org + +- Update to 0.11.1: + * Add lxqt-config-powermanagement_da.desktop + * Create lxqt-config-powermanagement_fr.desktop + * Make CMakeLists.txt more uniform. + * Remove cpack (#43) + +------------------------------------------------------------------- +Sat Sep 24 21:37:37 UTC 2016 - mvetter@suse.com + +- Update to 0.11.0: + * README.md: Replace dependency XCB with KIdleTime + * Idleness Watcher: rely on KIdleTime instead of XCB (#33) + * fix indents + * Update and extend README.md + * Add Catalan translation + * Add Arabic Translation for Desktop File + * I18N: Fix Plural Strings (#38) + * Removes the QEventLoop from the Watcher class + * build: Use external translations + * ts-files removal (#34) + * Bump year Fix licenses, lxqt-powermanagement is LGPL only + * Fix source language in Italian translation file + * Italian translation update + * Update Russian translation Remove ru_RU files + * Fix typo in Greek translation + * update: lxqt-powermanagement_hu.ts + * Add German translation +- Add keyring +- Remove BuildRequirs pkgconfig(xcb), got replaced by KF5IdleTime + +------------------------------------------------------------------- +Fri Nov 6 16:25:33 UTC 2015 - mvetter@suse.com + +- Upstream release 0.10.0 +- Removing patches: + * fix_desktop_categories.patch - Using sed in spec file now. + +------------------------------------------------------------------- +Sat Feb 21 18:01:24 UTC 2015 - hrvoje.senjan@gmail.com + +- lxqt-powermanagement is using private QPA API, which can, and + does break BC even in point releases, so we need to hardcode + libQt5Gui5 version + +------------------------------------------------------------------- +Fri Feb 20 20:41:55 UTC 2015 - sfalken@opensuse.org + +- Changed %build and %install to use cmake macros + +------------------------------------------------------------------- +Mon Feb 9 21:22:35 UTC 2015 - sfalken@opensuse.org + +- New upstream version 0.9.0 +- Added -lang Subpackage +- Added Patch + + fix_desktop_categories.patch to clear rpmlint warnings + +------------------------------------------------------------------- +Mon Jan 26 00:11:53 UTC 2015 - sfalken@opensuse.org + +- Added conditionals to enable Fedora builds + +------------------------------------------------------------------- +Tue Nov 11 08:52:30 UTC 2014 - andrea@opensuse.org + +- Added license and other documentation + +------------------------------------------------------------------- +Sat Oct 25 11:49:40 UTC 2014 - andrea@opensuse.org + +- new upstream version 0.8.0 + +------------------------------------------------------------------- +Tue May 13 16:59:31 UTC 2014 - sfalken@opensuse.org + +- Specfile and Patch cleanup + +------------------------------------------------------------------- +Mon May 12 16:21:04 UTC 2014 - sfalken@opensuse.org + +- removed fedora spec, split into subproject + Del: lxqt-powermanagement-Fedora_20.spec + +------------------------------------------------------------------- +Sat May 10 21:23:27 UTC 2014 - sfalken@opensuse.org + +- Ran spec-cleaner on openSUSE spec + +------------------------------------------------------------------- +Fri May 9 23:06:37 UTC 2014 - sfalken@opensuse.org + +- Added specfile for Fedora_20 + Add: lxqt-powermanagement-Fedora_20.spec + +------------------------------------------------------------------- +Fri May 9 20:14:26 UTC 2014 - sfalken@opensuse.org + +- Added patch to fix random data error in idlenesswatcher.cpp + Add: 0003-fix_idlenesswatcher_cpp.patch + +------------------------------------------------------------------- +Fri May 9 17:39:50 UTC 2014 - sfalken@opensuse.org + +- Added patches to fix bad includes in sources + Add: 0001-fix_lid_cpp.patch + Add: 0002-fix_lidwatcher_cpp.patch + +------------------------------------------------------------------- +Fri May 9 16:49:55 UTC 2014 - sfalken@opensuse.org + +- Added tarball for new stable release + Add: lxqt-powermanagement-0.7.0.tar.xz + Del: _service + +------------------------------------------------------------------- +Fri Apr 4 00:42:15 UTC 2014 - sfalken@opensuse.org + +- Initial Source Upload + Add: _service + Add: lxqt-powermanagement.spec + Add: lxqt-powermanagement.changes + diff --git a/lxqt-powermanagement.keyring b/lxqt-powermanagement.keyring new file mode 100644 index 0000000..35388e4 --- /dev/null +++ b/lxqt-powermanagement.keyring @@ -0,0 +1,52 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBF6cxrwBEADfl3ydxNfLBbWGPesXty2baQgixZ3D6aCxadI2kX+aikmT8rd0 +ttDKN18cXV52Ssxnj0qhgf4hwnu/b0be6BzqSEyGM+UQR3X2CYpxrMakfW32Q18K +X5ec0RPR2ucBq9G0r9t6FYC8FkJ4uQUU3xxrLW3z302S0Makjgzm8BV9WrFQ7oFF +uJQj0BHbHYC4RyaZb2AfxY4Y92BPGTjtGekWqgw6vEXCCnvAbGYVQzvxZt3nw21/ +1YmV4g7xhGFQPbOf9v3ejFUJeJIGzuJf5NAh7kvfCdUBAGYH0gnj0GpOve4ftnaG +sAId2CQwm3oYF4Tu7yBPTOBpkaKkNaT+UdwTyeKERuCZ9ocZWX++/YF9ItRkJ5mM +zoP1GluWn2atNWpRh/K97gyAGgr2fSm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Bz37/iVPJfWP6dKVnf +abRnUVzHgvgK7bnab00SA1TiWvjHURGjo+5rnRtv8X/AgStc2Phjq68TMIgMn0F2 +kjUVvfQotNqzo9madNshvUDmsGtAzKh4e0dS1ear7u3nRp4Z7fqSrTEtXKNbEPwZ +wdWrWmmQLacNQBSe/FtcMzGF6xIVr4lnrL0bFjqBdQpdTC7vns3QSKk8/GFiEfpv +kzXrDbGV7jX2OWDjNHKcmXX2+E1CsNaJgS7zOgZw5jvbvlTLJUwyYNlM1VLI2OFW +Oa86l8pqli+B7rpTbsAE9Ut8qUaWjm87oUNSJbaKgqNnMaE+b/8VJaEeWHgQJwsD +bJSJ/O/vzlRtDjOJ1JDlMRLs7TnOFeUh5pgwyaJoidYbJEiGlMGJbI6BjwhDTBFO +NLJtd3SsRjc7ICtGdCvej59IvCDTjxtkhx5okF03APi1aXpHQrE18/arFD7BpoGO +sw== +=gSIv +-----END PGP PUBLIC KEY BLOCK----- \ No newline at end of file diff --git a/lxqt-powermanagement.spec b/lxqt-powermanagement.spec new file mode 100644 index 0000000..cb4da77 --- /dev/null +++ b/lxqt-powermanagement.spec @@ -0,0 +1,84 @@ +# +# spec file for package lxqt-powermanagement +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: lxqt-powermanagement +Version: 2.1.0 +Release: 0 +Summary: Power Management and Auto-suspend +License: LGPL-2.1-or-later +Group: System/GUI/LXQt +URL: https://github.com/lxqt/lxqt-powermanagement +Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz +Source1: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc +Source2: %{name}.keyring +BuildRequires: cmake >= 3.18.0 +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: hicolor-icon-theme +BuildRequires: pkgconfig +BuildRequires: qt6-gui-private-devel +BuildRequires: cmake(KF6IdleTime) +BuildRequires: cmake(KF6Solid) +BuildRequires: cmake(KF6WindowSystem) +BuildRequires: cmake(Qt6DBus) +BuildRequires: cmake(Qt6LinguistTools) +BuildRequires: cmake(Qt6Svg) +BuildRequires: cmake(Qt6Widgets) +BuildRequires: cmake(lxqt2-build-tools) +BuildRequires: pkgconfig(lxqt) +BuildRequires: pkgconfig(lxqt-globalkeys-ui) >= 2.1.0 +BuildRequires: pkgconfig(xcb-dpms) +BuildRequires: pkgconfig(xcb-screensaver) +Requires: upower +Recommends: %{name}-lang = %{version}-%{release} + +%description +LXQt daemon for power management and auto-suspend + +%lang_package + +%prep +%autosetup +sed -i '/^Categories/s/\(LXQt\;\)/X-\1/' config/lxqt-config-powermanagement.desktop.in + +%build +%cmake_qt6 +%{qt6_build} + +%install +%{qt6_install} +%fdupes -s %{buildroot}%{_datadir} + +%find_lang %{name} --with-qt --all-name + +%files +%license LICENSE +%doc AUTHORS CHANGELOG README.md +%{_bindir}/%{name} +%{_bindir}/lxqt-config-powermanagement +%{_datadir}/applications/lxqt-config-powermanagement.desktop +%{_datadir}/icons/hicolor/*/devices/*.svg +%config %{_sysconfdir}/xdg/autostart/%{name}.desktop + +%files lang -f %{name}.lang +%dir %{_datadir}/lxqt +%dir %{_datadir}/lxqt/translations +%dir %{_datadir}/lxqt/translations/lxqt-config-powermanagement +%dir %{_datadir}/lxqt/translations/%{name} + +%changelog