> On Oct. 23, 2014, 12:34 p.m., Martin Gräßlin wrote: > > CMakeLists.txt, line 100 > > <https://git.reviewboard.kde.org/r/120746/diff/1/?file=321760#file321760line100> > > > > what's the thought behind makeing it an optional dependency? > > Martin Klapetek wrote: > The xinput.h is used only in the keyboard kcm, that is build only if the > XKB is found. So I just followed the same path.
thanks, that makes sense then. I was just wondering what the reasoning. > On Oct. 23, 2014, 12:34 p.m., Martin Gräßlin wrote: > > kcms/keyboard/CMakeLists.txt, lines 13-15 > > <https://git.reviewboard.kde.org/r/120746/diff/1/?file=321761#file321761line13> > > > > wouldn't it be better to use a config-foo.h file? > > Martin Klapetek wrote: > Maybe, I just (again) did the same that already exists there (the "if > (X11_Xinput_FOUND...") to keep things consistent Yeah, I saw the other cases, that's why I unchecked the box "open an issue" ;-) It was just a thought. - Martin ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/120746/#review68981 ----------------------------------------------------------- On Oct. 23, 2014, 12:08 p.m., Martin Klapetek wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/120746/ > ----------------------------------------------------------- > > (Updated Oct. 23, 2014, 12:08 p.m.) > > > Review request for Plasma. > > > Repository: plasma-desktop > > > Description > ------- > > e5741584 reintroduced xcb xinput code and added a "#include <xcb/xinput.h>" > without properly looking for xinput in cmake (and was placed in wrong ifdef). > > This makes cmake look for xcb xinput and properly ifdef the code if > xcb/xinput.h is not found; for example debian-based systems ship xcb without > xinput altogether. > > > Diffs > ----- > > CMakeLists.txt 7e2ccd6 > kcms/keyboard/CMakeLists.txt f05be16 > kcms/keyboard/xinput_helper.cpp f15fbdf > > Diff: https://git.reviewboard.kde.org/r/120746/diff/ > > > Testing > ------- > > Everything built fine. > > > Thanks, > > Martin Klapetek > >
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel