repowerd (2023.07-4) unstable; urgency=medium

  * debian/patches:
    + Add 1003_add-enable-Werror-CMake-option.patch. Add -DENABLE_WERROR option
      to CMake options and let it default to OFF. (This fixes FTBFS of
      repowered in Ubuntu due to LTO-related compiler warnings popping up when
      building on Ubuntu).

 -- Mike Gabriel <sunweaver@debian.org>  Mon, 04 Mar 2024 10:20:22 +0100

repowerd (2023.07-3) unstable; urgency=medium

  * debian/changelog:
    + Fix attribution/author of changes in previous upload.
  * debian/control:
    + Add B-D: systemd-dev [linux-any].

 -- Mike Gabriel <sunweaver@debian.org>  Fri, 01 Mar 2024 23:26:49 +0100

repowerd (2023.07-2) unstable; urgency=medium

  [ Alfred Neumayer ]
  * debian/patches:
    + Add 0001_enable-builds-without-lsc.patch. Enable builds without lsc
      integration.
    + Add 0002_sysfs-path-thinpad-x13s.patch. src/adapters: Enable sysfs
      path used by Thinkpad x13s. Enables control of brightness slider.

  [ Mike Gabriel ]
  * debian/patches:
    + Add 1001_typo-fix.patch.
    + Add 1002_fix-tests-when-building-without-lsc-support.patch. Band-aid
      unit tests when building with -DREPOWERD_ENABLE_LSC=OFF.
  * debian/rules:
    + Build with -DREPOWERD_ENABLE_LSC=OFF.
  * debian/copyright:
    + Update auto-generated copyright.in file.
    + Update copyright attributions.
  * debian/repowerd.{service,install}:
    + Use upstream's systemd service file.
  * lintian: Update overrides (mostly syntax fixes, add dbus-policy-in-etc
    overrides, drop package-supports-alternative-init-but-no-init.d-script.
  * debian/control:
    + In B-D: field, switch from pkg-config to pkgconf. Thanks, lintian.
    + Bump Standards-Version: to 4.6.2. No changes needed.

 -- Mike Gabriel <sunweaver@debian.org>  Sun, 25 Feb 2024 20:50:33 +0000

repowerd (2023.07-1) unstable; urgency=medium

  * New upstream release (closes: #1037839)
  * debian/control: Drop uneeded B-D and add deviceinfo-dev
  * debian/patches: Drop upstreamed patches
  * debian/rules: Don't build the binder plugin (only for android/hybris devices)
  * debian/copyright: Update to match upstream

 -- Marius Gripsgard <mariogrip@debian.org>  Thu, 27 Jul 2023 03:24:14 +0200

repowerd (2022.01-3) unstable; urgency=medium

  * debian/:
    + Update upstream Git repo URL.
  * debian/control:
    + Bump Standards-Version: to 4.6.1. No changes needed.

 -- Mike Gabriel <sunweaver@debian.org>  Mon, 25 Jul 2022 17:05:57 +0200

repowerd (2022.01-2) unstable; urgency=medium

  * Source-only upload as-is.

 -- Mike Gabriel <sunweaver@debian.org>  Sat, 05 Mar 2022 11:51:08 +0100

repowerd (2022.01-1) unstable; urgency=medium

  * Initial upload to Debian. (Closes: #1005759).
  * debian/:
    + Drop UBports' Jenkinsfile.
    + Drop repowerd.upstart file. Upstart is dead.
    + Drop transitional package 'powerd'.
  * debian/{control,compat}:
    + Switch to debhelper-compat notation. Bump to DH compat level version 13.
  * debian/control:
    + Set Maintainer: and Uploaders: field appropriately for official Debian
      upload.
    + Drop B-Ds on dh-systemd and dh-apport.
    + Comment out B-Ds: android-headers and libandroid-properties-dev.
    + Add R³ field and set it to 'no'.
    + Bump Standards-Version: to 4.6.0. No changes needed.
    + Adjust Homepage: and Vcs-*: fields.
    + Re-phrase SYNOPSIS and LONG_DESCRIPTION fields.
    + Simply B:/R: powerd. Transition time is over.
  * debian/rules:
    + Add get-orig-source target.
    + Drop --with apport,systemd. (apport: Not available in Debian, systemd:
      default these days anyway).
    + Move --fail-missing to extra override.
    + Drop --parallel from dh call. Now default, as well.
    + White-space / indentation fix.
    + Enable all hardening build flags.
  * debian/watch:
    + Add file.
  * debian/source/format:
    + Switch to '3.0 (quilt)'.
  * debian/repowerd.service:
     + Comment out Wants=/After=lxc-android-config.serivce. This is Ubuntu Touch
       specific.
  * debian/patches:
    + Add 1001_fix-non-libhybris-builds.patch. Fix build without libandroid-
      properties-dev and android-headers (libhybris).
    + Add 1002_fix-typo.patch. Fix typo.
  * debian/upstream/metadata:
    + Add file. Comply with DEP-12.
  * debian/copyright:
    + Use secure URL in Format: field.
    + Add auto-generated copyright.in file.
    + Rewrite copyright attributions.
  * lintian:
    + Override missing manual pages (for now) and other overrides.
  * debian/repowerd.links:
    + Drop powerd symlink, powerd compat binary won't be provided in Debian.
  * debian/repowerd.apport:
    + Drop file. No Apport available in Debian.

 -- Mike Gabriel <sunweaver@debian.org>  Mon, 14 Feb 2022 23:23:13 +0100

repowerd (2018.04+ubports) xenial; urgency=medium

  * Import to UBports
  * Always set brightness before first autobrightness setting

 -- Marius Gripsgard <marius@ubports.com>  Mon, 15 Jan 2018 15:45:57 +0100

repowerd (2017.03+17.04.20170403-0ubuntu1) zesty; urgency=medium

  * 2017.03 release
    - Fix "Closing the lid does not suspend the device" (LP: #1668596)
    - Fix "messages are logged on every input event" (LP: #1674736)
    - Fix brightness issues when turning on the screen on Fairphone 2
    - Add apport hook

 -- Alexandros Frantzis <alexandros.frantzis@canonical.com>  Mon, 03 Apr 2017 14:19:32 +0000

repowerd (2017.02+17.04.20170221-0ubuntu1) zesty; urgency=medium

  * 2017.02 release
    - Improve lid handling
    - Add timerfd based wakeup service for desktop
    - Support new power settings, exposed through com.canonical.repowerd
    - Improve handling of critically low power scenarios
    - Generate random cookies for wakeup requests
  * 2017.02 release

 -- Alexandros Frantzis <alexandros.frantzis@canonical.com>  Tue, 21 Feb 2017 11:41:12 +0000

repowerd (2016.12+17.04.20161212.1-0ubuntu1) zesty; urgency=medium

  * New 2016.12 release
    - Support suspending with logind
    - Implement basic lid handling
    - Don't change the display power mode when pressing the power
      button on non-phablet devices.
    - Various snap-related improvements
    - Fix "[mako] Alarm doesn't ring when screen locked" (LP: #1588526)
    - Fix "[mako] Awful life battery since OTA 13" (LP: #1630382)

 -- Alexandros Frantzis <alexandros.frantzis@canonical.com>  Mon, 12 Dec 2016 19:02:03 +0000

repowerd (2016.11+17.04.20161124-0ubuntu1) zesty; urgency=medium

  * New 2016.11 release
    - Support multiple user sessions
    - Don't interfere with the power state of non-mir sessions
    - Start repowerd at boot on desktop systems

 -- Alexandros Frantzis <alexandros.frantzis@canonical.com>  Thu, 24 Nov 2016 12:55:52 +0000

repowerd (2016.10+16.10.20161007-0ubuntu1) yakkety; urgency=medium

  * New 2016.10 release
    - Fix typo in brightness config value (LP: #1618391)
    - Update repowerd-cli help text
    - Handle SIGTERM gracefully in repowerd-cli
    - Wait for the repowerd DBus API to be accessible before marking
      the upstart job as started (LP: #1623853)
  * 2016.10 release

 -- Alexandros Frantzis <alexandros.frantzis@canonical.com>  Fri, 07 Oct 2016 11:50:44 +0000

repowerd (2016.08.3+16.10.20160830.1-0ubuntu1) yakkety; urgency=medium

  * New 2016.08.3 release
    - Fix "Low battery notification turns screen on and never turns
      it off again." (LP: #1618417)
    - Fix "lock display when idle timeout not honoured" (LP: #1615001)
    - Fix "Missing powerd-cli active" (LP: #1618072)

 -- Alexandros Frantzis <alexandros.frantzis@canonical.com>  Tue, 30 Aug 2016 16:36:58 +0000

repowerd (2016.08.2+16.10.20160823.1-0ubuntu1) yakkety; urgency=medium

  * New 2016.08.2 release
    - Fix "Regression: In dark conditions autobrightness does not
      adapt" (LP: #1613871)

 -- Alexandros Frantzis <alexandros.frantzis@canonical.com>  Tue, 23 Aug 2016 14:22:58 +0000

repowerd (2016.08.1+16.10.20160817.1-0ubuntu1) yakkety; urgency=medium

  * New 2016.08.1 release
    - Fix "Display turns off right after playing back a long video"
      (LP: #1602739)
    - Fix "call screen still turns off after rejecting the call on
      the remote end without answering." (LP: #1613506)

 -- Alexandros Frantzis <alexandros.frantzis@canonical.com>  Wed, 17 Aug 2016 17:48:35 +0000

repowerd (2016.08+16.10.20160811-0ubuntu1) yakkety; urgency=medium

  * New 2016.08 release
    - Fix "suspends during video playback when USB gets unplugged"
      (LP: #1602933)

 -- Alexandros Frantzis <alexandros.frantzis@canonical.com>  Thu, 11 Aug 2016 14:17:03 +0000

repowerd (2016.06+16.10.20160808-0ubuntu1) yakkety; urgency=medium

  * debian/repowerd.service:
    - Make service dependency on lxc-android-config.service optional
      ('Wants' instead of 'Requires')
    - Silently fail if lxc-android-config.service is missing

 -- Alexandros Frantzis <alexandros.frantzis@canonical.com>  Mon, 08 Aug 2016 08:59:28 +0000

repowerd (2016.06+16.10.20160706.1-0ubuntu1) yakkety; urgency=medium

  * Initial release (LP: #1599271)

 -- Alexandros Frantzis <alexandros.frantzis@canonical.com>  Wed, 06 Jul 2016 14:24:10 +0000
