Check-in [c3f27e66e3]
Overview
Comment:Added start of web interface to build kits
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:c3f27e66e3623ea837bfbd5e4bfc82f44e2c910b
User & Date: rkeene on 2011-05-21 03:43:09
Other Links: manifest | tags
Context
2011-05-21
04:39
Minor work to make web interface more interactive check-in: f8f78a49b0 user: rkeene tags: trunk
03:43
Added start of web interface to build kits check-in: c3f27e66e3 user: rkeene tags: trunk
2011-05-20
06:43
Added back missing executable flag (bug in Fossil) check-in: fbf8349fe2 user: rkeene tags: trunk
Changes

Added build/web/Makefile version [a7224e283a].

            1  +STARKIT2EXE = ../../../starkit2exe/starkit2exe
            2  +RIVET2STARKIT = ../../../rivet/bin/rivet2starkit
            3  +
            4  +kitcreator.cgi: kitcreator.kit
            5  +	$(STARKIT2EXE) kitcreator.kit kitcreator.cgi
            6  +
            7  +kitcreator.kit: kitcreator.vfs kitcreator.vfs/index.rvt
            8  +	$(RIVET2STARKIT) tclkit kitcreator.kit kitcreator.vfs
            9  +
           10  +clean:
           11  +	rm -f kitcreator.kit kitcreator.cgi
           12  +
           13  +distclean: clean
           14  +
           15  +.PHONY: clean distclean

Added build/web/kitcreator.vfs/index.rvt version [21111d4e4b].

            1  +<?
            2  +	set sourcedir "/web/rkeene/devel/kitcreator/all"
            3  +	foreach file [glob -tails -nocomplain -directory $sourcedir "kitcreator-*.tar.gz"] {
            4  +		regexp {^kitcreator-(.*).tar.gz$} $file -> vers
            5  +		set kitcreator_versions($vers) $vers
            6  +	}
            7  +	set kitcreator_versions(trunk) "Fossil Trunk Tip"
            8  +
            9  +	set tcl_versions(8.4.19) 8.4.19
           10  +	set tcl_versions(8.5.9) 8.5.9
           11  +	set tcl_versions(cvs_HEAD) "Fossil Trunk Tip"
           12  +
           13  +	set platforms(linux-x86) "Linux on x86"
           14  +	set platforms(linux-amd64) "Linux on amd64"
           15  +	set platforms(linux-mipsel) "Linux on MIPSEL"
           16  +	set platforms(windows-x86) "Windows on x86"
           17  +
           18  +?><html>
           19  +  <head>
           20  +    <title>KitCreator, Web Interface</title>
           21  +  </head>
           22  +  <body>
           23  +    <h1>KitCreator Web Interface</h1>
           24  +    <form method="post" enctype="multipart/form-data">
           25  +      <table>
           26  +        <tr>
           27  +          <td>KitCreator Version:</td>
           28  +          <td>
           29  +            <select name="kitcreator_version">
           30  +<?
           31  +	foreach kitcreator_version [lsort -dictionary [array names kitcreator_versions]] {
           32  +		set kitcreator_version_name $kitcreator_versions($kitcreator_version)
           33  +		puts "              <option value=\"${kitcreator_version}\">${kitcreator_version_name}</option>"
           34  +	}
           35  +?>
           36  +            </select>
           37  +          </td>
           38  +        </tr>
           39  +        <tr>
           40  +          <td>Tcl Version:</td>
           41  +          <td>
           42  +            <select name="tcl_version">
           43  +<?
           44  +	foreach tcl_version [lsort -dictionary [array names tcl_versions]] {
           45  +		set tcl_version_name $tcl_versions($tcl_version)
           46  +		puts "              <option value=\"${tcl_version}\">${tcl_version_name}</option>"
           47  +	}
           48  +?>
           49  +            </select>
           50  +          </td>
           51  +        </tr>
           52  +        <tr>
           53  +          <td>Platform:</td>
           54  +          <td>
           55  +            <select name="platform">
           56  +<?
           57  +	foreach platform [lsort -dictionary [array names platforms]] {
           58  +		set platform_name $platforms($platform)
           59  +		puts "              <option value=\"${platform}\">${platform_name}</option>"
           60  +	}
           61  +?>
           62  +            </select>
           63  +          </td>
           64  +        </tr>
           65  +        <tr>
           66  +          <td>Kit Options:</td>
           67  +          <td>
           68  +            <input type="checkbox" name="option_package_tk">Tk<br>
           69  +            <input type="checkbox" name="option_package_itcl">[incr Tcl]<br>
           70  +            <input type="checkbox" name="option_package_mk4tcl">Metakit<br>
           71  +            <input type="checkbox" name="option_threaded">Threaded<br>
           72  +            <input type="checkbox" name="option_kitdll">Build Library (KitDLL)<br>
           73  +          </td>
           74  +        </tr>
           75  +        <tr>
           76  +          <td>Kit Icon:</td>
           77  +          <td>
           78  +            <input type="file" name="platform-windows-x86-icon">
           79  +          </td>
           80  +        </tr>
           81  +        <tr>
           82  +          <td>Description:</td>
           83  +          <td>
           84  +            <input type="text" name="platform-windows-x86-desc">
           85  +          </td>
           86  +        </tr>
           87  +      </table>
           88  +    </form>
           89  +  </body>
           90  +</html>