https://bugs.kde.org/show_bug.cgi?id=481453

            Bug ID: 481453
           Summary: kde-gtk-config does not check for GTK+3 with X11
                    support
    Classification: Plasma
           Product: Breeze
           Version: unspecified
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: gtk theme
          Assignee: plasma-b...@kde.org
          Reporter: johannes.pens...@gmail.com
                CC: agrine...@gmail.com, uhh...@gmail.com
  Target Milestone: ---

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
kde-gtk-config uses GtkPlug for previewing, which is an X11-specific class. 
${ROOT}/gtk3proxies/preview3.c includes gtkx.h. However, CMake only searches
for the generic gtk+-3.0 package-config file. If GTK+3 is built without X11
support, kde-gtk-config fails to compile.

STEPS TO REPRODUCE
1. switch to an X11-free version of GTK3 and its development files.
2. attempt to build kde-gtk-config.

OBSERVED RESULT
1. CMake configuration succeeds.
2. compilation fails at  ${ROOT}/gtk3proxies/preview3.c

EXPECTED RESULT
CMake searches for gtk+-x11-3.0.pc and throws an error if it is absent.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.7.5-gentoo
(available in About System)
KDE Plasma Version: 6.0.0 (6.0 branch)
KDE Frameworks Version: 6.0.0 (master)
Qt Version: 6.6.2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to