Debdiff fixing this bug by allowing usage of deprecated gtk widgets. This issue is fixed upstream in the trunk repository by replacing the deprecated GtkColorSelectionDialog by GtkColorChooserDialog. 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. ** Patch added: "LP1184442.debdiff" https://bugs.launchpad.net/ubuntu/+source/psensor/+bug/1184442/+attachment/3687464/+files/LP1184442.debdiff ** Description changed: 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 'GtkColorSelectionDialog' + GtkColorSelectionDialog *colordlg; + ^ + ui_color.c:35:3: error: implicit declaration of function 'GTK_COLOR_SELECTION_DIALOG' [-Werror=implicit-function-declaration] + (gtk_color_selection_dialog_new(title)); + ^ + ui_color.c:35:3: error: implicit declaration of function 'gtk_color_selection_dialog_new' [-Werror=implicit-function-declaration] + ui_color.c:34:11: error: assignment makes pointer from integer without a cast [-Werror] + colordlg = GTK_COLOR_SELECTION_DIALOG + ^ + ui_color.c:38:3: error: implicit declaration of function 'GTK_COLOR_SELECTION' [-Werror=implicit-function-declaration] + (gtk_color_selection_dialog_get_color_selection(colordlg)); + ^ + ui_color.c:38:3: error: implicit declaration of function 'gtk_color_selection_dialog_get_color_selection' [-Werror=implicit-function-declaration] + 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_selection_set_current_color' [-Werror=implicit-function-declaration] + gtk_color_selection_set_current_color(colorsel, &color); + ^ + ui_color.c:45:3: error: implicit declaration of function 'gtk_color_selection_get_current_color' [-Werror=implicit-function-declaration] + gtk_color_selection_get_current_color(colorsel, &color); + ^ + cc1: all warnings being treated as errors -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1184442 Title: Since a Saucy GTK update, psensor fails to build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/psensor/+bug/1184442/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
