summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/polybar')
-rw-r--r--x11-misc/polybar/Manifest3
-rw-r--r--x11-misc/polybar/files/polybar-3.3.1-eventstruct.patch44
-rw-r--r--x11-misc/polybar/files/polybar-3.3.1-gcc9.patch43
-rw-r--r--x11-misc/polybar/files/polybar-3.3.1-i3ipcpp-gcc9.patch29
-rw-r--r--x11-misc/polybar/files/polybar-3.3.1-xpp-gcc9.patch23
-rw-r--r--x11-misc/polybar/polybar-3.3.1-r1.ebuild80
6 files changed, 0 insertions, 222 deletions
diff --git a/x11-misc/polybar/Manifest b/x11-misc/polybar/Manifest
index a1f105923562..27c5484ab41a 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 0000ba136bd531899ce9e87d458bd6f7d16f45509def37e4fd7aafc16d0e122fe5f56d0eb9dbc3e722dbb6c9812913a7aafa4b749a9c727ab0988908b1e2a425
-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 93bf034f7de0..000000000000
--- 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 <p.ziegler96@gmail.com>
-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/files/polybar-3.3.1-gcc9.patch b/x11-misc/polybar/files/polybar-3.3.1-gcc9.patch
deleted file mode 100644
index 7df7b99fa653..000000000000
--- a/x11-misc/polybar/files/polybar-3.3.1-gcc9.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 8b648b9265ed6f09802bd749ec8bf74181032b39 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?J=C3=A9r=C3=B4me=20BOULMIER?= <jerome.boulmier@outlook.fr>
-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<connection&> {
- public:
-+ window(const window&) = default;
- using xpp::window<class connection&>::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
deleted file mode 100644
index beb0461885bc..000000000000
--- a/x11-misc/polybar/files/polybar-3.3.1-i3ipcpp-gcc9.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From d4e4786be35b48d72dc7e59cf85ec34a90d129b5 Mon Sep 17 00:00:00 2001
-From: patrick96 <p.ziegler96@gmail.com>
-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
deleted file mode 100644
index f80a72f12793..000000000000
--- a/x11-misc/polybar/files/polybar-3.3.1-xpp-gcc9.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From d2ff2aaba6489f606bbcc090c0a78a8a3f9fcd1f Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?J=C3=A9r=C3=B4me=20BOULMIER?= <jerome.boulmier@outlook.fr>
-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-r1.ebuild b/x11-misc/polybar/polybar-3.3.1-r1.ebuild
deleted file mode 100644
index 472583d890c9..000000000000
--- a/x11-misc/polybar/polybar-3.3.1-r1.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2020 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} != *9999* ]]; 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[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 )
- mpd? ( media-libs/libmpdclient )
- network? ( net-wireless/wireless-tools )
- pulseaudio? ( media-sound/pulseaudio )
-"
-
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}/${P}-eventstruct.patch"
- "${FILESDIR}/${P}-gcc9.patch"
- "${FILESDIR}/${P}-xpp-gcc9.patch"
- "${FILESDIR}/${P}-i3ipcpp-gcc9.patch"
-)
-
-src_prepare() {
- if [[ ${PV} != *9999* ]]; 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
-}