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

Diff of /branches/adrian/nsis/dependencies.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 19  Function dependenciesCreate Line 19  Function dependenciesCreate
19      ${AndIf} $HAVE_GTK == 'OK'      ${AndIf} $HAVE_GTK == 'OK'
20      ${AndIf} $HAVE_PYGOBJECT == 'OK'      ${AndIf} $HAVE_PYGOBJECT == 'OK'
21      ${AndIf} $HAVE_PYCAIRO == 'OK'      ${AndIf} $HAVE_PYCAIRO == 'OK'
22      ;${AndIf} $TCLOK == 'OK'      ${AndIf} $HAVE_GTKSOURCEVIEW == 'OK'
23          ; do nothing in this page          ; do nothing in this page
24      ${Else}      ${Else}
25          nsDialogs::Create /NOUNLOAD 1018          nsDialogs::Create /NOUNLOAD 1018
# Line 33  Function dependenciesCreate Line 33  Function dependenciesCreate
33          ${NSD_CreateLabel} 0% 32% 100% 15% "and install required packages. This installer will then install only the parts for which the prerequisites are already satisfied."          ${NSD_CreateLabel} 0% 32% 100% 15% "and install required packages. This installer will then install only the parts for which the prerequisites are already satisfied."
34                    
35          ${If} $HAVE_PYTHON == 'NOK'          ${If} $HAVE_PYTHON == 'NOK'
36              ${NSD_CreateCheckbox} 10% 50% 100% 8u "Python ${PYVERSION} (${NNBIT})"              ${NSD_CreateCheckbox} 10% 50% 100% 8% "Python ${PYVERSION} (${NNBIT})"
37              Pop $CHECKPY              Pop $CHECKPY
38              !insertmacro setCheckboxChecked $CHECKPY              !insertmacro setCheckboxChecked $CHECKPY
39          ${Else}          ${Else}
40              ${NSD_CreateLabel} 10% 50% 100% 10% "Python:$\t$\t OK"              ${NSD_CreateLabel} 10% 50% 100% 8% "Python:$\t$\t OK"
41              Pop $0              Pop $0
42          ${EndIf}              ${EndIf}    
43    
44          ${If} $HAVE_GTK == 'NOK'          ${If} $HAVE_GTK == 'NOK'
45              ${NSD_CreateLabel} 10% 60% 100% 10% "GTK3:$\t$\t not found"              ${NSD_CreateLabel} 10% 58% 100% 8% "GTK3:$\t$\t not found"
46              Pop $0              Pop $0
47          ${Else}          ${Else}
48              ${NSD_CreateLabel} 10% 60% 100% 10% "GTK3:$\t$\t OK"              ${NSD_CreateLabel} 10% 58% 100% 8% "GTK3:$\t$\t OK"
49                Pop $0
50            ${EndIf}
51            
52            ${If} $HAVE_GTKSOURCEVIEW == 'NOK'
53                ${NSD_CreateLabel} 10% 66% 100% 8% "GTKSourceView:$\t not found"
54                Pop $0
55            ${Else}
56                ${NSD_CreateLabel} 10% 66% 100% 8% "GTKSourceView:$\t OK"
57              Pop $0              Pop $0
58          ${EndIf}          ${EndIf}
59                    
60          ${If} $HAVE_PYCAIRO == 'NOK'          ${If} $HAVE_PYCAIRO == 'NOK'
61              ${NSD_CreateLabel} 10% 70% 100% 10% "PyCairo:$\t not found"              ${NSD_CreateLabel} 10% 74% 100% 8% "PyCairo:$\t not found"
62              Pop $0              Pop $0
63          ${Else}          ${Else}
64              ${NSD_CreateLabel} 10% 70% 100% 10% "PyCairo:$\t OK"              ${NSD_CreateLabel} 10% 74% 100% 8% "PyCairo:$\t OK"
65              Pop $0              Pop $0
66          ${EndIf}          ${EndIf}
67    
68          ${If} $HAVE_PYGOBJECT == 'NOK'          ${If} $HAVE_PYGOBJECT == 'NOK'
69              ${NSD_CreateLabel} 10% 80% 100% 10% "PyGObject:$\t not found"              ${NSD_CreateLabel} 10% 82% 100% 8% "PyGObject:$\t not found"
70              Pop $0              Pop $0
71          ${Else}          ${Else}
72              ${NSD_CreateLabel} 10% 80% 100% 10% "PyGObject:$\t OK"              ${NSD_CreateLabel} 10% 82% 100% 8% "PyGObject:$\t OK"
73              Pop $0              Pop $0
74          ${EndIf}          ${EndIf}
75    

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

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