/[ascend]/branches/adrian/nsis/detect.nsi
ViewVC logotype

Diff of /branches/adrian/nsis/detect.nsi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2943 by adrian, Wed Jun 3 22:05:25 2015 UTC revision 2944 by adrian, Thu Jun 4 20:28:52 2015 UTC
# Line 34  FunctionEnd Line 34  FunctionEnd
34  ; Is GTK3 available?  ; Is GTK3 available?
35    
36  Function DetectGTK  Function DetectGTK
37      ${If} ${FileExists} "$PYPATH\Lib\site-packages\gnome\libgtk-3-0.dll"      ${If} ${FileExists} "$PYPATH\Lib\site-packages\gnome\libgtk-3*.dll"
38          StrCpy $HAVE_GTK "OK"          StrCpy $HAVE_GTK "OK"
39      ${Else}      ${Else}
40          ;MessageBox MB_OK "No PyCairo in $PYPATH"                ;MessageBox MB_OK "No PyCairo in $PYPATH"      
# Line 42  Function DetectGTK Line 42  Function DetectGTK
42      ${EndIf}      ${EndIf}
43  FunctionEnd  FunctionEnd
44    
45    Function DetectGTKSourceView
46        ${If} ${FileExists} "$PYPATH\Lib\site-packages\gnome\libgtksourceview-3*.dll"
47            StrCpy $HAVE_GTKSOURCEVIEW "OK"
48        ${Else}
49            ;MessageBox MB_OK "No PyCairo in $PYPATH"      
50            StrCpy $HAVE_GTKSOURCEVIEW "NOK"
51        ${EndIf}
52    FunctionEnd
53    
54  ;--------------------------------------------------------------------  ;--------------------------------------------------------------------
55  ; Are necessary Python packages and pieces available?  ; Are necessary Python packages and pieces available?
56    
57  Function DetectPyCairo  Function DetectPyCairo
58      ${If} ${FileExists} "$PYPATH\Lib\site-packages\gnome\libcairo-gobject-2.dll"      ${If} ${FileExists} "$PYPATH\Lib\site-packages\gnome\libcairo-gobject-2*.dll"
59          StrCpy $HAVE_PYCAIRO "OK"          StrCpy $HAVE_PYCAIRO "OK"
60      ${Else}      ${Else}
61          ;MessageBox MB_OK "No PyCairo in $PYPATH"                ;MessageBox MB_OK "No PyCairo in $PYPATH"      
# Line 55  Function DetectPyCairo Line 64  Function DetectPyCairo
64  FunctionEnd  FunctionEnd
65    
66  Function DetectPyGObject  Function DetectPyGObject
67      ${If} ${FileExists} "$PYPATH\Lib\site-packages\gnome\libgobject-2.0-0.dll"      ${If} ${FileExists} "$PYPATH\Lib\site-packages\gnome\libgobject-2*.dll"
68          StrCpy $HAVE_PYGOBJECT "OK"          StrCpy $HAVE_PYGOBJECT "OK"
69      ${Else}      ${Else}
70          ;MessageBox MB_OK "No PyGObject in $PYPATH"              ;MessageBox MB_OK "No PyGObject in $PYPATH"    

Legend:
Removed from v.2943  
changed lines
  Added in v.2944

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22