Commit Graph

58 Commits

Author SHA1 Message Date
Jérôme BOULMIER
cb47512871 feat(cmake): removing warnings in dependencies. 2020-12-22 00:37:07 +01:00
Jérôme BOULMIER
31fafa86f7 feat(cmake): removing globs and using imported targets 2020-12-22 00:37:07 +01:00
Patrick Ziegler
2b6abb9b8f
xpp: Update submodule (#2125)
* xpp: Update submodule

* aur: Force system python in polybar-git

This should resolve problems on systems with conda or pyenv enabled that
would otherwise not pick up xcbgen properly
2020-06-10 21:00:18 +02:00
patrick96
55b7533ed1 xpp: Update submodule:
Replaces cElementTree with ElementTree

Ref: polybar/xpp#26
2020-06-04 22:14:24 +02:00
patrick96
4e9598f09b build: Update i3ipcpp submodule
Fixes a possible memory leak

Ref: polybar/i3ipcpp#10
2020-05-15 14:52:48 +02:00
patrick96
92181fd237 build: Update xpp module
Fixes developer warnings in cmake 3.17+

Ref: polybar/xpp#24
Ref: polybar/xpp#25
2020-05-06 23:25:56 +02:00
patrick96
853ea994bb build: Update xpp submodule
Fixes #2031

Ref: polybar/xpp#22
Ref: polybar/xpp#23
2020-03-11 09:46:26 +01:00
patrick96
6975c0ec26 build: Update i3ipcpp submodule
With this we no longer distribute the jsoncpp 1.7.7 source with polybar.
It is possible that polybar will no longer build on older systems that
have an ancient version of jsoncpp (>= 5 years).

Ref: polybar/i3ipcpp#9
2020-02-22 18:02:13 +01:00
patrick96
8d2b0d2747 build: Update xpp submodule
Ref: polybar/xpp#21
2020-02-08 17:37:15 +01:00
patrick96
8d07f2aa23 build: Update xpp submodule
PR #1683 downgraded the xpp submodule
2020-01-31 07:12:21 +01:00
Christoph Schiessl
d3844c40b6 refactor(battery): simplify animation subthread 2020-01-23 23:45:56 +01:00
Jérôme BOULMIER
d93a50836d update xpp submodule 2020-01-05 20:20:15 +01:00
Jeremy Ong
34e742e000 Add missing <stdexcept> header
This is dependent on a PR to xpp that does the same. Newer compilers
(GCC10 in particular) are stricter about which headers provide the
std exception types.
2019-12-25 01:00:29 +01:00
patrick96
a77923ea96 build: drop python2
Ref: https://github.com/polybar/xpp/pull/17
Fixes #1892
2019-10-26 22:29:04 +02:00
patrick96
a3e2e51ac9 build: remove xdamage extension
Unused

Ref: #1730
2019-06-03 00:46:12 +02:00
patrick96
38af08d29a build: remove xsync extension
Unused

Ref: #1730
2019-06-03 00:46:12 +02:00
patrick96
6ff2b2b37f build: remove xrender extension
Some build recipes (exherbo, sourcemage) for some reason enable this
even though it doesn't do anything any only causes compilation issues.

Ref: #1730
2019-06-03 00:46:12 +02:00
patrick96
37a7ad9c44 migration: Update submodule URLs 2019-05-08 12:20:33 +02:00
Jérôme BOULMIER
fca4151f36 fix(window): remove useless operator= and add default copy cstr (#1729)
Fixes compilation under GCC 9

The default copy constructor implicit generation is deprecated by C++ standard.

The window& operator=(const xcb_window_t win); operator seems to be useless.

Fixes #1728
Ref jaagr/xpp#16
2019-04-07 17:32:55 +02:00
Patrick Ziegler
ea7399decc
git(xpp): Update submodule ref (#1647)
This fixes the link failure when configured with -DBUILD_SHARED_LIBS=ON
as reported in #1628. xpp will now always build a static lib

Ref jaagr/xpp#15
2019-02-18 15:52:34 +01:00
sam-lunt
d3e37918e5 CMake refactor (#1510)
* Clean up CMake logic

- removed logic to find CppUnit (no longer used)
- removed "dirs" variable used to pass include directories
- removed add_library function (no longer used)
- removed make_executable function
    * only used in 2 places (polybar and polybar-msg)
    * it was more general than needed, logic is simpler without it
- split polybar into static library and executable
    * this allows linking unit tests to the library

* rename library

* add coverage build

- Added a CMake build type "Coverage" that builds C and C++
  code with the "--coverage" flag (recognized by both GCC and Clang)
- removed "-Wno-missing-field-initializers" from test flags,
  since it didn't seem to be needed any more
- removed logic from tests/CMakeLists to disable "-Werror" and "-pedantic-errors"
  since there didn't seem to be any warnings during the build

* fix whitespace

* update travis

* remove O2 from defalt flags

* allow tests to be built by default make target

* disable Werror for debug builds
2018-11-21 18:46:33 +01:00
patrick96
152125dce9 git(xpp): Update submodule ref
This contains the fix for the xml proto file directory on exherbo

Fixes #750
2018-10-17 23:07:05 -07:00
patrick96
8173a6473e fix(gcc): Fix -Wstringop-truncation warning
As mentioned in #1215, gcc >=8 will complain, if strncpy truncates the
source string or gcc can prove there is no NUL terminating byte.

This also updates the i3ipcpp submodule where there was a similar error

Fixes #1215
2018-05-06 14:17:10 -07:00
patrick96
29aa2487b9 refactor(lib): Remove jsoncpp tarball
Polybar itself doesn't depend on jsoncpp at all, only i3ipcpp does and
it has the jsoncpp 1.7.7 source code in its repo, if a too low jsoncpp
version is found.
2018-02-26 10:58:12 -08:00
patrick96
9db3e7f251 git(xpp): Update submodule ref
This contains the fix for the eventstruct key in newer xcb-proto
versions

Fixes #973
2018-02-14 17:36:24 -08:00
Le Baron d'Merde
bb0f68aef0 git(xpp): Update submodule ref (#955) 2018-01-14 10:23:41 +01:00
patrick96
e90d5f6a6e fix(build): Update deprecated jsoncpp Reader
Actual fix was made in https://github.com/jaagr/i3ipcpp/pull/4 this only
updates the submodule

Fixes #741
Fixes #871
2017-12-03 17:27:52 +01:00
patrick96
83610461f9 git: Update i3ipcpp
Fixes gcc build if a jsoncpp version less than 1.7.7 is installed and
jsoncpp has to be built from the source coming with i3ipcpp

Fixes #753
2017-10-28 23:08:00 +02:00
Michael Carlberg
e381d76908 git: Update submodule versions 2017-08-30 17:33:38 +02:00
Michael Carlberg
087ea4e087 fix(cmake): Add missing xcb prototype 2017-01-26 21:15:21 +01:00
Michael Carlberg
43a17c3b36 refactor(cmake): Cleanup 2017-01-26 17:39:50 +01:00
Michael Carlberg
24a2d73ed1 git(xpp): Update submodule ref 2017-01-24 10:49:38 +01:00
Michael Carlberg
f8d387c2c0 git(xpp): Update submodule ref 2017-01-13 00:55:04 +01:00
Michael Carlberg
f25830714c git(i3ipcpp): Update submodule ref 2016-12-23 13:34:02 +01:00
Michael Carlberg
0fca9a0c6e git: Remove unused headers for boost::di 2016-12-14 20:18:55 +01:00
Michael Carlberg
f3a52cee6b git: Update i3ipcpp ref 2016-12-14 00:01:15 +01:00
Michael Carlberg
9cadb681d4 feat(i3): Add mode label 2016-11-30 18:23:11 +01:00
Michael Carlberg
2f3c2e952e fix(xkeyboard): Minor tweaks 2016-11-30 11:29:41 +01:00
Michael Carlberg
608519363d feat(xkeyboard): New module
New module that uses the X keyboard extension
to show keyboard layout and indicators.

Ref #84, #200
2016-11-30 10:08:44 +01:00
Michael Carlberg
44f288742b git: Update xpp ref 2016-11-26 15:45:17 +01:00
Michael Carlberg
20b347b81f git: Update xpp ref 2016-11-04 20:43:33 +01:00
Michael Carlberg
bba583422d git(i3ipcpp): Update submodule ref 2016-10-29 12:16:20 +02:00
Michael Carlberg
1075144b00 refactor(eventloop): Use concurrent queue for events
Events are now enqueued using a thread safe concurrent queue
which makes the previous eventloop locking redundant.
2016-10-29 06:48:51 +02:00
Michael Carlberg
8b24847e05 git: Update submodule refs 2016-10-25 23:36:47 +02:00
Michael Carlberg
d9b39c9270 git: Update submodule refs 2016-10-25 09:35:37 +02:00
Michael Carlberg
74486d6223 git: Remove fastdelegate headers 2016-10-25 01:36:42 +02:00
Michael Carlberg
c6090033cc git: Update submodule refs 2016-10-25 01:34:55 +02:00
Michael Carlberg
32579df73b git(i3ipcpp): Reference v0.4.1 2016-10-18 12:12:33 +02:00
Michael Carlberg
e77dcac58c git(i3ipcpp): Reference v0.4.0 2016-10-15 04:25:30 +02:00
Michael Carlberg
e42eb87177 fix(ci): Build jsoncpp from source 2016-10-12 11:49:17 +02:00