Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 588384 - dev-libs/sway-0.8 should depend on >=dev-libs/libinput-1.1.0
Summary: dev-libs/sway-0.8 should depend on >=dev-libs/libinput-1.1.0
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jasen Borisov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-08 22:54 UTC by Kris Scott
Modified: 2016-07-09 17:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kris Scott 2016-07-08 22:54:35 UTC
Compiling sway with libinput < 1.1.0 results in the error:

/var/tmp/portage/dev-libs/sway-0.8/work/sway-0.8/sway/commands.c: In function ‘input_cmd_accel_profile’:
/var/tmp/portage/dev-libs/sway-0.8/work/sway-0.8/sway/commands.c:1283:31: error: ‘LIBINPUT_CONFIG_ACCEL_PROFILE_ADAPTIVE’ undeclared (first use in this function)
   new_config->accel_profile = LIBINPUT_CONFIG_ACCEL_PROFILE_ADAPTIVE;
                               ^
/var/tmp/portage/dev-libs/sway-0.8/work/sway-0.8/sway/commands.c:1283:31: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/portage/dev-libs/sway-0.8/work/sway-0.8/sway/commands.c:1285:31: error: ‘LIBINPUT_CONFIG_ACCEL_PROFILE_FLAT’ undeclared (first use in this function)
   new_config->accel_profile = LIBINPUT_CONFIG_ACCEL_PROFILE_FLAT;
                               ^
Accel profiles were added in libinput-1.1.0.
Comment 1 Coacher 2016-07-09 04:30:54 UTC
Last <dev-libs/libinput-1.1.0 version was removed from tree several days ago.
dev-libs/sway-0.8 entered the tree only after this happened.
Comment 2 Jasen Borisov 2016-07-09 17:15:32 UTC
There is currently no version of libinput in gentoo that is too old to build sway. The oldest version in portage is 1.1.0, which works correctly.

Therefore, I believe it is not necessary to specify a minimum version for the dependency.