Skip to content
Browse files

narcissus: move platform specific packages to a 'Platform specific' s…

…ection
  • Loading branch information...
1 parent 92f6f71 commit 9dbf49a0d8c4b9613cf3b4c876413c77e2835758 @koenkooi koenkooi committed Jan 31, 2010
Showing with 35 additions and 5 deletions.
  1. +33 −5 index.php
  2. +2 −0 scripts/js/internal_request.js
View
38 index.php
@@ -21,6 +21,7 @@ function initForm() {
toggleVisibility('devel');
toggleVisibility('console_packages');
+ toggleVisibility('platform_packages');
toggleVisibility('x11_packages');
environmentChange();
@@ -133,11 +134,9 @@ function config_dropdown()
"Git" => "git",
"GSM0710muxd" => "gsm0710muxd",
"Gstreamer" => "gst-plugins-bad-meta gst-plugins-base-meta gst-plugins-good-meta gst-plugins-ugly-meta ",
- "Texas Instruments Gstreamer plugins" => "gstreamer-ti",
"I2C-tools" => "i2c-tools",
"JamVM" => "jamvm",
"Julius speech recognizer" => "julius",
- "Julius demo for Texas Instruments" => "ti-julius-demo",
"Kismet" => "kismet",
"LCD4Linux" => "lc4linux",
"LIRC" => "lirc",
@@ -152,7 +151,6 @@ function config_dropdown()
"Octave" => "octave",
"OpenCV" => "opencv-samples",
"Powertop" => "powertop",
- "PowerVR SGX drivers for OMAP3" => "libgles-omap3",
"QT/e 4" => "qt4-embedded-demos qt4-embedded-plugin-gfxdriver-gfxvnc qt4-embedded",
"Rtorrent" => "rtorrent",
"Samba" => "samba",
@@ -184,13 +182,22 @@ function config_dropdown()
"Quake 2" => "quake2",
"Quake 2 (quetoo)" => "quetoo",
"Quake 3 (ioq3)" => "ioquake3",
- "Quake 3 (GLES)" => "quake3-pandora-gles libgles-omap3",
"ScummVM" => "scummvm",
"SDR-shell" => "sdrshell",
"Stalonetray" => "stalonetray",
"Wireshark" => "wireshark",
"Zhone" => "zhone frameworkd");
+$platform_omap_packages_array = array("Texas Instruments Gstreamer plugins" => "gstreamer-ti",
+ "PowerVR SGX drivers for OMAP3" => "libgles-omap3",
+ "Quake 3 (GLES)" => "quake3-pandora-gles libgles-omap3",
+ "Julius demo for Texas Instruments" => "ti-julius-demo");
+
+$platform_davinci_packages_array = array("Texas Instruments Gstreamer plugins" => "gstreamer-ti",
+ "Julius demo for Texas Instruments" => "ti-julius-demo");
+
+$platform_pxa_packages_array = array("PXA register utility" => "pxaregs");
+
?><div id="summary"></div><form name="entry_form" onsubmit="javascript:configureImage(); toggleVisibility('buildbutton'); return false"><!-- #dialog is the id of a DIV defined in the code below --><div id="boxes">
@@ -210,8 +217,8 @@ function config_dropdown()
<div id="releasedialog">
Select the release you want to base your rootfs image on.<br/><font size="-2">The 'stable' option will give you a working system, but will not have the latest versions of packages. The 'unstable' option will give you access to all the latest packages the developers have uploaded, but is known to break every now and then.</font><br/><br/>
<select name="configs">
- <option value="stable">stable</option>
<option value="unstable">unstable</option>
+ <option value="stable">stable</option>
</select>
<br/><table width='100%' id='beneden'><tr><td align='left'><a href="#machinedialog" onClick="toggleVisibility('releasedialog') ; toggleVisibility('machinedialog');">&lt; Machine selection</a></td>
<td align='right'><a href="#basesystemdialog" onClick="toggleVisibility('releasedialog') ; toggleVisibility('basesystemdialog');">Base system selection &gt;</a></td></table>
@@ -303,6 +310,27 @@ function config_dropdown()
print("<input type=\"checkbox\" name=\"console_packages\" value=\"$pkgdepends\">$pkg<br/>\n");
}?>
</div>
+
+ <img src='img/expand.gif' onClick="toggleVisibility('platform_packages');"> Platform specific packages:<br/>
+ <div id='platform_packages'>
+
+ <br/>Texas Instruments OMAP family:<br/>
+ <?foreach ($platform_omap_packages_array as $pkg => $pkgdepends) {
+ print("<input type=\"checkbox\" name=\"platform_packages\" value=\"$pkgdepends\">$pkg<br/>\n");
+ }?>
+
+ <br>Texas Instruments DaVinci family:<br/>
+ <?foreach ($platform_davinci_packages_array as $pkg => $pkgdepends) {
+ print("<input type=\"checkbox\" name=\"platform_packages\" value=\"$pkgdepends\">$pkg<br/>\n");
+ }?>
+
+ <br/>Marvell XScale Family:<br/>
+ <?foreach ($platform_pxa_packages_array as $pkg => $pkgdepends) {
+ print("<input type=\"checkbox\" name=\"platform_packages\" value=\"$pkgdepends\">$pkg<br/>\n");
+ }?>
+
+ </div>
+
</div>
<div id="buildbutton">
View
2 scripts/js/internal_request.js
@@ -59,6 +59,8 @@ function configureImage(){
packagestring += " " + devmanager + " angstrom-version tinylogin initscripts sysvinit sysvinit-pidof ";
packagestring += " " + concatArray(document.entry_form.devel);
packagestring += " " + concatArray(document.entry_form.console_packages);
+ packagestring += " " + concatArray(document.entry_form.platform_packages);
+
packagestring += " " + document.entry_form.environment.value;
if(document.entry_form.environment.selectedIndex == 1) {

0 comments on commit 9dbf49a

Please sign in to comment.
Something went wrong with that request. Please try again.