[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2020-10-04 Thread David Seifert
commit: 1bcc9aa833280bc0b7340b16a9232b9c8e7d1e05
Author: John Helmert III  posteo  net>
AuthorDate: Sun Oct  4 16:12:50 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Oct  4 16:12:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bcc9aa8

x11-misc/polybar: drop 3.4.2-r1

Closes: https://bugs.gentoo.org/722432
Closes: https://github.com/gentoo/gentoo/pull/17716
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: John Helmert III  posteo.net>
Signed-off-by: David Seifert  gentoo.org>

 x11-misc/polybar/Manifest|  1 -
 x11-misc/polybar/polybar-3.4.2-r1.ebuild | 67 
 2 files changed, 68 deletions(-)

diff --git a/x11-misc/polybar/Manifest b/x11-misc/polybar/Manifest
index 8453ec41347..7b96c9ac8b8 100644
--- a/x11-misc/polybar/Manifest
+++ b/x11-misc/polybar/Manifest
@@ -1,4 +1,3 @@
 DIST i3ipcpp-21ce9060ac7c502225fdbd2f200b1cbdd8eca08d.tar.gz 191599 BLAKE2B 
85488a6c2ab9c6f653b499ceaa6d8e803dd8b32cd701a7fbbe151f7f3ea2dc30555c520ded53f023a21b119be97c2b07ae1ab413479cfde677e2073f3d48e36b
 SHA512 
ba136bd531899ce9e87d458bd6f7d16f45509def37e4fd7aafc16d0e122fe5f56d0eb9dbc3e722dbb6c9812913a7aafa4b749a9c727ab0988908b1e2a425
-DIST polybar-3.4.2.tar.gz 253194 BLAKE2B 
136dd32d524902fccbf9db2b2fa8ed582d45565aa0e834af9610e6f692ef70d3e5e066c6021060df9cedf2e1aa2c92753e4fc4ce9c0935795ef4b0056c273687
 SHA512 
2205847ebc03040e8d2a2581d2c70e940157c5dba71e0c2d086c0f0971a6ffd83c42846a85dd93165512f35710e3f3af8b4494bcd695f71ef0ac501f74753dfd
 DIST polybar-3.4.3.tar.gz 253207 BLAKE2B 
213b5ea67cc337c47f62afcdce9cacf66516e6f410d2d93570567cddf9f0f5b93764f16e3eaf7c03c56a5ddad62ade92bd83fcfe30c6b91d067c2343f7264342
 SHA512 
20ac34375da4634a7fd596f38e98a245186c94f8fd624d1dfdcd6633a3c8470fcc57946a50a59177e9d34689aeb5f6cde49e95b30ad699239a2aabbf0635d31a
 DIST xpp-8c019e6d7fefd2468791bc1cbf90d68ff7c1ba33.tar.gz 83974 BLAKE2B 
6ea8599136288c006b6993bd6c704ec32d82773153733b4bc6a9c3f326eaf6f3b155d92f270eeb14d57b399f7b5ea0f6bdd5cee41bb5bdf4c1650f337b77f857
 SHA512 
92874b25305b3be777e739122ff82f1ba16b8e2e445e8ee4891918074ea8ea371f2016d7901cfc477d0286a9e15910c4cee431a11eb71e32728bfbf561313e4f

diff --git a/x11-misc/polybar/polybar-3.4.2-r1.ebuild 
b/x11-misc/polybar/polybar-3.4.2-r1.ebuild
deleted file mode 100644
index 1e8fb05ec22..000
--- a/x11-misc/polybar/polybar-3.4.2-r1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-XPP_COMMIT="8c019e6d7fefd2468791bc1cbf90d68ff7c1ba33"
-I3IPCPP_COMMIT="21ce9060ac7c502225fdbd2f200b1cbdd8eca08d"
-inherit cmake-utils python-single-r1
-
-DESCRIPTION="A fast and easy-to-use tool for creating status bars"
-HOMEPAGE="https://github.com/polybar/polybar;
-SRC_URI="https://github.com/polybar/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
-   https://github.com/polybar/xpp/archive/${XPP_COMMIT}.tar.gz -> 
xpp-${XPP_COMMIT}.tar.gz
-   https://github.com/polybar/i3ipcpp/archive/${I3IPCPP_COMMIT}.tar.gz -> 
i3ipcpp-${I3IPCPP_COMMIT}.tar.gz"
-
-KEYWORDS="amd64 x86"
-LICENSE="MIT"
-SLOT="0"
-
-IUSE="alsa curl i3wm ipc mpd network pulseaudio"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="
-   ${PYTHON_DEPS}
-   $(python_gen_cond_dep 'x11-base/xcb-proto[${PYTHON_MULTI_USEDEP}]')
-   x11-libs/cairo[X,xcb(+)]
-   x11-libs/libxcb[xkb]
-   x11-libs/xcb-util-image
-   x11-libs/xcb-util-wm
-   x11-libs/xcb-util-xrm
-   alsa? ( media-libs/alsa-lib )
-   curl? ( net-misc/curl )
-   i3wm? (
-   dev-libs/jsoncpp
-   || ( x11-wm/i3 x11-wm/i3-gaps )
-   )
-   mpd? ( media-libs/libmpdclient )
-   network? ( net-wireless/wireless-tools )
-   pulseaudio? ( media-sound/pulseaudio )
-"
-
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   rmdir "${S}"/lib/xpp || die
-   mv "${WORKDIR}"/xpp-$XPP_COMMIT "${S}"/lib/xpp || die
-
-   rmdir "${S}"/lib/i3ipcpp || die
-   mv "${WORKDIR}"/i3ipcpp-$I3IPCPP_COMMIT "${S}"/lib/i3ipcpp || die
-
-   cmake-utils_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_ALSA="$(usex alsa)"
-   -DENABLE_CURL="$(usex curl)"
-   -DENABLE_I3="$(usex i3wm)"
-   -DBUILD_IPC_MSG="$(usex ipc)"
-   -DENABLE_MPD="$(usex mpd)"
-   -DENABLE_NETWORK="$(usex network)"
-   -DENABLE_PULSEAUDIO="$(usex pulseaudio)"
-   )
-
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2020-10-04 Thread David Seifert
commit: 616b8fdbfe40f2c8a4f48f4d79cd70a4e90a0f56
Author: John Helmert III  posteo  net>
AuthorDate: Sun Oct  4 16:12:47 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Oct  4 16:12:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=616b8fdb

x11-misc/polybar: add proxied maintainer

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: John Helmert III  posteo.net>
Signed-off-by: David Seifert  gentoo.org>

 x11-misc/polybar/metadata.xml | 8 
 1 file changed, 8 insertions(+)

diff --git a/x11-misc/polybar/metadata.xml b/x11-misc/polybar/metadata.xml
index 39fc3619860..37f978d5dce 100644
--- a/x11-misc/polybar/metadata.xml
+++ b/x11-misc/polybar/metadata.xml
@@ -5,6 +5,14 @@
j...@gentoo.org
Johannes Huber

+   
+   jchelme...@posteo.net
+   John Helmert III
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   

Add support for i3 window manager
Add support for Inter-Process Messaging



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2020-09-23 Thread Agostino Sarubbo
commit: 9d4d314464ff589c9f183a9f23141b4bfc224d00
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Sep 23 10:34:53 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Sep 23 10:34:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d4d3144

x11-misc/polybar: x86 stable wrt bug #743871

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/polybar/polybar-3.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/polybar/polybar-3.4.3.ebuild 
b/x11-misc/polybar/polybar-3.4.3.ebuild
index 76adbe07fab..c21a9d97e86 100644
--- a/x11-misc/polybar/polybar-3.4.3.ebuild
+++ b/x11-misc/polybar/polybar-3.4.3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/polybar/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
https://github.com/polybar/xpp/archive/${XPP_COMMIT}.tar.gz -> 
xpp-${XPP_COMMIT}.tar.gz
https://github.com/polybar/i3ipcpp/archive/${I3IPCPP_COMMIT}.tar.gz -> 
i3ipcpp-${I3IPCPP_COMMIT}.tar.gz"
 
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 LICENSE="MIT"
 SLOT="0"
 IUSE="alsa curl i3wm ipc mpd network pulseaudio"



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2020-09-23 Thread Agostino Sarubbo
commit: 99385b67e43cf5d4155685488e16665d5eaad549
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Sep 23 10:18:38 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Sep 23 10:18:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99385b67

x11-misc/polybar: amd64 stable wrt bug #743871

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/polybar/polybar-3.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/polybar/polybar-3.4.3.ebuild 
b/x11-misc/polybar/polybar-3.4.3.ebuild
index e6f8b9feaf9..76adbe07fab 100644
--- a/x11-misc/polybar/polybar-3.4.3.ebuild
+++ b/x11-misc/polybar/polybar-3.4.3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/polybar/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
https://github.com/polybar/xpp/archive/${XPP_COMMIT}.tar.gz -> 
xpp-${XPP_COMMIT}.tar.gz
https://github.com/polybar/i3ipcpp/archive/${I3IPCPP_COMMIT}.tar.gz -> 
i3ipcpp-${I3IPCPP_COMMIT}.tar.gz"
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 LICENSE="MIT"
 SLOT="0"
 IUSE="alsa curl i3wm ipc mpd network pulseaudio"



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2020-07-05 Thread Joonas Niilola
commit: 73c01ec6023e2b331ecb389dc052034d7be65cca
Author: John Helmert III  posteo  net>
AuthorDate: Sat May 30 18:35:03 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Jul  5 08:24:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73c01ec6

x11-misc/polybar: Version bump, fixes GCC 10 build

Bug: https://bugs.gentoo.org/722432
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: John Helmert III  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/16019
Signed-off-by: Joonas Niilola  gentoo.org>

 x11-misc/polybar/Manifest |  1 +
 x11-misc/polybar/polybar-3.4.3.ebuild | 67 +++
 2 files changed, 68 insertions(+)

diff --git a/x11-misc/polybar/Manifest b/x11-misc/polybar/Manifest
index 27c5484ab41..8453ec41347 100644
--- a/x11-misc/polybar/Manifest
+++ b/x11-misc/polybar/Manifest
@@ -1,3 +1,4 @@
 DIST i3ipcpp-21ce9060ac7c502225fdbd2f200b1cbdd8eca08d.tar.gz 191599 BLAKE2B 
85488a6c2ab9c6f653b499ceaa6d8e803dd8b32cd701a7fbbe151f7f3ea2dc30555c520ded53f023a21b119be97c2b07ae1ab413479cfde677e2073f3d48e36b
 SHA512 
ba136bd531899ce9e87d458bd6f7d16f45509def37e4fd7aafc16d0e122fe5f56d0eb9dbc3e722dbb6c9812913a7aafa4b749a9c727ab0988908b1e2a425
 DIST polybar-3.4.2.tar.gz 253194 BLAKE2B 
136dd32d524902fccbf9db2b2fa8ed582d45565aa0e834af9610e6f692ef70d3e5e066c6021060df9cedf2e1aa2c92753e4fc4ce9c0935795ef4b0056c273687
 SHA512 
2205847ebc03040e8d2a2581d2c70e940157c5dba71e0c2d086c0f0971a6ffd83c42846a85dd93165512f35710e3f3af8b4494bcd695f71ef0ac501f74753dfd
+DIST polybar-3.4.3.tar.gz 253207 BLAKE2B 
213b5ea67cc337c47f62afcdce9cacf66516e6f410d2d93570567cddf9f0f5b93764f16e3eaf7c03c56a5ddad62ade92bd83fcfe30c6b91d067c2343f7264342
 SHA512 
20ac34375da4634a7fd596f38e98a245186c94f8fd624d1dfdcd6633a3c8470fcc57946a50a59177e9d34689aeb5f6cde49e95b30ad699239a2aabbf0635d31a
 DIST xpp-8c019e6d7fefd2468791bc1cbf90d68ff7c1ba33.tar.gz 83974 BLAKE2B 
6ea8599136288c006b6993bd6c704ec32d82773153733b4bc6a9c3f326eaf6f3b155d92f270eeb14d57b399f7b5ea0f6bdd5cee41bb5bdf4c1650f337b77f857
 SHA512 
92874b25305b3be777e739122ff82f1ba16b8e2e445e8ee4891918074ea8ea371f2016d7901cfc477d0286a9e15910c4cee431a11eb71e32728bfbf561313e4f

diff --git a/x11-misc/polybar/polybar-3.4.3.ebuild 
b/x11-misc/polybar/polybar-3.4.3.ebuild
new file mode 100644
index 000..e6f8b9feaf9
--- /dev/null
+++ b/x11-misc/polybar/polybar-3.4.3.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+XPP_COMMIT="8c019e6d7fefd2468791bc1cbf90d68ff7c1ba33"
+I3IPCPP_COMMIT="21ce9060ac7c502225fdbd2f200b1cbdd8eca08d"
+
+inherit cmake python-single-r1
+
+DESCRIPTION="A fast and easy-to-use tool for creating status bars"
+HOMEPAGE="https://github.com/polybar/polybar;
+SRC_URI="https://github.com/polybar/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+   https://github.com/polybar/xpp/archive/${XPP_COMMIT}.tar.gz -> 
xpp-${XPP_COMMIT}.tar.gz
+   https://github.com/polybar/i3ipcpp/archive/${I3IPCPP_COMMIT}.tar.gz -> 
i3ipcpp-${I3IPCPP_COMMIT}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="MIT"
+SLOT="0"
+IUSE="alsa curl i3wm ipc mpd network pulseaudio"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep 'x11-base/xcb-proto[${PYTHON_MULTI_USEDEP}]')
+   x11-libs/cairo[X,xcb(+)]
+   x11-libs/libxcb[xkb]
+   x11-libs/xcb-util-image
+   x11-libs/xcb-util-wm
+   x11-libs/xcb-util-xrm
+   alsa? ( media-libs/alsa-lib )
+   curl? ( net-misc/curl )
+   i3wm? (
+   dev-libs/jsoncpp:=
+   || ( x11-wm/i3 x11-wm/i3-gaps )
+   )
+   mpd? ( media-libs/libmpdclient )
+   network? ( net-wireless/wireless-tools )
+   pulseaudio? ( media-sound/pulseaudio )
+"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   rmdir "${S}"/lib/xpp || die
+   mv "${WORKDIR}"/xpp-$XPP_COMMIT "${S}"/lib/xpp || die
+
+   rmdir "${S}"/lib/i3ipcpp || die
+   mv "${WORKDIR}"/i3ipcpp-$I3IPCPP_COMMIT "${S}"/lib/i3ipcpp || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_ALSA="$(usex alsa)"
+   -DENABLE_CURL="$(usex curl)"
+   -DENABLE_I3="$(usex i3wm)"
+   -DBUILD_IPC_MSG="$(usex ipc)"
+   -DENABLE_MPD="$(usex mpd)"
+   -DENABLE_NETWORK="$(usex network)"
+   -DENABLE_PULSEAUDIO="$(usex pulseaudio)"
+   )
+
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/, x11-misc/polybar/files/

2020-02-15 Thread Johannes Huber
commit: f1e35bcf1003ab4ef55c99afd65324d41e6b1941
Author: Johannes Huber  gentoo  org>
AuthorDate: Sat Feb 15 09:32:22 2020 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sat Feb 15 09:32:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1e35bcf

x11-misc/polybar: Remove 3.3.1-r1

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Johannes Huber  gentoo.org>

 x11-misc/polybar/Manifest  |  3 -
 .../polybar/files/polybar-3.3.1-eventstruct.patch  | 44 
 x11-misc/polybar/files/polybar-3.3.1-gcc9.patch| 43 
 .../polybar/files/polybar-3.3.1-i3ipcpp-gcc9.patch | 29 
 .../polybar/files/polybar-3.3.1-xpp-gcc9.patch | 23 ---
 x11-misc/polybar/polybar-3.3.1-r1.ebuild   | 80 --
 6 files changed, 222 deletions(-)

diff --git a/x11-misc/polybar/Manifest b/x11-misc/polybar/Manifest
index a1f10592356..27c5484ab41 100644
--- a/x11-misc/polybar/Manifest
+++ b/x11-misc/polybar/Manifest
@@ -1,6 +1,3 @@
-DIST i3ipcpp-0.7.1.tar.gz 191417 BLAKE2B 
62b76a0921c78f374309d26856c01d1467b8bd181ce922fd47daec406afda9d76eea9a1f473b4899e22f99e2ef36fc70f72db1bb17eb1f3e71a8431c2634b915
 SHA512 
ef9f591bb4436916ad038bcb0c15ea3415d1978ff264fb276108ddac89c98515c464fbf252429f6a76589cb78e1434adba2efefb5a844dadad0e261f3806fb72
 DIST i3ipcpp-21ce9060ac7c502225fdbd2f200b1cbdd8eca08d.tar.gz 191599 BLAKE2B 
85488a6c2ab9c6f653b499ceaa6d8e803dd8b32cd701a7fbbe151f7f3ea2dc30555c520ded53f023a21b119be97c2b07ae1ab413479cfde677e2073f3d48e36b
 SHA512 
ba136bd531899ce9e87d458bd6f7d16f45509def37e4fd7aafc16d0e122fe5f56d0eb9dbc3e722dbb6c9812913a7aafa4b749a9c727ab0988908b1e2a425
-DIST polybar-3.3.1.tar.gz 248790 BLAKE2B 
30c2cd2ff537f3a2fe2fe7ce489b5a0ab76a54cd42bbdf8b3727e5f4298898e289c6ea10a460385d8bcdc8ab11749255573bf7d728a01eae895a1ed8a2214c27
 SHA512 
c0bfaf99dcd19f8fcca8bd041c0f9e5f11fb822c92cf12edc2c59e67896f566ee46d1a0d75f5583d393af3a1958c3244a4eb28224f6336e9eaa98a50d740f834
 DIST polybar-3.4.2.tar.gz 253194 BLAKE2B 
136dd32d524902fccbf9db2b2fa8ed582d45565aa0e834af9610e6f692ef70d3e5e066c6021060df9cedf2e1aa2c92753e4fc4ce9c0935795ef4b0056c273687
 SHA512 
2205847ebc03040e8d2a2581d2c70e940157c5dba71e0c2d086c0f0971a6ffd83c42846a85dd93165512f35710e3f3af8b4494bcd695f71ef0ac501f74753dfd
-DIST xpp-1.4.0.tar.gz 84095 BLAKE2B 
2af4221953abe7f40473c55cd50c608b54ebc85a62be65af987ed5e6c5eaf56fbd92531788becf39ba5ad52099ac78f36e9b2a2515b473f4d86ed5fda3fa5065
 SHA512 
d34cbbe2391db36db7dffac0415d26b7487536e97c4d7efd472ab0aeffa4c8e757ee030b05e2aa1cfa8a591ee591bb96a6db7eb9fa5850027f958e92f078739c
 DIST xpp-8c019e6d7fefd2468791bc1cbf90d68ff7c1ba33.tar.gz 83974 BLAKE2B 
6ea8599136288c006b6993bd6c704ec32d82773153733b4bc6a9c3f326eaf6f3b155d92f270eeb14d57b399f7b5ea0f6bdd5cee41bb5bdf4c1650f337b77f857
 SHA512 
92874b25305b3be777e739122ff82f1ba16b8e2e445e8ee4891918074ea8ea371f2016d7901cfc477d0286a9e15910c4cee431a11eb71e32728bfbf561313e4f

diff --git a/x11-misc/polybar/files/polybar-3.3.1-eventstruct.patch 
b/x11-misc/polybar/files/polybar-3.3.1-eventstruct.patch
deleted file mode 100644
index 93bf034f7de..000
--- a/x11-misc/polybar/files/polybar-3.3.1-eventstruct.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 00165e1a6d5dd61bc153e1352b21ec07fc81245d Mon Sep 17 00:00:00 2001
-From: patrick96 
-Date: Sun, 11 Feb 2018 21:27:52 +0100
-Subject: [PATCH] fix(generators): Add support for eventstruct
-
-Newer xcb-proto commits after the 1.12 release require the 'eventstruct'
-key in the output dictionary, otherwise the generator crashes.
-
-I don't see a need for xpp to actually support the eventstruct key and
-thus it uses a NOP lambda function

- generators/cpp_client.py | 19 ++-
- 1 file changed, 10 insertions(+), 9 deletions(-)
-
-diff --git a/generators/cpp_client.py b/generators/cpp_client.py
-index 20d116f..709e8d8 100644
 a/lib/xpp/generators/cpp_client.py
-+++ b/lib/xpp/generators/cpp_client.py
-@@ -3130,15 +3130,16 @@ def cpp_type_classes():
- #   }
- 
- # Must create an "output" dictionary before any xcbgen imports.
--output = {'open': c_open,
--  'close'   : c_close,
--  'simple'  : c_simple, # lambda x, y: None,
--  'enum': lambda x, y: None,
--  'struct'  : lambda x, y: None,
--  'union'   : lambda x, y: None,
--  'request' : c_request,
--  'event'   : cpp_event,
--  'error'   : cpp_error,
-+output = {'open'  : c_open,
-+  'close' : c_close,
-+  'simple': c_simple, # lambda x, y: None,
-+  'enum'  : lambda x, y: None,
-+  'struct': lambda x, y: None,
-+  'union' : lambda x, y: None,
-+  'request'   : c_request,
-+  'event' : cpp_event,
-+  'error' : cpp_error,
-+  'eventstruct'   : lambda x, y: None,
-   }
- 
- # Boilerplate below this point

diff --git 

[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2020-02-13 Thread Agostino Sarubbo
commit: 77c00111c6c4ff1d22c625394d94ecd30317a66d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Feb 13 12:46:03 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Feb 13 12:46:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77c00111

x11-misc/polybar: x86 stable wrt bug #709394

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/polybar/polybar-3.4.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/polybar/polybar-3.4.2-r1.ebuild 
b/x11-misc/polybar/polybar-3.4.2-r1.ebuild
index 9800856022e..1e8fb05ec22 100644
--- a/x11-misc/polybar/polybar-3.4.2-r1.ebuild
+++ b/x11-misc/polybar/polybar-3.4.2-r1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/polybar/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
https://github.com/polybar/xpp/archive/${XPP_COMMIT}.tar.gz -> 
xpp-${XPP_COMMIT}.tar.gz
https://github.com/polybar/i3ipcpp/archive/${I3IPCPP_COMMIT}.tar.gz -> 
i3ipcpp-${I3IPCPP_COMMIT}.tar.gz"
 
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 LICENSE="MIT"
 SLOT="0"
 



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2020-02-13 Thread Agostino Sarubbo
commit: 3a7499d83bc71f02fcb5b439532965b5b9e55fda
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Feb 13 12:03:08 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Feb 13 12:03:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a7499d8

x11-misc/polybar: amd64 stable wrt bug #709394

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/polybar/polybar-3.4.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/polybar/polybar-3.4.2-r1.ebuild 
b/x11-misc/polybar/polybar-3.4.2-r1.ebuild
index 70111d6c06d..9800856022e 100644
--- a/x11-misc/polybar/polybar-3.4.2-r1.ebuild
+++ b/x11-misc/polybar/polybar-3.4.2-r1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/polybar/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
https://github.com/polybar/xpp/archive/${XPP_COMMIT}.tar.gz -> 
xpp-${XPP_COMMIT}.tar.gz
https://github.com/polybar/i3ipcpp/archive/${I3IPCPP_COMMIT}.tar.gz -> 
i3ipcpp-${I3IPCPP_COMMIT}.tar.gz"
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 LICENSE="MIT"
 SLOT="0"
 



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2020-02-12 Thread Johannes Huber
commit: 519ce6bc173d6880a409ddbeb0b44247336bbe1a
Author: Johannes Huber  gentoo  org>
AuthorDate: Wed Feb 12 17:20:44 2020 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Wed Feb 12 17:20:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=519ce6bc

x11-misc/polybar: Fix use dep on xcb-proto

Closes: https://bugs.gentoo.org/708158
Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Johannes Huber  gentoo.org>

 x11-misc/polybar/polybar-3.4.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/polybar/polybar-3.4.2-r1.ebuild 
b/x11-misc/polybar/polybar-3.4.2-r1.ebuild
index 0c63677028c..70111d6c06d 100644
--- a/x11-misc/polybar/polybar-3.4.2-r1.ebuild
+++ b/x11-misc/polybar/polybar-3.4.2-r1.ebuild
@@ -23,7 +23,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="
${PYTHON_DEPS}
-   x11-base/xcb-proto
+   $(python_gen_cond_dep 'x11-base/xcb-proto[${PYTHON_MULTI_USEDEP}]')
x11-libs/cairo[X,xcb(+)]
x11-libs/libxcb[xkb]
x11-libs/xcb-util-image



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2020-01-14 Thread Matt Turner
commit: 36b6a4418060b6ca8f2b134fdc24358162fe8c24
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Jan 14 22:40:39 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Jan 14 22:47:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36b6a441

x11-misc/polybar: Update x11-libs/cairo dependency

Signed-off-by: Matt Turner  gentoo.org>

 x11-misc/polybar/{polybar-3.3.1.ebuild => polybar-3.3.1-r1.ebuild} | 2 +-
 x11-misc/polybar/{polybar-3.4.2.ebuild => polybar-3.4.2-r1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/polybar/polybar-3.3.1.ebuild 
b/x11-misc/polybar/polybar-3.3.1-r1.ebuild
similarity index 98%
rename from x11-misc/polybar/polybar-3.3.1.ebuild
rename to x11-misc/polybar/polybar-3.3.1-r1.ebuild
index 9601feaf922..38ba2d04f07 100644
--- a/x11-misc/polybar/polybar-3.3.1.ebuild
+++ b/x11-misc/polybar/polybar-3.3.1-r1.ebuild
@@ -31,7 +31,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 DEPEND="
${PYTHON_DEPS}
x11-base/xcb-proto
-   x11-libs/cairo[xcb]
+   x11-libs/cairo[X,xcb(+)]
x11-libs/libxcb[xkb]
x11-libs/xcb-util-image
x11-libs/xcb-util-wm

diff --git a/x11-misc/polybar/polybar-3.4.2.ebuild 
b/x11-misc/polybar/polybar-3.4.2-r1.ebuild
similarity index 98%
rename from x11-misc/polybar/polybar-3.4.2.ebuild
rename to x11-misc/polybar/polybar-3.4.2-r1.ebuild
index e9b811dc1f2..0c63677028c 100644
--- a/x11-misc/polybar/polybar-3.4.2.ebuild
+++ b/x11-misc/polybar/polybar-3.4.2-r1.ebuild
@@ -24,7 +24,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 DEPEND="
${PYTHON_DEPS}
x11-base/xcb-proto
-   x11-libs/cairo[xcb]
+   x11-libs/cairo[X,xcb(+)]
x11-libs/libxcb[xkb]
x11-libs/xcb-util-image
x11-libs/xcb-util-wm



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2020-01-13 Thread Johannes Huber
commit: 037f916de1172c557cd4cc31bf51080dc93526ce
Author: Johannes Huber  gentoo  org>
AuthorDate: Mon Jan 13 20:02:05 2020 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Mon Jan 13 20:08:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=037f916d

x11-misc/polybar: Fix dependencies for use i3wm

Reported-by: Lineu Martins  linuxmail.org>
Closes: https://bugs.gentoo.org/705160
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Johannes Huber  gentoo.org>

 x11-misc/polybar/polybar-3.4.2.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/x11-misc/polybar/polybar-3.4.2.ebuild 
b/x11-misc/polybar/polybar-3.4.2.ebuild
index 43a60e76c0a..e9b811dc1f2 100644
--- a/x11-misc/polybar/polybar-3.4.2.ebuild
+++ b/x11-misc/polybar/polybar-3.4.2.ebuild
@@ -31,7 +31,10 @@ DEPEND="
x11-libs/xcb-util-xrm
alsa? ( media-libs/alsa-lib )
curl? ( net-misc/curl )
-   i3wm? ( dev-libs/jsoncpp )
+   i3wm? (
+   dev-libs/jsoncpp
+   || ( x11-wm/i3 x11-wm/i3-gaps )
+   )
mpd? ( media-libs/libmpdclient )
network? ( net-wireless/wireless-tools )
pulseaudio? ( media-sound/pulseaudio )



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2020-01-01 Thread Johannes Huber
commit: 1c181cc1094f7f0eb6f7b1364825a241586db4e2
Author: Johannes Huber  gentoo  org>
AuthorDate: Wed Jan  1 21:11:33 2020 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Wed Jan  1 21:12:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c181cc1

x11-misc/polybar: Update remote id

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Johannes Huber  gentoo.org>

 x11-misc/polybar/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/polybar/metadata.xml b/x11-misc/polybar/metadata.xml
index 7a2477b509e..39fc3619860 100644
--- a/x11-misc/polybar/metadata.xml
+++ b/x11-misc/polybar/metadata.xml
@@ -12,6 +12,6 @@
Enable network support


-   jaagr/polybar
+   polybar/polybar

 



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2020-01-01 Thread Johannes Huber
commit: fd045db6c10cdbd2904036bd26f8b5512ded0fb8
Author: Johannes Huber  gentoo  org>
AuthorDate: Wed Jan  1 21:10:33 2020 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Wed Jan  1 21:11:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd045db6

x11-misc/polybar: Version bump 3.4.2

Closes: https://bugs.gentoo.org/688374
Closes: https://bugs.gentoo.org/698924
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Johannes Huber  gentoo.org>

 x11-misc/polybar/Manifest |  3 ++
 x11-misc/polybar/polybar-3.4.2.ebuild | 64 +++
 2 files changed, 67 insertions(+)

diff --git a/x11-misc/polybar/Manifest b/x11-misc/polybar/Manifest
index d4f83e2bd94..a1f10592356 100644
--- a/x11-misc/polybar/Manifest
+++ b/x11-misc/polybar/Manifest
@@ -1,3 +1,6 @@
 DIST i3ipcpp-0.7.1.tar.gz 191417 BLAKE2B 
62b76a0921c78f374309d26856c01d1467b8bd181ce922fd47daec406afda9d76eea9a1f473b4899e22f99e2ef36fc70f72db1bb17eb1f3e71a8431c2634b915
 SHA512 
ef9f591bb4436916ad038bcb0c15ea3415d1978ff264fb276108ddac89c98515c464fbf252429f6a76589cb78e1434adba2efefb5a844dadad0e261f3806fb72
+DIST i3ipcpp-21ce9060ac7c502225fdbd2f200b1cbdd8eca08d.tar.gz 191599 BLAKE2B 
85488a6c2ab9c6f653b499ceaa6d8e803dd8b32cd701a7fbbe151f7f3ea2dc30555c520ded53f023a21b119be97c2b07ae1ab413479cfde677e2073f3d48e36b
 SHA512 
ba136bd531899ce9e87d458bd6f7d16f45509def37e4fd7aafc16d0e122fe5f56d0eb9dbc3e722dbb6c9812913a7aafa4b749a9c727ab0988908b1e2a425
 DIST polybar-3.3.1.tar.gz 248790 BLAKE2B 
30c2cd2ff537f3a2fe2fe7ce489b5a0ab76a54cd42bbdf8b3727e5f4298898e289c6ea10a460385d8bcdc8ab11749255573bf7d728a01eae895a1ed8a2214c27
 SHA512 
c0bfaf99dcd19f8fcca8bd041c0f9e5f11fb822c92cf12edc2c59e67896f566ee46d1a0d75f5583d393af3a1958c3244a4eb28224f6336e9eaa98a50d740f834
+DIST polybar-3.4.2.tar.gz 253194 BLAKE2B 
136dd32d524902fccbf9db2b2fa8ed582d45565aa0e834af9610e6f692ef70d3e5e066c6021060df9cedf2e1aa2c92753e4fc4ce9c0935795ef4b0056c273687
 SHA512 
2205847ebc03040e8d2a2581d2c70e940157c5dba71e0c2d086c0f0971a6ffd83c42846a85dd93165512f35710e3f3af8b4494bcd695f71ef0ac501f74753dfd
 DIST xpp-1.4.0.tar.gz 84095 BLAKE2B 
2af4221953abe7f40473c55cd50c608b54ebc85a62be65af987ed5e6c5eaf56fbd92531788becf39ba5ad52099ac78f36e9b2a2515b473f4d86ed5fda3fa5065
 SHA512 
d34cbbe2391db36db7dffac0415d26b7487536e97c4d7efd472ab0aeffa4c8e757ee030b05e2aa1cfa8a591ee591bb96a6db7eb9fa5850027f958e92f078739c
+DIST xpp-8c019e6d7fefd2468791bc1cbf90d68ff7c1ba33.tar.gz 83974 BLAKE2B 
6ea8599136288c006b6993bd6c704ec32d82773153733b4bc6a9c3f326eaf6f3b155d92f270eeb14d57b399f7b5ea0f6bdd5cee41bb5bdf4c1650f337b77f857
 SHA512 
92874b25305b3be777e739122ff82f1ba16b8e2e445e8ee4891918074ea8ea371f2016d7901cfc477d0286a9e15910c4cee431a11eb71e32728bfbf561313e4f

diff --git a/x11-misc/polybar/polybar-3.4.2.ebuild 
b/x11-misc/polybar/polybar-3.4.2.ebuild
new file mode 100644
index 000..43a60e76c0a
--- /dev/null
+++ b/x11-misc/polybar/polybar-3.4.2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+XPP_COMMIT="8c019e6d7fefd2468791bc1cbf90d68ff7c1ba33"
+I3IPCPP_COMMIT="21ce9060ac7c502225fdbd2f200b1cbdd8eca08d"
+inherit cmake-utils python-single-r1
+
+DESCRIPTION="A fast and easy-to-use tool for creating status bars"
+HOMEPAGE="https://github.com/polybar/polybar;
+SRC_URI="https://github.com/polybar/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+   https://github.com/polybar/xpp/archive/${XPP_COMMIT}.tar.gz -> 
xpp-${XPP_COMMIT}.tar.gz
+   https://github.com/polybar/i3ipcpp/archive/${I3IPCPP_COMMIT}.tar.gz -> 
i3ipcpp-${I3IPCPP_COMMIT}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="MIT"
+SLOT="0"
+
+IUSE="alsa curl i3wm ipc mpd network pulseaudio"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+   ${PYTHON_DEPS}
+   x11-base/xcb-proto
+   x11-libs/cairo[xcb]
+   x11-libs/libxcb[xkb]
+   x11-libs/xcb-util-image
+   x11-libs/xcb-util-wm
+   x11-libs/xcb-util-xrm
+   alsa? ( media-libs/alsa-lib )
+   curl? ( net-misc/curl )
+   i3wm? ( dev-libs/jsoncpp )
+   mpd? ( media-libs/libmpdclient )
+   network? ( net-wireless/wireless-tools )
+   pulseaudio? ( media-sound/pulseaudio )
+"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   rmdir "${S}"/lib/xpp || die
+   mv "${WORKDIR}"/xpp-$XPP_COMMIT "${S}"/lib/xpp || die
+
+   rmdir "${S}"/lib/i3ipcpp || die
+   mv "${WORKDIR}"/i3ipcpp-$I3IPCPP_COMMIT "${S}"/lib/i3ipcpp || die
+
+   cmake-utils_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_ALSA="$(usex alsa)"
+   -DENABLE_CURL="$(usex curl)"
+   -DENABLE_I3="$(usex i3wm)"
+   -DBUILD_IPC_MSG="$(usex ipc)"
+   -DENABLE_MPD="$(usex mpd)"
+   -DENABLE_NETWORK="$(usex network)"
+   -DENABLE_PULSEAUDIO="$(usex pulseaudio)"
+   )
+
+   

[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2020-01-01 Thread Johannes Huber
commit: f89a337d17f25c53c8b61c95abce7e348f5c0cc2
Author: Johannes Huber  gentoo  org>
AuthorDate: Wed Jan  1 19:50:52 2020 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Wed Jan  1 19:50:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f89a337d

x11-misc/polybar: Remove 3.2.1

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Johannes Huber  gentoo.org>

 x11-misc/polybar/Manifest |  1 -
 x11-misc/polybar/polybar-3.2.1.ebuild | 67 ---
 2 files changed, 68 deletions(-)

diff --git a/x11-misc/polybar/Manifest b/x11-misc/polybar/Manifest
index e9570d0e669..d4f83e2bd94 100644
--- a/x11-misc/polybar/Manifest
+++ b/x11-misc/polybar/Manifest
@@ -1,4 +1,3 @@
 DIST i3ipcpp-0.7.1.tar.gz 191417 BLAKE2B 
62b76a0921c78f374309d26856c01d1467b8bd181ce922fd47daec406afda9d76eea9a1f473b4899e22f99e2ef36fc70f72db1bb17eb1f3e71a8431c2634b915
 SHA512 
ef9f591bb4436916ad038bcb0c15ea3415d1978ff264fb276108ddac89c98515c464fbf252429f6a76589cb78e1434adba2efefb5a844dadad0e261f3806fb72
-DIST polybar-3.2.1.tar.gz 242327 BLAKE2B 
eb7bfe6e6d58fb4389016b8e5c73feea3984ce3ccefdb1acf202c6d2873a634e4d096658b850e8534c5c8c56e42ac66b3b8e80dabf5625491e5f56523b043ddf
 SHA512 
e93c33738029b2e56a5dda75cbf3ee804c0d89c406444da6991ea8a5dd00e5544ef51d20f3d67ec293fc55ab7095e8e3057aaf8d1c08af61cf0531297e55a18d
 DIST polybar-3.3.1.tar.gz 248790 BLAKE2B 
30c2cd2ff537f3a2fe2fe7ce489b5a0ab76a54cd42bbdf8b3727e5f4298898e289c6ea10a460385d8bcdc8ab11749255573bf7d728a01eae895a1ed8a2214c27
 SHA512 
c0bfaf99dcd19f8fcca8bd041c0f9e5f11fb822c92cf12edc2c59e67896f566ee46d1a0d75f5583d393af3a1958c3244a4eb28224f6336e9eaa98a50d740f834
 DIST xpp-1.4.0.tar.gz 84095 BLAKE2B 
2af4221953abe7f40473c55cd50c608b54ebc85a62be65af987ed5e6c5eaf56fbd92531788becf39ba5ad52099ac78f36e9b2a2515b473f4d86ed5fda3fa5065
 SHA512 
d34cbbe2391db36db7dffac0415d26b7487536e97c4d7efd472ab0aeffa4c8e757ee030b05e2aa1cfa8a591ee591bb96a6db7eb9fa5850027f958e92f078739c

diff --git a/x11-misc/polybar/polybar-3.2.1.ebuild 
b/x11-misc/polybar/polybar-3.2.1.ebuild
deleted file mode 100644
index 480c094886d..000
--- a/x11-misc/polybar/polybar-3.2.1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-utils python-single-r1
-
-XPP_VERSION="1.4.0"
-I3IPCPP_VERSION="0.7.1"
-
-DESCRIPTION="A fast and easy-to-use tool for creating status bars"
-HOMEPAGE="https://github.com/jaagr/polybar;
-SRC_URI="https://github.com/jaagr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
-   https://github.com/jaagr/xpp/archive/${XPP_VERSION}.tar.gz -> 
xpp-${XPP_VERSION}.tar.gz
-   https://github.com/jaagr/i3ipcpp/archive/v${I3IPCPP_VERSION}.tar.gz -> 
i3ipcpp-${I3IPCPP_VERSION}.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-IUSE="alsa curl i3wm ipc mpd network pulseaudio"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="
-   ${PYTHON_DEPS}
-   x11-base/xcb-proto
-   x11-libs/cairo[xcb]
-   x11-libs/libxcb[xkb]
-   x11-libs/xcb-util-image
-   x11-libs/xcb-util-wm
-   x11-libs/xcb-util-xrm
-   alsa? ( media-libs/alsa-lib )
-   curl? ( net-misc/curl )
-   i3wm? ( dev-libs/jsoncpp )
-   mpd? ( media-libs/libmpdclient )
-   network? ( net-wireless/wireless-tools )
-   pulseaudio? ( media-sound/pulseaudio )
-"
-
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   cmake-utils_src_prepare
-
-   rmdir "${S}"/lib/xpp || die
-   mv "${WORKDIR}"/xpp-$XPP_VERSION "${S}"/lib/xpp || die
-
-   rmdir "${S}"/lib/i3ipcpp || die
-   mv "${WORKDIR}"/i3ipcpp-$I3IPCPP_VERSION "${S}"/lib/i3ipcpp || die
-
-   sed -i "s/.*cpp_error,.*/&\n\t  'eventstruct'   : lambda x, y: None,/" 
lib/xpp/generators/cpp_client.py || die "sed failed"
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_ALSA="$(usex alsa)"
-   -DENABLE_CURL="$(usex curl)"
-   -DENABLE_I3="$(usex i3wm)"
-   -DBUILD_IPC_MSG="$(usex ipc)"
-   -DENABLE_MPD="$(usex mpd)"
-   -DENABLE_NETWORK="$(usex network)"
-   -DENABLE_PULSEAUDIO="$(usex pulseaudio)"
-   )
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2020-01-01 Thread Johannes Huber
commit: 81577790111c6de553c1855613c08bc945d9742b
Author: Johannes Huber  gentoo  org>
AuthorDate: Wed Jan  1 19:52:00 2020 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Wed Jan  1 19:52:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81577790

x11-misc/polybar: Remove live

Closes: https://bugs.gentoo.org/702454
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Johannes Huber  gentoo.org>

 x11-misc/polybar/polybar-.ebuild | 73 
 1 file changed, 73 deletions(-)

diff --git a/x11-misc/polybar/polybar-.ebuild 
b/x11-misc/polybar/polybar-.ebuild
deleted file mode 100644
index adddc936af6..000
--- a/x11-misc/polybar/polybar-.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils python-single-r1
-
-DESCRIPTION="A fast and easy-to-use tool for creating status bars"
-HOMEPAGE="https://github.com/jaagr/polybar;
-
-if [[ ${PV} != ** ]]; then
-   XPP_VERSION="1.4.0"
-   I3IPCPP_VERSION="0.7.1"
-   SRC_URI="https://github.com/jaagr/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz
-   https://github.com/jaagr/xpp/archive/${XPP_VERSION}.tar.gz -> 
xpp-${XPP_VERSION}.tar.gz
-   
https://github.com/jaagr/i3ipcpp/archive/v${I3IPCPP_VERSION}.tar.gz -> 
i3ipcpp-${I3IPCPP_VERSION}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-else
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/jaagr/${PN}.git;
-   EGIT_CLONE_TYPE="shallow"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-
-IUSE="alsa curl i3wm ipc mpd network pulseaudio"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="
-   ${PYTHON_DEPS}
-   x11-base/xcb-proto
-   x11-libs/cairo[xcb]
-   x11-libs/libxcb[xkb]
-   x11-libs/xcb-util-image
-   x11-libs/xcb-util-wm
-   x11-libs/xcb-util-xrm
-   alsa? ( media-libs/alsa-lib )
-   curl? ( net-misc/curl )
-   i3wm? ( dev-libs/jsoncpp )
-   mpd? ( media-libs/libmpdclient )
-   network? ( net-wireless/wireless-tools )
-   pulseaudio? ( media-sound/pulseaudio )
-"
-
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   if [[ ${PV} != ** ]]; then
-   rmdir "${S}"/lib/xpp || die
-   mv "${WORKDIR}"/xpp-$XPP_VERSION "${S}"/lib/xpp || die
-
-   rmdir "${S}"/lib/i3ipcpp || die
-   mv "${WORKDIR}"/i3ipcpp-$I3IPCPP_VERSION "${S}"/lib/i3ipcpp || 
die
-   fi
-
-   cmake-utils_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_ALSA="$(usex alsa)"
-   -DENABLE_CURL="$(usex curl)"
-   -DENABLE_I3="$(usex i3wm)"
-   -DBUILD_IPC_MSG="$(usex ipc)"
-   -DENABLE_MPD="$(usex mpd)"
-   -DENABLE_NETWORK="$(usex network)"
-   -DENABLE_PULSEAUDIO="$(usex pulseaudio)"
-   )
-
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2019-10-28 Thread Agostino Sarubbo
commit: ef264955adbde3cda04d706f572d51bae9c20da0
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Oct 28 07:40:43 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Oct 28 07:40:43 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef264955

x11-misc/polybar: amd64 stable wrt bug #691030

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/polybar/polybar-3.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/polybar/polybar-3.3.1.ebuild 
b/x11-misc/polybar/polybar-3.3.1.ebuild
index 1e894546621..9601feaf922 100644
--- a/x11-misc/polybar/polybar-3.3.1.ebuild
+++ b/x11-misc/polybar/polybar-3.3.1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} != ** ]]; then
SRC_URI="https://github.com/jaagr/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz
https://github.com/jaagr/xpp/archive/${XPP_VERSION}.tar.gz -> 
xpp-${XPP_VERSION}.tar.gz

https://github.com/jaagr/i3ipcpp/archive/v${I3IPCPP_VERSION}.tar.gz -> 
i3ipcpp-${I3IPCPP_VERSION}.tar.gz"
-   KEYWORDS="~amd64 x86"
+   KEYWORDS="amd64 x86"
 else
inherit git-r3
EGIT_REPO_URI="https://github.com/jaagr/${PN}.git;



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2019-10-27 Thread Thomas Deutschmann
commit: a00c33706c87570b72d9fc5715731cac78ac1812
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Oct 27 23:19:35 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Oct 27 23:19:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a00c3370

x11-misc/polybar: x86 stable (bug #691030)

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann  gentoo.org>

 x11-misc/polybar/polybar-3.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/polybar/polybar-3.3.1.ebuild 
b/x11-misc/polybar/polybar-3.3.1.ebuild
index 304f98fa0c1..1e894546621 100644
--- a/x11-misc/polybar/polybar-3.3.1.ebuild
+++ b/x11-misc/polybar/polybar-3.3.1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} != ** ]]; then
SRC_URI="https://github.com/jaagr/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz
https://github.com/jaagr/xpp/archive/${XPP_VERSION}.tar.gz -> 
xpp-${XPP_VERSION}.tar.gz

https://github.com/jaagr/i3ipcpp/archive/v${I3IPCPP_VERSION}.tar.gz -> 
i3ipcpp-${I3IPCPP_VERSION}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="~amd64 x86"
 else
inherit git-r3
EGIT_REPO_URI="https://github.com/jaagr/${PN}.git;



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/files/, x11-misc/polybar/

2019-06-23 Thread Johannes Huber
commit: 0947131eabed1130003372fc4039c89b0fe2f103
Author: Johannes Huber  gentoo  org>
AuthorDate: Sun Jun 23 12:19:58 2019 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sun Jun 23 12:20:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0947131e

x11-misc/polybar: Fix build w/ gcc-9

Closes: https://bugs.gentoo.org/686994
Thanks-to: Ivan Bagaev  gmail.com>
Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: Johannes Huber  gentoo.org>

 x11-misc/polybar/files/polybar-3.3.1-gcc9.patch| 43 ++
 .../polybar/files/polybar-3.3.1-i3ipcpp-gcc9.patch | 29 +++
 .../polybar/files/polybar-3.3.1-xpp-gcc9.patch | 23 
 x11-misc/polybar/polybar-3.3.1.ebuild  |  7 +++-
 4 files changed, 101 insertions(+), 1 deletion(-)

diff --git a/x11-misc/polybar/files/polybar-3.3.1-gcc9.patch 
b/x11-misc/polybar/files/polybar-3.3.1-gcc9.patch
new file mode 100644
index 000..7df7b99fa65
--- /dev/null
+++ b/x11-misc/polybar/files/polybar-3.3.1-gcc9.patch
@@ -0,0 +1,43 @@
+From 8b648b9265ed6f09802bd749ec8bf74181032b39 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?J=C3=A9r=C3=B4me=20BOULMIER?= 
+Date: Sun, 7 Apr 2019 02:10:38 -0400
+Subject: [PATCH] fix(window): remove useless operator= and add default copy
+ cstr
+
+---
+ include/x11/window.hpp | 3 +--
+ src/x11/window.cpp | 5 -
+ 2 files changed, 1 insertion(+), 7 deletions(-)
+
+diff --git a/include/x11/window.hpp b/include/x11/window.hpp
+index 9490c3760..9ddfe9f45 100644
+--- a/include/x11/window.hpp
 b/include/x11/window.hpp
+@@ -12,10 +12,9 @@ class connection;
+ 
+ class window : public xpp::window {
+  public:
++  window(const window&) = default;
+   using xpp::window::window;
+ 
+-  window& operator=(const xcb_window_t win);
+-
+   window reconfigure_geom(unsigned short int w, unsigned short int h, short 
int x = 0, short int y = 0);
+   window reconfigure_pos(short int x, short int y);
+   window reconfigure_struts(unsigned short int w, unsigned short int h, short 
int x, bool bottom = false);
+diff --git a/src/x11/window.cpp b/src/x11/window.cpp
+index e22e4451e..35393ddc8 100644
+--- a/src/x11/window.cpp
 b/src/x11/window.cpp
+@@ -7,11 +7,6 @@
+ 
+ POLYBAR_NS
+ 
+-window& window::operator=(const xcb_window_t win) {
+-  resource(connection(), win);
+-  return *this;
+-}
+-
+ /**
+  * Reconfigure the window geometry
+  */

diff --git a/x11-misc/polybar/files/polybar-3.3.1-i3ipcpp-gcc9.patch 
b/x11-misc/polybar/files/polybar-3.3.1-i3ipcpp-gcc9.patch
new file mode 100644
index 000..beb0461885b
--- /dev/null
+++ b/x11-misc/polybar/files/polybar-3.3.1-i3ipcpp-gcc9.patch
@@ -0,0 +1,29 @@
+From d4e4786be35b48d72dc7e59cf85ec34a90d129b5 Mon Sep 17 00:00:00 2001
+From: patrick96 
+Date: Sun, 6 May 2018 18:25:32 +0200
+Subject: [PATCH] fix(gcc): Fix -Wstringop-truncation warning
+
+As mentioned in [1], gcc >=8 will complain, if strncpy truncates the
+source string or gcc can prove there is no NUL terminating byte.
+
+The header_t.magic field is a non-NUL terminated 6 byte string, so we
+use memcpy here
+
+[1] https://github.com/jaagr/polybar/issues/1215
+---
+ src/ipc-util.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/ipc-util.cpp b/src/ipc-util.cpp
+index 2e8ac8e..d9851ee 100644
+--- a/lib/i3ipcpp/src/ipc-util.cpp
 b/lib/i3ipcpp/src/ipc-util.cpp
+@@ -34,7 +34,7 @@ buf_t::buf_t(uint32_t  payload_size) : size(sizeof(header_t) 
+ payload_size) {
+   data = new uint8_t[size];
+   header = (header_t*)data;
+   payload = (char*)(data + sizeof(header_t));
+-  strncpy(header->magic, g_i3_ipc_magic.c_str(), sizeof(header->magic));
++  memcpy(header->magic, g_i3_ipc_magic.c_str(), sizeof(header->magic));
+   header->size = payload_size;
+   header->type = 0x0;
+ }

diff --git a/x11-misc/polybar/files/polybar-3.3.1-xpp-gcc9.patch 
b/x11-misc/polybar/files/polybar-3.3.1-xpp-gcc9.patch
new file mode 100644
index 000..f80a72f1279
--- /dev/null
+++ b/x11-misc/polybar/files/polybar-3.3.1-xpp-gcc9.patch
@@ -0,0 +1,23 @@
+From d2ff2aaba6489f606bbcc090c0a78a8a3f9fcd1f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?J=C3=A9r=C3=B4me=20BOULMIER?= 
+Date: Sun, 7 Apr 2019 10:34:32 -0400
+Subject: [PATCH] fix(window): add default copy cstr (#16)
+
+The copy constructor must be declared explicitly since the implicit 
declaration is deprecated.
+Ref jaagr/polybar#1729.
+---
+ include/xpp/window.hpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/xpp/window.hpp b/include/xpp/window.hpp
+index e5c6503..3e53074 100644
+--- a/lib/xpp/include/xpp/window.hpp
 b/lib/xpp/include/xpp/window.hpp
+@@ -23,6 +23,7 @@ class window
+ {}
+ 
+   public:
++window(const window&) = default;
+ using base::base;
+ using base::operator=;
+ 

diff --git a/x11-misc/polybar/polybar-3.3.1.ebuild 
b/x11-misc/polybar/polybar-3.3.1.ebuild
index ec73759fe76..304f98fa0c1 100644
--- 

[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/files/, x11-misc/polybar/

2019-06-23 Thread Johannes Huber
commit: 5bb90a4bbfa570b3ca06462cd7d7093f27fb5a9d
Author: Johannes Huber  gentoo  org>
AuthorDate: Sun Jun 23 11:53:47 2019 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sun Jun 23 12:20:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bb90a4b

x11-misc/polybar: Replace sed w/ patch

Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: Johannes Huber  gentoo.org>

 .../polybar/files/polybar-3.3.1-eventstruct.patch  | 44 ++
 x11-misc/polybar/polybar-3.3.1.ebuild  |  8 ++--
 x11-misc/polybar/polybar-.ebuild   |  6 +--
 3 files changed, 50 insertions(+), 8 deletions(-)

diff --git a/x11-misc/polybar/files/polybar-3.3.1-eventstruct.patch 
b/x11-misc/polybar/files/polybar-3.3.1-eventstruct.patch
new file mode 100644
index 000..93bf034f7de
--- /dev/null
+++ b/x11-misc/polybar/files/polybar-3.3.1-eventstruct.patch
@@ -0,0 +1,44 @@
+From 00165e1a6d5dd61bc153e1352b21ec07fc81245d Mon Sep 17 00:00:00 2001
+From: patrick96 
+Date: Sun, 11 Feb 2018 21:27:52 +0100
+Subject: [PATCH] fix(generators): Add support for eventstruct
+
+Newer xcb-proto commits after the 1.12 release require the 'eventstruct'
+key in the output dictionary, otherwise the generator crashes.
+
+I don't see a need for xpp to actually support the eventstruct key and
+thus it uses a NOP lambda function
+---
+ generators/cpp_client.py | 19 ++-
+ 1 file changed, 10 insertions(+), 9 deletions(-)
+
+diff --git a/generators/cpp_client.py b/generators/cpp_client.py
+index 20d116f..709e8d8 100644
+--- a/lib/xpp/generators/cpp_client.py
 b/lib/xpp/generators/cpp_client.py
+@@ -3130,15 +3130,16 @@ def cpp_type_classes():
+ #   }
+ 
+ # Must create an "output" dictionary before any xcbgen imports.
+-output = {'open': c_open,
+-  'close'   : c_close,
+-  'simple'  : c_simple, # lambda x, y: None,
+-  'enum': lambda x, y: None,
+-  'struct'  : lambda x, y: None,
+-  'union'   : lambda x, y: None,
+-  'request' : c_request,
+-  'event'   : cpp_event,
+-  'error'   : cpp_error,
++output = {'open'  : c_open,
++  'close' : c_close,
++  'simple': c_simple, # lambda x, y: None,
++  'enum'  : lambda x, y: None,
++  'struct': lambda x, y: None,
++  'union' : lambda x, y: None,
++  'request'   : c_request,
++  'event' : cpp_event,
++  'error' : cpp_error,
++  'eventstruct'   : lambda x, y: None,
+   }
+ 
+ # Boilerplate below this point

diff --git a/x11-misc/polybar/polybar-3.3.1.ebuild 
b/x11-misc/polybar/polybar-3.3.1.ebuild
index d90ec9a2e76..ec73759fe76 100644
--- a/x11-misc/polybar/polybar-3.3.1.ebuild
+++ b/x11-misc/polybar/polybar-3.3.1.ebuild
@@ -46,18 +46,18 @@ DEPEND="
 
 RDEPEND="${DEPEND}"
 
-src_prepare() {
-   cmake-utils_src_prepare
+PATCHES=( "${FILESDIR}/${P}-eventstruct.patch" )
 
+src_prepare() {
if [[ ${PV} != ** ]]; then
rmdir "${S}"/lib/xpp || die
mv "${WORKDIR}"/xpp-$XPP_VERSION "${S}"/lib/xpp || die
 
rmdir "${S}"/lib/i3ipcpp || die
mv "${WORKDIR}"/i3ipcpp-$I3IPCPP_VERSION "${S}"/lib/i3ipcpp || 
die
-
-   sed -i "s/.*cpp_error,.*/&\n\t  'eventstruct'   : lambda x, y: 
None,/" lib/xpp/generators/cpp_client.py || die "sed failed"
fi
+
+   cmake-utils_src_prepare
 }
 
 src_configure() {

diff --git a/x11-misc/polybar/polybar-.ebuild 
b/x11-misc/polybar/polybar-.ebuild
index 70e8d426aaf..adddc936af6 100644
--- a/x11-misc/polybar/polybar-.ebuild
+++ b/x11-misc/polybar/polybar-.ebuild
@@ -47,17 +47,15 @@ DEPEND="
 RDEPEND="${DEPEND}"
 
 src_prepare() {
-   cmake-utils_src_prepare
-
if [[ ${PV} != ** ]]; then
rmdir "${S}"/lib/xpp || die
mv "${WORKDIR}"/xpp-$XPP_VERSION "${S}"/lib/xpp || die
 
rmdir "${S}"/lib/i3ipcpp || die
mv "${WORKDIR}"/i3ipcpp-$I3IPCPP_VERSION "${S}"/lib/i3ipcpp || 
die
-
-   sed -i "s/.*cpp_error,.*/&\n\t  'eventstruct'   : lambda x, y: 
None,/" lib/xpp/generators/cpp_client.py || die "sed failed"
fi
+
+   cmake-utils_src_prepare
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2019-05-28 Thread Johannes Huber
commit: c75fb0ca96bc9321c4c95542787bbe9ed7234c36
Author: Johannes Huber  gentoo  org>
AuthorDate: Tue May 28 20:05:20 2019 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Tue May 28 20:05:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c75fb0ca

x11-misc/polybar: Version bump 3.3.1

Closes: https://bugs.gentoo.org/686004
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Johannes Huber  gentoo.org>

 x11-misc/polybar/Manifest |  1 +
 x11-misc/polybar/polybar-3.3.1.ebuild | 75 +++
 2 files changed, 76 insertions(+)

diff --git a/x11-misc/polybar/Manifest b/x11-misc/polybar/Manifest
index b6a13b55204..e9570d0e669 100644
--- a/x11-misc/polybar/Manifest
+++ b/x11-misc/polybar/Manifest
@@ -1,3 +1,4 @@
 DIST i3ipcpp-0.7.1.tar.gz 191417 BLAKE2B 
62b76a0921c78f374309d26856c01d1467b8bd181ce922fd47daec406afda9d76eea9a1f473b4899e22f99e2ef36fc70f72db1bb17eb1f3e71a8431c2634b915
 SHA512 
ef9f591bb4436916ad038bcb0c15ea3415d1978ff264fb276108ddac89c98515c464fbf252429f6a76589cb78e1434adba2efefb5a844dadad0e261f3806fb72
 DIST polybar-3.2.1.tar.gz 242327 BLAKE2B 
eb7bfe6e6d58fb4389016b8e5c73feea3984ce3ccefdb1acf202c6d2873a634e4d096658b850e8534c5c8c56e42ac66b3b8e80dabf5625491e5f56523b043ddf
 SHA512 
e93c33738029b2e56a5dda75cbf3ee804c0d89c406444da6991ea8a5dd00e5544ef51d20f3d67ec293fc55ab7095e8e3057aaf8d1c08af61cf0531297e55a18d
+DIST polybar-3.3.1.tar.gz 248790 BLAKE2B 
30c2cd2ff537f3a2fe2fe7ce489b5a0ab76a54cd42bbdf8b3727e5f4298898e289c6ea10a460385d8bcdc8ab11749255573bf7d728a01eae895a1ed8a2214c27
 SHA512 
c0bfaf99dcd19f8fcca8bd041c0f9e5f11fb822c92cf12edc2c59e67896f566ee46d1a0d75f5583d393af3a1958c3244a4eb28224f6336e9eaa98a50d740f834
 DIST xpp-1.4.0.tar.gz 84095 BLAKE2B 
2af4221953abe7f40473c55cd50c608b54ebc85a62be65af987ed5e6c5eaf56fbd92531788becf39ba5ad52099ac78f36e9b2a2515b473f4d86ed5fda3fa5065
 SHA512 
d34cbbe2391db36db7dffac0415d26b7487536e97c4d7efd472ab0aeffa4c8e757ee030b05e2aa1cfa8a591ee591bb96a6db7eb9fa5850027f958e92f078739c

diff --git a/x11-misc/polybar/polybar-3.3.1.ebuild 
b/x11-misc/polybar/polybar-3.3.1.ebuild
new file mode 100644
index 000..d90ec9a2e76
--- /dev/null
+++ b/x11-misc/polybar/polybar-3.3.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+inherit cmake-utils python-single-r1
+
+DESCRIPTION="A fast and easy-to-use tool for creating status bars"
+HOMEPAGE="https://github.com/jaagr/polybar;
+
+if [[ ${PV} != ** ]]; then
+   XPP_VERSION="1.4.0"
+   I3IPCPP_VERSION="0.7.1"
+   SRC_URI="https://github.com/jaagr/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz
+   https://github.com/jaagr/xpp/archive/${XPP_VERSION}.tar.gz -> 
xpp-${XPP_VERSION}.tar.gz
+   
https://github.com/jaagr/i3ipcpp/archive/v${I3IPCPP_VERSION}.tar.gz -> 
i3ipcpp-${I3IPCPP_VERSION}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+else
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/jaagr/${PN}.git;
+   EGIT_CLONE_TYPE="shallow"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+IUSE="alsa curl i3wm ipc mpd network pulseaudio"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+   ${PYTHON_DEPS}
+   x11-base/xcb-proto
+   x11-libs/cairo[xcb]
+   x11-libs/libxcb[xkb]
+   x11-libs/xcb-util-image
+   x11-libs/xcb-util-wm
+   x11-libs/xcb-util-xrm
+   alsa? ( media-libs/alsa-lib )
+   curl? ( net-misc/curl )
+   i3wm? ( dev-libs/jsoncpp )
+   mpd? ( media-libs/libmpdclient )
+   network? ( net-wireless/wireless-tools )
+   pulseaudio? ( media-sound/pulseaudio )
+"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   cmake-utils_src_prepare
+
+   if [[ ${PV} != ** ]]; then
+   rmdir "${S}"/lib/xpp || die
+   mv "${WORKDIR}"/xpp-$XPP_VERSION "${S}"/lib/xpp || die
+
+   rmdir "${S}"/lib/i3ipcpp || die
+   mv "${WORKDIR}"/i3ipcpp-$I3IPCPP_VERSION "${S}"/lib/i3ipcpp || 
die
+
+   sed -i "s/.*cpp_error,.*/&\n\t  'eventstruct'   : lambda x, y: 
None,/" lib/xpp/generators/cpp_client.py || die "sed failed"
+   fi
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_ALSA="$(usex alsa)"
+   -DENABLE_CURL="$(usex curl)"
+   -DENABLE_I3="$(usex i3wm)"
+   -DBUILD_IPC_MSG="$(usex ipc)"
+   -DENABLE_MPD="$(usex mpd)"
+   -DENABLE_NETWORK="$(usex network)"
+   -DENABLE_PULSEAUDIO="$(usex pulseaudio)"
+   )
+
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2019-05-28 Thread Johannes Huber
commit: fd51a6358515998e2573d7c84619d41ff4a39578
Author: Johannes Huber  gentoo  org>
AuthorDate: Tue May 28 19:59:30 2019 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Tue May 28 20:05:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd51a635

x11-misc/polybar: Release switch

Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Johannes Huber  gentoo.org>

 x11-misc/polybar/polybar-.ebuild | 33 +
 1 file changed, 29 insertions(+), 4 deletions(-)

diff --git a/x11-misc/polybar/polybar-.ebuild 
b/x11-misc/polybar/polybar-.ebuild
index 1c6fc7d1218..70e8d426aaf 100644
--- a/x11-misc/polybar/polybar-.ebuild
+++ b/x11-misc/polybar/polybar-.ebuild
@@ -4,16 +4,26 @@
 EAPI=7
 
 PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils git-r3 python-single-r1
+inherit cmake-utils python-single-r1
 
 DESCRIPTION="A fast and easy-to-use tool for creating status bars"
 HOMEPAGE="https://github.com/jaagr/polybar;
-EGIT_REPO_URI="https://github.com/jaagr/${PN}.git;
-EGIT_CLONE_TYPE="shallow"
+
+if [[ ${PV} != ** ]]; then
+   XPP_VERSION="1.4.0"
+   I3IPCPP_VERSION="0.7.1"
+   SRC_URI="https://github.com/jaagr/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz
+   https://github.com/jaagr/xpp/archive/${XPP_VERSION}.tar.gz -> 
xpp-${XPP_VERSION}.tar.gz
+   
https://github.com/jaagr/i3ipcpp/archive/v${I3IPCPP_VERSION}.tar.gz -> 
i3ipcpp-${I3IPCPP_VERSION}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+else
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/jaagr/${PN}.git;
+   EGIT_CLONE_TYPE="shallow"
+fi
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS=""
 
 IUSE="alsa curl i3wm ipc mpd network pulseaudio"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@@ -36,6 +46,20 @@ DEPEND="
 
 RDEPEND="${DEPEND}"
 
+src_prepare() {
+   cmake-utils_src_prepare
+
+   if [[ ${PV} != ** ]]; then
+   rmdir "${S}"/lib/xpp || die
+   mv "${WORKDIR}"/xpp-$XPP_VERSION "${S}"/lib/xpp || die
+
+   rmdir "${S}"/lib/i3ipcpp || die
+   mv "${WORKDIR}"/i3ipcpp-$I3IPCPP_VERSION "${S}"/lib/i3ipcpp || 
die
+
+   sed -i "s/.*cpp_error,.*/&\n\t  'eventstruct'   : lambda x, y: 
None,/" lib/xpp/generators/cpp_client.py || die "sed failed"
+   fi
+}
+
 src_configure() {
local mycmakeargs=(
-DENABLE_ALSA="$(usex alsa)"
@@ -46,5 +70,6 @@ src_configure() {
-DENABLE_NETWORK="$(usex network)"
-DENABLE_PULSEAUDIO="$(usex pulseaudio)"
)
+
cmake-utils_src_configure
 }



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2019-05-28 Thread Johannes Huber
commit: fcec73baa9ada45522df93e315af9e7b79365d46
Author: Johannes Huber  gentoo  org>
AuthorDate: Tue May 28 19:24:17 2019 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Tue May 28 20:05:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcec73ba

x11-misc/polybar: EAPI 7

Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Johannes Huber  gentoo.org>

 x11-misc/polybar/polybar-.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/x11-misc/polybar/polybar-.ebuild 
b/x11-misc/polybar/polybar-.ebuild
index 3d18bd3871c..1c6fc7d1218 100644
--- a/x11-misc/polybar/polybar-.ebuild
+++ b/x11-misc/polybar/polybar-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-PYTHON_COMPAT=( python2_7 )
+EAPI=7
 
+PYTHON_COMPAT=( python2_7 )
 inherit cmake-utils git-r3 python-single-r1
 
 DESCRIPTION="A fast and easy-to-use tool for creating status bars"



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2018-10-06 Thread Johannes Huber
commit: de1578d34172596cd19a634c2e6a9c8dfdc1b4ca
Author: Johannes Huber  gentoo  org>
AuthorDate: Sat Oct  6 21:42:40 2018 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sat Oct  6 21:42:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de1578d3

x11-misc/polybar: Add myself as maintainer

Signed-off-by: Johannes Huber  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 x11-misc/polybar/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/x11-misc/polybar/metadata.xml b/x11-misc/polybar/metadata.xml
index 0d096068a33..7a2477b509e 100644
--- a/x11-misc/polybar/metadata.xml
+++ b/x11-misc/polybar/metadata.xml
@@ -1,7 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   j...@gentoo.org
+   Johannes Huber
+   

Add support for i3 window manager
Add support for Inter-Process Messaging



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2018-09-22 Thread Michał Górny
commit: a32b6e8d5a14b212fbd8ae85497c9290dc6faa1e
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Sep 22 09:09:53 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Sep 22 09:09:53 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a32b6e8d

x11-misc/polybar: Clean old up

Signed-off-by: Michał Górny  gentoo.org>

 x11-misc/polybar/Manifest |  2 --
 x11-misc/polybar/polybar-3.1.0.ebuild | 65 -
 x11-misc/polybar/polybar-3.2.0.ebuild | 67 ---
 3 files changed, 134 deletions(-)

diff --git a/x11-misc/polybar/Manifest b/x11-misc/polybar/Manifest
index 27b4ee3fac0..b6a13b55204 100644
--- a/x11-misc/polybar/Manifest
+++ b/x11-misc/polybar/Manifest
@@ -1,5 +1,3 @@
 DIST i3ipcpp-0.7.1.tar.gz 191417 BLAKE2B 
62b76a0921c78f374309d26856c01d1467b8bd181ce922fd47daec406afda9d76eea9a1f473b4899e22f99e2ef36fc70f72db1bb17eb1f3e71a8431c2634b915
 SHA512 
ef9f591bb4436916ad038bcb0c15ea3415d1978ff264fb276108ddac89c98515c464fbf252429f6a76589cb78e1434adba2efefb5a844dadad0e261f3806fb72
-DIST polybar-3.1.0.tar.gz 418298 BLAKE2B 
1c7394a17ff1ec5b0dec519b7aa58e63cfcec0f104d4302051f6e12753b7074c3d85072a3d78e7ce135c53d4ddd4a6f68ea61ffb7b2ad04997bbf0c836115046
 SHA512 
6d8759d9f750c2abfa79fe735615b0ed3d1827e3a88561317712c6f02cb32a0a77726f97cb419f3a040ae9085a34a23cb1aad0aacf3f14e56c542977b89036b2
-DIST polybar-3.2.0.tar.gz 242314 BLAKE2B 
1bdecba237f6d400479305caa2e571b5de708b07251c77f999fdc16af4c89a54ff722956c24b0b188aa76b5418cdf159eb21004091d87d2b93e2d43ba8a888c8
 SHA512 
14516e37bc39736eddb53aaffd38bbfa8443fa6744bd3bd374359b9d55c085c89f59ecaa80f31815f4828398d378d2772bbd79fac36a639a208814a0bf230930
 DIST polybar-3.2.1.tar.gz 242327 BLAKE2B 
eb7bfe6e6d58fb4389016b8e5c73feea3984ce3ccefdb1acf202c6d2873a634e4d096658b850e8534c5c8c56e42ac66b3b8e80dabf5625491e5f56523b043ddf
 SHA512 
e93c33738029b2e56a5dda75cbf3ee804c0d89c406444da6991ea8a5dd00e5544ef51d20f3d67ec293fc55ab7095e8e3057aaf8d1c08af61cf0531297e55a18d
 DIST xpp-1.4.0.tar.gz 84095 BLAKE2B 
2af4221953abe7f40473c55cd50c608b54ebc85a62be65af987ed5e6c5eaf56fbd92531788becf39ba5ad52099ac78f36e9b2a2515b473f4d86ed5fda3fa5065
 SHA512 
d34cbbe2391db36db7dffac0415d26b7487536e97c4d7efd472ab0aeffa4c8e757ee030b05e2aa1cfa8a591ee591bb96a6db7eb9fa5850027f958e92f078739c

diff --git a/x11-misc/polybar/polybar-3.1.0.ebuild 
b/x11-misc/polybar/polybar-3.1.0.ebuild
deleted file mode 100644
index d2c4ebbf0f5..000
--- a/x11-misc/polybar/polybar-3.1.0.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-utils python-single-r1
-
-XPP_VERSION="1.4.0"
-I3IPCPP_VERSION="0.7.1"
-
-DESCRIPTION="A fast and easy-to-use tool for creating status bars"
-HOMEPAGE="https://github.com/jaagr/polybar;
-SRC_URI="https://github.com/jaagr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
-   https://github.com/jaagr/xpp/archive/${XPP_VERSION}.tar.gz -> 
xpp-${XPP_VERSION}.tar.gz
-   https://github.com/jaagr/i3ipcpp/archive/v${I3IPCPP_VERSION}.tar.gz -> 
i3ipcpp-${I3IPCPP_VERSION}.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-IUSE="alsa curl i3wm ipc mpd network"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="
-   ${PYTHON_DEPS}
-   x11-base/xcb-proto
-   x11-libs/cairo[xcb]
-   x11-libs/libxcb[xkb]
-   x11-libs/xcb-util-image
-   x11-libs/xcb-util-wm
-   x11-libs/xcb-util-xrm
-   alsa? ( media-libs/alsa-lib )
-   curl? ( net-misc/curl )
-   i3wm? ( dev-libs/jsoncpp )
-   mpd? ( media-libs/libmpdclient )
-   network? ( net-wireless/wireless-tools )
-"
-
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   cmake-utils_src_prepare
-
-   rmdir "${S}"/lib/xpp || die
-   mv "${WORKDIR}"/xpp-$XPP_VERSION "${S}"/lib/xpp || die
-
-   rmdir "${S}"/lib/i3ipcpp || die
-   mv "${WORKDIR}"/i3ipcpp-$I3IPCPP_VERSION "${S}"/lib/i3ipcpp || die
-
-   sed -i "s/.*cpp_error,.*/&\n\t  'eventstruct'   : lambda x, y: None,/" 
lib/xpp/generators/cpp_client.py || die "sed failed"
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_ALSA="$(usex alsa)"
-   -DENABLE_CURL="$(usex curl)"
-   -DENABLE_I3="$(usex i3wm)"
-   -DBUILD_IPC_MSG="$(usex ipc)"
-   -DENABLE_MPD="$(usex mpd)"
-   -DENABLE_NETWORK="$(usex network)"
-   )
-   cmake-utils_src_configure
-}

diff --git a/x11-misc/polybar/polybar-3.2.0.ebuild 
b/x11-misc/polybar/polybar-3.2.0.ebuild
deleted file mode 100644
index 480c094886d..000
--- a/x11-misc/polybar/polybar-3.2.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-utils python-single-r1
-
-XPP_VERSION="1.4.0"
-I3IPCPP_VERSION="0.7.1"

[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2018-09-22 Thread Michał Górny
commit: 595595692e7f4743b6118aa4b9e10c67e2345054
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Sep 22 09:02:54 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Sep 22 09:04:29 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59559569

x11-misc/polybar: Proxied maintainer resigned

Closes: https://bugs.gentoo.org/655592
Signed-off-by: Michał Górny  gentoo.org>

 x11-misc/polybar/metadata.xml | 9 +
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/x11-misc/polybar/metadata.xml b/x11-misc/polybar/metadata.xml
index 4132afb3b38..0d096068a33 100644
--- a/x11-misc/polybar/metadata.xml
+++ b/x11-misc/polybar/metadata.xml
@@ -1,14 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   kajzersoz...@gmail.com
-   Kajzer
-   
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   
+   

Add support for i3 window manager
Add support for Inter-Process Messaging



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2018-08-05 Thread Patrice Clement
commit: e4a0fd2501e2d66992b2c4d0868b188851e1dbf0
Author: Kajzer  gmail  com>
AuthorDate: Mon Jul 30 09:14:43 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Aug  5 21:47:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4a0fd25

x11-misc/polybar: version bump to 3.2.1.

Closes: https://github.com/gentoo/gentoo/pull/9387

 x11-misc/polybar/Manifest |  1 +
 x11-misc/polybar/polybar-3.2.1.ebuild | 67 +++
 2 files changed, 68 insertions(+)

diff --git a/x11-misc/polybar/Manifest b/x11-misc/polybar/Manifest
index b5689370854..27b4ee3fac0 100644
--- a/x11-misc/polybar/Manifest
+++ b/x11-misc/polybar/Manifest
@@ -1,4 +1,5 @@
 DIST i3ipcpp-0.7.1.tar.gz 191417 BLAKE2B 
62b76a0921c78f374309d26856c01d1467b8bd181ce922fd47daec406afda9d76eea9a1f473b4899e22f99e2ef36fc70f72db1bb17eb1f3e71a8431c2634b915
 SHA512 
ef9f591bb4436916ad038bcb0c15ea3415d1978ff264fb276108ddac89c98515c464fbf252429f6a76589cb78e1434adba2efefb5a844dadad0e261f3806fb72
 DIST polybar-3.1.0.tar.gz 418298 BLAKE2B 
1c7394a17ff1ec5b0dec519b7aa58e63cfcec0f104d4302051f6e12753b7074c3d85072a3d78e7ce135c53d4ddd4a6f68ea61ffb7b2ad04997bbf0c836115046
 SHA512 
6d8759d9f750c2abfa79fe735615b0ed3d1827e3a88561317712c6f02cb32a0a77726f97cb419f3a040ae9085a34a23cb1aad0aacf3f14e56c542977b89036b2
 DIST polybar-3.2.0.tar.gz 242314 BLAKE2B 
1bdecba237f6d400479305caa2e571b5de708b07251c77f999fdc16af4c89a54ff722956c24b0b188aa76b5418cdf159eb21004091d87d2b93e2d43ba8a888c8
 SHA512 
14516e37bc39736eddb53aaffd38bbfa8443fa6744bd3bd374359b9d55c085c89f59ecaa80f31815f4828398d378d2772bbd79fac36a639a208814a0bf230930
+DIST polybar-3.2.1.tar.gz 242327 BLAKE2B 
eb7bfe6e6d58fb4389016b8e5c73feea3984ce3ccefdb1acf202c6d2873a634e4d096658b850e8534c5c8c56e42ac66b3b8e80dabf5625491e5f56523b043ddf
 SHA512 
e93c33738029b2e56a5dda75cbf3ee804c0d89c406444da6991ea8a5dd00e5544ef51d20f3d67ec293fc55ab7095e8e3057aaf8d1c08af61cf0531297e55a18d
 DIST xpp-1.4.0.tar.gz 84095 BLAKE2B 
2af4221953abe7f40473c55cd50c608b54ebc85a62be65af987ed5e6c5eaf56fbd92531788becf39ba5ad52099ac78f36e9b2a2515b473f4d86ed5fda3fa5065
 SHA512 
d34cbbe2391db36db7dffac0415d26b7487536e97c4d7efd472ab0aeffa4c8e757ee030b05e2aa1cfa8a591ee591bb96a6db7eb9fa5850027f958e92f078739c

diff --git a/x11-misc/polybar/polybar-3.2.1.ebuild 
b/x11-misc/polybar/polybar-3.2.1.ebuild
new file mode 100644
index 000..480c094886d
--- /dev/null
+++ b/x11-misc/polybar/polybar-3.2.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils python-single-r1
+
+XPP_VERSION="1.4.0"
+I3IPCPP_VERSION="0.7.1"
+
+DESCRIPTION="A fast and easy-to-use tool for creating status bars"
+HOMEPAGE="https://github.com/jaagr/polybar;
+SRC_URI="https://github.com/jaagr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+   https://github.com/jaagr/xpp/archive/${XPP_VERSION}.tar.gz -> 
xpp-${XPP_VERSION}.tar.gz
+   https://github.com/jaagr/i3ipcpp/archive/v${I3IPCPP_VERSION}.tar.gz -> 
i3ipcpp-${I3IPCPP_VERSION}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+IUSE="alsa curl i3wm ipc mpd network pulseaudio"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+   ${PYTHON_DEPS}
+   x11-base/xcb-proto
+   x11-libs/cairo[xcb]
+   x11-libs/libxcb[xkb]
+   x11-libs/xcb-util-image
+   x11-libs/xcb-util-wm
+   x11-libs/xcb-util-xrm
+   alsa? ( media-libs/alsa-lib )
+   curl? ( net-misc/curl )
+   i3wm? ( dev-libs/jsoncpp )
+   mpd? ( media-libs/libmpdclient )
+   network? ( net-wireless/wireless-tools )
+   pulseaudio? ( media-sound/pulseaudio )
+"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   cmake-utils_src_prepare
+
+   rmdir "${S}"/lib/xpp || die
+   mv "${WORKDIR}"/xpp-$XPP_VERSION "${S}"/lib/xpp || die
+
+   rmdir "${S}"/lib/i3ipcpp || die
+   mv "${WORKDIR}"/i3ipcpp-$I3IPCPP_VERSION "${S}"/lib/i3ipcpp || die
+
+   sed -i "s/.*cpp_error,.*/&\n\t  'eventstruct'   : lambda x, y: None,/" 
lib/xpp/generators/cpp_client.py || die "sed failed"
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_ALSA="$(usex alsa)"
+   -DENABLE_CURL="$(usex curl)"
+   -DENABLE_I3="$(usex i3wm)"
+   -DBUILD_IPC_MSG="$(usex ipc)"
+   -DENABLE_MPD="$(usex mpd)"
+   -DENABLE_NETWORK="$(usex network)"
+   -DENABLE_PULSEAUDIO="$(usex pulseaudio)"
+   )
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2018-07-23 Thread Tony Vroon
commit: f7aa86360511c47a98eaa9c9a8086fca2f75aff8
Author: Kajzer  gmail  com>
AuthorDate: Mon Jul 23 13:51:51 2018 +
Commit: Tony Vroon  gentoo  org>
CommitDate: Mon Jul 23 15:56:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7aa8636

x11-misc/polybar: version bump to 3.2.0

Closes: https://github.com/gentoo/gentoo/pull/9326

 x11-misc/polybar/Manifest |  1 +
 x11-misc/polybar/polybar-3.2.0.ebuild | 67 +++
 2 files changed, 68 insertions(+)

diff --git a/x11-misc/polybar/Manifest b/x11-misc/polybar/Manifest
index 4648dddbc07..b5689370854 100644
--- a/x11-misc/polybar/Manifest
+++ b/x11-misc/polybar/Manifest
@@ -1,3 +1,4 @@
 DIST i3ipcpp-0.7.1.tar.gz 191417 BLAKE2B 
62b76a0921c78f374309d26856c01d1467b8bd181ce922fd47daec406afda9d76eea9a1f473b4899e22f99e2ef36fc70f72db1bb17eb1f3e71a8431c2634b915
 SHA512 
ef9f591bb4436916ad038bcb0c15ea3415d1978ff264fb276108ddac89c98515c464fbf252429f6a76589cb78e1434adba2efefb5a844dadad0e261f3806fb72
 DIST polybar-3.1.0.tar.gz 418298 BLAKE2B 
1c7394a17ff1ec5b0dec519b7aa58e63cfcec0f104d4302051f6e12753b7074c3d85072a3d78e7ce135c53d4ddd4a6f68ea61ffb7b2ad04997bbf0c836115046
 SHA512 
6d8759d9f750c2abfa79fe735615b0ed3d1827e3a88561317712c6f02cb32a0a77726f97cb419f3a040ae9085a34a23cb1aad0aacf3f14e56c542977b89036b2
+DIST polybar-3.2.0.tar.gz 242314 BLAKE2B 
1bdecba237f6d400479305caa2e571b5de708b07251c77f999fdc16af4c89a54ff722956c24b0b188aa76b5418cdf159eb21004091d87d2b93e2d43ba8a888c8
 SHA512 
14516e37bc39736eddb53aaffd38bbfa8443fa6744bd3bd374359b9d55c085c89f59ecaa80f31815f4828398d378d2772bbd79fac36a639a208814a0bf230930
 DIST xpp-1.4.0.tar.gz 84095 BLAKE2B 
2af4221953abe7f40473c55cd50c608b54ebc85a62be65af987ed5e6c5eaf56fbd92531788becf39ba5ad52099ac78f36e9b2a2515b473f4d86ed5fda3fa5065
 SHA512 
d34cbbe2391db36db7dffac0415d26b7487536e97c4d7efd472ab0aeffa4c8e757ee030b05e2aa1cfa8a591ee591bb96a6db7eb9fa5850027f958e92f078739c

diff --git a/x11-misc/polybar/polybar-3.2.0.ebuild 
b/x11-misc/polybar/polybar-3.2.0.ebuild
new file mode 100644
index 000..480c094886d
--- /dev/null
+++ b/x11-misc/polybar/polybar-3.2.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils python-single-r1
+
+XPP_VERSION="1.4.0"
+I3IPCPP_VERSION="0.7.1"
+
+DESCRIPTION="A fast and easy-to-use tool for creating status bars"
+HOMEPAGE="https://github.com/jaagr/polybar;
+SRC_URI="https://github.com/jaagr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+   https://github.com/jaagr/xpp/archive/${XPP_VERSION}.tar.gz -> 
xpp-${XPP_VERSION}.tar.gz
+   https://github.com/jaagr/i3ipcpp/archive/v${I3IPCPP_VERSION}.tar.gz -> 
i3ipcpp-${I3IPCPP_VERSION}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+IUSE="alsa curl i3wm ipc mpd network pulseaudio"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+   ${PYTHON_DEPS}
+   x11-base/xcb-proto
+   x11-libs/cairo[xcb]
+   x11-libs/libxcb[xkb]
+   x11-libs/xcb-util-image
+   x11-libs/xcb-util-wm
+   x11-libs/xcb-util-xrm
+   alsa? ( media-libs/alsa-lib )
+   curl? ( net-misc/curl )
+   i3wm? ( dev-libs/jsoncpp )
+   mpd? ( media-libs/libmpdclient )
+   network? ( net-wireless/wireless-tools )
+   pulseaudio? ( media-sound/pulseaudio )
+"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   cmake-utils_src_prepare
+
+   rmdir "${S}"/lib/xpp || die
+   mv "${WORKDIR}"/xpp-$XPP_VERSION "${S}"/lib/xpp || die
+
+   rmdir "${S}"/lib/i3ipcpp || die
+   mv "${WORKDIR}"/i3ipcpp-$I3IPCPP_VERSION "${S}"/lib/i3ipcpp || die
+
+   sed -i "s/.*cpp_error,.*/&\n\t  'eventstruct'   : lambda x, y: None,/" 
lib/xpp/generators/cpp_client.py || die "sed failed"
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_ALSA="$(usex alsa)"
+   -DENABLE_CURL="$(usex curl)"
+   -DENABLE_I3="$(usex i3wm)"
+   -DBUILD_IPC_MSG="$(usex ipc)"
+   -DENABLE_MPD="$(usex mpd)"
+   -DENABLE_NETWORK="$(usex network)"
+   -DENABLE_PULSEAUDIO="$(usex pulseaudio)"
+   )
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2018-06-23 Thread Mikle Kolyada
commit: c882ec3742cc5342b3f4e79861a2b39d9a976249
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Jun 23 17:50:56 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Jun 23 17:50:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c882ec37

x11-misc/polybar: amd64 stable wrt bug #658142

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 x11-misc/polybar/polybar-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/polybar/polybar-3.1.0.ebuild 
b/x11-misc/polybar/polybar-3.1.0.ebuild
index 2e0573650b2..d2c4ebbf0f5 100644
--- a/x11-misc/polybar/polybar-3.1.0.ebuild
+++ b/x11-misc/polybar/polybar-3.1.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/jaagr/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 IUSE="alsa curl i3wm ipc mpd network"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2018-06-23 Thread Johannes Huber
commit: d7086d05196bc766ad5a748db44e916ad3bb17ca
Author: Johannes Huber  gentoo  org>
AuthorDate: Sat Jun 23 08:49:29 2018 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sat Jun 23 08:50:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7086d05

x11-misc/polybar: Fix build

Missing use dependency xcb on x11-libs/cairo.

Closes: https://bugs.gentoo.org/655044
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 x11-misc/polybar/polybar-3.1.0.ebuild | 2 +-
 x11-misc/polybar/polybar-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/polybar/polybar-3.1.0.ebuild 
b/x11-misc/polybar/polybar-3.1.0.ebuild
index 5897c55c919..2e0573650b2 100644
--- a/x11-misc/polybar/polybar-3.1.0.ebuild
+++ b/x11-misc/polybar/polybar-3.1.0.ebuild
@@ -26,7 +26,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 DEPEND="
${PYTHON_DEPS}
x11-base/xcb-proto
-   x11-libs/cairo
+   x11-libs/cairo[xcb]
x11-libs/libxcb[xkb]
x11-libs/xcb-util-image
x11-libs/xcb-util-wm

diff --git a/x11-misc/polybar/polybar-.ebuild 
b/x11-misc/polybar/polybar-.ebuild
index 7bc1f90e229..3d18bd3871c 100644
--- a/x11-misc/polybar/polybar-.ebuild
+++ b/x11-misc/polybar/polybar-.ebuild
@@ -21,7 +21,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 DEPEND="
${PYTHON_DEPS}
x11-base/xcb-proto
-   x11-libs/cairo
+   x11-libs/cairo[xcb]
x11-libs/libxcb[xkb]
x11-libs/xcb-util-image
x11-libs/xcb-util-wm



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2018-06-17 Thread Thomas Deutschmann
commit: b5b31075c0fa76e9dda90230521012f517d7fb33
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Jun 17 23:08:33 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Jun 17 23:28:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5b31075

x11-misc/polybar: x86 stable (bug #658142)

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 x11-misc/polybar/polybar-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/polybar/polybar-3.1.0.ebuild 
b/x11-misc/polybar/polybar-3.1.0.ebuild
index 1d10b8eee8b..5897c55c919 100644
--- a/x11-misc/polybar/polybar-3.1.0.ebuild
+++ b/x11-misc/polybar/polybar-3.1.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/jaagr/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 IUSE="alsa curl i3wm ipc mpd network"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2018-06-14 Thread Johannes Huber
commit: 8cd7a1f758f8cdd4936f1b184e71a51824f49c60
Author: Johannes Huber  gentoo  org>
AuthorDate: Thu Jun 14 21:15:30 2018 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Thu Jun 14 21:16:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cd7a1f7

x11-misc/polybar: Fix build

Missing use dependency xkb on x11-libs/libxcb.

Closes: https://bugs.gentoo.org/654880
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 x11-misc/polybar/polybar-3.1.0.ebuild | 2 +-
 x11-misc/polybar/polybar-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/polybar/polybar-3.1.0.ebuild 
b/x11-misc/polybar/polybar-3.1.0.ebuild
index f9be038f16c..1d10b8eee8b 100644
--- a/x11-misc/polybar/polybar-3.1.0.ebuild
+++ b/x11-misc/polybar/polybar-3.1.0.ebuild
@@ -27,7 +27,7 @@ DEPEND="
${PYTHON_DEPS}
x11-base/xcb-proto
x11-libs/cairo
-   x11-libs/libxcb
+   x11-libs/libxcb[xkb]
x11-libs/xcb-util-image
x11-libs/xcb-util-wm
x11-libs/xcb-util-xrm

diff --git a/x11-misc/polybar/polybar-.ebuild 
b/x11-misc/polybar/polybar-.ebuild
index 7a1abcf47ee..7bc1f90e229 100644
--- a/x11-misc/polybar/polybar-.ebuild
+++ b/x11-misc/polybar/polybar-.ebuild
@@ -22,7 +22,7 @@ DEPEND="
${PYTHON_DEPS}
x11-base/xcb-proto
x11-libs/cairo
-   x11-libs/libxcb
+   x11-libs/libxcb[xkb]
x11-libs/xcb-util-image
x11-libs/xcb-util-wm
x11-libs/xcb-util-xrm



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2018-05-11 Thread Johannes Huber
commit: 36a5524fd3f8fa41fbf57704fe2106b5c8a3a019
Author: Johannes Huber  gentoo  org>
AuthorDate: Fri May 11 11:47:56 2018 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Fri May 11 11:47:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36a5524f

x11-misc/polybar: Call cmake-utils_src_prepare

Closes: https://bugs.gentoo.org/654878
Package-Manager: Portage-2.3.36, Repoman-2.3.9

 x11-misc/polybar/polybar-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/polybar/polybar-3.1.0.ebuild 
b/x11-misc/polybar/polybar-3.1.0.ebuild
index 4b696e07053..f9be038f16c 100644
--- a/x11-misc/polybar/polybar-3.1.0.ebuild
+++ b/x11-misc/polybar/polybar-3.1.0.ebuild
@@ -41,7 +41,7 @@ DEPEND="
 RDEPEND="${DEPEND}"
 
 src_prepare() {
-   default
+   cmake-utils_src_prepare
 
rmdir "${S}"/lib/xpp || die
mv "${WORKDIR}"/xpp-$XPP_VERSION "${S}"/lib/xpp || die



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2018-05-11 Thread Michał Górny
commit: 6e5d882237efc73a2944666cef28a9cda33bdbb1
Author: Kajzer  gmail  com>
AuthorDate: Tue May  8 11:30:02 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri May 11 10:55:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e5d8822

x11-misc/polybar: Add missing deps

Added deps:
x11-libs/cairo
x11-libs/xcb-util-xrm

Closes: https://bugs.gentoo.org/655044
Closes: https://github.com/gentoo/gentoo/pull/8280

 x11-misc/polybar/polybar-3.1.0.ebuild | 4 +++-
 x11-misc/polybar/polybar-.ebuild  | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/x11-misc/polybar/polybar-3.1.0.ebuild 
b/x11-misc/polybar/polybar-3.1.0.ebuild
index a04e956a0e9..4b696e07053 100644
--- a/x11-misc/polybar/polybar-3.1.0.ebuild
+++ b/x11-misc/polybar/polybar-3.1.0.ebuild
@@ -26,9 +26,11 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 DEPEND="
${PYTHON_DEPS}
x11-base/xcb-proto
+   x11-libs/cairo
x11-libs/libxcb
-   x11-libs/xcb-util-wm
x11-libs/xcb-util-image
+   x11-libs/xcb-util-wm
+   x11-libs/xcb-util-xrm
alsa? ( media-libs/alsa-lib )
curl? ( net-misc/curl )
i3wm? ( dev-libs/jsoncpp )

diff --git a/x11-misc/polybar/polybar-.ebuild 
b/x11-misc/polybar/polybar-.ebuild
index b2188834007..7a1abcf47ee 100644
--- a/x11-misc/polybar/polybar-.ebuild
+++ b/x11-misc/polybar/polybar-.ebuild
@@ -21,9 +21,11 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 DEPEND="
${PYTHON_DEPS}
x11-base/xcb-proto
+   x11-libs/cairo
x11-libs/libxcb
-   x11-libs/xcb-util-wm
x11-libs/xcb-util-image
+   x11-libs/xcb-util-wm
+   x11-libs/xcb-util-xrm
alsa? ( media-libs/alsa-lib )
curl? ( net-misc/curl )
i3wm? ( dev-libs/jsoncpp )



[gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/

2018-05-04 Thread Patrice Clement
commit: 6d597a32e22e77dc620678702aad9c14e44d2978
Author: Kajzer  gmail  com>
AuthorDate: Fri May  4 10:59:23 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Fri May  4 21:05:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d597a32

x11-misc/polybar: new package.

Polybar is a fast and easy-to-use tool for creating status bars.

Closes: https://github.com/gentoo/gentoo/pull/8244
Closes: https://bugs.gentoo.org/643286

 x11-misc/polybar/Manifest |  3 ++
 x11-misc/polybar/metadata.xml | 21 
 x11-misc/polybar/polybar-3.1.0.ebuild | 63 +++
 x11-misc/polybar/polybar-.ebuild  | 48 ++
 4 files changed, 135 insertions(+)

diff --git a/x11-misc/polybar/Manifest b/x11-misc/polybar/Manifest
new file mode 100644
index 000..4648dddbc07
--- /dev/null
+++ b/x11-misc/polybar/Manifest
@@ -0,0 +1,3 @@
+DIST i3ipcpp-0.7.1.tar.gz 191417 BLAKE2B 
62b76a0921c78f374309d26856c01d1467b8bd181ce922fd47daec406afda9d76eea9a1f473b4899e22f99e2ef36fc70f72db1bb17eb1f3e71a8431c2634b915
 SHA512 
ef9f591bb4436916ad038bcb0c15ea3415d1978ff264fb276108ddac89c98515c464fbf252429f6a76589cb78e1434adba2efefb5a844dadad0e261f3806fb72
+DIST polybar-3.1.0.tar.gz 418298 BLAKE2B 
1c7394a17ff1ec5b0dec519b7aa58e63cfcec0f104d4302051f6e12753b7074c3d85072a3d78e7ce135c53d4ddd4a6f68ea61ffb7b2ad04997bbf0c836115046
 SHA512 
6d8759d9f750c2abfa79fe735615b0ed3d1827e3a88561317712c6f02cb32a0a77726f97cb419f3a040ae9085a34a23cb1aad0aacf3f14e56c542977b89036b2
+DIST xpp-1.4.0.tar.gz 84095 BLAKE2B 
2af4221953abe7f40473c55cd50c608b54ebc85a62be65af987ed5e6c5eaf56fbd92531788becf39ba5ad52099ac78f36e9b2a2515b473f4d86ed5fda3fa5065
 SHA512 
d34cbbe2391db36db7dffac0415d26b7487536e97c4d7efd472ab0aeffa4c8e757ee030b05e2aa1cfa8a591ee591bb96a6db7eb9fa5850027f958e92f078739c

diff --git a/x11-misc/polybar/metadata.xml b/x11-misc/polybar/metadata.xml
new file mode 100644
index 000..4132afb3b38
--- /dev/null
+++ b/x11-misc/polybar/metadata.xml
@@ -0,0 +1,21 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   kajzersoz...@gmail.com
+   Kajzer
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   Add support for i3 window manager
+   Add support for Inter-Process Messaging
+   Add support for Music Player Daemon
+   Enable network support
+   
+   
+   jaagr/polybar
+   
+

diff --git a/x11-misc/polybar/polybar-3.1.0.ebuild 
b/x11-misc/polybar/polybar-3.1.0.ebuild
new file mode 100644
index 000..a04e956a0e9
--- /dev/null
+++ b/x11-misc/polybar/polybar-3.1.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils python-single-r1
+
+XPP_VERSION="1.4.0"
+I3IPCPP_VERSION="0.7.1"
+
+DESCRIPTION="A fast and easy-to-use tool for creating status bars"
+HOMEPAGE="https://github.com/jaagr/polybar;
+SRC_URI="https://github.com/jaagr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+   https://github.com/jaagr/xpp/archive/${XPP_VERSION}.tar.gz -> 
xpp-${XPP_VERSION}.tar.gz
+   https://github.com/jaagr/i3ipcpp/archive/v${I3IPCPP_VERSION}.tar.gz -> 
i3ipcpp-${I3IPCPP_VERSION}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="alsa curl i3wm ipc mpd network"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+   ${PYTHON_DEPS}
+   x11-base/xcb-proto
+   x11-libs/libxcb
+   x11-libs/xcb-util-wm
+   x11-libs/xcb-util-image
+   alsa? ( media-libs/alsa-lib )
+   curl? ( net-misc/curl )
+   i3wm? ( dev-libs/jsoncpp )
+   mpd? ( media-libs/libmpdclient )
+   network? ( net-wireless/wireless-tools )
+"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   default
+
+   rmdir "${S}"/lib/xpp || die
+   mv "${WORKDIR}"/xpp-$XPP_VERSION "${S}"/lib/xpp || die
+
+   rmdir "${S}"/lib/i3ipcpp || die
+   mv "${WORKDIR}"/i3ipcpp-$I3IPCPP_VERSION "${S}"/lib/i3ipcpp || die
+
+   sed -i "s/.*cpp_error,.*/&\n\t  'eventstruct'   : lambda x, y: None,/" 
lib/xpp/generators/cpp_client.py || die "sed failed"
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_ALSA="$(usex alsa)"
+   -DENABLE_CURL="$(usex curl)"
+   -DENABLE_I3="$(usex i3wm)"
+   -DBUILD_IPC_MSG="$(usex ipc)"
+   -DENABLE_MPD="$(usex mpd)"
+   -DENABLE_NETWORK="$(usex network)"
+   )
+   cmake-utils_src_configure
+}

diff --git a/x11-misc/polybar/polybar-.ebuild 
b/x11-misc/polybar/polybar-.ebuild
new file mode 100644
index 000..b2188834007
--- /dev/null
+++ b/x11-misc/polybar/polybar-.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2