1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-16 04:02:15 +00:00
conky/src
Tóth János 47ec9f911c
Fix OpenBSD build (#2080)
- Fix unclosed OBJ in core.cc when target is OpenBSD
- `to_real_path` changes:
  - Canonicalize result to mimic `realpath` behavior
  - Partially implement `to_real_path` for OpenBSD
  - Add more tests for `to_real_path`.
- Build system improvements:
  - Use same i18n include/link logic for all platforms
  - Replace `HAVE_SOME_SOUNDCARD_H` and `HAVE_LINUX_SOUNDCARD_H` with `HAVE_SOUNDCARD_H`
    and use other defines (__linux__) to guard include
  - Replace `<XXX>_LIBRARIES` with `<XXX>_LINK_LIBRARIES` for linking.
    - Libraries weren't in default linker search path on OpenBSD
- OpenBSD specific:
  - Fix bsdapm.cc
  - Remove diskio stats stubs
  - Stub get_battery_short_status
  - Remove `-stdlib=libc++` build flag on OpenBSD

Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Co-authored-by: gmb <gmb@openbsd76.my.domain>
Co-authored-by: Tin Švagelj <tin.svagelj@live.com>
2024-11-22 23:45:11 +00:00
..
algebra.cc Add algebra unit tests 2024-10-31 08:06:06 -04:00
algebra.h Add algebra unit tests 2024-10-31 08:06:06 -04:00
apcupsd.cc fixed wrong spelled words 2021-01-23 17:59:07 -06:00
apcupsd.h Use unsigned int for p_max_size in obj_cb.print 2018-08-08 15:54:47 -04:00
audacious.cc audacious.cc: print_audacious_filename(): fix always empty $audacious_filename 2024-09-21 08:07:33 -04:00
audacious.h Make GitLab build work with clang checks. 2019-02-23 17:13:19 -05:00
bsdapm.cc Fix OpenBSD build (#2080) 2024-11-22 23:45:11 +00:00
bsdapm.h Update copyright 2024-02-22 08:53:35 -05:00
build.h.in Remove build date and associated vars 2024-02-22 08:36:21 -05:00
c++wrap.cc Make GitLab build work with clang checks. 2019-02-23 17:13:19 -05:00
c++wrap.hh Apply fixes from clang-tidy/format. 2019-02-23 17:13:19 -05:00
ccurl_thread.cc Update copyright 2024-02-22 08:53:35 -05:00
ccurl_thread.h Update copyright 2024-02-22 08:53:35 -05:00
CMakeLists.txt Fix OpenBSD build (#2080) 2024-11-22 23:45:11 +00:00
cmus.cc use clang-format 2022-10-12 21:35:35 -04:00
cmus.h Use unsigned int for p_max_size in obj_cb.print 2018-08-08 15:54:47 -04:00
colour-names-stub.hh Change debug message level 2024-05-02 08:32:22 -04:00
colour-settings.cc Update copyright 2024-02-22 08:53:35 -05:00
colour-settings.h Update copyright 2024-02-22 08:53:35 -05:00
colours.cc Add BUILD_COLOUR_NAME_MAP build flag 2024-05-02 08:32:22 -04:00
colours.h Use perfect hash (gperf) for parsing color names (#1848) 2024-04-24 06:24:54 +00:00
combine.cc Update copyright 2024-02-22 08:53:35 -05:00
combine.h Update copyright 2024-02-22 08:53:35 -05:00
common.cc Fix OpenBSD build (#2080) 2024-11-22 23:45:11 +00:00
common.h Fix OpenBSD build (#2080) 2024-11-22 23:45:11 +00:00
conky-imlib2.cc Introduce geometry primitives (#1862) 2024-05-07 20:02:47 +00:00
conky-imlib2.h Cleanup build flags, global namespace and includes (#1841) 2024-04-23 21:15:37 +00:00
conky.cc Implement -U for FreeBSD. 2024-11-13 07:38:00 -05:00
conky.h Remove dpi scaling of maximum width (#1877) 2024-04-30 20:21:39 +00:00
core.cc Fix OpenBSD build (#2080) 2024-11-22 23:45:11 +00:00
core.h Update copyright 2024-02-22 08:53:35 -05:00
cpu.cc Update copyright 2024-02-22 08:53:35 -05:00
cpu.h Update copyright 2024-02-22 08:53:35 -05:00
darwin_sip.h update copyright year to 2019 2019-01-05 11:15:36 -06:00
darwin.h Make GitLab build work with clang checks. 2019-02-23 17:13:19 -05:00
darwin.mm logging: define CRIT_ERR_FREE and simplify CRIT_ERR 2023-05-09 02:26:29 +00:00
data-source.cc fixed wrong spelled words 2021-01-23 17:59:07 -06:00
data-source.hh Two more formatting fixes. 2021-01-24 09:08:29 -06:00
diskio.cc Made downspeedgraph and upspeedgraph use same scaling 2024-07-21 08:08:10 -04:00
diskio.h Update copyright 2024-02-22 08:53:35 -05:00
display-console.cc Cleanup build flags, global namespace and includes (#1841) 2024-04-23 21:15:37 +00:00
display-console.hh proper console display (move code out of conky.cc) 2022-09-10 20:39:11 +02:00
display-file.cc Cleanup build flags, global namespace and includes (#1841) 2024-04-23 21:15:37 +00:00
display-file.hh move file output to a separate display-file 2022-09-10 20:39:11 +02:00
display-http.cc Cleanup build flags, global namespace and includes (#1841) 2024-04-23 21:15:37 +00:00
display-http.hh Cleanup build flags, global namespace and includes (#1841) 2024-04-23 21:15:37 +00:00
display-ncurses.cc Cleanup build flags, global namespace and includes (#1841) 2024-04-23 21:15:37 +00:00
display-ncurses.hh Cleanup build flags, global namespace and includes (#1841) 2024-04-23 21:15:37 +00:00
display-output.cc Cleanup build flags, global namespace and includes (#1841) 2024-04-23 21:15:37 +00:00
display-output.hh Make dpi_scale match original behavior (#1936) 2024-05-26 19:04:53 +00:00
display-wayland.cc Revert changes from #1926 & #1877 (#1949) 2024-06-01 14:38:16 +00:00
display-wayland.hh Remove dpi scaling of maximum width (#1877) 2024-04-30 20:21:39 +00:00
display-x11.cc Revert changes from #1926 & #1877 (#1949) 2024-06-01 14:38:16 +00:00
display-x11.hh Remove dpi scaling of maximum width (#1877) 2024-04-30 20:21:39 +00:00
dragonfly.cc logging: define CRIT_ERR_FREE and simplify CRIT_ERR 2023-05-09 02:26:29 +00:00
dragonfly.h Add formatting/static analysis (#486) 2018-05-12 12:03:00 -04:00
entropy.cc Update copyright 2024-02-22 08:53:35 -05:00
entropy.h Update copyright 2024-02-22 08:53:35 -05:00
exec.cc Made downspeedgraph and upspeedgraph use same scaling 2024-07-21 08:08:10 -04:00
exec.h Update copyright 2024-02-22 08:53:35 -05:00
fonts.cc Update copyright 2024-02-22 08:53:35 -05:00
fonts.h Update copyright 2024-02-22 08:53:35 -05:00
freebsd.cc Implement -U for FreeBSD. 2024-11-13 07:38:00 -05:00
freebsd.h Implement -U for FreeBSD. 2024-11-13 07:38:00 -05:00
fs.cc Fix OpenBSD build (#2080) 2024-11-22 23:45:11 +00:00
fs.h src/fs.{cc,h}: Update fs_stats without error spam. 2024-09-15 08:20:13 -04:00
geometry.h Fix for GCC 15 two-phase lookup 2024-07-23 09:09:54 -04:00
gradient.cc Update copyright 2024-02-22 08:53:35 -05:00
gradient.h Update copyright 2024-02-22 08:53:35 -05:00
gui.cc Remove _member_access from geometry (#1910) 2024-05-13 20:08:27 +00:00
gui.h Remove _member_access from geometry (#1910) 2024-05-13 20:08:27 +00:00
haiku.cc Update copyright 2024-02-22 08:53:35 -05:00
haiku.h Add formatting/static analysis (#486) 2018-05-12 12:03:00 -04:00
hddtemp.cc Update copyright 2024-02-22 08:53:35 -05:00
hddtemp.h Update copyright 2024-02-22 08:53:35 -05:00
i8k.cc Update copyright 2024-02-22 08:53:35 -05:00
i8k.h Update copyright 2024-02-22 08:53:35 -05:00
i18n.h Update copyright 2024-02-22 08:53:35 -05:00
ibm.cc Update copyright 2024-02-22 08:53:35 -05:00
ibm.h Update copyright 2024-02-22 08:53:35 -05:00
ical.cc Update copyright 2024-02-22 08:53:35 -05:00
ical.h Update copyright 2024-02-22 08:53:35 -05:00
iconv_tools.cc Update copyright 2024-02-22 08:53:35 -05:00
iconv_tools.h Update copyright 2024-02-22 08:53:35 -05:00
intel_backlight.cc Added support for Intel backlight. 2021-04-22 10:06:36 -05:00
intel_backlight.h Added support for Intel backlight. 2021-04-22 10:06:36 -05:00
irc.cc Update copyright 2024-02-22 08:53:35 -05:00
irc.h Update copyright 2024-02-22 08:53:35 -05:00
journal.cc Update copyright 2024-02-22 08:53:35 -05:00
journal.h Update copyright 2024-02-22 08:53:35 -05:00
libmpdclient.cc Replace atoi and atol with strtol (most files). 2022-09-25 18:24:03 -04:00
libmpdclient.h fixed wrong spelled words 2021-01-23 17:59:07 -06:00
libtcp-portmon.cc fixed wrong spelled words 2021-01-23 17:59:07 -06:00
libtcp-portmon.h fixed wrong spelled words 2021-01-23 17:59:07 -06:00
linux.cc Move is_conky_already_running() to src/linux.cc. 2024-11-05 12:13:24 -05:00
linux.h Move is_conky_already_running() to src/linux.cc. 2024-11-05 12:13:24 -05:00
llua.cc Remove _member_access from geometry (#1910) 2024-05-13 20:08:27 +00:00
llua.h Fix build with specific option combination (#1918) 2024-05-15 18:18:11 +00:00
logging.h Update copyright 2024-02-22 08:53:35 -05:00
lua-config.cc Add formatting/static analysis (#486) 2018-05-12 12:03:00 -04:00
lua-config.hh Add formatting/static analysis (#486) 2018-05-12 12:03:00 -04:00
luamm.cc FreeBSD fixes, GitLab CI build improvements. 2019-02-25 11:22:19 -05:00
luamm.hh Apply a few minor formatting fixes. 2021-01-24 08:44:28 -06:00
macros.h Introduce geometry primitives (#1862) 2024-05-07 20:02:47 +00:00
mail.cc Update copyright 2024-02-22 08:53:35 -05:00
mail.h Update copyright 2024-02-22 08:53:35 -05:00
main.cc Fix OpenBSD build (#2080) 2024-11-22 23:45:11 +00:00
mboxscan.cc Update copyright 2024-02-22 08:53:35 -05:00
mboxscan.h Update copyright 2024-02-22 08:53:35 -05:00
misc.cc Made various misc.cc functions more concise 2020-01-31 19:11:44 -05:00
misc.h Added strip command 2020-01-24 19:27:31 -05:00
mixer.cc Fix OpenBSD build (#2080) 2024-11-22 23:45:11 +00:00
mixer.h Update copyright 2024-02-22 08:53:35 -05:00
moc.cc Make GitLab build work with clang checks. 2019-02-23 17:13:19 -05:00
moc.h Use unsigned int for p_max_size in obj_cb.print 2018-08-08 15:54:47 -04:00
mouse-events.cc Remove _member_access from geometry (#1910) 2024-05-13 20:08:27 +00:00
mouse-events.h Introduce geometry primitives (#1862) 2024-05-07 20:02:47 +00:00
mpd.cc Update copyright 2024-02-22 08:53:35 -05:00
mpd.h Update copyright 2024-02-22 08:53:35 -05:00
mysql.cc Update copyright 2024-02-22 08:53:35 -05:00
mysql.h Update copyright 2024-02-22 08:53:35 -05:00
nc.cc Update copyright 2024-02-22 08:53:35 -05:00
nc.h Update copyright 2024-02-22 08:53:35 -05:00
net_stat.cc Made downspeedgraph and upspeedgraph use same scaling 2024-07-21 08:08:10 -04:00
net_stat.h Update copyright 2024-02-22 08:53:35 -05:00
netbsd.cc Update copyright 2024-02-22 08:53:35 -05:00
netbsd.h Add formatting/static analysis (#486) 2018-05-12 12:03:00 -04:00
nvidia.cc Fix logic bug in cache_nvidia_string_value_update() (#2022) 2024-08-29 09:15:09 -04:00
nvidia.h Cleanup build flags, global namespace and includes (#1841) 2024-04-23 21:15:37 +00:00
openbsd.cc Fix OpenBSD build (#2080) 2024-11-22 23:45:11 +00:00
openbsd.h Fix OpenBSD build (#2080) 2024-11-22 23:45:11 +00:00
prioqueue.cc Make GitLab build work with clang checks. 2019-02-23 17:13:19 -05:00
prioqueue.h Build improvements: clang-tidy, sonar, Dockerfile. (#488) 2018-05-12 19:26:31 -04:00
proc.cc Update copyright 2024-02-22 08:53:35 -05:00
proc.h Update copyright 2024-02-22 08:53:35 -05:00
prss.cc Confirm pointer is not null and use sizeof object instead of struct 2021-01-23 18:39:01 -06:00
prss.h Build improvements (external libs, enable more options). (#498) 2018-05-13 13:33:18 -04:00
pulseaudio.cc Format code using 'make clang-format' 2024-02-23 08:36:32 -05:00
pulseaudio.h Add basic pulse audio source support 2024-02-23 08:36:32 -05:00
read_tcpip.cc Fix tcp_ping for non-existent local network hosts 2024-09-24 22:54:26 +02:00
read_tcpip.h Update copyright 2024-02-22 08:53:35 -05:00
rss.cc Update copyright 2024-02-22 08:53:35 -05:00
rss.h Update copyright 2024-02-22 08:53:35 -05:00
scroll.cc Replace use of strncat in scroll.cc with strcat (#1950) 2024-06-01 14:22:24 +00:00
scroll.h Update copyright 2024-02-22 08:53:35 -05:00
semaphore.hh Apply fixes from clang-tidy/format. 2019-02-23 17:13:19 -05:00
setting.cc Unbreak Xinerama config loading. (#1408) 2023-02-18 09:34:53 -05:00
setting.hh Fix (some) wayland/x11 init ordering issues. 2022-12-26 13:21:40 -05:00
smapi.cc Make GitLab build work with clang checks. 2019-02-23 17:13:19 -05:00
smapi.h Use unsigned int for p_max_size in obj_cb.print 2018-08-08 15:54:47 -04:00
solaris.cc Update copyright 2024-02-22 08:53:35 -05:00
solaris.h Add formatting/static analysis (#486) 2018-05-12 12:03:00 -04:00
sony.cc Update copyright 2024-02-22 08:53:35 -05:00
sony.h Update copyright 2024-02-22 08:53:35 -05:00
specials.cc Implemented graph value clamping (#2000) 2024-07-30 12:30:29 -04:00
specials.h Implemented graph value clamping (#2000) 2024-07-30 12:30:29 -04:00
tailhead.cc Update copyright 2024-02-22 08:53:35 -05:00
tailhead.h Update copyright 2024-02-22 08:53:35 -05:00
tcp-portmon.cc logging: define CRIT_ERR_FREE and simplify CRIT_ERR 2023-05-09 02:26:29 +00:00
tcp-portmon.h fixed wrong spelled words 2021-01-23 17:59:07 -06:00
temphelper.cc Make GitLab build work with clang checks. 2019-02-23 17:13:19 -05:00
temphelper.h Add new text objects to retrieve the currently used keyboard layout and mouse speed in percentage and generate random password of chosen length and get the cpu clock speed from assembly (#550) 2018-08-04 15:01:28 -04:00
template.cc Remove _member_access from geometry (#1910) 2024-05-13 20:08:27 +00:00
template.h Update copyright 2024-02-22 08:53:35 -05:00
text_object.cc Update copyright 2024-02-22 08:53:35 -05:00
text_object.h Cleanup build flags, global namespace and includes (#1841) 2024-04-23 21:15:37 +00:00
timeinfo.cc Update copyright 2024-02-22 08:53:35 -05:00
timeinfo.h Update copyright 2024-02-22 08:53:35 -05:00
top.cc Format code using 'make clang-format' 2024-02-23 08:36:32 -05:00
top.h Update copyright 2024-02-22 08:53:35 -05:00
update-cb.cc shared_ptr::unique() deprecated, use use_count() 2024-05-02 09:52:30 -04:00
update-cb.hh Apply a few minor formatting fixes. 2021-01-24 08:44:28 -06:00
user.cc Update copyright 2024-02-22 08:53:35 -05:00
user.h Update copyright 2024-02-22 08:53:35 -05:00
users.cc Update copyright 2024-02-22 08:53:35 -05:00
users.h Update copyright 2024-02-22 08:53:35 -05:00
wl.cc Update copyright 2024-02-22 08:53:35 -05:00
wl.h Cleanup build flags, global namespace and includes (#1841) 2024-04-23 21:15:37 +00:00
wlr-layer-shell-unstable-v1.xml wayland: switch to zwlr_layer_shell_v1 and implement proper window placement 2022-12-24 09:42:02 -05:00
x11-color.cc Use perfect hash (gperf) for parsing color names (#1848) 2024-04-24 06:24:54 +00:00
x11-settings.cc Fix build with specific option combination. 2024-05-20 14:41:21 -04:00
x11-settings.h Cleanup build flags, global namespace and includes (#1841) 2024-04-23 21:15:37 +00:00
x11.cc Fix incorrect X11 dock/panel placement (#2056) 2024-10-10 01:14:25 +00:00
x11.h Introduce geometry primitives (#1862) 2024-05-07 20:02:47 +00:00
xmms2.cc Update copyright 2024-02-22 08:53:35 -05:00
xmms2.h Update copyright 2024-02-22 08:53:35 -05:00