1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 12:27:52 +00:00
Commit Graph

3405 Commits

Author SHA1 Message Date
Brenden Matthews
25acfe51cc Refactor Dockerfile. 2019-02-21 09:21:22 -05:00
Qu Wenruo
14e3b80c45 conky: Allow hwmon command to accept hwmon device name
[PROBLEM]
Some hwmon device number may change due to module load sequence.
E.g:
One boot would cause the following layout:
hwmon0->acpitz
hwmon1->pch_skylake
hwmon2->thinkpad
hwmon3->coretemp
hwmon4->iwlwifi

While another boot could lead to:
hwmon0->acpitz
hwmon1->pch_skylake
hwmon2->coretemp
hwmon3->thinkpad
hwmon4->iwlwifi

[ENHANCEMENT]
This patch will enhance the hwmon command to accept hwmon device name as
first parameter instead of number.

Now "hwmon 3 temp 1" can be converted to "hwmon coretemp temp 1", which
is more readable and user won't ever need to bother the hwmon sequence
number change.

Signed-off-by: Qu Wenruo <wqu@suse.com>
2019-02-17 09:24:15 -05:00
Brenden Matthews
846c25b28b
Include versioned tags in builds. 2019-01-24 12:50:19 -05:00
Brenden Matthews
1fc2b17eb5 FreeBSD build fix. 2019-01-13 12:45:20 -05:00
Brenden Matthews
298eb76434 Include missing FreeBSD header. 2019-01-12 11:50:50 -05:00
Brenden Matthews
eb9d72f2af
Fix logo path in readme. 2019-01-09 11:14:26 -05:00
Brenden Matthews
aa2de72541 Fix build with BUILD_BUILTIN_CONFIG=OFF. 2019-01-09 09:42:54 -05:00
Brenden Matthews
e834782ddb Build fix for x86 arch.
size_t is unsigned long on x86-64, but not x86.

This fixes #759.
2019-01-09 08:18:07 -05:00
Brenden Matthews
8feae589dc Install libconky_core, too, if wanted.
If someone decides to install the testing build, it doesn't include
libconky_core.

This fixes #756.
2019-01-08 20:02:53 -05:00
Brenden Matthews
14af88ddbd Add AppImage integration. 2019-01-08 19:44:24 -05:00
Brenden Matthews
fcc315f28f
Bump version for next release. 2019-01-08 10:23:15 -05:00
Brenden Matthews
6a7dc0cd65 Fix update_total_processes() missing return val. 2019-01-07 20:26:24 -05:00
Guido Falsi
21b4a0a403 These changes are required to make it build on FreeBSD i386 (x86/32)
Otherwise I get this error while building:

/wrkdirs/usr/ports/sysutils/conky/work/conky-1.11.1/src/core.cc:1503:50: error: assigning to 'void (*)(struct text_object *, char *, unsigned int)' from incompatible type 'void (*)(struct text_object *, char *, int)': type mismatch at 3rd parameter ('unsigned int' vs 'int')
  END OBJ(apm_adapter, 0) obj->callbacks.print = &print_apm_adapter;
                                                 ^~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/sysutils/conky/work/conky-1.11.1/src/core.cc:1504:55: error: assigning to 'void (*)(struct text_object *, char *, unsigned int)' from incompatible type 'void (*)(struct text_object *, char *, int)': type mismatch at 3rd parameter ('unsigned int' vs 'int')
  END OBJ(apm_battery_life, 0) obj->callbacks.print = &print_apm_battery_life;
                                                      ^~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/sysutils/conky/work/conky-1.11.1/src/core.cc:1505:55: error: assigning to 'void (*)(struct text_object *, char *, unsigned int)' from incompatible type 'void (*)(struct text_object *, char *, int)': type mismatch at 3rd parameter ('unsigned int' vs 'int')
  END OBJ(apm_battery_time, 0) obj->callbacks.print = &print_apm_battery_time;
                                                      ^~~~~~~~~~~~~~~~~~~~~~~
3 errors generated.
*** [src/CMakeFiles/conky.dir/core.cc.o] Error code 1
2019-01-07 19:38:04 -05:00
Guido Falsi
a3b03f2257 Add missing return statement.
It was removed in commit e91b91d.
2019-01-07 19:17:14 -05:00
lasers
7eec746b82 update copyright year to 2019 2019-01-05 11:15:36 -06:00
lasers
9dd559b1e9 remove deprecated BMPx support 2019-01-04 19:58:52 -06:00
Brenden Matthews
427fa810d7 Stick to 5 concurrent Travis builds.
Travis limits OSS projects to 5 concurrent builds. Let's cut down the
number of different build platforms to 5 to keep the build from taking
too long.

Linux toolchains:
 - GCC 5
 - GCC 8
 - LLVM 7

macOS toolchains:
 - xcode 9.4
 - xcode 10.1
2019-01-04 17:10:23 -05:00
Brenden Matthews
aed8255804 Enable IRC support in travis build. 2019-01-04 16:46:02 -05:00
lasers
fc5413f349 github: add issues+pull requests templates 2019-01-04 15:23:47 -06:00
lasers
d2283d410f doc: remove deprecated eve variable 2019-01-04 14:44:49 -06:00
Hizkia Felix
0e35526f48 Fix broken wiki link 2019-01-04 08:47:36 -05:00
Brenden Matthews
282160156f Remove deprecated EVE online support.
The EVE API that was in use is now deprecated and no longer works.

This resolves #732.
2019-01-03 10:42:49 -05:00
Brenden Matthews
03f3ce7bdc Reformat CMake files.
Applied `cmake_format`.
2019-01-03 09:48:43 -05:00
Glenn Dixon
95a4f0e2f0 Wiki link updates
Corrected a couple of links
2019-01-03 09:08:07 -05:00
Brenden Matthews
3366dd091e
Update README.md 2019-01-02 20:17:09 -05:00
Brenden Matthews
12cf957d1c
Change travis badge to svg version. 2018-12-31 16:08:36 -05:00
lasers
3cf0413503 doc: declare filename entities 2018-12-31 11:02:01 -06:00
lasers
e3469c25be doc: add missing periods and other tweaks 2018-12-31 11:02:01 -06:00
lasers
3c1c74f541 doc: tidy --wrap 79 -xml -i --indent-spaces 4 2018-12-31 11:02:01 -06:00
Brenden Matthews
edb7f84ecd Fix an FD leak in APCUPSD.
In some cases the socket FD may have not been closed in the APCUPSD
update function.

This fixes #725.
2018-12-31 09:27:33 -05:00
Brenden Matthews
e0209632d1 Simplify travis OSX build brew command. 2018-12-28 14:16:13 -05:00
Brenden Matthews
9c98ed4119 Fix CMake code for unit test discovery. 2018-12-28 13:38:19 -05:00
Brenden Matthews
0009f2473a Drop luajit support (Lua 5.1 API). 2018-12-24 10:07:20 -05:00
Brenden Matthews
212fda5757 Remove unused reporters. 2018-12-24 09:33:38 -05:00
Brenden Matthews
6c09affaf7 Add some basic unit tests.
Introduced the Catch2 unit testing framework.
2018-12-24 02:02:01 -05:00
Brenden Matthews
d422aa47d2 Fix more sonar issues. 2018-12-23 15:39:05 -05:00
Brenden Matthews
3df87776d5 Fix more sonar issues. 2018-12-23 14:27:11 -05:00
Brenden Matthews
db471102bb Fix wtf file encoding. 2018-12-23 14:27:11 -05:00
Brenden Matthews
134e667cf4 Don't add C/CXX flags to themselves every time. 2018-12-23 14:27:11 -05:00
Brenden Matthews
3c5fd4399a Fix some more sonar issues.
Run clang-7 build first so that sonar data gets reported earlier, enable nvidia
in travis builds.
2018-12-23 14:27:11 -05:00
Brenden Matthews
9af6fa7903
Merge pull request #714 from brndnmtthws/fix-build-with-warnings-enabled
Fix MAINTAINER_MODE (-Wall -Werror -Wpedantic).
2018-12-22 19:59:30 -05:00
Brenden Matthews
4ef597da92
Parallelize sonar execution. 2018-12-22 19:25:00 -05:00
Brenden Matthews
8e1d3cfdd3
Apply fixes from sonar. 2018-12-22 19:10:10 -05:00
Brenden Matthews
2e6894f564
Remove ccache; it breaks the build with GCC 7 & 8. 2018-12-22 18:50:39 -05:00
Brenden Matthews
bc60fb2c2f
More build fixes. 2018-12-22 18:34:29 -05:00
Brenden Matthews
50a4aa25ab
Merge commit 'ebfbb3f6dfb68e9c4701f1068f35f4c33ff47d07' into fix-build-with-warnings-enabled 2018-12-22 16:05:36 -05:00
Brenden Matthews
ebfbb3f6df Squashed '3rdparty/toluapp/' changes from db877c5d..afe3be74
afe3be74 Enable std c99 (#5)

git-subtree-dir: 3rdparty/toluapp
git-subtree-split: afe3be74401a5e3fa592ddc1b0c625862ea3301d
2018-12-22 16:05:36 -05:00
Brenden Matthews
94a854cfa2
More build fixes. 2018-12-22 15:53:34 -05:00
Brenden Matthews
198cc9230a
More build fixes. 2018-12-22 15:43:40 -05:00
Brenden Matthews
d191a5fa5c
More build fixes. 2018-12-22 15:42:46 -05:00