{"action":"created","issue":{"url":"https://api.github.com/repos/tensor5/arch-atom/issues/10","repository_url":"https://api.github.com/repos/tensor5/arch-atom","labels_url":"https://api.github.com/repos/tensor5/arch-atom/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/tensor5/arch-atom/issues/10/comments","events_url":"https://api.github.com/repos/tensor5/arch-atom/issues/10/events","html_url":"https://github.com/tensor5/arch-atom/issues/10","id":157373042,"number":10,"title":"Build Electron with GTK+ 3","user":{"login":"tensor5","id":1545895,"avatar_url":"https://avatars.githubusercontent.com/u/1545895?v=3","gravatar_id":"","url":"https://api.github.com/users/tensor5","html_url":"https://github.com/tensor5","followers_url":"https://api.github.com/users/tensor5/followers","following_url":"https://api.github.com/users/tensor5/following{/other_user}","gists_url":"https://api.github.com/users/tensor5/gists{/gist_id}","starred_url":"https://api.github.com/users/tensor5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensor5/subscriptions","organizations_url":"https://api.github.com/users/tensor5/orgs","repos_url":"https://api.github.com/users/tensor5/repos","events_url":"https://api.github.com/users/tensor5/events{/privacy}","received_events_url":"https://api.github.com/users/tensor5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2016-05-29T07:06:47Z","updated_at":"2016-09-08T07:04:43Z","closed_at":null,"body":"This is done in the [`electron_gtk3`](https://github.com/tensor5/arch-atom/tree/electron_gtk3) branch.\r\n\r\nAtom and Electron's default app crash on keypress. No problem arises during the build of libchromiumcontent, but there are some warnings from Electron:\r\n\r\n\r\n```\r\n[...]\r\n[946/1080] CXX obj/atom/browser/ui/electron_lib.file_dialog_gtk.o\r\n../../atom/browser/ui/file_dialog_gtk.cc:45:32: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]\r\n    const char* confirm_text = GTK_STOCK_OK;\r\n                               ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:756:38: note: expanded from macro 'GTK_STOCK_OK'\r\n#define GTK_STOCK_OK               ((GtkStock)\"gtk-ok\")\r\n                                     ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: 'GtkStock' has been explicitly marked deprecated here\r\ntypedef char * GtkStock;\r\n               ^\r\n../../atom/browser/ui/file_dialog_gtk.cc:50:22: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]\r\n      confirm_text = GTK_STOCK_SAVE;\r\n                     ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:964:38: note: expanded from macro 'GTK_STOCK_SAVE'\r\n#define GTK_STOCK_SAVE             ((GtkStock)\"gtk-save\")\r\n                                     ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: 'GtkStock' has been explicitly marked deprecated here\r\ntypedef char * GtkStock;\r\n               ^\r\n../../atom/browser/ui/file_dialog_gtk.cc:52:22: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]\r\n      confirm_text = GTK_STOCK_OPEN;\r\n                     ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:765:38: note: expanded from macro 'GTK_STOCK_OPEN'\r\n#define GTK_STOCK_OPEN             ((GtkStock)\"gtk-open\")\r\n                                     ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: 'GtkStock' has been explicitly marked deprecated here\r\ntypedef char * GtkStock;\r\n               ^\r\n../../atom/browser/ui/file_dialog_gtk.cc:58:9: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]\r\n        GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,\r\n        ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:159:38: note: expanded from macro 'GTK_STOCK_CANCEL'\r\n#define GTK_STOCK_CANCEL           ((GtkStock)\"gtk-cancel\")\r\n                                     ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: 'GtkStock' has been explicitly marked deprecated here\r\ntypedef char * GtkStock;\r\n               ^\r\n4 warnings generated.\r\n[947/1080] CXX obj/atom/browser/ui/electron_lib.tray_icon.o\r\n[948/1080] CXX obj/atom/browser/ui/electron_lib.message_box_gtk.o\r\n../../atom/browser/ui/message_box_gtk.cc:56:35: warning: 'gtk_icon_source_new' is deprecated [-Wdeprecated-declarations]\r\n      GtkIconSource* iconsource = gtk_icon_source_new();\r\n                                  ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:170:16: note: 'gtk_icon_source_new' has been explicitly marked deprecated here\r\nGtkIconSource* gtk_icon_source_new                      (void);\r\n               ^\r\n../../atom/browser/ui/message_box_gtk.cc:57:29: warning: 'gtk_icon_set_new' is deprecated [-Wdeprecated-declarations]\r\n      GtkIconSet* iconset = gtk_icon_set_new();\r\n                            ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:138:13: note: 'gtk_icon_set_new' has been explicitly marked deprecated here\r\nGtkIconSet* gtk_icon_set_new             (void);\r\n            ^\r\n../../atom/browser/ui/message_box_gtk.cc:58:7: warning: 'gtk_icon_source_set_pixbuf' is deprecated [-Wdeprecated-declarations]\r\n      gtk_icon_source_set_pixbuf(iconsource, pixbuf);\r\n      ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:183:16: note: 'gtk_icon_source_set_pixbuf' has been explicitly marked deprecated here\r\nvoid           gtk_icon_source_set_pixbuf               (GtkIconSource       *source,\r\n               ^\r\n../../atom/browser/ui/message_box_gtk.cc:59:7: warning: 'gtk_icon_set_add_source' is deprecated [-Wdeprecated-declarations]\r\n      gtk_icon_set_add_source(iconset, iconsource);\r\n      ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:159:16: note: 'gtk_icon_set_add_source' has been explicitly marked deprecated here\r\nvoid           gtk_icon_set_add_source   (GtkIconSet          *icon_set,\r\n               ^\r\n../../atom/browser/ui/message_box_gtk.cc:60:26: warning: 'gtk_image_new_from_icon_set' is deprecated [-Wdeprecated-declarations]\r\n      GtkWidget* image = gtk_image_new_from_icon_set(iconset,\r\n                         ^\r\n/usr/include/gtk-3.0/gtk/gtkimage.h:125:12: note: 'gtk_image_new_from_icon_set' has been explicitly marked deprecated here\r\nGtkWidget* gtk_image_new_from_icon_set  (GtkIconSet      *icon_set,\r\n           ^\r\n../../atom/browser/ui/message_box_gtk.cc:62:7: warning: 'gtk_message_dialog_set_image' is deprecated [-Wdeprecated-declarations]\r\n      gtk_message_dialog_set_image(GTK_MESSAGE_DIALOG(dialog_), image);\r\n      ^\r\n/usr/include/gtk-3.0/gtk/gtkmessagedialog.h:115:12: note: 'gtk_message_dialog_set_image' has been explicitly marked deprecated here\r\nvoid       gtk_message_dialog_set_image    (GtkMessageDialog *dialog,\r\n           ^\r\n../../atom/browser/ui/message_box_gtk.cc:64:7: warning: 'gtk_icon_source_free' is deprecated [-Wdeprecated-declarations]\r\n      gtk_icon_source_free(iconsource);\r\n      ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:174:16: note: 'gtk_icon_source_free' has been explicitly marked deprecated here\r\nvoid           gtk_icon_source_free                     (GtkIconSource       *source);\r\n               ^\r\n../../atom/browser/ui/message_box_gtk.cc:65:7: warning: 'gtk_icon_set_unref' is deprecated [-Wdeprecated-declarations]\r\n      gtk_icon_set_unref(iconset);\r\n      ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:145:13: note: 'gtk_icon_set_unref' has been explicitly marked deprecated here\r\nvoid        gtk_icon_set_unref           (GtkIconSet      *icon_set);\r\n            ^\r\n../../atom/browser/ui/message_box_gtk.cc:106:14: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]\r\n      return GTK_STOCK_CANCEL;\r\n             ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:159:38: note: expanded from macro 'GTK_STOCK_CANCEL'\r\n#define GTK_STOCK_CANCEL           ((GtkStock)\"gtk-cancel\")\r\n                                     ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: 'GtkStock' has been explicitly marked deprecated here\r\ntypedef char * GtkStock;\r\n               ^\r\n../../atom/browser/ui/message_box_gtk.cc:108:14: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]\r\n      return GTK_STOCK_NO;\r\n             ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:747:38: note: expanded from macro 'GTK_STOCK_NO'\r\n#define GTK_STOCK_NO               ((GtkStock)\"gtk-no\")\r\n                                     ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: 'GtkStock' has been explicitly marked deprecated here\r\ntypedef char * GtkStock;\r\n               ^\r\n../../atom/browser/ui/message_box_gtk.cc:110:14: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]\r\n      return GTK_STOCK_OK;\r\n             ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:756:38: note: expanded from macro 'GTK_STOCK_OK'\r\n#define GTK_STOCK_OK               ((GtkStock)\"gtk-ok\")\r\n                                     ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: 'GtkStock' has been explicitly marked deprecated here\r\ntypedef char * GtkStock;\r\n               ^\r\n../../atom/browser/ui/message_box_gtk.cc:112:14: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]\r\n      return GTK_STOCK_YES;\r\n             ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:1094:38: note: expanded from macro 'GTK_STOCK_YES'\r\n#define GTK_STOCK_YES              ((GtkStock)\"gtk-yes\")\r\n                                     ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: 'GtkStock' has been explicitly marked deprecated here\r\ntypedef char * GtkStock;\r\n               ^\r\n12 warnings generated.\r\n[949/1080] CXX obj/atom/browser/ui/views/electron_lib.frameless_view.o\r\n[950/1080] CXX obj/atom/browser/ui/views/electron_lib.global_menu_bar_x11.o\r\n[951/1080] CXX obj/atom/browser/ui/views/electron_lib.menu_layout.o\r\n[952/1080] CXX obj/atom/browser/ui/views/electron_lib.menu_delegate.o\r\n[953/1080] CXX obj/atom/browser/ui/views/electron_lib.native_frame_view.o\r\n[954/1080] CXX obj/atom/browser/ui/views/electron_lib.menu_bar.o\r\n../../atom/browser/ui/views/menu_bar.cc:37:21: warning: 'gtk_rc_get_style' is deprecated [-Wdeprecated-declarations]\r\n  GtkStyle* style = gtk_rc_get_style(menu_bar);\r\n                    ^\r\n/usr/include/gtk-3.0/gtk/deprecated/gtkrc.h:175:11: note: 'gtk_rc_get_style' has been explicitly marked deprecated here\r\nGtkStyle* gtk_rc_get_style              (GtkWidget   *widget);\r\n          ^\r\n1 warning generated.\r\n[...]\r\n```\r\n\r\nUpstream issue [here](https://github.com/electron/electron/issues/2927)."},"comment":{"url":"https://api.github.com/repos/tensor5/arch-atom/issues/comments/245511830","html_url":"https://github.com/tensor5/arch-atom/issues/10#issuecomment-245511830","issue_url":"https://api.github.com/repos/tensor5/arch-atom/issues/10","id":245511830,"user":{"login":"juvevood","id":1421513,"avatar_url":"https://avatars.githubusercontent.com/u/1421513?v=3","gravatar_id":"","url":"https://api.github.com/users/juvevood","html_url":"https://github.com/juvevood","followers_url":"https://api.github.com/users/juvevood/followers","following_url":"https://api.github.com/users/juvevood/following{/other_user}","gists_url":"https://api.github.com/users/juvevood/gists{/gist_id}","starred_url":"https://api.github.com/users/juvevood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juvevood/subscriptions","organizations_url":"https://api.github.com/users/juvevood/orgs","repos_url":"https://api.github.com/users/juvevood/repos","events_url":"https://api.github.com/users/juvevood/events{/privacy}","received_events_url":"https://api.github.com/users/juvevood/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T07:04:43Z","updated_at":"2016-09-08T07:04:43Z","body":"black theme was wrong\r\n![black](https://cloud.githubusercontent.com/assets/1421513/18340077/9a3185ca-7568-11e6-9ce9-4694240a2ec6.png)\r\n"}}
{"actor":{"display_login":"juvevood"}}