view finch/libgnt/pygnt/gendef.sh @ 21174:6e0c99e134c2
Fix the win32 build for the file synchronization changes. Hopefully this will fix some of the occasional issues that people have had on Windows with their files getting corrupted on power failure or something.
author
Daniel Atallah <daniel.atallah@gmail.com>
date
Fri, 09 Nov 2007 01:39:51 +0000 (2007-11-09)
parents
6df41719037c
children
line source
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 #!/bin/sh
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 FILES="
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntwidget.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntbindable.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntbox.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntbutton.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntcheckbox.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntclipboard.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntcolors.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntcombobox.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntentry.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntfilesel.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntkeys.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntlabel.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntline.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntmarshal.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntmenu.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntmenuitem.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntmenuitemcheck.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntslider.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntstyle.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gnttextview.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gnttree.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntutils.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntwindow.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntwm.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gntws.h
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 gnt.h"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 # Generate the def file
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 rm -f gnt.def
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 for file in $FILES
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 do
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 echo -n "Generating definitions for ${file} ... "
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 python /usr/share/pygtk/2.0/codegen/h2def.py ../$file >> gnt.def
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 echo "Done"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 done
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 # Remove the definitions about the enums
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ENUMS="
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GNT_TYPE_ALIGNMENT
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GNT_TYPE_COLOR_TYPE
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GNT_TYPE_MENU_TYPE
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GNT_TYPE_STYLE
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GNT_TYPE_KEY_PRESS_MODE
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GNT_TYPE_ENTRY_FLAG
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GNT_TYPE_TEXT_FORMAT_FLAGS
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 GNT_TYPE_TEXT_VIEW_FLAG
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 for enum in $ENUMS
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 do
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 sed -ie s/^.*gtype-id\ \"$enum\".*$//g gnt.def
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 done
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申