After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 753576 - Revert commit 'gnome-suites-core-deps-3.18: clutter requires libinput and libxkbcommon'
Revert commit 'gnome-suites-core-deps-3.18: clutter requires libinput and lib...
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: module sets
unspecified
Other FreeBSD
: Normal normal
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2015-08-13 07:20 UTC by Ting-Wei Lan
Modified: 2015-12-15 16:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Revert "gnome-suites-core-deps-3.18: clutter requires libinput and libxkbcommon" (1.22 KB, patch)
2015-08-13 07:23 UTC, Ting-Wei Lan
none Details | Review
core-deps-3.18: Move --enable-evdev-input to a separate condition for clutter (2.27 KB, patch)
2015-08-13 07:49 UTC, Ting-Wei Lan
none Details | Review
core-deps-3.18: Move --enable-evdev-input to a separate condition for clutter (2.23 KB, patch)
2015-08-24 18:52 UTC, Ting-Wei Lan
none Details | Review
core-deps-3.18/3.20: Move --enable-evdev-input to a separate condition for clutter (3.45 KB, patch)
2015-10-29 16:42 UTC, Ting-Wei Lan
committed Details | Review

Description Ting-Wei Lan 2015-08-13 07:20:33 UTC
The commit message says:
They are required for evdev input, regardless of wayland.

--enable-evdev-input is added only when wayland condition is set, so libinput and libxkbcommon should be kept in wayland condition. Do we need to add evdev condition to make --enable-evdev-input handled separately?
Comment 1 Ting-Wei Lan 2015-08-13 07:23:07 UTC
Created attachment 309192 [details] [review]
Revert "gnome-suites-core-deps-3.18: clutter requires libinput and libxkbcommon"

This reverts commit 760b72af16d24a503ee608d40203f395d9f3d1a7.

evdev is only enabled when wayland condition is set, so libinput and
libxkbcommon dependencies should stay in wayland condition.
Comment 2 Luca Bruno 2015-08-13 07:31:12 UTC
I see that evdev can be set independently from wayland. And it's the case for my setup.

I don't see anywhere in the clutter configure.ac that evdev is only enabled with wayland, am I wrong?

Or perhaps I have a weird jhbuild setup with obsolete flags, and evdev shouldn't be enabled without wayland?
Comment 3 Ting-Wei Lan 2015-08-13 07:35:24 UTC
(In reply to Luca Bruno from comment #2)
> I see that evdev can be set independently from wayland. And it's the case
> for my setup.

So we can add a new condition flag for it.

> 
> I don't see anywhere in the clutter configure.ac that evdev is only enabled
> with wayland, am I wrong?
> 
> Or perhaps I have a weird jhbuild setup with obsolete flags, and evdev
> shouldn't be enabled without wayland?

This is in jhbuild moduleset:

<if condition-set="wayland">
  <autogenargs value="--enable-wayland-backend --enable-wayland-compositor --enable-evdev-input"/>
</if>
Comment 4 Luca Bruno 2015-08-13 07:38:47 UTC
I see. Perhaps my setup is very old and I'm disabling wayland support with configure flags. Hence evdev is enabled by default.

So why should evdev only be enabled with wayland?
Comment 5 Ting-Wei Lan 2015-08-13 07:45:43 UTC
It was done in commit a287b83 for GNOME 3.12 to make jhbuild work on FreeBSD. FreeBSD currently doesn't support wayland, evdev, libinput.
Comment 6 Ting-Wei Lan 2015-08-13 07:49:28 UTC
Created attachment 309193 [details] [review]
core-deps-3.18: Move --enable-evdev-input to a separate condition for clutter
Comment 7 Ting-Wei Lan 2015-08-16 18:14:00 UTC
Do you accept the patch? We have to use 'jhbuild build --skip=libinput' on FreeBSD now because libinput and evdev are not ported to FreeBSD.
Comment 8 Luca Bruno 2015-08-16 18:16:55 UTC
I've reverted in 42cc9e1aa7032b18d510dca2a479b886c49b340f , I don't feel like adding a new condition without jhbuild developers agreement.
Comment 9 Ting-Wei Lan 2015-08-24 18:52:19 UTC
Created attachment 309930 [details] [review]
core-deps-3.18: Move --enable-evdev-input to a separate condition for clutter
Comment 10 Ting-Wei Lan 2015-10-29 16:42:19 UTC
Created attachment 314417 [details] [review]
core-deps-3.18/3.20: Move --enable-evdev-input to a separate condition for clutter
Comment 11 Frederic Peters 2015-12-15 16:52:06 UTC
Fine by me.
Comment 12 Ting-Wei Lan 2015-12-15 16:53:56 UTC
Attachment 314417 [details] pushed as 533539b - core-deps-3.18/3.20: Move --enable-evdev-input to a separate condition for clutter