Menu

#21 uget 1.8.0 cannot build with GTK3 3.3.2

closed
nobody
None
5
2014-10-02
2011-11-19
No

uget 1.8.0 fails to build with GTK3 3.3.2 like:
UgSettingForm.c: In function 'ug_clipboard_setting_form_init':
UgSettingForm.c:68:2: warning: implicit declaration of function 'gtk_vbox_new' [-Wimplicit-function-declaration]
UgProxyForm.c: In function 'ug_proxy_form_init':
UgProxyForm.c:83:2: warning: implicit declaration of function 'gtk_hbox_new' [-Wimplicit-function-declaration]
UgProxyForm.c:83:7: warning: assignment makes pointer from integer without a cast [enabled by default]
UgProxyForm.c:89:2: warning: implicit declaration of function 'gtk_vbox_new' [-Wimplicit-function-declaration]
UgProxyForm.c:89:7: warning: assignment makes pointer from integer without a cast [enabled by default]
UgProxyForm.c: In function 'ug_proxy_form_std_init':
UgProxyForm.c:116:2: error: unknown type name 'GtkTable'
UgProxyForm.c:125:2: warning: implicit declaration of function 'gtk_table_new' [-Wimplicit-function-declaration]
UgProxyForm.c:125:13: warning: assignment makes pointer from integer without a cast [enabled by default]
UgProxyForm.c:126:16: error: 'GtkTable' undeclared (first use in this function)
UgProxyForm.c:126:16: note: each undeclared identifier is reported only once for each function it appears in
UgProxyForm.c:126:25: error: expected expression before ')' token
.....
.....
http://koji.fedoraproject.org/koji/taskinfo?taskID=3526232
http://koji.fedoraproject.org/koji/getfile?taskID=3526232&name=build.log

It seems that using GtkTable is marked as deprecated and newer codes
should use GtkGrid instead.

Discussion

  • C.H. Huang

    C.H. Huang - 2011-12-12

    Try to remove -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED from all Makefile.am in uget source.

    By the way, I had little time for development now. I am looking for someone to take over this project.

     
  • Mamoru TASAKA

    Mamoru TASAKA - 2011-12-12

    > Try to remove -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
    > from all Makefile.am in uget source.
    Yes, this is the current workaround:
    http://pkgs.fedoraproject.org/gitweb/?p=uget.git;a=commitdiff;h=7fe7d952a70f9012e666ac0d38e2edba1890ce2d

    > By the way, I had little time for development now
    Sorry to hear that... I hope you can have some time for this development.

     
  • C.H. Huang

    C.H. Huang - 2012-04-17
    • status: open --> closed