Since a Saucy GTK update, psensor fails to build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
psensor (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Due to a Saucy GTK update, psensor cannot be build.
The error is due to the deprecation of the GTK Color Selection widget, and the Psensor build fails on deprecation warnings.
ui_color.c: In function 'ui_change_color':
ui_color.c:26:2: error: unknown type name 'GtkColorSelection'
GtkColorSelection *colorsel;
^
ui_color.c:28:2: error: unknown type name 'GtkColorSelect
GtkColorSelec
^
ui_color.c:35:3: error: implicit declaration of function 'GTK_COLOR_
(gtk_
^
ui_color.c:35:3: error: implicit declaration of function 'gtk_color_
ui_color.c:34:11: error: assignment makes pointer from integer without a cast [-Werror]
colordlg = GTK_COLOR_
^
ui_color.c:38:3: error: implicit declaration of function 'GTK_COLOR_
(gtk_
^
ui_color.c:38:3: error: implicit declaration of function 'gtk_color_
ui_color.c:37:11: error: assignment makes pointer from integer without a cast [-Werror]
colorsel = GTK_COLOR_SELECTION
^
ui_color.c:40:2: error: implicit declaration of function 'gtk_color_
gtk_color_
^
ui_color.c:45:3: error: implicit declaration of function 'gtk_color_
gtk_
^
cc1: all warnings being treated as errors
Debdiff fixing this bug by allowing usage of deprecated gtk widgets.
This issue is fixed upstream in the trunk repository by replacing the deprecated GtkColorSelecti onDialog by GtkColorChooser Dialog. It will be available in the future 0.8.0.3 release of Psensor.
Additionnaly, this patch also switch to 3.9.4 Standards version.