Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiler warnings: <function> is deprecated #19

Open
Brahmasmi opened this issue Oct 11, 2018 · 1 comment
Open

compiler warnings: <function> is deprecated #19

Brahmasmi opened this issue Oct 11, 2018 · 1 comment
Labels
incomplete Waiting on more information

Comments

@Brahmasmi
Copy link

Trying to build this from source using sh autogen.sh results in multiple "<function> is deprecated" warnings being emitted by the compiler.

The idea here is to build the indicator-sensors binary. In this particular environment, snap is not feasible and hence the requirement to build the binary.

In case the PPA at https://launchpad.net/~alexmurray/+archive/ubuntu/indicator-sensors could be updated with the 18.04 bionic package, it would be of great help.

Dhanyavaad.

~$ mkdir temp && cd temp
~/temp$ git clone https://github.com/alexmurray/indicator-sensors
~/temp$ cd indicator-sensors
~/temp/indicator-sensors$ sh autogen.sh 
/usr/bin/gnome-autogen.sh
***Warning*** USE_GNOME2_MACROS is deprecated, you may remove it from autogen.sh
***Warning*** PKG_NAME is deprecated, you may remove it from autogen.sh
checking for automake >= 1.11.2...
  testing automake... found 1.15.1
checking for autoreconf >= 2.53...
  testing autoreconf... found 2.69
checking for intltool >= 0.25...
  testing intltoolize... found 0.51.0
checking for pkg-config >= 0.14.0...
  testing pkg-config... found 0.29.1
Checking for required M4 macros...
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`autogen.sh' command line.

Processing ./configure.ac
Running intltoolize...
Running autoreconf...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force --warnings=no-portability -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability
autoreconf: running: /usr/bin/autoheader --force --warnings=no-portability
autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability
configure.ac:15: installing './compile'
configure.ac:21: installing './config.guess'
configure.ac:21: installing './config.sub'
configure.ac:9: installing './install-sh'
configure.ac:9: installing './missing'
indicator-sensors/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
Running ./configure --enable-maintainer-mode ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.26.1
checking for XML::Parser... ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for GIO... yes
checking for GTK... yes
checking for LIBPEAS... yes
checking for LIBPEASGTK... yes
checking for LIBNOTIFY... yes
checking for APPINDICATOR... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking sensors/sensors.h usability... no
checking sensors/sensors.h presence... no
checking for sensors/sensors.h... no
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking for XOpenDisplay in -lX11... yes
checking for NVCtrl/NVCtrl.h... no
checking for NVCtrl/NVCtrlLib.h... no
checking for LIBATASMART... no
checking for LIBUDISKS2... no
checking for glib-genmarshal... /usr/bin/glib-genmarshal
checking whether gcc understands -Wall... yes
checking whether gcc understands -Wstrict-prototypes... yes
checking whether gcc understands -Wnested-externs... yes
checking whether gcc understands -Werror=missing-prototypes... yes
checking whether gcc understands -Werror=implicit-function-declaration... yes
checking whether gcc understands -Werror=pointer-arith... yes
checking whether gcc understands -Werror=init-self... yes
checking whether gcc understands -Werror=format-security... yes
checking whether gcc understands -Werror=format=2... yes
checking whether gcc understands -Werror=missing-include-dirs... yes
checking whether gcc understands -Werror=return-type... yes
checking what warning flags to pass to the C compiler...  -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -Werror=return-type
checking what language compliance flags to pass to the C compiler... 
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating data/indicator-sensors.gschema.xml.in
config.status: creating indicator-sensors/Makefile
config.status: creating pixmaps/Makefile
config.status: creating plugins/Makefile
config.status: creating plugins/aticonfig/Makefile
config.status: creating plugins/dbus/Makefile
config.status: creating plugins/dynamic/Makefile
config.status: creating plugins/fake/Makefile
config.status: creating plugins/libsensors/Makefile
config.status: creating plugins/max/Makefile
config.status: creating plugins/nvidia/Makefile
config.status: creating plugins/udisks/Makefile
config.status: creating plugins/udisks2/Makefile
config.status: creating po/Makefile.in
config.status: creating indicator-sensors/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po/stamp-it commands
Now type `make' to compile Hardware Sensors Indicator
~/temp/indicator-sensors$ make
Making all in data
make[1]: Entering directory 'temp/indicator-sensors/data'
  ITMRG  indicator-sensors.desktop
  ITMRG  indicator-sensors.appdata.xml
  ITMRG  indicator-sensors.gschema.xml
  GEN      indicator-sensors.gschema.valid
make[1]: Leaving directory 'temp/indicator-sensors/data'
Making all in pixmaps
make[1]: Entering directory 'temp/indicator-sensors/pixmaps'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory 'temp/indicator-sensors/pixmaps'
Making all in plugins
make[1]: Entering directory 'temp/indicator-sensors/plugins'
Making all in aticonfig
make[2]: Entering directory 'temp/indicator-sensors/plugins/aticonfig'
  CC       is-aticonfig-plugin.lo
  CCLD     libaticonfig.la
make[2]: Leaving directory 'temp/indicator-sensors/plugins/aticonfig'
Making all in dbus
make[2]: Entering directory 'temp/indicator-sensors/plugins/dbus'
  GEN      is-org-gnome-shell-search-provider-generated.c
  GEN      is-active-sensor-generated.h
make  all-am
make[3]: Entering directory 'temp/indicator-sensors/plugins/dbus'
  CC       is-active-sensor-generated.lo
  CC       is-org-gnome-shell-search-provider-generated.lo
  CC       is-dbus-plugin.lo
  CCLD     libdbus.la
make[3]: Leaving directory 'temp/indicator-sensors/plugins/dbus'
make[2]: Leaving directory 'temp/indicator-sensors/plugins/dbus'
Making all in dynamic
make[2]: Entering directory 'temp/indicator-sensors/plugins/dynamic'
  CC       is-dynamic-plugin.lo
  CCLD     libdynamic.la
make[2]: Leaving directory 'temp/indicator-sensors/plugins/dynamic'
Making all in max
make[2]: Entering directory 'temp/indicator-sensors/plugins/max'
  CC       is-max-plugin.lo
  CCLD     libmax.la
make[2]: Leaving directory 'temp/indicator-sensors/plugins/max'
make[2]: Entering directory 'temp/indicator-sensors/plugins'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory 'temp/indicator-sensors/plugins'
make[1]: Leaving directory 'temp/indicator-sensors/plugins'
Making all in po
make[1]: Entering directory 'temp/indicator-sensors/po'
  MSGFMT ar.gmo
  MSGFMT ca.gmo
  MSGFMT cs.gmo
  MSGFMT de.gmo
  MSGFMT en_GB.gmo
  MSGFMT eo.gmo
  MSGFMT es.gmo
  MSGFMT fr.gmo
  MSGFMT gl.gmo
  MSGFMT he.gmo
  MSGFMT hr.gmo
  MSGFMT hu.gmo
  MSGFMT it.gmo
  MSGFMT ko.gmo
  MSGFMT lt.gmo
  MSGFMT nl.gmo
  MSGFMT pl.gmo
  MSGFMT ro.gmo
  MSGFMT ru.gmo
  MSGFMT sk.gmo
  MSGFMT sr.gmo
  MSGFMT tr.gmo
  MSGFMT uk.gmo
  MSGFMT zh_CN.gmo
make[1]: Leaving directory 'temp/indicator-sensors/po'
Making all in indicator-sensors
make[1]: Entering directory 'temp/indicator-sensors/indicator-sensors'
glib-genmarshal --header marshallers.list > marshallers.h
INFO: Reading marshallers.list...
glib-genmarshal --body marshallers.list > marshallers.c
INFO: Reading marshallers.list...
make  all-am
make[2]: Entering directory 'temp/indicator-sensors/indicator-sensors'
  CC       indicator-sensors.o
  CC       is-application.o
  CC       is-log.o
is-log.c: In function ‘is_logv’:
is-log.c:97:5: warning: function ‘is_logv’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
     output = g_strdup_vprintf(fmt, args);
     ^~~~~~
  CC       is-notify.o
is-notify.c: In function ‘is_notifyv’:
is-notify.c:128:3: warning: function ‘is_notifyv’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
   body = g_strdup_vprintf(format, args);
   ^~~~
  CC       is-indicator.o
is-indicator.c: In function ‘popup_menu’:
is-indicator.c:103:3: warning: ‘gtk_menu_popup’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations]
   gtk_menu_popup(is_indicator_get_menu(self), NULL, NULL,
   ^~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34:0,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from is-indicator.h:24,
                 from is-indicator.c:22:
/usr/include/gtk-3.0/gtk/gtkmenu.h:138:9: note: declared here
 void    gtk_menu_popup    (GtkMenu        *menu,
         ^~~~~~~~~~~~~~
is-indicator.c:104:18: warning: ‘gtk_status_icon_position_menu’ is deprecated [-Wdeprecated-declarations]
                  gtk_status_icon_position_menu,
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:271:0,
                 from is-indicator.h:24,
                 from is-indicator.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:160:23: note: declared here
 void                  gtk_status_icon_position_menu      (GtkMenu            *menu,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
is-indicator.c: In function ‘is_indicator_set_label’:
is-indicator.c:213:3: warning: ‘gtk_status_icon_set_tooltip_text’ is deprecated [-Wdeprecated-declarations]
   gtk_status_icon_set_tooltip_text(GTK_STATUS_ICON(self), label);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:271:0,
                 from is-indicator.h:24,
                 from is-indicator.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:137:23: note: declared here
 void                  gtk_status_icon_set_tooltip_text   (GtkStatusIcon      *status_icon,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
is-indicator.c: In function ‘is_indicator_constructed’:
is-indicator.c:226:3: warning: ‘gtk_action_group_new’ is deprecated [-Wdeprecated-declarations]
   action_group = gtk_action_group_new("AppActions");
   ^~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:250:0,
                 from is-indicator.h:24,
                 from is-indicator.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:175:17: note: declared here
 GtkActionGroup *gtk_action_group_new                     (const gchar                *name);
                 ^~~~~~~~~~~~~~~~~~~~
is-indicator.c:227:3: warning: ‘gtk_action_group_set_translation_domain’ is deprecated [-Wdeprecated-declarations]
   gtk_action_group_set_translation_domain(action_group, GETTEXT_PACKAGE);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:250:0,
                 from is-indicator.h:24,
                 from is-indicator.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:252:17: note: declared here
 void            gtk_action_group_set_translation_domain  (GtkActionGroup             *action_group,
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
is-indicator.c:228:3: warning: ‘gtk_action_group_add_actions’ is deprecated [-Wdeprecated-declarations]
   gtk_action_group_add_actions(action_group,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:250:0,
                 from is-indicator.h:24,
                 from is-indicator.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:210:17: note: declared here
 void            gtk_action_group_add_actions             (GtkActionGroup             *action_group,
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
is-indicator.c:232:3: warning: ‘gtk_ui_manager_new’ is deprecated [-Wdeprecated-declarations]
   ui_manager = gtk_ui_manager_new();
   ^~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280:0,
                 from is-indicator.h:24,
                 from is-indicator.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:130:16: note: declared here
 GtkUIManager  *gtk_ui_manager_new                 (void);
                ^~~~~~~~~~~~~~~~~~
is-indicator.c:233:3: warning: ‘gtk_ui_manager_insert_action_group’ is deprecated [-Wdeprecated-declarations]
   gtk_ui_manager_insert_action_group(ui_manager, action_group, 0);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280:0,
                 from is-indicator.h:24,
                 from is-indicator.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:138:16: note: declared here
 void           gtk_ui_manager_insert_action_group (GtkUIManager          *manager,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
is-indicator.c:234:3: warning: ‘gtk_ui_manager_add_ui_from_string’ is deprecated [-Wdeprecated-declarations]
   if (!gtk_ui_manager_add_ui_from_string(ui_manager, ui_info, -1, &error))
   ^~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280:0,
                 from is-indicator.h:24,
                 from is-indicator.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:158:16: note: declared here
 guint          gtk_ui_manager_add_ui_from_string  (GtkUIManager          *manager,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
is-indicator.c:239:3: warning: ‘gtk_ui_manager_get_widget’ is deprecated [-Wdeprecated-declarations]
   menu = gtk_ui_manager_get_widget(ui_manager, "/ui/Indicator");
   ^~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280:0,
                 from is-indicator.h:24,
                 from is-indicator.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:149:16: note: declared here
 GtkWidget     *gtk_ui_manager_get_widget          (GtkUIManager          *manager,
                ^~~~~~~~~~~~~~~~~~~~~~~~~
is-indicator.c: In function ‘update_sensor_menu_item_label’:
is-indicator.c:501:3: warning: ‘gtk_status_icon_set_from_icon_name’ is deprecated [-Wdeprecated-declarations]
   gtk_status_icon_set_from_icon_name(GTK_STATUS_ICON(self), PACKAGE);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:271:0,
                 from is-indicator.h:24,
                 from is-indicator.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:106:23: note: declared here
 void                  gtk_status_icon_set_from_icon_name (GtkStatusIcon      *status_icon,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
is-indicator.c: In function ‘sensor_disabled’:
is-indicator.c:572:5: warning: ‘gtk_status_icon_set_from_stock’ is deprecated: Use 'gtk_status_icon_set_from_icon_name' instead [-Wdeprecated-declarations]
     gtk_status_icon_set_from_stock(GTK_STATUS_ICON(self),
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:271:0,
                 from is-indicator.h:24,
                 from is-indicator.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:103:23: note: declared here
 void                  gtk_status_icon_set_from_stock     (GtkStatusIcon      *status_icon,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
is-indicator.c:573:36: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
                                    GTK_STOCK_DIALOG_WARNING);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~
is-indicator.c: In function ‘sensor_added’:
is-indicator.c:706:5: warning: ‘gtk_status_icon_set_from_stock’ is deprecated: Use 'gtk_status_icon_set_from_icon_name' instead [-Wdeprecated-declarations]
     gtk_status_icon_set_from_stock(GTK_STATUS_ICON(self),
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:271:0,
                 from is-indicator.h:24,
                 from is-indicator.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:103:23: note: declared here
 void                  gtk_status_icon_set_from_stock     (GtkStatusIcon      *status_icon,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
is-indicator.c:707:36: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
                                    GTK_STOCK_DIALOG_WARNING);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~
  CC       is-sensor.o
  CC       is-temperature-sensor.o
  CC       is-fan-sensor.o
  CC       is-store.o
  CC       is-manager.o
  CC       is-preferences-dialog.o
is-preferences-dialog.c: In function ‘is_preferences_dialog_init’:
is-preferences-dialog.c:144:3: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations]
   gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5);
   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32:0,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from is-preferences-dialog.h:21,
                 from is-preferences-dialog.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:6: note: declared here
 void gtk_misc_set_alignment (GtkMisc *misc,
      ^~~~~~~~~~~~~~~~~~~~~~
is-preferences-dialog.c:150:3: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations]
   gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5);
   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32:0,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from is-preferences-dialog.h:21,
                 from is-preferences-dialog.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:6: note: declared here
 void gtk_misc_set_alignment (GtkMisc *misc,
      ^~~~~~~~~~~~~~~~~~~~~~
is-preferences-dialog.c:151:3: warning: ‘gtk_misc_set_padding’ is deprecated [-Wdeprecated-declarations]
   gtk_misc_set_padding(GTK_MISC(label), 2, 0);
   ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32:0,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from is-preferences-dialog.h:21,
                 from is-preferences-dialog.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:80:6: note: declared here
 void gtk_misc_set_padding   (GtkMisc *misc,
      ^~~~~~~~~~~~~~~~~~~~
is-preferences-dialog.c:177:3: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations]
   gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5);
   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32:0,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from is-preferences-dialog.h:21,
                 from is-preferences-dialog.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:6: note: declared here
 void gtk_misc_set_alignment (GtkMisc *misc,
      ^~~~~~~~~~~~~~~~~~~~~~
is-preferences-dialog.c:178:3: warning: ‘gtk_misc_set_padding’ is deprecated [-Wdeprecated-declarations]
   gtk_misc_set_padding(GTK_MISC(label), 2, 0);
   ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32:0,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from is-preferences-dialog.h:21,
                 from is-preferences-dialog.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:80:6: note: declared here
 void gtk_misc_set_padding   (GtkMisc *misc,
      ^~~~~~~~~~~~~~~~~~~~
  CC       is-sensor-dialog.o
is-sensor-dialog.c: In function ‘is_sensor_dialog_init’:
is-sensor-dialog.c:102:3: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations]
   gtk_misc_set_alignment(GTK_MISC(priv->path_label), 0.0, 0.5);
   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32:0,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from is-sensor-dialog.h:21,
                 from is-sensor-dialog.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:6: note: declared here
 void gtk_misc_set_alignment (GtkMisc *misc,
      ^~~~~~~~~~~~~~~~~~~~~~
is-sensor-dialog.c:108:3: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations]
   gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5);
   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32:0,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from is-sensor-dialog.h:21,
                 from is-sensor-dialog.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:6: note: declared here
 void gtk_misc_set_alignment (GtkMisc *misc,
      ^~~~~~~~~~~~~~~~~~~~~~
is-sensor-dialog.c:117:3: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations]
   gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5);
   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32:0,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from is-sensor-dialog.h:21,
                 from is-sensor-dialog.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:6: note: declared here
 void gtk_misc_set_alignment (GtkMisc *misc,
      ^~~~~~~~~~~~~~~~~~~~~~
is-sensor-dialog.c:143:3: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations]
   gtk_misc_set_alignment(GTK_MISC(priv->units_label), 0.0, 0.5);
   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32:0,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from is-sensor-dialog.h:21,
                 from is-sensor-dialog.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:6: note: declared here
 void gtk_misc_set_alignment (GtkMisc *misc,
      ^~~~~~~~~~~~~~~~~~~~~~
is-sensor-dialog.c:149:3: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations]
   gtk_misc_set_alignment(GTK_MISC(low_label), 0.0, 0.5);
   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32:0,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from is-sensor-dialog.h:21,
                 from is-sensor-dialog.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:6: note: declared here
 void gtk_misc_set_alignment (GtkMisc *misc,
      ^~~~~~~~~~~~~~~~~~~~~~
is-sensor-dialog.c:162:3: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations]
   gtk_misc_set_alignment(GTK_MISC(priv->low_units_label), 0.0, 0.5);
   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32:0,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from is-sensor-dialog.h:21,
                 from is-sensor-dialog.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:6: note: declared here
 void gtk_misc_set_alignment (GtkMisc *misc,
      ^~~~~~~~~~~~~~~~~~~~~~
is-sensor-dialog.c:168:3: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations]
   gtk_misc_set_alignment(GTK_MISC(high_label), 0.0, 0.5);
   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32:0,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from is-sensor-dialog.h:21,
                 from is-sensor-dialog.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:6: note: declared here
 void gtk_misc_set_alignment (GtkMisc *misc,
      ^~~~~~~~~~~~~~~~~~~~~~
is-sensor-dialog.c:181:3: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations]
   gtk_misc_set_alignment(GTK_MISC(priv->high_units_label), 0.0, 0.5);
   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32:0,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from is-sensor-dialog.h:21,
                 from is-sensor-dialog.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:6: note: declared here
 void gtk_misc_set_alignment (GtkMisc *misc,
      ^~~~~~~~~~~~~~~~~~~~~~
  CCLD     indicator-sensors
make[2]: Leaving directory 'temp/indicator-sensors/indicator-sensors'
make[1]: Leaving directory 'temp/indicator-sensors/indicator-sensors'
make[1]: Entering directory 'temp/indicator-sensors'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory 'temp/indicator-sensors'
@alexmurray
Copy link
Owner

This is not an error per se - also the PPA has now been deprecated in favor of the snap package - https://snapcraft.io/indicator-sensors - could you please help me to understand how the snap is not feasible for you?

@alexmurray alexmurray added the incomplete Waiting on more information label Jan 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
incomplete Waiting on more information
Projects
None yet
Development

No branches or pull requests

2 participants