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

Installing pond on arch #22

Closed
0xErnie opened this issue Nov 25, 2013 · 3 comments
Closed

Installing pond on arch #22

0xErnie opened this issue Nov 25, 2013 · 3 comments

Comments

@0xErnie
Copy link

0xErnie commented Nov 25, 2013

I want to test the pond-client under archlinux.

After installing trousers, go, gtkspell3, mercurial and tor, creating a directory for go and exporting it's path "go get github.com/agl/pond/client" fails:

go get github.com/agl/pond/client
# github.com/agl/go-gtk/gtk
gtk.go: In function '_gtk_widget_get_state':
gtk.go:341:2: error: 'gtk_widget_get_state' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkwidget.h:678): Use 'gtk_widget_get_state_flags' instead [-Werror=deprecated-declarations]
  return gtk_widget_get_state(widget);
  ^
gtk.go: At top level:
gtk.go:785:1: error: 'gtk_status_icon_new_from_stock' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkstatusicon.h:90): Use 'gtk_status_icon_new_from_icon_name' instead [-Werror=deprecated-declarations]
  if b {
 ^
gtk.go:838:1: error: 'gtk_status_icon_get_stock' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkstatusicon.h:118): Use 'gtk_status_icon_get_icon_name' instead [-Werror=deprecated-declarations]
   res[i] = bresponse
 ^
gtk.go:852:1: error: 'gtk_menu_set_tearoff_state' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkmenu.h:194) [-Werror=deprecated-declarations]
 //-----------------------------------------------------------------------
 ^ 

There was no need to edit the PKGBUILD of pond, since it already has the option --with-gui=openssl, see AUR

@agl agl closed this as completed in ff29f90 Nov 28, 2013
@agl
Copy link
Owner

agl commented Nov 28, 2013

Thanks! It looks like GTK 3.10 deprecated some more functions and go-gtk gets built with -Werror.

You'll need to go get -u github.com/agl/pond/client because github.com/agl/go-gtk also needs to be updated to match up with ff29f90.

@agl
Copy link
Owner

agl commented Nov 28, 2013

Please note, I'm currently working on the command line interface so didn't notice that I left testing code in gtk.go with the last commit! Please sync to at least 9f1a1f4, otherwise half the text will be white on a white background!

@0xErnie
Copy link
Author

0xErnie commented Nov 28, 2013

wow, the gui looks way better now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants