rcaelers / workrave

Workrave is a program that assists in the recovery and prevention of Repetitive Strain Injury (RSI). The program frequently alerts you to take micro-pauses, rest breaks and restricts you to your daily limit.
https://www.workrave.org
GNU General Public License v3.0
1.61k stars 204 forks source link

Compiling on Fedora Linux 40 with KDE 6 #543

Open patch-work opened 6 months ago

patch-work commented 6 months ago
> cd /tmp
> tar --xz -xf workrave-1.11.0-beta.12.tar.xz
> mkdir workrave
> cd workrave/

> cmake -DHAVE_WAYLAND:BOOL=TRUE --install-prefix=/opt/workrave ../1.11.0-beta.12/
-- The C compiler identification is Clang 18.1.1
-- The CXX compiler identification is Clang 18.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.0")
-- Performing Test COMPILER_SUPPORTS_FCONCEPTS
-- Performing Test COMPILER_SUPPORTS_FCONCEPTS - Failed
-- Performing Test COMPILER_SUPPORTS_FCONCEPTS_TS
-- Performing Test COMPILER_SUPPORTS_FCONCEPTS_TS - Failed
-- Found Python3: /usr/bin/python3.12 (found version "3.12.2") found components: Interpreter
-- Checking for: Jinja2
-- Found PY_jinja2: /usr/lib/python3.12/site-packages/jinja2
-- Checking for: Gtk 3
-- Checking for modules 'gtkmm-3.0>=3.22.0;gtk+-3.0>=3.22.0'
--   Found gtkmm-3.0, version 3.24.9
--   Found gtk+-3.0, version 3.24.41
-- Checking for modules 'glib-2.0>=2.56.0;gio-2.0>=2.56.0'
--   Found glib-2.0, version 2.80.0
--   Found gio-2.0, version 2.80.0
-- GSettings schemas will be installed into share/glib-2.0/schemas/
-- Checking for module 'wayland-client'
--   Found wayland-client, version 1.22.0
-- Checking for: GStreamer
-- Checking for: Pulseaudio
-- Checking for modules 'glib-2.0;libpulse;libpulse-mainloop-glib'
--   Found glib-2.0, version 2.80.0
--   Found libpulse, version 16.1
--   Found libpulse-mainloop-glib, version 16.1
-- Checking for: Gnome 3 classic panel applets
-- Checking for: DBUS Menu
-- Checking for modules 'dbusmenu-glib-0.4;dbusmenu-gtk3-0.4'
--   Found dbusmenu-glib-0.4, version 16.04.0
--   Found dbusmenu-gtk3-0.4, version 16.04.0
-- Checking for module 'gtk+-3.0>=3.10.0'
--   Found gtk+-3.0, version 3.24.41
-- Checking for: Ayatana Indicators
-- Checking for module 'gobject-introspection-1.0'
--   Found gobject-introspection-1.0, version 1.80.1
-- Checking for module 'ayatana-indicator3-0.4'
--   Found ayatana-indicator3-0.4, version 0.9.4
-- Checking for: AppIndicator
-- Checking for module 'ayatana-appindicator3-0.1'
--   Found ayatana-appindicator3-0.1, version 0.5.93
-- Checking for: Mate
-- Checking for module 'libmatepanelapplet-4.0>=1.20.0'
--   Found libmatepanelapplet-4.0, version 1.28.1
-- Checking for: Xfce 4
-- Checking for module 'libxfce4panel-2.0>=4.12'
--   Found libxfce4panel-2.0, version 4.18.6
-- Performing Test HAVE_NL_TIME_FIRST_WEEKDAY_AND_WEEK_1STDAY
-- Performing Test HAVE_NL_TIME_FIRST_WEEKDAY_AND_WEEK_1STDAY - Success
-- Found Boost: /usr/include (found suitable version "1.83.0", minimum required is "1.54.0") found components: date_time program_options serialization
-- Found Gettext: /usr/bin/msgmerge (found version "0.22.5")
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Libintl: /usr/include
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Looking for XRecordEnableContext in Xtst
-- Looking for XRecordEnableContext in Xtst - found
-- Looking for XScreenSaverRegister in Xext
-- Looking for XScreenSaverRegister in Xext - not found
-- Looking for XScreenSaverRegister in Xss
-- Looking for XScreenSaverRegister in Xss - found
-- Looking for include file X11/extensions/scrnsaver.h
-- Looking for include file X11/extensions/scrnsaver.h - found
-- Build spdlog: 1.12.0
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Build type: Release
-- Looking for setlocale
-- Looking for setlocale - found
-- Checking for module 'gtk4>=4.10.0'
--   Found gtk4, version 4.14.3
--
-- Workrave 1.11.0-beta.12
--
--                         Workrave : 1.11.0-beta.12
--                   Install prefix : /opt/workrave
--                               OS : Unix
--                               UI : Gtk+3
--
--          GSettings configuration : Yes
--                 ActivityMonitors : mutter,wayland,screensaver,record,x11events
--                   Gnome 3 Applet : No
--                  Gnome Shell API : <45
--                 Indicator Applet : Yes
--                      XFCE Applet : Yes
--                      MATE Applet : Yes
--                     AppIndicator : Yes
--                Legacy StatusIcon : No
--                       DBus Menus : Yes
--                        GStreamer : No
--                       Pulseaudio : Yes
--                             DBUS : Yes
--                       Debug logs : No
--                            Tests : No
-- Configuring done (16.0s)
-- Generating done (0.1s)
-- Build files have been written to: /tmp/workrave

> make
[...]

> doas cmake --install .
[...]
-- Installing: /opt/workrave/bin/workrave

> /opt/workrave/bin/workrave --help
[2024-04-27 17:23:03.830] [workrave] [info ] Workrave started
[2024-04-27 17:23:03.830] [workrave] [info ] Log file:$HOME/.cache/workrave/workrave.log
[2024-04-27 17:23:03.831] [workrave] [info ] Forcing X11 backend
[2024-04-27 17:23:03.991] [toolkit] [info ] Toolkit reported # displays : 1
[2024-04-27 17:23:03.992] [toolkit] [info ] Display #0: primary=true x=0 y=0 w=3840 h=2560
[2024-04-27 17:23:03.992] [workrave] [info ] Started plugin: workrave.DbusMenu
[2024-04-27 17:23:03.992] [workrave] [info ] Started plugin: workrave.AppIndicatorMenu
[2024-04-27 17:23:03.994] [workrave] [info ] Started plugin: workrave.X11SystrayAppletWindow
[2024-04-27 17:23:03.995] [workrave] [info ] Started plugin: workrave.GnomeSession
[2024-04-27 17:23:03.996] [workrave] [info ] Started plugin: workrave.GenericDBusApplet
Usage:
workrave [OPTION?]

Help Options:
-h, --help                 Show help options
--help-all                 Show all help options
--help-gapplication        Show GApplication options
--help-gtk                 Show GTK+ Options

Application Options:
--display=DISPLAY          X display to use

OK

patch-work commented 6 months ago

Issues:

patch-work commented 6 months ago

Linked libraries.

> ldd /opt/workrave/bin/workrave
linux-vdso.so.1 (0x00007ffcd11b6000)
libboost_serialization.so.1.83.0 => /lib64/libboost_serialization.so.1.83.0 (0x00007fd037dff000)
libpulse-mainloop-glib.so.0 => /lib64/libpulse-mainloop-glib.so.0 (0x00007fd037df9000)
libpulse.so.0 => /lib64/libpulse.so.0 (0x00007fd037da8000)
libwayland-client.so.0 => /lib64/libwayland-client.so.0 (0x00007fd037d9a000)
libgtkmm-3.0.so.1 => /lib64/libgtkmm-3.0.so.1 (0x00007fd037800000)
libatkmm-1.6.so.1 => /lib64/libatkmm-1.6.so.1 (0x00007fd037d46000)
libgdkmm-3.0.so.1 => /lib64/libgdkmm-3.0.so.1 (0x00007fd037ce9000)
libgiomm-2.4.so.1 => /lib64/libgiomm-2.4.so.1 (0x00007fd03761a000)
libpangomm-1.4.so.1 => /lib64/libpangomm-1.4.so.1 (0x00007fd037cb3000)
libglibmm-2.4.so.1 => /lib64/libglibmm-2.4.so.1 (0x00007fd037587000)
libcairomm-1.0.so.1 => /lib64/libcairomm-1.0.so.1 (0x00007fd037c86000)
libsigc-2.0.so.0 => /lib64/libsigc-2.0.so.0 (0x00007fd037c7e000)
libX11.so.6 => /lib64/libX11.so.6 (0x00007fd037444000)
libXtst.so.6 => /lib64/libXtst.so.6 (0x00007fd037c74000)
libXss.so.1 => /lib64/libXss.so.1 (0x00007fd03743f000)
libayatana-indicator3.so.7 => /lib64/libayatana-indicator3.so.7 (0x00007fd03742a000)
libayatana-ido3-0.4.so.0 => /lib64/libayatana-ido3-0.4.so.0 (0x00007fd037401000)
libayatana-appindicator3.so.1 => /lib64/libayatana-appindicator3.so.1 (0x00007fd0373f1000)
libdbusmenu-glib.so.4 => /lib64/libdbusmenu-glib.so.4 (0x00007fd0373d0000)
libdbusmenu-gtk3.so.4 => /lib64/libdbusmenu-gtk3.so.4 (0x00007fd0373bb000)
libgtk-3.so.0 => /lib64/libgtk-3.so.0 (0x00007fd036c00000)
libgdk-3.so.0 => /lib64/libgdk-3.so.0 (0x00007fd036b12000)
libz.so.1 => /lib64/libz.so.1 (0x00007fd036af1000)
libpangocairo-1.0.so.0 => /lib64/libpangocairo-1.0.so.0 (0x00007fd036ae0000)
libpango-1.0.so.0 => /lib64/libpango-1.0.so.0 (0x00007fd036a75000)
libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x00007fd036960000)
libatk-1.0.so.0 => /lib64/libatk-1.0.so.0 (0x00007fd03693a000)
libcairo-gobject.so.2 => /lib64/libcairo-gobject.so.2 (0x00007fd036931000)
libcairo.so.2 => /lib64/libcairo.so.2 (0x00007fd0367fc000)
libgdk_pixbuf-2.0.so.0 => /lib64/libgdk_pixbuf-2.0.so.0 (0x00007fd0367ce000)
libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x00007fd036600000)
libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007fd0365a2000)
libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007fd036455000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fd036000000)
libm.so.6 => /lib64/libm.so.6 (0x00007fd036372000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fd036345000)
libc.so.6 => /lib64/libc.so.6 (0x00007fd035e13000)
libpulsecommon-16.1.so => /usr/lib64/pulseaudio/libpulsecommon-16.1.so (0x00007fd0362c0000)
libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007fd03626c000)
libffi.so.8 => /lib64/libffi.so.8 (0x00007fd035e03000)
libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007fd036263000)
/lib64/ld-linux-x86-64.so.2 (0x00007fd037e6b000)
libxcb.so.1 => /lib64/libxcb.so.1 (0x00007fd035dd8000)
libXi.so.6 => /lib64/libXi.so.6 (0x00007fd035dc5000)
libXext.so.6 => /lib64/libXext.so.6 (0x00007fd035db1000)
libpangoft2-1.0.so.0 => /lib64/libpangoft2-1.0.so.0 (0x00007fd035d97000)
libfontconfig.so.1 => /lib64/libfontconfig.so.1 (0x00007fd035d45000)
libfribidi.so.0 => /lib64/libfribidi.so.0 (0x00007fd035d26000)
libepoxy.so.0 => /lib64/libepoxy.so.0 (0x00007fd035c18000)
libatk-bridge-2.0.so.0 => /lib64/libatk-bridge-2.0.so.0 (0x00007fd035bdb000)
libcloudproviders.so.0 => /lib64/libcloudproviders.so.0 (0x00007fd035bc1000)
libtracker-sparql-3.0.so.0 => /lib64/libtracker-sparql-3.0.so.0 (0x00007fd035ae6000)
libXfixes.so.3 => /lib64/libXfixes.so.3 (0x00007fd035ade000)
libxkbcommon.so.0 => /lib64/libxkbcommon.so.0 (0x00007fd035a95000)
libwayland-cursor.so.0 => /lib64/libwayland-cursor.so.0 (0x00007fd035a8b000)
libwayland-egl.so.1 => /lib64/libwayland-egl.so.1 (0x00007fd035a86000)
libXcursor.so.1 => /lib64/libXcursor.so.1 (0x00007fd035a79000)
libXdamage.so.1 => /lib64/libXdamage.so.1 (0x00007fd035a74000)
libXcomposite.so.1 => /lib64/libXcomposite.so.1 (0x00007fd035a6d000)
libXrandr.so.2 => /lib64/libXrandr.so.2 (0x00007fd035a60000)
libXinerama.so.1 => /lib64/libXinerama.so.1 (0x00007fd035a5b000)
libthai.so.0 => /lib64/libthai.so.0 (0x00007fd035a4f000)
libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007fd035986000)
libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007fd035964000)
libpng16.so.16 => /lib64/libpng16.so.16 (0x00007fd03592a000)
libXrender.so.1 => /lib64/libXrender.so.1 (0x00007fd03591e000)
libxcb-render.so.0 => /lib64/libxcb-render.so.0 (0x00007fd03590e000)
libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007fd035909000)
libpixman-1.so.0 => /lib64/libpixman-1.so.0 (0x00007fd035858000)
libjpeg.so.62 => /lib64/libjpeg.so.62 (0x00007fd0357bb000)
libmount.so.1 => /lib64/libmount.so.1 (0x00007fd03576b000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fd03573e000)
libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007fd0356a2000)
libsndfile.so.1 => /lib64/libsndfile.so.1 (0x00007fd035628000)
libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007fd035538000)
libasyncns.so.0 => /lib64/libasyncns.so.0 (0x00007fd035530000)
libXau.so.6 => /lib64/libXau.so.6 (0x00007fd03552a000)
libxml2.so.2 => /lib64/libxml2.so.2 (0x00007fd0353cf000)
libatspi.so.0 => /lib64/libatspi.so.0 (0x00007fd035396000)
libjson-glib-1.0.so.0 => /lib64/libjson-glib-1.0.so.0 (0x00007fd035368000)
libsqlite3.so.0 => /lib64/libsqlite3.so.0 (0x00007fd03520a000)
libdatrie.so.1 => /lib64/libdatrie.so.1 (0x00007fd035201000)
libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fd0351ed000)
libbrotlidec.so.1 => /lib64/libbrotlidec.so.1 (0x00007fd0351df000)
libblkid.so.1 => /lib64/libblkid.so.1 (0x00007fd0351a3000)
libgsm.so.1 => /lib64/libgsm.so.1 (0x00007fd035194000)
libFLAC.so.12 => /lib64/libFLAC.so.12 (0x00007fd035130000)
libvorbis.so.0 => /lib64/libvorbis.so.0 (0x00007fd035101000)
libvorbisenc.so.2 => /lib64/libvorbisenc.so.2 (0x00007fd035069000)
libopus.so.0 => /lib64/libopus.so.0 (0x00007fd035001000)
libogg.so.0 => /lib64/libogg.so.0 (0x00007fd034ff5000)
libmpg123.so.0 => /lib64/libmpg123.so.0 (0x00007fd034f9b000)
libmp3lame.so.0 => /lib64/libmp3lame.so.0 (0x00007fd034f24000)
libcap.so.2 => /lib64/libcap.so.2 (0x00007fd034f17000)
liblz4.so.1 => /lib64/liblz4.so.1 (0x00007fd034ef6000)
liblzma.so.5 => /lib64/liblzma.so.5 (0x00007fd034ec3000)
libzstd.so.1 => /lib64/libzstd.so.1 (0x00007fd034e02000)
libbrotlicommon.so.1 => /lib64/libbrotlicommon.so.1 (0x00007fd034ddf000)
patch-work commented 4 months ago

Updated to workrave-1.11.0-beta.14.

Issue 539 is still occurring: https://github.com/rcaelers/workrave/issues/539