From bf16a4d415ea7d8845f578544de0c71e56ad314e Mon Sep 17 00:00:00 2001 From: Patrick Ziegler Date: Sun, 3 Dec 2017 18:03:49 +0100 Subject: [PATCH] Release 3.1.0 (#863) Breaking Changes: * Date module no longer supports non-padded specifiers (i.e. `%-d`) and potentially other specifiers, see #792 - Check http://en.cppreference.com/w/cpp/io/manip/put_time to see supported specifiers * Setting background color to `background-0` with gradients (refer to https://github.com/jaagr/polybar/wiki/Known-Issues) Changelog: Features: * Feat(mpd): State-specific formats (`format-playing`, `format-paused`, `format-stopped`) (#567), see #524 * Feat(ipc): Visibility commands (show, hide, toggle, restart, quit) (b6c5563) * Feat(shell): Bash completion (#588) * Feat(menu): `expand-right` option (#658), see #655 * Feat(temperature): hwmon sysfs support (#688), see #404 * Feat(cursor): Change cursors over clickable/scrollable areas (#727), see #721 * Feat(temperature): Fahrenheit and Celsius tokens (#804) * Feat(mpd): Use mpd name tag or URI as fallback for title-less tracks (#823), see #815 Fixes: * Fix(i3): Clicking workspaces without index (#521), see #520 * Fix(parser): Prefix options overriding format options (#729), see #544 * Fix(parser): Overline tags (eebf105) * Fix(process_util): Prefix shell environment variable (`$POLYBAR_SHELL`) (86ff947), see #566 * Fix(parser): `%{R}` tag (reverse colors) (0bd8f1f), see #585 * Fix(renderer): Center block position with tray (389bae2 & #673), see #551 & #672 * Fix(xworkpaces): Active workspace with XMonad (#587), see #411 & #535 * Fix(config): Expand tilde, environment variable (d3b0670 & #724), see #603 & #719 * Fix(build): Remove curlbuild.h (#648), see #647 * Fix(renderer): Off by one error for actions (#663), see #661 * Fix(gcc): GCC 7.1 ([jaagr/xpp/#6](https://github.com/jaagr/xpp/pull/6)) * Fix(fs): Use `bytes_available` for `percentage_used` (138f5fa), see #710 * Fix(fs): Use `f_frsize` for calculations (a682d2a) * Fix(date): Remove date string length limitation (#745), see #754 * Fix(renderer): Nested actions (#772), see #760 and #758 * Fix(i3): Check and warn if current workspace not found (#826), see #824 * Fix(github): Prevent module disappearing with no connection (#811), see #810 * Fix(renderer): Module gradients (#831), see #759 * Fix(build): Update deprecated jsoncpp Reader --- README.md | 2 +- contrib/polybar-git.aur/PKGBUILD | 4 ++-- contrib/polybar.aur/PKGBUILD | 9 ++++----- include/version.hpp | 4 ++-- 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 15542d02..c25d5e88 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ Find a more complete list on the [dedicated wiki page](https://github.com/jaagr/ Please [report any problems](https://github.com/jaagr/polybar/issues/new) you run into when building the project. ~~~ sh - $ git clone --branch 3.0.5 --recursive https://github.com/jaagr/polybar + $ git clone --branch 3.1.0 --recursive https://github.com/jaagr/polybar $ mkdir polybar/build $ cd polybar/build $ cmake .. diff --git a/contrib/polybar-git.aur/PKGBUILD b/contrib/polybar-git.aur/PKGBUILD index 7cc43c9f..1d1cabdc 100644 --- a/contrib/polybar-git.aur/PKGBUILD +++ b/contrib/polybar-git.aur/PKGBUILD @@ -2,8 +2,8 @@ # Contributor: Michael Carlberg _pkgname=polybar pkgname="${_pkgname}-git" -pkgver=3.0.5 -pkgrel=4 +pkgver=3.1.0 +pkgrel=1 pkgdesc="A fast and easy-to-use status bar" arch=("i686" "x86_64") url="https://github.com/jaagr/polybar" diff --git a/contrib/polybar.aur/PKGBUILD b/contrib/polybar.aur/PKGBUILD index 548c7b18..56c41d47 100644 --- a/contrib/polybar.aur/PKGBUILD +++ b/contrib/polybar.aur/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Michael Carlberg # Contributor: Michael Carlberg pkgname=polybar -pkgver=3.0.5 -pkgrel=4 +pkgver=3.1.0 +pkgrel=1 pkgdesc="A fast and easy-to-use status bar" arch=("i686" "x86_64") url="https://github.com/jaagr/polybar" @@ -16,7 +16,7 @@ optdepends=("alsa-lib: volume module support" "ttf-unifont: Font used in example config" "siji-git: Font used in example config" "curl: github module support") -makedepends=("clang" "cmake" "git" "python" "python2" "pkg-config") +makedepends=("cmake" "git" "python" "python2" "pkg-config") conflicts=("polybar-git") install="${pkgname}.install" source=("${pkgname}::git+${url}.git#tag=${pkgver}") @@ -24,13 +24,12 @@ md5sums=("SKIP") prepare() { git -C "${pkgname}" submodule update --init --recursive - git -C "${pkgname}" cherry-pick -n d35abc7620c8f06618b4708d9a969dfa2f309e96 mkdir -p "${pkgname}/build" } build() { cd "${pkgname}/build" || exit 1 - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_COMPILER="clang" -DCMAKE_CXX_COMPILER="clang++" .. + cmake -DCMAKE_INSTALL_PREFIX=/usr .. cmake --build . } diff --git a/include/version.hpp b/include/version.hpp index ba0f3cbe..f8057be6 100644 --- a/include/version.hpp +++ b/include/version.hpp @@ -1,4 +1,4 @@ #pragma once -#define GIT_TAG "3.0.5" -#define GIT_TAG_NAMESPACE v3_0_5 +#define GIT_TAG "3.1.0" +#define GIT_TAG_NAMESPACE v3_1_0