Diff of the two buildlogs: -- --- b1/build.log 2024-04-21 15:58:43.568326255 +0000 +++ b2/build.log 2024-04-21 16:00:11.400567696 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 24 10:20:43 -12 2025 -I: pbuilder-time-stamp: 1748125243 +I: Current time: Mon Apr 22 05:58:46 +14 2024 +I: pbuilder-time-stamp: 1713715126 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -33,54 +33,86 @@ dpkg-source: info: applying fix-pop-up-menu-race-condition-gtk3.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/100898/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/25980/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 21 15:58 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/25980/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/25980/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='5c4b01bf236b4f4e86c1717517e1cc87' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='100898' - PS1='# ' - PS2='> ' + INVOCATION_ID=18a0e444f91c48458f0db8c8e9979184 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=25980 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.h7NE1pa3/pbuilderrc_FxfQ --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.h7NE1pa3/b1 --logfile b1/build.log parcellite_1.2.1-8.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.h7NE1pa3/pbuilderrc_t7ZU --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.h7NE1pa3/b2 --logfile b2/build.log parcellite_1.2.1-8.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos6-i386 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 24 13:35 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/100898/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 07:13 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/25980/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -440,7 +472,7 @@ Get: 318 http://deb.debian.org/debian trixie/main i386 libxrandr-dev i386 2:1.5.4-1 [45.8 kB] Get: 319 http://deb.debian.org/debian trixie/main i386 wayland-protocols all 1.34-1 [83.7 kB] Get: 320 http://deb.debian.org/debian trixie/main i386 libgtk-3-dev i386 3.24.41-1 [1120 kB] -Fetched 149 MB in 2s (73.6 MB/s) +Fetched 149 MB in 2s (67.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libapparmor1:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19874 files and directories currently installed.) @@ -1481,8 +1513,8 @@ Setting up tzdata (2024a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat May 24 22:21:16 UTC 2025. -Universal Time is now: Sat May 24 22:21:16 UTC 2025. +Local time is now: Sun Apr 21 15:59:32 UTC 2024. +Universal Time is now: Sun Apr 21 15:59:32 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libdconf1:i386 (0.40.0-4+b1) ... @@ -1767,7 +1799,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/parcellite-1.2.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../parcellite_1.2.1-8_source.changes +I: user script /srv/workspace/pbuilder/25980/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/25980/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/parcellite-1.2.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../parcellite_1.2.1-8_source.changes dpkg-buildpackage: info: source package parcellite dpkg-buildpackage: info: source version 1.2.1-8 dpkg-buildpackage: info: source distribution unstable @@ -2001,11 +2037,11 @@ config.status: executing po/stamp-it commands make[1]: Leaving directory '/build/reproducible-path/parcellite-1.2.1' dh_auto_build - make -j22 + make -j10 make[1]: Entering directory '/build/reproducible-path/parcellite-1.2.1' -CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash '/build/reproducible-path/parcellite-1.2.1/missing' aclocal-1.16 -I m4 -CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash '/build/reproducible-path/parcellite-1.2.1/missing' autoconf - cd . && /bin/bash /build/reproducible-path/parcellite-1.2.1/missing automake-1.16 --gnu +CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/build/reproducible-path/parcellite-1.2.1/missing' aclocal-1.16 -I m4 +CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/build/reproducible-path/parcellite-1.2.1/missing' autoconf + cd . && /bin/sh /build/reproducible-path/parcellite-1.2.1/missing automake-1.16 --gnu configure.ac:11: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:11: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... @@ -2105,8 +2141,8 @@ configure.ac:106: the top level configure.ac:113: warning: AC_OUTPUT should be used without arguments. configure.ac:113: You should run autoupdate. -/bin/bash ./config.status --recheck -running CONFIG_SHELL=/bin/bash /bin/bash ./configure --build=i686-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=${prefix}/lib/i386-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --enable-gtk3 build_alias=i686-linux-gnu CFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/parcellite-1.2.1=. -fstack-protector-strong -Wformat -Werror=format-security LDFLAGS=-Wl,-z,relro -Wl,-z,now CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 --no-create --no-recursion +/bin/sh ./config.status --recheck +running CONFIG_SHELL=/bin/sh /bin/sh ./configure --build=i686-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=${prefix}/lib/i386-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --enable-gtk3 build_alias=i686-linux-gnu CFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/parcellite-1.2.1=. -fstack-protector-strong -Wformat -Werror=format-security LDFLAGS=-Wl,-z,relro -Wl,-z,now CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 --no-create --no-recursion checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p @@ -2116,14 +2152,14 @@ checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc -configure.ac:28: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged. +checking whether the C compiler works... configure.ac:28: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged. configure.ac:28: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead, configure.ac:28: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files. -checking whether the C compiler works... yes +yes checking for C compiler default output file name... a.out -checking for suffix of executables... src/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') - -checking whether we are cross compiling... no +checking for suffix of executables... +checking whether we are cross compiling... src/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') +no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes @@ -2204,7 +2240,7 @@ checking return type of signal handlers... void checking that generated files are newer than configure... done configure: creating ./config.status - /bin/bash ./config.status + /bin/sh ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile @@ -2218,10 +2254,10 @@ config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing po/stamp-it commands -(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash '/build/reproducible-path/parcellite-1.2.1/missing' autoheader) +(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/build/reproducible-path/parcellite-1.2.1/missing' autoheader) rm -f stamp-h1 touch config.h.in -cd . && /bin/bash ./config.status config.h +cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive @@ -2274,9 +2310,9 @@ LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po parcellite-startup.desktop.in parcellite-startup.desktop LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po parcellite.desktop.in parcellite.desktop Generating and caching the translation database -Merging translations into parcellite.desktop. -Found cached translation database Merging translations into parcellite-startup.desktop. +Found cached translation database +Merging translations into parcellite.desktop. make[3]: Leaving directory '/build/reproducible-path/parcellite-1.2.1/data' Making all in src make[3]: Entering directory '/build/reproducible-path/parcellite-1.2.1/src' @@ -2345,30 +2381,10 @@ /usr/include/gtk-3.0/gdk/gdkwindow.h:860:15: note: declared here 860 | GdkWindow * gdk_window_get_pointer (GdkWindow *window, | ^~~~~~~~~~~~~~~~~~~~~~ -history.c: In function 'history_save_as': -history.c:551:39: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] - 551 | GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - | ^~~~~~~~~~~~~~~~ -history.c:552:39: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] - 552 | GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, - | ^~~~~~~~~~~~~~ -history.c:554:9: warning: 'gtk_widget_render_icon' is deprecated: Use 'gtk_widget_render_icon_pixbuf' instead [-Wdeprecated-declarations] - 554 | gtk_window_set_icon((GtkWindow*)dialog, gtk_widget_render_icon(dialog, GTK_STOCK_SAVE_AS, -1, NULL)); - | ^~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-3.0/gtk/gtk.h:277, - from parcellite.h:22, - from history.c:19: -/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:786:12: note: declared here - 786 | GdkPixbuf *gtk_widget_render_icon (GtkWidget *widget, - | ^~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'action_exit': -history.c:554:9: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] - 554 | gtk_window_set_icon((GtkWindow*)dialog, gtk_widget_render_icon(dialog, GTK_STOCK_SAVE_AS, -1, NULL)); - | ^~~~~~~~~~~~~~~~~~~ main.c:705:17: warning: 'gtk_status_icon_set_from_icon_name' is deprecated [-Wdeprecated-declarations] 705 | gtk_status_icon_set_from_icon_name((GtkStatusIcon*)status_icon, get_pref_string("icon_name")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -preferences.c: In function 'init_pref': In file included from /usr/include/gtk-3.0/gtk/gtk.h:275, from parcellite.h:22, from main.c:65: @@ -2381,23 +2397,6 @@ /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:134:23: note: declared here 134 | void gtk_status_icon_set_has_tooltip (GtkStatusIcon *status_icon, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -preferences.c:307:9: warning: 'gdk_screen_get_width' is deprecated [-Wdeprecated-declarations] - 307 | sx= gdk_screen_get_width(s); - | ^~ -In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, - from /usr/include/gtk-3.0/gdk/gdk.h:32, - from /usr/include/gtk-3.0/gtk/gtk.h:30, - from parcellite.h:22, - from preferences.c:19: -/usr/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: declared here - 58 | gint gdk_screen_get_width (GdkScreen *screen); - | ^~~~~~~~~~~~~~~~~~~~ -preferences.c:308:9: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations] - 308 | sy= gdk_screen_get_height(s); - | ^~ -/usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here - 60 | gint gdk_screen_get_height (GdkScreen *screen); - | ^~~~~~~~~~~~~~~~~~~~~ main.c:706:66: warning: passing argument 2 of 'gtk_status_icon_set_has_tooltip' makes integer from pointer without a cast [-Wint-conversion] 706 | gtk_status_icon_set_has_tooltip((GtkStatusIcon*)status_icon, _("Clipboard Manager")); | ^ @@ -2447,7 +2446,6 @@ main.c:818:5: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 818 | gtk_window_set_icon((GtkWindow*)dialog, gtk_widget_render_icon(dialog, GTK_STOCK_EDIT, -1, NULL)); | ^~~~~~~~~~~~~~~~~~~ -preferences.c: In function 'add_section': main.c: In function 'history_item_right_click': main.c:1067:12: 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] 1067 | gtk_menu_popup(GTK_MENU(menu), h->menu, NULL, NULL, NULL, @@ -2458,44 +2456,17 @@ /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ -preferences.c:1006:25: warning: 'gtk_hbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] - 1006 | hbox = gtk_hbox_new(FALSE, 2); /**create hbox */ - | ^~~~ -In file included from /usr/include/gtk-3.0/gtk/gtk.h:262: -/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here - 63 | GtkWidget * gtk_hbox_new (gboolean homogeneous, - | ^~~~~~~~~~~~ main.c: In function 'show_about_dialog': -preferences.c:1018:35: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] - 1018 | alignment = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); - | ^~~~~~~~~ -In file included from /usr/include/gtk-3.0/gtk/gtk.h:255: -/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here - 79 | GtkWidget* gtk_alignment_new (gfloat xalign, - | ^~~~~~~~~~~~~~~~~ main.c:1130:25: warning: 'gtk_widget_render_icon' is deprecated: Use 'gtk_widget_render_icon_pixbuf' instead [-Wdeprecated-declarations] 1130 | gtk_widget_render_icon(about_dialog, GTK_STOCK_ABOUT, -1, NULL)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:786:12: note: declared here 786 | GdkPixbuf *gtk_widget_render_icon (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~ -preferences.c:1019:35: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] - 1019 | gtk_alignment_set_padding((GtkAlignment*)alignment, 12, 0, 12, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here - 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, - | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1130:25: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1130 | gtk_widget_render_icon(about_dialog, GTK_STOCK_ABOUT, -1, NULL)); | ^~~~~~~~~~~~~~~~~~~~~~ -preferences.c:1021:35: warning: 'gtk_vbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] - 1021 | vbox = gtk_vbox_new(FALSE, 2); - | ^~~~ main.c: In function 'show_actions_menu': -In file included from /usr/include/gtk-3.0/gtk/gtk.h:286: -/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here - 61 | GtkWidget * gtk_vbox_new (gboolean homogeneous, - | ^~~~~~~~~~~~ main.c:1203:3: warning: 'gtk_image_menu_item_new_with_label' is deprecated: Use 'gtk_menu_item_new_with_label' instead [-Wdeprecated-declarations] 1203 | menu_item = gtk_image_menu_item_new_with_label("Actions using:"); | ^~~~~~~~~ @@ -2503,12 +2474,6 @@ /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:80:12: note: declared here 80 | GtkWidget* gtk_image_menu_item_new_with_label (const gchar *label); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -preferences.c:1033:41: warning: 'gtk_hbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] - 1033 | hbox = gtk_hbox_new(FALSE, 4); - | ^~~~ -/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here - 63 | GtkWidget * gtk_hbox_new (gboolean homogeneous, - | ^~~~~~~~~~~~ main.c:1204:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 1204 | menu_image = gtk_image_new_from_stock(GTK_STOCK_EXECUTE, GTK_ICON_SIZE_MENU); | ^~~~~~~~~~ @@ -2523,33 +2488,12 @@ main.c:1204:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1204 | menu_image = gtk_image_new_from_stock(GTK_STOCK_EXECUTE, GTK_ICON_SIZE_MENU); | ^~~~~~~~~~ -preferences.c:1047:41: warning: 'gtk_hbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] - 1047 | hbox = gtk_hbox_new(TRUE, 4); - | ^~~~ -/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here - 63 | GtkWidget * gtk_hbox_new (gboolean homogeneous, - | ^~~~~~~~~~~~ main.c:1205:3: warning: 'gtk_image_menu_item_set_image' is deprecated [-Wdeprecated-declarations] 1205 | gtk_image_menu_item_set_image((GtkImageMenuItem*)menu_item, menu_image); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:92:12: note: declared here 92 | void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -preferences.c:1050:27: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] - 1050 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); - | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32, - from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35, - from /usr/include/gtk-3.0/gtk/gtk.h:33: -/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here - 72 | void gtk_misc_set_alignment (GtkMisc *misc, - | ^~~~~~~~~~~~~~~~~~~~~~ -preferences.c:1063:33: warning: 'gtk_misc_set_padding' is deprecated [-Wdeprecated-declarations] - 1063 | gtk_misc_set_padding((GtkMisc *)child,0,0); - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:80:9: note: declared here - 80 | void gtk_misc_set_padding (GtkMisc *misc, - | ^~~~~~~~~~~~~~~~~~~~ main.c:1298:3: warning: 'gtk_image_menu_item_new_with_mnemonic' is deprecated: Use 'gtk_menu_item_new_with_mnemonic' instead [-Wdeprecated-declarations] 1298 | menu_item = gtk_image_menu_item_new_with_mnemonic(_("_Edit actions")); | ^~~~~~~~~ @@ -2562,13 +2506,9 @@ /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ -preferences.c: In function 'show_preferences': main.c:1299:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1299 | menu_image = gtk_image_new_from_stock(GTK_STOCK_EDIT, GTK_ICON_SIZE_MENU); | ^~~~~~~~~~ -preferences.c:1117:53: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] - 1117 | GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT, - | ^~~~~~~~~~~~~~~~ main.c:1300:3: warning: 'gtk_image_menu_item_set_image' is deprecated [-Wdeprecated-declarations] 1300 | gtk_image_menu_item_set_image((GtkImageMenuItem*)menu_item, menu_image); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2578,20 +2518,10 @@ main.c:1305: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] 1305 | gtk_menu_popup((GtkMenu*)menu, NULL, NULL, NULL, NULL, 1, gtk_get_current_event_time()); | ^~~~~~~~~~~~~~ -preferences.c:1118:53: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] - 1118 | GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL); - | ^~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ main.c: In function 'set_widget_bg': -preferences.c:1120:3: warning: 'gtk_widget_render_icon' is deprecated: Use 'gtk_widget_render_icon_pixbuf' instead [-Wdeprecated-declarations] - 1120 | gtk_window_set_icon((GtkWindow*)dialog, gtk_widget_render_icon(dialog, GTK_STOCK_PREFERENCES, -1, NULL)); - | ^~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-3.0/gtk/gtk.h:277: -/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:786:12: note: declared here - 786 | GdkPixbuf *gtk_widget_render_icon (GtkWidget *widget, - | ^~~~~~~~~~~~~~~~~~~~~~ main.c:1350:5: warning: 'gdk_color_parse' is deprecated: Use 'gdk_rgba_parse' instead [-Wdeprecated-declarations] 1350 | gdk_color_parse (color, &c); | ^~~~~~~~~~~~~~~ @@ -2601,9 +2531,6 @@ /usr/include/gtk-3.0/gdk/deprecated/gdkcolor.h:79:11: note: declared here 79 | gboolean gdk_color_parse (const gchar *spec, | ^~~~~~~~~~~~~~~ -preferences.c:1120:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] - 1120 | gtk_window_set_icon((GtkWindow*)dialog, gtk_widget_render_icon(dialog, GTK_STOCK_PREFERENCES, -1, NULL)); - | ^~~~~~~~~~~~~~~~~~~ main.c:1355:3: warning: 'gtk_widget_modify_bg' is deprecated: Use 'gtk_widget_override_background_color' instead [-Wdeprecated-declarations] 1355 | gtk_widget_modify_bg(w, GTK_STATE_NORMAL, cp); | ^~~~~~~~~~~~~~~~~~~~ @@ -2611,12 +2538,6 @@ 753 | void gtk_widget_modify_bg (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~ main.c: In function 'postition_history': -preferences.c:1132:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] - 1132 | GtkWidget* page_behavior = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); - | ^~~~~~~~~ -/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here - 79 | GtkWidget* gtk_alignment_new (gfloat xalign, - | ^~~~~~~~~~~~~~~~~ main.c:1381:9: warning: 'gdk_screen_get_width' is deprecated [-Wdeprecated-declarations] 1381 | sx= gdk_screen_get_width(s); | ^~ @@ -2625,18 +2546,314 @@ /usr/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: declared here 58 | gint gdk_screen_get_width (GdkScreen *screen); | ^~~~~~~~~~~~~~~~~~~~ -preferences.c:1133:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] - 1133 | gtk_alignment_set_padding((GtkAlignment*)page_behavior, 12, 6, 12, 6); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here - 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, - | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1382:9: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations] 1382 | sy= gdk_screen_get_height(s); | ^~ /usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here 60 | gint gdk_screen_get_height (GdkScreen *screen); | ^~~~~~~~~~~~~~~~~~~~~ +main.c: In function 'show_history_menu': +main.c:2018:17: warning: 'gtk_image_menu_item_new_with_label' is deprecated: Use 'gtk_menu_item_new_with_label' instead [-Wdeprecated-declarations] + 2018 | h.title_item = gtk_image_menu_item_new_with_label( _("Use Alt-E to edit, Alt-C to clear") ); + | ^ +/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:80:12: note: declared here + 80 | GtkWidget* gtk_image_menu_item_new_with_label (const gchar *label); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:2019:5: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] + 2019 | menu_image = gtk_image_new_from_stock(GTK_STOCK_EDIT, GTK_ICON_SIZE_MENU); + | ^~~~~~~~~~ +/usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here + 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +main.c:2019:5: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] + 2019 | menu_image = gtk_image_new_from_stock(GTK_STOCK_EDIT, GTK_ICON_SIZE_MENU); + | ^~~~~~~~~~ +main.c:2020:5: warning: 'gtk_image_menu_item_set_image' is deprecated [-Wdeprecated-declarations] + 2020 | gtk_image_menu_item_set_image((GtkImageMenuItem*)h.title_item, menu_image); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:92:12: note: declared here + 92 | void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:2023:5: warning: 'gtk_image_menu_item_new_with_mnemonic' is deprecated: Use 'gtk_menu_item_new_with_mnemonic' instead [-Wdeprecated-declarations] + 2023 | menu_item = gtk_image_menu_item_new_with_mnemonic(_("_Edit Clipboard")); + | ^~~~~~~~~ +/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:82:12: note: declared here + 82 | GtkWidget* gtk_image_menu_item_new_with_mnemonic (const gchar *label); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:2024:5: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] + 2024 | menu_image = gtk_image_new_from_stock(GTK_STOCK_EDIT, GTK_ICON_SIZE_MENU); + | ^~~~~~~~~~ +/usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here + 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +main.c:2024:5: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] + 2024 | menu_image = gtk_image_new_from_stock(GTK_STOCK_EDIT, GTK_ICON_SIZE_MENU); + | ^~~~~~~~~~ +main.c:2025:5: warning: 'gtk_image_menu_item_set_image' is deprecated [-Wdeprecated-declarations] + 2025 | gtk_image_menu_item_set_image((GtkImageMenuItem*)menu_item, menu_image); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:92:12: note: declared here + 92 | void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:2028:17: warning: 'gtk_image_menu_item_new_with_mnemonic' is deprecated: Use 'gtk_menu_item_new_with_mnemonic' instead [-Wdeprecated-declarations] + 2028 | menu_item = gtk_image_menu_item_new_with_mnemonic(_("_Clear")); + | ^~~~~~~~~ +/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:82:12: note: declared here + 82 | GtkWidget* gtk_image_menu_item_new_with_mnemonic (const gchar *label); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:2030:11: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] + 2030 | menu_image = gtk_image_new_from_stock(GTK_STOCK_CLEAR, GTK_ICON_SIZE_MENU); + | ^~~~~~~~~~ +/usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here + 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +main.c:2030:11: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] + 2030 | menu_image = gtk_image_new_from_stock(GTK_STOCK_CLEAR, GTK_ICON_SIZE_MENU); + | ^~~~~~~~~~ +main.c:2031:11: warning: 'gtk_image_menu_item_set_image' is deprecated [-Wdeprecated-declarations] + 2031 | gtk_image_menu_item_set_image((GtkImageMenuItem*)menu_item, menu_image); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:92:12: note: declared here + 92 | void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:2041: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] + 2041 | gtk_menu_popup((GtkMenu*)menu, NULL, NULL, get_pref_int32("history_pos")?postition_history:NULL, NULL, 1, gtk_get_current_event_time()); + | ^~~~~~~~~~~~~~ +/usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here + 138 | void gtk_menu_popup (GtkMenu *menu, + | ^~~~~~~~~~~~~~ +main.c: In function 'create_parcellite_menu': +main.c:2093:3: warning: 'gtk_image_menu_item_new_from_stock' is deprecated: Use 'gtk_menu_item_new' instead [-Wdeprecated-declarations] + 2093 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_ABOUT, NULL); + | ^~~~~~~~~ +/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:84:12: note: declared here + 84 | GtkWidget* gtk_image_menu_item_new_from_stock (const gchar *stock_id, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:2093:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] + 2093 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_ABOUT, NULL); + | ^~~~~~~~~ +main.c:2098:3: warning: 'gtk_image_menu_item_new_from_stock' is deprecated: Use 'gtk_menu_item_new' instead [-Wdeprecated-declarations] + 2098 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_SAVE_AS, NULL); + | ^~~~~~~~~ +/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:84:12: note: declared here + 84 | GtkWidget* gtk_image_menu_item_new_from_stock (const gchar *stock_id, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:2098:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] + 2098 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_SAVE_AS, NULL); + | ^~~~~~~~~ +main.c:2103:3: warning: 'gtk_image_menu_item_new_from_stock' is deprecated: Use 'gtk_menu_item_new' instead [-Wdeprecated-declarations] + 2103 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_PREFERENCES, NULL); + | ^~~~~~~~~ +/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:84:12: note: declared here + 84 | GtkWidget* gtk_image_menu_item_new_from_stock (const gchar *stock_id, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:2103:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] + 2103 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_PREFERENCES, NULL); + | ^~~~~~~~~ +main.c:2109:11: warning: 'gtk_image_menu_item_new_with_mnemonic' is deprecated: Use 'gtk_menu_item_new_with_mnemonic' instead [-Wdeprecated-declarations] + 2109 | menu_item = gtk_image_menu_item_new_with_mnemonic(_("_History")); + | ^~~~~~~~~ +/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:82:12: note: declared here + 82 | GtkWidget* gtk_image_menu_item_new_with_mnemonic (const gchar *label); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:2110:17: warning: 'gtk_image_menu_item_set_image' is deprecated [-Wdeprecated-declarations] + 2110 | gtk_image_menu_item_set_image((GtkImageMenuItem *)menu_item,img); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:92:12: note: declared here + 92 | void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:2118:3: warning: 'gtk_image_menu_item_new_from_stock' is deprecated: Use 'gtk_menu_item_new' instead [-Wdeprecated-declarations] + 2118 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_QUIT, NULL); + | ^~~~~~~~~ +/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:84:12: note: declared here + 84 | GtkWidget* gtk_image_menu_item_new_from_stock (const gchar *stock_id, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:2118:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] + 2118 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_QUIT, NULL); + | ^~~~~~~~~ +main.c:2126:17: 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] + 2126 | gtk_menu_popup((GtkMenu*)menu, NULL, NULL, postition_history, NULL, 3, gtk_get_current_event_time()); + | ^~~~~~~~~~~~~~ +/usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here + 138 | void gtk_menu_popup (GtkMenu *menu, + | ^~~~~~~~~~~~~~ +main.c:2130:17: 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] + 2130 | gtk_menu_popup((GtkMenu*)menu, NULL, NULL, NULL, NULL, button, activate_time); + | ^~~~~~~~~~~~~~ +/usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here + 138 | void gtk_menu_popup (GtkMenu *menu, + | ^~~~~~~~~~~~~~ +main.c: In function 'setup_icon': +main.c:2173:25: warning: 'gtk_status_icon_new_from_icon_name' is deprecated [-Wdeprecated-declarations] + 2173 | status_icon = gtk_status_icon_new_from_icon_name(get_pref_string("icon_name")); + | ^~~~~~~~~~~ +/usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:92:23: note: declared here + 92 | GtkStatusIcon *gtk_status_icon_new_from_icon_name (const gchar *icon_name); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:2174:25: warning: 'gtk_status_icon_set_has_tooltip' is deprecated [-Wdeprecated-declarations] + 2174 | gtk_status_icon_set_has_tooltip((GtkStatusIcon*)status_icon, _("Clipboard Manager")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:134:23: note: declared here + 134 | void gtk_status_icon_set_has_tooltip (GtkStatusIcon *status_icon, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:2174:86: warning: passing argument 2 of 'gtk_status_icon_set_has_tooltip' makes integer from pointer without a cast [-Wint-conversion] + 2174 | gtk_status_icon_set_has_tooltip((GtkStatusIcon*)status_icon, _("Clipboard Manager")); + | ^ + | | + | char * +/usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:135:79: note: expected 'gboolean' {aka 'int'} but argument is of type 'char *' + 135 | gboolean has_tooltip); + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ +main.c:2178:25: warning: 'gtk_status_icon_set_from_icon_name' is deprecated [-Wdeprecated-declarations] + 2178 | gtk_status_icon_set_from_icon_name(status_icon,get_pref_string("icon_name")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:106:23: note: declared here + 106 | void gtk_status_icon_set_from_icon_name (GtkStatusIcon *status_icon, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c: In function 'menu_hotkey': +main.c:2240:30: warning: passing argument 2 of 'g_timeout_add' from incompatible pointer type [-Wincompatible-pointer-types] + 2240 | g_timeout_add(POPUP_DELAY, show_parcellite_menu, NULL); + | ^~~~~~~~~~~~~~~~~~~~ + | | + | gboolean (*)(GtkStatusIcon *, guint, guint, void *) {aka int (*)(struct _GtkStatusIcon *, unsigned int, unsigned int, void *)} +In file included from /usr/include/glib-2.0/glib/giochannel.h:35, + from /usr/include/glib-2.0/glib.h:56, + from parcellite.h:20: +/usr/include/glib-2.0/glib/gmain.h:787:54: note: expected 'GSourceFunc' {aka 'int (*)(void *)'} but argument is of type 'gboolean (*)(GtkStatusIcon *, guint, guint, void *)' {aka 'int (*)(struct _GtkStatusIcon *, unsigned int, unsigned int, void *)'} + 787 | GSourceFunc function, + | ~~~~~~~~~~~~~~~~^~~~~~~~ +main.c: In function 'parcellite_init': +main.c:2254:20: warning: Deprecated pre-processor symbol + 2254 | if(FALSE ==g_thread_supported()){ + | ^~~~~~~~~~~~~~~~~~~~~~ +main.c:2257:9: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] + 2257 | hist_lock= g_mutex_new(); + | ^~~~~~~~~ +In file included from /usr/include/glib-2.0/glib.h:115: +/usr/include/glib-2.0/glib/deprecated/gthread.h:279:17: note: declared here + 279 | GMutex * g_mutex_new (void); + | ^~~~~~~~~~~ +history.c: In function 'history_save_as': +history.c:551:39: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] + 551 | GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, + | ^~~~~~~~~~~~~~~~ +history.c:552:39: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] + 552 | GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, + | ^~~~~~~~~~~~~~ +history.c:554:9: warning: 'gtk_widget_render_icon' is deprecated: Use 'gtk_widget_render_icon_pixbuf' instead [-Wdeprecated-declarations] + 554 | gtk_window_set_icon((GtkWindow*)dialog, gtk_widget_render_icon(dialog, GTK_STOCK_SAVE_AS, -1, NULL)); + | ^~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-3.0/gtk/gtk.h:277, + from parcellite.h:22, + from history.c:19: +/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:786:12: note: declared here + 786 | GdkPixbuf *gtk_widget_render_icon (GtkWidget *widget, + | ^~~~~~~~~~~~~~~~~~~~~~ +history.c:554:9: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] + 554 | gtk_window_set_icon((GtkWindow*)dialog, gtk_widget_render_icon(dialog, GTK_STOCK_SAVE_AS, -1, NULL)); + | ^~~~~~~~~~~~~~~~~~~ +preferences.c: In function 'init_pref': +preferences.c:307:9: warning: 'gdk_screen_get_width' is deprecated [-Wdeprecated-declarations] + 307 | sx= gdk_screen_get_width(s); + | ^~ +In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, + from /usr/include/gtk-3.0/gdk/gdk.h:32, + from /usr/include/gtk-3.0/gtk/gtk.h:30, + from parcellite.h:22, + from preferences.c:19: +/usr/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: declared here + 58 | gint gdk_screen_get_width (GdkScreen *screen); + | ^~~~~~~~~~~~~~~~~~~~ +preferences.c:308:9: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations] + 308 | sy= gdk_screen_get_height(s); + | ^~ +/usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here + 60 | gint gdk_screen_get_height (GdkScreen *screen); + | ^~~~~~~~~~~~~~~~~~~~~ +preferences.c: In function 'add_section': +preferences.c:1006:25: warning: 'gtk_hbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] + 1006 | hbox = gtk_hbox_new(FALSE, 2); /**create hbox */ + | ^~~~ +In file included from /usr/include/gtk-3.0/gtk/gtk.h:262: +/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here + 63 | GtkWidget * gtk_hbox_new (gboolean homogeneous, + | ^~~~~~~~~~~~ +preferences.c:1018:35: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] + 1018 | alignment = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); + | ^~~~~~~~~ +In file included from /usr/include/gtk-3.0/gtk/gtk.h:255: +/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here + 79 | GtkWidget* gtk_alignment_new (gfloat xalign, + | ^~~~~~~~~~~~~~~~~ +preferences.c:1019:35: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] + 1019 | gtk_alignment_set_padding((GtkAlignment*)alignment, 12, 0, 12, 0); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here + 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +preferences.c:1021:35: warning: 'gtk_vbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] + 1021 | vbox = gtk_vbox_new(FALSE, 2); + | ^~~~ +In file included from /usr/include/gtk-3.0/gtk/gtk.h:286: +/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here + 61 | GtkWidget * gtk_vbox_new (gboolean homogeneous, + | ^~~~~~~~~~~~ +preferences.c:1033:41: warning: 'gtk_hbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] + 1033 | hbox = gtk_hbox_new(FALSE, 4); + | ^~~~ +/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here + 63 | GtkWidget * gtk_hbox_new (gboolean homogeneous, + | ^~~~~~~~~~~~ +preferences.c:1047:41: warning: 'gtk_hbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] + 1047 | hbox = gtk_hbox_new(TRUE, 4); + | ^~~~ +/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here + 63 | GtkWidget * gtk_hbox_new (gboolean homogeneous, + | ^~~~~~~~~~~~ +preferences.c:1050:27: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] + 1050 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); + | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32, + from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35, + from /usr/include/gtk-3.0/gtk/gtk.h:33: +/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here + 72 | void gtk_misc_set_alignment (GtkMisc *misc, + | ^~~~~~~~~~~~~~~~~~~~~~ +preferences.c:1063:33: warning: 'gtk_misc_set_padding' is deprecated [-Wdeprecated-declarations] + 1063 | gtk_misc_set_padding((GtkMisc *)child,0,0); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:80:9: note: declared here + 80 | void gtk_misc_set_padding (GtkMisc *misc, + | ^~~~~~~~~~~~~~~~~~~~ +preferences.c: In function 'show_preferences': +preferences.c:1117:53: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] + 1117 | GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT, + | ^~~~~~~~~~~~~~~~ +preferences.c:1118:53: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] + 1118 | GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL); + | ^~~~~~~~~~~~ +preferences.c:1120:3: warning: 'gtk_widget_render_icon' is deprecated: Use 'gtk_widget_render_icon_pixbuf' instead [-Wdeprecated-declarations] + 1120 | gtk_window_set_icon((GtkWindow*)dialog, gtk_widget_render_icon(dialog, GTK_STOCK_PREFERENCES, -1, NULL)); + | ^~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-3.0/gtk/gtk.h:277: +/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:786:12: note: declared here + 786 | GdkPixbuf *gtk_widget_render_icon (GtkWidget *widget, + | ^~~~~~~~~~~~~~~~~~~~~~ +preferences.c:1120:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] + 1120 | gtk_window_set_icon((GtkWindow*)dialog, gtk_widget_render_icon(dialog, GTK_STOCK_PREFERENCES, -1, NULL)); + | ^~~~~~~~~~~~~~~~~~~ +preferences.c:1132:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] + 1132 | GtkWidget* page_behavior = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); + | ^~~~~~~~~ +/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here + 79 | GtkWidget* gtk_alignment_new (gfloat xalign, + | ^~~~~~~~~~~~~~~~~ +preferences.c:1133:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] + 1133 | gtk_alignment_set_padding((GtkAlignment*)page_behavior, 12, 6, 12, 6); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here + 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, + | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1135:3: warning: 'gtk_vbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 1135 | GtkWidget* vbox_behavior = gtk_vbox_new(FALSE, 12); | ^~~~~~~~~ @@ -2679,19 +2896,12 @@ /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here 61 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ -main.c: In function 'show_history_menu': preferences.c:1168:3: warning: 'gtk_hbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 1168 | hbox = gtk_hbox_new(FALSE, 4); | ^~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here 63 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ -main.c:2018:17: warning: 'gtk_image_menu_item_new_with_label' is deprecated: Use 'gtk_menu_item_new_with_label' instead [-Wdeprecated-declarations] - 2018 | h.title_item = gtk_image_menu_item_new_with_label( _("Use Alt-E to edit, Alt-C to clear") ); - | ^ -/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:80:12: note: declared here - 80 | GtkWidget* gtk_image_menu_item_new_with_label (const gchar *label); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1172:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 1172 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ @@ -2703,12 +2913,6 @@ | ^~~~~~~~~~~~~~~~~~ | | | GtkComboBox * {aka struct _GtkComboBox *} -main.c:2019:5: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] - 2019 | menu_image = gtk_image_new_from_stock(GTK_STOCK_EDIT, GTK_ICON_SIZE_MENU); - | ^~~~~~~~~~ -/usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here - 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, - | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:80: /usr/include/gtk-3.0/gtk/gtkcomboboxtext.h:67:72: note: expected 'GtkComboBoxText *' {aka 'struct _GtkComboBoxText *'} but argument is of type 'GtkComboBox *' {aka 'struct _GtkComboBox *'} 67 | void gtk_combo_box_text_append_text (GtkComboBoxText *combo_box, @@ -2721,9 +2925,6 @@ /usr/include/gtk-3.0/gtk/gtkcomboboxtext.h:67:72: note: expected 'GtkComboBoxText *' {aka 'struct _GtkComboBoxText *'} but argument is of type 'GtkComboBox *' {aka 'struct _GtkComboBox *'} 67 | void gtk_combo_box_text_append_text (GtkComboBoxText *combo_box, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -main.c:2019:5: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] - 2019 | menu_image = gtk_image_new_from_stock(GTK_STOCK_EDIT, GTK_ICON_SIZE_MENU); - | ^~~~~~~~~~ preferences.c:1177:34: warning: passing argument 1 of 'gtk_combo_box_text_append_text' from incompatible pointer type [-Wincompatible-pointer-types] 1177 | gtk_combo_box_text_append_text((GtkComboBox*)p->w, _("End")); | ^~~~~~~~~~~~~~~~~~ @@ -2732,57 +2933,30 @@ /usr/include/gtk-3.0/gtk/gtkcomboboxtext.h:67:72: note: expected 'GtkComboBoxText *' {aka 'struct _GtkComboBoxText *'} but argument is of type 'GtkComboBox *' {aka 'struct _GtkComboBox *'} 67 | void gtk_combo_box_text_append_text (GtkComboBoxText *combo_box, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -main.c:2020:5: warning: 'gtk_image_menu_item_set_image' is deprecated [-Wdeprecated-declarations] - 2020 | gtk_image_menu_item_set_image((GtkImageMenuItem*)h.title_item, menu_image); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:92:12: note: declared here - 92 | void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1185:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 1185 | GtkWidget* page_actions = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ -main.c:2023:5: warning: 'gtk_image_menu_item_new_with_mnemonic' is deprecated: Use 'gtk_menu_item_new_with_mnemonic' instead [-Wdeprecated-declarations] - 2023 | menu_item = gtk_image_menu_item_new_with_mnemonic(_("_Edit Clipboard")); - | ^~~~~~~~~ -/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:82:12: note: declared here - 82 | GtkWidget* gtk_image_menu_item_new_with_mnemonic (const gchar *label); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1186:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 1186 | gtk_alignment_set_padding((GtkAlignment*)page_actions, 6, 6, 6, 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ -main.c:2024:5: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] - 2024 | menu_image = gtk_image_new_from_stock(GTK_STOCK_EDIT, GTK_ICON_SIZE_MENU); - | ^~~~~~~~~~ -/usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here - 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, - | ^~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1188:3: warning: 'gtk_vbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 1188 | GtkWidget* vbox_actions = gtk_vbox_new(FALSE, 6); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here 61 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ -main.c:2024:5: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] - 2024 | menu_image = gtk_image_new_from_stock(GTK_STOCK_EDIT, GTK_ICON_SIZE_MENU); - | ^~~~~~~~~~ preferences.c:1195:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 1195 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ -main.c:2025:5: warning: 'gtk_image_menu_item_set_image' is deprecated [-Wdeprecated-declarations] - 2025 | gtk_image_menu_item_set_image((GtkImageMenuItem*)menu_item, menu_image); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:92:12: note: declared here - 92 | void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1207:3: warning: 'gtk_tree_view_set_rules_hint' is deprecated [-Wdeprecated-declarations] 1207 | gtk_tree_view_set_rules_hint((GtkTreeView*)treeview, TRUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2807,70 +2981,36 @@ /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ -main.c:2028:17: warning: 'gtk_image_menu_item_new_with_mnemonic' is deprecated: Use 'gtk_menu_item_new_with_mnemonic' instead [-Wdeprecated-declarations] - 2028 | menu_item = gtk_image_menu_item_new_with_mnemonic(_("_Clear")); - | ^~~~~~~~~ preferences.c:1247:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1247 | gtk_button_set_image((GtkButton*)add_button, gtk_image_new_from_stock(GTK_STOCK_ADD, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:82:12: note: declared here - 82 | GtkWidget* gtk_image_menu_item_new_with_mnemonic (const gchar *label); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1251:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 1251 | gtk_button_set_image((GtkButton*)remove_button, gtk_image_new_from_stock(GTK_STOCK_REMOVE, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ -main.c:2030:11: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] - 2030 | menu_image = gtk_image_new_from_stock(GTK_STOCK_CLEAR, GTK_ICON_SIZE_MENU); - | ^~~~~~~~~~ -/usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here - 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, - | ^~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1251:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1251 | gtk_button_set_image((GtkButton*)remove_button, gtk_image_new_from_stock(GTK_STOCK_REMOVE, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ -main.c:2030:11: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] - 2030 | menu_image = gtk_image_new_from_stock(GTK_STOCK_CLEAR, GTK_ICON_SIZE_MENU); - | ^~~~~~~~~~ preferences.c:1255:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 1255 | gtk_button_set_image((GtkButton*)up_button, gtk_image_new_from_stock(GTK_STOCK_GO_UP, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ -main.c:2031:11: warning: 'gtk_image_menu_item_set_image' is deprecated [-Wdeprecated-declarations] - 2031 | gtk_image_menu_item_set_image((GtkImageMenuItem*)menu_item, menu_image); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:92:12: note: declared here - 92 | void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1255:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1255 | gtk_button_set_image((GtkButton*)up_button, gtk_image_new_from_stock(GTK_STOCK_GO_UP, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ -main.c:2041: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] - 2041 | gtk_menu_popup((GtkMenu*)menu, NULL, NULL, get_pref_int32("history_pos")?postition_history:NULL, NULL, 1, gtk_get_current_event_time()); - | ^~~~~~~~~~~~~~ -/usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here - 138 | void gtk_menu_popup (GtkMenu *menu, - | ^~~~~~~~~~~~~~ preferences.c:1259:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 1259 | gtk_button_set_image((GtkButton*)down_button, gtk_image_new_from_stock(GTK_STOCK_GO_DOWN, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ -main.c: In function 'create_parcellite_menu': preferences.c:1259:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1259 | gtk_button_set_image((GtkButton*)down_button, gtk_image_new_from_stock(GTK_STOCK_GO_DOWN, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ -main.c:2093:3: warning: 'gtk_image_menu_item_new_from_stock' is deprecated: Use 'gtk_menu_item_new' instead [-Wdeprecated-declarations] - 2093 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_ABOUT, NULL); - | ^~~~~~~~~ -/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:84:12: note: declared here - 84 | GtkWidget* gtk_image_menu_item_new_from_stock (const gchar *stock_id, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1265:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 1265 | GtkWidget* page_extras = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ @@ -2883,30 +3023,18 @@ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ -main.c:2093:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] - 2093 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_ABOUT, NULL); - | ^~~~~~~~~ preferences.c:1268:3: warning: 'gtk_vbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 1268 | GtkWidget* vbox_extras = gtk_vbox_new(FALSE, 12); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here 61 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ -main.c:2098:3: warning: 'gtk_image_menu_item_new_from_stock' is deprecated: Use 'gtk_menu_item_new' instead [-Wdeprecated-declarations] - 2098 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_SAVE_AS, NULL); - | ^~~~~~~~~ -/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:84:12: note: declared here - 84 | GtkWidget* gtk_image_menu_item_new_from_stock (const gchar *stock_id, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1277:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 1277 | alignment = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ -main.c:2098:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] - 2098 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_SAVE_AS, NULL); - | ^~~~~~~~~ preferences.c:1278:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 1278 | gtk_alignment_set_padding((GtkAlignment*)alignment, 12, 0, 12, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2919,98 +3047,6 @@ /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here 61 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ -main.c:2103:3: warning: 'gtk_image_menu_item_new_from_stock' is deprecated: Use 'gtk_menu_item_new' instead [-Wdeprecated-declarations] - 2103 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_PREFERENCES, NULL); - | ^~~~~~~~~ -/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:84:12: note: declared here - 84 | GtkWidget* gtk_image_menu_item_new_from_stock (const gchar *stock_id, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c:2103:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] - 2103 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_PREFERENCES, NULL); - | ^~~~~~~~~ -main.c:2109:11: warning: 'gtk_image_menu_item_new_with_mnemonic' is deprecated: Use 'gtk_menu_item_new_with_mnemonic' instead [-Wdeprecated-declarations] - 2109 | menu_item = gtk_image_menu_item_new_with_mnemonic(_("_History")); - | ^~~~~~~~~ -/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:82:12: note: declared here - 82 | GtkWidget* gtk_image_menu_item_new_with_mnemonic (const gchar *label); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c:2110:17: warning: 'gtk_image_menu_item_set_image' is deprecated [-Wdeprecated-declarations] - 2110 | gtk_image_menu_item_set_image((GtkImageMenuItem *)menu_item,img); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:92:12: note: declared here - 92 | void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c:2118:3: warning: 'gtk_image_menu_item_new_from_stock' is deprecated: Use 'gtk_menu_item_new' instead [-Wdeprecated-declarations] - 2118 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_QUIT, NULL); - | ^~~~~~~~~ -/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:84:12: note: declared here - 84 | GtkWidget* gtk_image_menu_item_new_from_stock (const gchar *stock_id, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c:2118:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] - 2118 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_QUIT, NULL); - | ^~~~~~~~~ -main.c:2126:17: 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] - 2126 | gtk_menu_popup((GtkMenu*)menu, NULL, NULL, postition_history, NULL, 3, gtk_get_current_event_time()); - | ^~~~~~~~~~~~~~ -/usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here - 138 | void gtk_menu_popup (GtkMenu *menu, - | ^~~~~~~~~~~~~~ -main.c:2130:17: 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] - 2130 | gtk_menu_popup((GtkMenu*)menu, NULL, NULL, NULL, NULL, button, activate_time); - | ^~~~~~~~~~~~~~ -/usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here - 138 | void gtk_menu_popup (GtkMenu *menu, - | ^~~~~~~~~~~~~~ -main.c: In function 'setup_icon': -main.c:2173:25: warning: 'gtk_status_icon_new_from_icon_name' is deprecated [-Wdeprecated-declarations] - 2173 | status_icon = gtk_status_icon_new_from_icon_name(get_pref_string("icon_name")); - | ^~~~~~~~~~~ -/usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:92:23: note: declared here - 92 | GtkStatusIcon *gtk_status_icon_new_from_icon_name (const gchar *icon_name); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c:2174:25: warning: 'gtk_status_icon_set_has_tooltip' is deprecated [-Wdeprecated-declarations] - 2174 | gtk_status_icon_set_has_tooltip((GtkStatusIcon*)status_icon, _("Clipboard Manager")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:134:23: note: declared here - 134 | void gtk_status_icon_set_has_tooltip (GtkStatusIcon *status_icon, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c:2174:86: warning: passing argument 2 of 'gtk_status_icon_set_has_tooltip' makes integer from pointer without a cast [-Wint-conversion] - 2174 | gtk_status_icon_set_has_tooltip((GtkStatusIcon*)status_icon, _("Clipboard Manager")); - | ^ - | | - | char * -/usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:135:79: note: expected 'gboolean' {aka 'int'} but argument is of type 'char *' - 135 | gboolean has_tooltip); - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -main.c:2178:25: warning: 'gtk_status_icon_set_from_icon_name' is deprecated [-Wdeprecated-declarations] - 2178 | gtk_status_icon_set_from_icon_name(status_icon,get_pref_string("icon_name")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:106:23: note: declared here - 106 | void gtk_status_icon_set_from_icon_name (GtkStatusIcon *status_icon, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c: In function 'menu_hotkey': -main.c:2240:30: warning: passing argument 2 of 'g_timeout_add' from incompatible pointer type [-Wincompatible-pointer-types] - 2240 | g_timeout_add(POPUP_DELAY, show_parcellite_menu, NULL); - | ^~~~~~~~~~~~~~~~~~~~ - | | - | gboolean (*)(GtkStatusIcon *, guint, guint, void *) {aka int (*)(struct _GtkStatusIcon *, unsigned int, unsigned int, void *)} -In file included from /usr/include/glib-2.0/glib/giochannel.h:35, - from /usr/include/glib-2.0/glib.h:56, - from parcellite.h:20: -/usr/include/glib-2.0/glib/gmain.h:787:54: note: expected 'GSourceFunc' {aka 'int (*)(void *)'} but argument is of type 'gboolean (*)(GtkStatusIcon *, guint, guint, void *)' {aka 'int (*)(struct _GtkStatusIcon *, unsigned int, unsigned int, void *)'} - 787 | GSourceFunc function, - | ~~~~~~~~~~~~~~~~^~~~~~~~ -main.c: In function 'parcellite_init': -main.c:2254:20: warning: Deprecated pre-processor symbol - 2254 | if(FALSE ==g_thread_supported()){ - | ^~~~~~~~~~~~~~~~~~~~~~ -main.c:2257:9: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] - 2257 | hist_lock= g_mutex_new(); - | ^~~~~~~~~ -In file included from /usr/include/glib-2.0/glib.h:115: -/usr/include/glib-2.0/glib/deprecated/gthread.h:279:17: note: declared here - 279 | GMutex * g_mutex_new (void); - | ^~~~~~~~~~~ gcc -I.. -DPARCELLITELOCALEDIR=\""/usr/share/locale"\" -g -O2 -ffile-prefix-map=/build/reproducible-path/parcellite-1.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o parcellite main.o utils.o daemon.o history.o keybinder.o preferences.o eggaccelerators.o attr_list.o -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lX11 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 make[3]: Leaving directory '/build/reproducible-path/parcellite-1.2.1/src' make[3]: Entering directory '/build/reproducible-path/parcellite-1.2.1' @@ -3018,7 +3054,7 @@ make[2]: Leaving directory '/build/reproducible-path/parcellite-1.2.1' make[1]: Leaving directory '/build/reproducible-path/parcellite-1.2.1' dh_auto_test - make -j22 check "TESTSUITEFLAGS=-j22 --verbose" VERBOSE=1 + make -j10 check "TESTSUITEFLAGS=-j10 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/parcellite-1.2.1' Making check in doc make[2]: Entering directory '/build/reproducible-path/parcellite-1.2.1/doc' @@ -3047,7 +3083,7 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/parcellite/ - make -j22 install DESTDIR=/build/reproducible-path/parcellite-1.2.1/debian/parcellite AM_UPDATE_INFO_DIR=no + make -j10 install DESTDIR=/build/reproducible-path/parcellite-1.2.1/debian/parcellite AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/parcellite-1.2.1' Making install in doc make[2]: Entering directory '/build/reproducible-path/parcellite-1.2.1/doc' @@ -3062,7 +3098,7 @@ linguas="ca cs da de es fr hu it ja nb pl pl_PL pt_BR ro ru sv tr zh_CN "; \ for lang in $linguas; do \ dir=/build/reproducible-path/parcellite-1.2.1/debian/parcellite/usr/share/locale/$lang/LC_MESSAGES; \ - /bin/bash /build/reproducible-path/parcellite-1.2.1/install-sh -d $dir; \ + /bin/sh /build/reproducible-path/parcellite-1.2.1/install-sh -d $dir; \ if test -r $lang.gmo; then \ /usr/bin/install -c -m 644 $lang.gmo $dir/parcellite.mo; \ echo "installing $lang.gmo as $dir/parcellite.mo"; \ @@ -3137,24 +3173,24 @@ dh_perl dh_link dh_strip_nondeterminism - Normalized debian/parcellite/usr/share/locale/de/LC_MESSAGES/parcellite.mo + Normalized debian/parcellite/usr/share/locale/pt_BR/LC_MESSAGES/parcellite.mo + Normalized debian/parcellite/usr/share/locale/it/LC_MESSAGES/parcellite.mo + Normalized debian/parcellite/usr/share/locale/hu/LC_MESSAGES/parcellite.mo + Normalized debian/parcellite/usr/share/locale/zh_CN/LC_MESSAGES/parcellite.mo + Normalized debian/parcellite/usr/share/locale/tr/LC_MESSAGES/parcellite.mo + Normalized debian/parcellite/usr/share/locale/ja/LC_MESSAGES/parcellite.mo Normalized debian/parcellite/usr/share/locale/ro/LC_MESSAGES/parcellite.mo - Normalized debian/parcellite/usr/share/locale/fr/LC_MESSAGES/parcellite.mo + Normalized debian/parcellite/usr/share/locale/nb/LC_MESSAGES/parcellite.mo Normalized debian/parcellite/usr/share/locale/pl_PL/LC_MESSAGES/parcellite.mo - Normalized debian/parcellite/usr/share/locale/ca/LC_MESSAGES/parcellite.mo - Normalized debian/parcellite/usr/share/locale/pl/LC_MESSAGES/parcellite.mo + Normalized debian/parcellite/usr/share/locale/de/LC_MESSAGES/parcellite.mo + Normalized debian/parcellite/usr/share/locale/cs/LC_MESSAGES/parcellite.mo Normalized debian/parcellite/usr/share/locale/sv/LC_MESSAGES/parcellite.mo - Normalized debian/parcellite/usr/share/locale/ru/LC_MESSAGES/parcellite.mo + Normalized debian/parcellite/usr/share/locale/pl/LC_MESSAGES/parcellite.mo + Normalized debian/parcellite/usr/share/locale/fr/LC_MESSAGES/parcellite.mo Normalized debian/parcellite/usr/share/locale/es/LC_MESSAGES/parcellite.mo - Normalized debian/parcellite/usr/share/locale/zh_CN/LC_MESSAGES/parcellite.mo - Normalized debian/parcellite/usr/share/locale/cs/LC_MESSAGES/parcellite.mo - Normalized debian/parcellite/usr/share/locale/nb/LC_MESSAGES/parcellite.mo - Normalized debian/parcellite/usr/share/locale/it/LC_MESSAGES/parcellite.mo - Normalized debian/parcellite/usr/share/locale/hu/LC_MESSAGES/parcellite.mo - Normalized debian/parcellite/usr/share/locale/tr/LC_MESSAGES/parcellite.mo - Normalized debian/parcellite/usr/share/locale/pt_BR/LC_MESSAGES/parcellite.mo Normalized debian/parcellite/usr/share/locale/da/LC_MESSAGES/parcellite.mo - Normalized debian/parcellite/usr/share/locale/ja/LC_MESSAGES/parcellite.mo + Normalized debian/parcellite/usr/share/locale/ca/LC_MESSAGES/parcellite.mo + Normalized debian/parcellite/usr/share/locale/ru/LC_MESSAGES/parcellite.mo dh_compress dh_fixperms dh_missing @@ -3176,12 +3212,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/25980/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/25980/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/100898 and its subdirectories -I: Current time: Sat May 24 10:21:42 -12 2025 -I: pbuilder-time-stamp: 1748125302 +I: removing directory /srv/workspace/pbuilder/25980 and its subdirectories +I: Current time: Mon Apr 22 06:00:10 +14 2024 +I: pbuilder-time-stamp: 1713715210