Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 11th, 2012  |  syntax: MagikSF  |  size: 3.07 KB  |  views: 87  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. echo "/* Automatically generated GTK ui definitions, do not edit! */" > gtkui.h
  2. echo >> gtkui.h
  3. echo "const gchar *actionmenu_str = \"\\" >> gtkui.h
  4. cat actionmenu.gtk | sed "s/$/\\\/" | sed 's/"/\\\"/g' >> gtkui.h
  5. echo "\";" >> gtkui.h
  6. echo >> gtkui.h
  7. echo "const gchar *sizechooser_str = \"\\" >> gtkui.h
  8. gtk-builder-convert -w sizechooser.glade - | sed "s/$/\\\/" | sed 's/"/\\\"/g' >> gtkui.h
  9. echo "\";" >> gtkui.h
  10. echo >> gtkui.h
  11. echo "const gchar *print_resolution_str = \"\\" >> gtkui.h
  12. gtk-builder-convert -w printing-resolution.glade - | sed "s/$/\\\/" | sed 's/"/\\\"/g' >> gtkui.h
  13. echo "\";" >> gtkui.h
  14. echo >> gtkui.h
  15. gdk-pixbuf-csource --name=rasmol_icon --struct rasmol_48x48.xpm  >> gtkui.h
  16. gcc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L                          -D_POSIX_SOURCE -D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                                                  -DFUNCPROTO=15 -DNARROWPROTO   -pthread -I/usr/include/vte-0.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15   -DGTKWIN -DRASMOLDIR=\"/usr/lib64/rasmol/\" -DTHIRTYTWOBIT            -D_USE_RASMOL_H_  -I/usr/include/cbflib           -I/usr/include           -I/usr/include           -I/usr/include    -c -o gtkwin.o gtkwin.c
  17. gtkwin.c: In function ‘sizeradio_cb’:
  18. gtkwin.c:463:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  19. gtkwin.c: In function ‘print_get_res_cb’:
  20. gtkwin.c:745:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  21. gcc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L                          -D_POSIX_SOURCE -D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                                                  -DFUNCPROTO=15 -DNARROWPROTO   -pthread -I/usr/include/vte-0.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15   -DGTKWIN -DRASMOLDIR=\"/usr/lib64/rasmol/\" -DTHIRTYTWOBIT            -D_USE_RASMOL_H_  -I/usr/include/cbflib           -I/usr/include           -I/usr/include           -I/usr/include    -c -o eggfileformatchooser.o eggfileformatchooser.c
  22. In file included from egg-macros.h:12:0,
  23.                  from eggfileformatchooser.c:20:
  24. /usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
clone this paste RAW Paste Data