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 678120 - Build patches
Build patches
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: general
unspecified
Other All
: Normal critical
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2012-06-14 18:37 UTC by Colin Walters
Modified: 2012-06-15 10:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: Link against xext, needed for XSync API (748 bytes, patch)
2012-06-14 18:37 UTC, Colin Walters
none Details | Review
build: Link test-power plugin against -lm, it uses floor() (837 bytes, patch)
2012-06-14 18:37 UTC, Colin Walters
committed Details | Review
power: Link to xext (1.85 KB, patch)
2012-06-14 19:16 UTC, Colin Walters
none Details | Review

Description Colin Walters 2012-06-14 18:37:22 UTC
Two patches to unbreak the build.
Comment 1 Colin Walters 2012-06-14 18:37:24 UTC
Created attachment 216441 [details] [review]
build: Link against xext, needed for XSync API
Comment 2 Colin Walters 2012-06-14 18:37:26 UTC
Created attachment 216442 [details] [review]
build: Link test-power plugin against -lm, it uses floor()
Comment 3 Colin Walters 2012-06-14 19:04:16 UTC
Comment on attachment 216442 [details] [review]
build: Link test-power plugin against -lm, it uses floor()

Attachment 216442 [details] pushed as c36c0eb - build: Link test-power plugin against -lm, it uses floor()
Comment 4 Colin Walters 2012-06-14 19:16:37 UTC
Created attachment 216450 [details] [review]
power: Link to xext

Since we use XSync(), the build will fail if the linker defaults to
--no-copy-dt-needed-entries.
Comment 5 Bastien Nocera 2012-06-15 10:53:13 UTC
There was already a misused UPOWER_* pkg-config check, so we used that instead.