GNOME Bugzilla – Bug 769140
_NL_TIME_FIRST_WEEKDAY and _NL_TIME_WEEK_1STDAY are not available on systems not using glibc
Last modified: 2017-04-17 18:20:40 UTC
Recent commits on gnome-calendar cause these errors because _NL_TIME_FIRST_WEEKDAY and _NL_TIME_WEEK_1STDAY are GNU extensions. src/gcal-date-chooser.c:338:34: error: use of undeclared identifier '_NL_TIME_FIRST_WEEKDAY' src/gcal-date-chooser.c:340:34: error: use of undeclared identifier '_NL_TIME_WEEK_1STDAY'
Created attachment 332189 [details] [review] date-chooser: don't reimplement get_first_weekday Function calendar_get_week_start do the same things with the same code as function get_first_weekday, so it is better to remove calendar_get_week_start and switch all the use of calendar_get_week_start to get_first_weekday. This also fixes build problems on non-glibc systems because get_first_weekday provides fallback for non-glibc systems.
Thanks for working on this issue. Attachment 332189 [details] pushed as f8a3c77 - date-chooser: don't reimplement get_first_weekday