libyui-gtk build failure because of deprecated gtk_vbox_get_type
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I got this error: /home/iurt/rpmbuild/BUILD/libyui-gtk-2.43.4-c24f810/src/YGBarGraph.cc: In constructor 'YGPartitionSplitter::YGPartitionSplitter(YWidget*, int, int, int, int, int, const string&, const string&, const string&, const string&, const string&)': /home/iurt/rpmbuild/BUILD/libyui-gtk-2.43.4-c24f810/src/YGBarGraph.cc:73:28: error: 'GType gtk_vbox_get_type()' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:59) [-Werror=deprecated-declarations] /home/iurt/rpmbuild/BUILD/libyui-gtk-2.43.4-c24f810/src/YGBarGraph.cc:73:28: error: 'GType gtk_vbox_get_type()' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:59) [-Werror=deprecated-declarations] Can someone help me? Thanks, Angelo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlHQpzAACgkQqEs9DA4DquAfkgCdHndJiYphXiw4DJlJGX80Kh1B 8TkAnjZhv4UZSmYz6dM3zSAJEoAdn9TC =fol6 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: libyui-devel+unsubscribe@opensuse.org To contact the owner, e-mail: libyui-devel+owner@opensuse.org
Am Sonntag, den 30.06.2013, 23:46 +0200 schrieb Angelo Naselli:
Hi, I got this error:
/home/iurt/rpmbuild/BUILD/libyui-gtk-2.43.4-c24f810/src/YGBarGraph.cc: In constructor 'YGPartitionSplitter::YGPartitionSplitter(YWidget*, int, int, int, int, int, const string&, const string&, const string&, const string&, const string&)': /home/iurt/rpmbuild/BUILD/libyui-gtk-2.43.4-c24f810/src/YGBarGraph.cc:73:28: error: 'GType gtk_vbox_get_type()' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:59) [-Werror=deprecated-declarations] /home/iurt/rpmbuild/BUILD/libyui-gtk-2.43.4-c24f810/src/YGBarGraph.cc:73:28: error: 'GType gtk_vbox_get_type()' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:59) [-Werror=deprecated-declarations]
Can someone help me?
Thanks, Angelo
Hi Angelo! quick fix: cmake -DENABLE_WERROR=OFF Cheers, Björn
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi Angelo!
quick fix: cmake -DENABLE_WERROR=OFF
Eh eh, i did that :D I meant something for the project ;) Angelo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlHRMfoACgkQqEs9DA4DquBvqwCgpW7g0IRQnaV/MOwoG3qp8rUc qcAAnRplVsLwIoq5zzuOeOQfw7JjZ0F0 =i36w -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: libyui-devel+unsubscribe@opensuse.org To contact the owner, e-mail: libyui-devel+owner@opensuse.org
On 07/01/2013 09:38 AM, Angelo Naselli wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi Angelo!
quick fix: cmake -DENABLE_WERROR=OFF
Eh eh, i did that :D
I meant something for the project ;)
Angelo
Please have a look at: https://developer.gnome.org/gtk3/3.2/GtkVBox.html Cheers, Thomas -- Thomas Goettlicher SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: libyui-devel+unsubscribe@opensuse.org To contact the owner, e-mail: libyui-devel+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Il 01/07/2013 10:02, Thomas Goettlicher ha scritto:
On 07/01/2013 09:38 AM, Angelo Naselli wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi Angelo!
quick fix: cmake -DENABLE_WERROR=OFF
Eh eh, i did that :D
I meant something for the project ;)
Angelo
Please have a look at: https://developer.gnome.org/gtk3/3.2/GtkVBox.html
Cheers, Thomas
As far as I understood last night, gtk_vbox_new () replaces gtk_vbox_get_type, but returns GtkWidget* while the latter GType. If i recall correctly, YGWidget needs GType, so it seems a big change to me that i don't know GTk so well :D If you point me to the right direction, i could try to... Cheers, Angelo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlHRRO4ACgkQqEs9DA4DquD7CwCaA9rNNEX28RX/T3lUOxF4u4Q9 qkIAoLI83wL9XZykBXhmqOjIiES2PPsb =CqP7 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: libyui-devel+unsubscribe@opensuse.org To contact the owner, e-mail: libyui-devel+owner@opensuse.org
On 07/01/2013 10:59 AM, Angelo Naselli wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Il 01/07/2013 10:02, Thomas Goettlicher ha scritto:
On 07/01/2013 09:38 AM, Angelo Naselli wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi Angelo!
quick fix: cmake -DENABLE_WERROR=OFF
Eh eh, i did that :D
I meant something for the project ;)
Angelo
Please have a look at: https://developer.gnome.org/gtk3/3.2/GtkVBox.html
Cheers, Thomas
As far as I understood last night, gtk_vbox_new () replaces gtk_vbox_get_type, but returns GtkWidget* while the latter GType.
If i recall correctly, YGWidget needs GType, so it seems a big change to me that i don't know GTk so well :D
If you point me to the right direction, i could try to...
Cheers, Angelo
I fully agree, the needed changes seem to be trivial. Any gtk guys around who have experience in porting code to the latest gtk version? Cheers, Thomas
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlHRRO4ACgkQqEs9DA4DquD7CwCaA9rNNEX28RX/T3lUOxF4u4Q9 qkIAoLI83wL9XZykBXhmqOjIiES2PPsb =CqP7 -----END PGP SIGNATURE-----
-- Thomas Goettlicher SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: libyui-devel+unsubscribe@opensuse.org To contact the owner, e-mail: libyui-devel+owner@opensuse.org
On 07/01/2013 04:29 PM, Thomas Goettlicher wrote:
On 07/01/2013 10:59 AM, Angelo Naselli wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Il 01/07/2013 10:02, Thomas Goettlicher ha scritto:
On 07/01/2013 09:38 AM, Angelo Naselli wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi Angelo!
quick fix: cmake -DENABLE_WERROR=OFF
Eh eh, i did that :D
I meant something for the project ;)
Angelo
Please have a look at: https://developer.gnome.org/gtk3/3.2/GtkVBox.html
Cheers, Thomas
As far as I understood last night, gtk_vbox_new () replaces gtk_vbox_get_type, but returns GtkWidget* while the latter GType.
If i recall correctly, YGWidget needs GType, so it seems a big change to me that i don't know GTk so well :D
If you point me to the right direction, i could try to...
Cheers, Angelo
I fully agree, the needed changes seem to be trivial. Any gtk guys around who have experience in porting code to the latest gtk version?
Cheers, Thomas
I've fixed this issue now. Could you please review: https://github.com/libyui/libyui-gtk/pull/30 Thanks, Thomas
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlHRRO4ACgkQqEs9DA4DquD7CwCaA9rNNEX28RX/T3lUOxF4u4Q9 qkIAoLI83wL9XZykBXhmqOjIiES2PPsb =CqP7 -----END PGP SIGNATURE-----
-- Thomas Goettlicher SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: libyui-devel+unsubscribe@opensuse.org To contact the owner, e-mail: libyui-devel+owner@opensuse.org
I've fixed this issue now. Could you please review: https://github.com/libyui/libyui-gtk/pull/30
Ops, so i have to remove my mail :D I will test it later at home. Thanks, Angelo -- To unsubscribe, e-mail: libyui-devel+unsubscribe@opensuse.org To contact the owner, e-mail: libyui-devel+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I've fixed this issue now. Could you please review: https://github.com/libyui/libyui-gtk/pull/30
Thomas, i have a doubt at a quick look at it, using YGWidget::YGWidget(YWidget *ywidget, YWidget *yparent, GtkWidget *gtkwidget, const char *property_name, ...) Are the properties used? Angelo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlHUBOgACgkQqEs9DA4DquBFwQCfcQ6Km+Nht/0o7x6ZdW2fclYU tkkAnA3KCWCW3cU2YtDdxEtJASVdF/bl =s87w -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: libyui-devel+unsubscribe@opensuse.org To contact the owner, e-mail: libyui-devel+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I fully agree, the needed changes seem to be trivial. Any gtk guys around who have experience in porting code to the latest gtk version?
Well I'm not :) but i started to try working on it. Attached patch does not solve all the deprecated problem, but builds on the machine that does not have the problem yet (mageia 3), and only partially in cauldron one. Before having any headaches for trying to understand other Gtk things, I'd like to understand if this approach could be seen as correct, and maybe if it does not have regressions, since I'm just shooting in the dark. I don't use and compile graph packages for instance... I experienced a segmentation fault running ManyWidgets example in gtk, butalso i tried it without my patch and crashed anyway, that's odd since i used it -working- for my previous branch and YTable changes -aborted at the moment-. Cheers, Angelo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlHT//AACgkQqEs9DA4DquDetQCeNbQZ0MsVYFn1N1HvjF+S70u/ RqQAoJDT3qL9A7QXVLCyVPk6n4Ud/AwT =6A2v -----END PGP SIGNATURE-----
participants (3)
-
Angelo Naselli
-
Björn Esser
-
Thomas Goettlicher