Skip to content

Compiling on Fedora Linux 40 with KDE 6 #543

@patch-work

Description

@patch-work
> 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions