<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>mamba</class>
<widget class="QWizard">
    <property name="name">
        <cstring>mamba</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>608</width>
            <height>480</height>
        </rect>
    </property>
    <property name="caption">
        <string>openmamba base network installations</string>
    </property>
    <property name="icon">
        <pixmap>image0</pixmap>
    </property>
    <widget class="QWidget">
        <property name="name">
            <cstring>page</cstring>
        </property>
        <attribute name="title">
            <string>Welcome!</string>
        </attribute>
        <widget class="CheckBox">
            <property name="name">
                <cstring>NextBox</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>140</x>
                    <y>60</y>
                    <width>20</width>
                    <height>20</height>
                </rect>
            </property>
            <property name="text">
                <string></string>
            </property>
            <property name="checked">
                <bool>true</bool>
            </property>
        </widget>
        <widget class="CheckBox">
            <property name="name">
                <cstring>BackBox</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>190</x>
                    <y>60</y>
                    <width>20</width>
                    <height>20</height>
                </rect>
            </property>
            <property name="text">
                <string></string>
            </property>
            <property name="checked">
                <bool>false</bool>
            </property>
        </widget>
        <widget class="GroupBox">
            <property name="name">
                <cstring>GroupBox2</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>10</x>
                    <y>10</y>
                    <width>570</width>
                    <height>140</height>
                </rect>
            </property>
            <property name="sizePolicy">
                <sizepolicy>
                    <hsizetype>7</hsizetype>
                    <vsizetype>7</vsizetype>
                    <horstretch>0</horstretch>
                    <verstretch>0</verstretch>
                </sizepolicy>
            </property>
            <property name="paletteBackgroundColor">
                <color>
                    <red>255</red>
                    <green>255</green>
                    <blue>255</blue>
                </color>
            </property>
            <property name="title">
                <string></string>
            </property>
            <widget class="ScriptObject">
                <property name="name">
                    <cstring>AcceptScript</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>280</y>
                        <width>32</width>
                        <height>32</height>
                    </rect>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string>@dcop(@dcopid, KommanderIf, enableWidget(QString,bool), next, true)
</string>
                    </stringlist>
                </property>
            </widget>
            <widget class="Label">
                <property name="name">
                    <cstring>Label21</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>410</x>
                        <y>390</y>
                        <width>130</width>
                        <height>21</height>
                    </rect>
                </property>
                <property name="text">
                    <string>Version 0.1</string>
                </property>
                <property name="alignment">
                    <set>AlignVCenter|AlignRight</set>
                </property>
            </widget>
            <widget class="PixmapLabel">
                <property name="name">
                    <cstring>PixmapLabel2</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>70</x>
                        <y>10</y>
                        <width>400</width>
                        <height>74</height>
                    </rect>
                </property>
                <property name="pixmap">
                    <pixmap>image1</pixmap>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="Label">
                <property name="name">
                    <cstring>Label1_2</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>383</x>
                        <y>70</y>
                        <width>90</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="font">
                    <font>
                        <pointsize>11</pointsize>
                        <italic>1</italic>
                    </font>
                </property>
                <property name="text">
                    <string>GNU/Linux</string>
                </property>
                <property name="alignment">
                    <set>AlignCenter</set>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="Label">
                <property name="name">
                    <cstring>Label29</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>420</x>
                        <y>110</y>
                        <width>130</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="paletteForegroundColor">
                    <color>
                        <red>40</red>
                        <green>96</green>
                        <blue>6</blue>
                    </color>
                </property>
                <property name="font">
                    <font>
                        <pointsize>8</pointsize>
                    </font>
                </property>
                <property name="text">
                    <string>www.openmamba.org</string>
                </property>
            </widget>
            <widget class="ScriptObject">
                <property name="name">
                    <cstring>backnext</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>0</y>
                        <width>32</width>
                        <height>32</height>
                    </rect>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string>@dcop(@dcopid, KommanderIf, setEnabled(QString,bool), next, @NextBox.checked)
@dcop(@dcopid, KommanderIf, setEnabled(QString,bool), back, @BackBox.checked)
@dcop(@dcopid, KommanderIf, setEnabled(QString,bool), finish, true)
@dcop(@dcopid, KommanderIf, setVisible(QString,bool), checkButton, false)
</string>
                    </stringlist>
                </property>
            </widget>
            <widget class="Label">
                <property name="name">
                    <cstring>Label18_2_2_2</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>100</y>
                        <width>400</width>
                        <height>30</height>
                    </rect>
                </property>
                <property name="font">
                    <font>
                        <pointsize>8</pointsize>
                        <italic>1</italic>
                    </font>
                </property>
                <property name="text">
                    <string>Copyright (c) 2007-2014 by Silvan Calarco
Released under the terms of the GNU GPL v3 license</string>
                </property>
                <property name="textFormat">
                    <enum>AutoText</enum>
                </property>
                <property name="alignment">
                    <set>WordBreak|AlignVCenter</set>
                </property>
            </widget>
        </widget>
        <widget class="GroupBox">
            <property name="name">
                <cstring>GroupBox5</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>10</x>
                    <y>160</y>
                    <width>570</width>
                    <height>230</height>
                </rect>
            </property>
            <property name="title">
                <string></string>
            </property>
            <widget class="Label">
                <property name="name">
                    <cstring>Label7</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>10</y>
                        <width>550</width>
                        <height>100</height>
                    </rect>
                </property>
                <property name="font">
                    <font>
                    </font>
                </property>
                <property name="text">
                    <string>This program will complete the installation by adding the minimum recommended set of packages to the system. Additionally it will let you install, upon selection, macro-group of packages and proprietary software components.
&lt;br&gt;&lt;b&gt;TIP:&lt;/b&gt; you may run this program later from the &lt;i&gt;openmamba control center&lt;/i&gt; on the tray icon bar.</string>
                </property>
                <property name="textFormat">
                    <enum>RichText</enum>
                </property>
                <property name="alignment">
                    <set>WordBreak|AlignTop</set>
                </property>
            </widget>
            <widget class="Label">
                <property name="name">
                    <cstring>label</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>190</y>
                        <width>550</width>
                        <height>30</height>
                    </rect>
                </property>
                <property name="font">
                    <font>
                    </font>
                </property>
                <property name="text">
                    <string>&lt;b&gt;Please, press the Next button to continue.&lt;/b&gt;</string>
                </property>
                <property name="textFormat">
                    <enum>AutoText</enum>
                </property>
                <property name="alignment">
                    <set>WordBreak|AlignBottom</set>
                </property>
            </widget>
            <widget class="Label">
                <property name="name">
                    <cstring>errorlabel</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>110</y>
                        <width>550</width>
                        <height>70</height>
                    </rect>
                </property>
                <property name="font">
                    <font>
                    </font>
                </property>
                <property name="text">
                    <string></string>
                </property>
                <property name="textFormat">
                    <enum>AutoText</enum>
                </property>
                <property name="alignment">
                    <set>WordBreak|AlignBottom</set>
                </property>
            </widget>
            <widget class="ExecButton">
                <property name="name">
                    <cstring>checkButton</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>220</x>
                        <y>190</y>
                        <width>130</width>
                        <height>30</height>
                    </rect>
                </property>
                <property name="text">
                    <string>C&amp;heck again</string>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
        </widget>
        <widget class="ScriptObject">
            <property name="name">
                <cstring>checknetwork</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>560</x>
                    <y>360</y>
                    <width>32</width>
                    <height>32</height>
                </rect>
            </property>
            <property name="associations" stdset="0">
                <stringlist>
                    <string>URL_OPTIONS="?p=`uname -p`"
[ -e ~/.kde/Autostart/mamba.kmdr ] &amp;&amp; {
   URL_OPTIONS="$URL_OPTIONS&amp;newinst=1"
}
dcop @dcopid KommanderIf setChecked BackBox false
/usr/bin/wget -T 30 http://www.openmamba.org/distribution/services/check.html$URL_OPTIONS -o /dev/null -O /dev/null
RET=$?
if [ $RET -eq 0 ]; then
   dcop @dcopid KommanderIf setVisible checkButton false
   dcop @dcopid KommanderIf setChecked NextBox true
   dcop @dcopid KommanderIf setVisible label true
   dcop @dcopid KommanderIf setText errorlabel ""
else
   dcop @dcopid KommanderIf setChecked NextBox false
   dcop @dcopid KommanderIf setText errorlabel "&lt;font color=red&gt;@i18n("Error: could not contact repository host (www.openmamba.org, ret=$RET).")&lt;/font&gt;&lt;br&gt;@i18n("Please check your network configuration and press the button below to try again.")"
   dcop @dcopid KommanderIf setVisible checkButton true
   dcop @dcopid KommanderIf setVisible label false
fi
</string>
                </stringlist>
            </property>
        </widget>
    </widget>
    <widget class="QWidget">
        <property name="name">
            <cstring>installation</cstring>
        </property>
        <attribute name="title">
            <string>Select installations from network</string>
        </attribute>
        <widget class="Label">
            <property name="name">
                <cstring>Label10</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>10</x>
                    <y>0</y>
                    <width>570</width>
                    <height>40</height>
                </rect>
            </property>
            <property name="font">
                <font>
                    <bold>1</bold>
                </font>
            </property>
            <property name="text">
                <string>Please, select from the boxes below the components that you want to install or update from network.</string>
            </property>
            <property name="alignment">
                <set>WordBreak|AlignVCenter</set>
            </property>
        </widget>
        <widget class="GroupBox">
            <property name="name">
                <cstring>GroupBox2_2</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>10</x>
                    <y>60</y>
                    <width>570</width>
                    <height>320</height>
                </rect>
            </property>
            <property name="title">
                <string>openmamba installation/updates</string>
            </property>
            <widget class="Label">
                <property name="name">
                    <cstring>Label9_2</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>-10</x>
                        <y>-20</y>
                        <width>161</width>
                        <height>21</height>
                    </rect>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_games</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>200</y>
                        <width>410</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>&amp;Games (turacer, pingus, ksudoku, ...)</string>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_virtualization</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>230</y>
                        <width>480</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>Emulation and virtuali&amp;zation (VirtualBox, kvm, QtEmu, wine, ...)</string>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_graphics</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>170</y>
                        <width>470</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>Grap&amp;hics software (gimp, digikam, blender, sodipodi, ...)</string>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_devel</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>290</y>
                        <width>480</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>Base &amp;development packages (gcc, glibc-devel, kernel sources, ...)</string>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_server</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>260</y>
                        <width>550</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>Base server packages (apache, postfix, vsftpd, php, m&amp;ysql, ...)</string>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_base</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>20</y>
                        <width>550</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>System &amp;base packages (recommended)</string>
                </property>
                <property name="checked">
                    <bool>true</bool>
                </property>
                <property name="tristate">
                    <bool>false</bool>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_office</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>50</y>
                        <width>550</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>Off&amp;ice packages (OpenOffice, Groupware, PDA Syncronization, ...)</string>
                </property>
                <property name="checked">
                    <bool>false</bool>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_players</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>80</y>
                        <width>550</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>Audio and Video players (amarok, &amp;xmms, vlc, kaffeine, miro, ...)</string>
                </property>
                <property name="checked">
                    <bool>false</bool>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_multimedia_editing</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>110</y>
                        <width>550</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>Mu&amp;ltimedia editing and production (kino, audacity, rosegarden, mixxx, ...)</string>
                </property>
                <property name="checked">
                    <bool>false</bool>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_internet</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>140</y>
                        <width>550</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>Internet communication and p2p (&amp;kopete, pidgin, ekiga, aMule, ...)</string>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
        </widget>
        <widget class="ScriptObject">
            <property name="name">
                <cstring>checkform2</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>0</x>
                    <y>300</y>
                    <width>32</width>
                    <height>32</height>
                </rect>
            </property>
            <property name="associations" stdset="0">
                <stringlist>
                    <string>@BackBox.setChecked(false)
@NextBox.setChecked(true)
. /usr/share/openmamba/pkggroups.db

function check_pkgs() {
  missing=false
  rpm -q --whatprovides $1 &gt;/dev/null || missing=true
}

check_pkgs "$BASE_PKGS"
dcop @dcopid KommanderIf setEnabled inst_base $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_base true

check_pkgs "$OFFICE_PKGS"
dcop @dcopid KommanderIf setEnabled inst_office $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_office true

check_pkgs "$MULTIMEDIA_PLAYERS_PKGS"
dcop @dcopid KommanderIf setEnabled inst_players $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_players true

check_pkgs "$MULTIMEDIA_EDITING_PKGS"
dcop @dcopid KommanderIf setEnabled inst_multimedia_editing $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_multimedia_editing true

check_pkgs "$INTERNET_PKGS"
dcop @dcopid KommanderIf setEnabled inst_internet $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_internet true

check_pkgs "$GRAPHICS_PKGS"
dcop @dcopid KommanderIf setEnabled inst_graphics $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_graphics true

check_pkgs "$GAMES_PKGS"
dcop @dcopid KommanderIf setEnabled inst_games $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_games true

check_pkgs "$VIRTUALIZATION_PKGS"
dcop @dcopid KommanderIf setEnabled inst_virtualization $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_virtualization true

check_pkgs "$SERVER_PKGS"
dcop @dcopid KommanderIf setEnabled inst_server $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked server_prof true

check_pkgs "$DEVEL_PKGS"
dcop @dcopid KommanderIf setEnabled inst_devel $missing
[ "$missing" = "false" ] &amp;&amp; dcop @dcopid KommanderIf setChecked inst_devel true
</string>
                </stringlist>
            </property>
        </widget>
    </widget>
    <widget class="QWidget">
        <property name="name">
            <cstring>openmambapkgs</cstring>
        </property>
        <attribute name="title">
            <string>Select non Open Source components</string>
        </attribute>
        <widget class="Label">
            <property name="name">
                <cstring>Label10_2</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>10</x>
                    <y>0</y>
                    <width>570</width>
                    <height>50</height>
                </rect>
            </property>
            <property name="font">
                <font>
                    <bold>1</bold>
                </font>
            </property>
            <property name="text">
                <string>Please, select from the boxes below the components that you want to install or update from network.</string>
            </property>
            <property name="alignment">
                <set>WordBreak|AlignVCenter</set>
            </property>
        </widget>
        <widget class="ScriptObject">
            <property name="name">
                <cstring>checkform3</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>0</x>
                    <y>370</y>
                    <width>32</width>
                    <height>32</height>
                </rect>
            </property>
            <property name="associations" stdset="0">
                <stringlist>
                    <string>@BackBox.setChecked(true)
@NextBox.setChecked(true)
rpm -q xorg-drv-video-nvidia &amp;&amp; {
   dcop @dcopid KommanderIf setEnabled inst_nvidia false
}

rpm -q xorg-drv-video-nvidia_304 &amp;&amp; {
   dcop @dcopid KommanderIf setEnabled inst_nvidia_legacy false
}

rpm -q xorg-drv-video-fglrx &amp;&amp; {
   dcop @dcopid KommanderIf setEnabled inst_fglrx false
}

rpm -q xorg-drv-video-fglrx &amp;&amp; {
   dcop @dcopid KommanderIf setEnabled inst_fglrx_legacy false
}

openmamba-netsrpms -c flashplugin &gt; /dev/null
if [ $? -eq 0 ]; then
   dcop @dcopid KommanderIf setEnabled inst_flash false
fi

openmamba-netsrpms -c msttcorefonts &gt; /dev/null
if [ $? -eq 0 ]; then
   dcop @dcopid KommanderIf setEnabled inst_msttcf false
fi

openmamba-netsrpms -c win32codecs &gt; /dev/null
if [ $? -eq 0 ]; then
   dcop @dcopid KommanderIf setEnabled inst_codecs false
fi

openmamba-netsrpms -c sun-java7 &gt; /dev/null
if [ $? -eq 0 ]; then
   dcop @dcopid KommanderIf setEnabled inst_java false
fi

openmamba-netsrpms -c skype &gt; /dev/null
if [ $? -eq 0 ]; then
   dcop @dcopid KommanderIf setEnabled inst_skype false
fi

openmamba-netsrpms -c broadcom-sta &gt; /dev/null
if [ $? -eq 0 ]; then
   dcop @dcopid KommanderIf setEnabled inst_broadcom_sta false
fi

openmamba-netsrpms -c b43-firmware &gt; /dev/null
if [ $? -eq 0 ]; then
   dcop @dcopid KommanderIf setEnabled inst_b43 false
fi

openmamba-netsrpms -c spotify &gt; /dev/null
if [ $? -eq 0 ]; then
   dcop @dcopid KommanderIf setEnabled inst_spotify false
fi

openmamba-netsrpms -c virtualbox-extension-pack &gt; /dev/null
if [ $? -eq 0 ]; then
   dcop @dcopid KommanderIf setEnabled inst_virtualbox false
fi</string>
                </stringlist>
            </property>
        </widget>
        <widget class="GroupBox">
            <property name="name">
                <cstring>GroupBox2_2_2</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>10</x>
                    <y>111</y>
                    <width>560</width>
                    <height>290</height>
                </rect>
            </property>
            <property name="title">
                <string>Proprietary software installations/updates</string>
            </property>
            <widget class="Label">
                <property name="name">
                    <cstring>Label9_2_2</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>-10</x>
                        <y>-20</y>
                        <width>161</width>
                        <height>21</height>
                    </rect>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_nvidia_legacy</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>20</x>
                        <y>40</y>
                        <width>510</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>NVIDIA propri&amp;etary video driver (legacy) from openmamba.org</string>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_fglrx</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>20</x>
                        <y>60</y>
                        <width>510</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>AMD/ATI proprietary video driver from openmamba.org</string>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_virtualbox</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>20</x>
                        <y>260</y>
                        <width>510</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>Virtualbo&amp;x extension pack from virtualbox.org</string>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_spotify</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>20</x>
                        <y>240</y>
                        <width>510</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>Spot&amp;ify from spotify.com</string>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_skype</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>20</x>
                        <y>220</y>
                        <width>510</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>S&amp;kype from skype.com</string>
                </property>
                <property name="accel">
                    <number>276824139</number>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_java</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>20</x>
                        <y>200</y>
                        <width>510</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>Oracle &amp;Java 7 from oracle.com</string>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_msttcf</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>20</x>
                        <y>160</y>
                        <width>410</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>MS TrueT&amp;ype core fonts from sourceforge</string>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_flash</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>20</x>
                        <y>140</y>
                        <width>510</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>F&amp;lash plugin from adobe.com</string>
                </property>
                <property name="checked">
                    <bool>false</bool>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_codecs</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>20</x>
                        <y>180</y>
                        <width>500</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>&amp;Win32 codecs from mplayerhq.hu</string>
                </property>
                <property name="checked">
                    <bool>false</bool>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_nvidia</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>20</x>
                        <y>20</y>
                        <width>510</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>NVIDIA proprietary video &amp;driver from openmamba.org</string>
                </property>
                <property name="tristate">
                    <bool>false</bool>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_fglrx_legacy</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>20</x>
                        <y>80</y>
                        <width>510</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>AMD/ATI proprietary video driver (le&amp;gacy) from openmamba.org</string>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_b43</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>20</x>
                        <y>120</y>
                        <width>510</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>&amp;Broadcom B43 proprietary firmware from openwrt.org</string>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>inst_broadcom_sta</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>20</x>
                        <y>100</y>
                        <width>510</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>Broadcom-sta proprietary wireless driver from openmamba.org</string>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
        </widget>
        <widget class="Label">
            <property name="name">
                <cstring>Label17</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>10</x>
                    <y>50</y>
                    <width>570</width>
                    <height>60</height>
                </rect>
            </property>
            <property name="text">
                <string>The following components are recommended for optimal desktop use but do not have an Open Source license. 
WARNING: you'll have to accept a license agreement for most selected packages.</string>
            </property>
            <property name="alignment">
                <set>WordBreak|AlignTop</set>
            </property>
        </widget>
    </widget>
    <widget class="QWidget">
        <property name="name">
            <cstring>installing</cstring>
        </property>
        <attribute name="title">
            <string>Installation</string>
        </attribute>
        <widget class="ProgressBar">
            <property name="name">
                <cstring>progressBar</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>70</x>
                    <y>80</y>
                    <width>460</width>
                    <height>41</height>
                </rect>
            </property>
            <property name="totalSteps">
                <number>100</number>
            </property>
            <property name="associations" stdset="0">
                <stringlist>
                    <string></string>
                </stringlist>
            </property>
        </widget>
        <widget class="GroupBox">
            <property name="name">
                <cstring>GroupBox4</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>11</x>
                    <y>240</y>
                    <width>570</width>
                    <height>90</height>
                </rect>
            </property>
            <property name="title">
                <string>Details</string>
            </property>
            <widget class="Label">
                <property name="name">
                    <cstring>progressText2</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>20</y>
                        <width>550</width>
                        <height>60</height>
                    </rect>
                </property>
                <property name="text">
                    <string></string>
                </property>
                <property name="alignment">
                    <set>WordBreak|AlignVCenter</set>
                </property>
            </widget>
        </widget>
        <widget class="Label">
            <property name="name">
                <cstring>Label5_2_2_2</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>30</x>
                    <y>0</y>
                    <width>521</width>
                    <height>60</height>
                </rect>
            </property>
            <property name="font">
                <font>
                    <pointsize>18</pointsize>
                </font>
            </property>
            <property name="text">
                <string>Installation in progress...</string>
            </property>
            <property name="alignment">
                <set>AlignCenter</set>
            </property>
        </widget>
        <widget class="Label">
            <property name="name">
                <cstring>progressText</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>10</x>
                    <y>140</y>
                    <width>580</width>
                    <height>80</height>
                </rect>
            </property>
            <property name="sizePolicy">
                <sizepolicy>
                    <hsizetype>0</hsizetype>
                    <vsizetype>0</vsizetype>
                    <horstretch>0</horstretch>
                    <verstretch>0</verstretch>
                </sizepolicy>
            </property>
            <property name="font">
                <font>
                    <pointsize>11</pointsize>
                </font>
            </property>
            <property name="text">
                <string>Starting installation of selected components...</string>
            </property>
            <property name="alignment">
                <set>AlignTop|AlignHCenter</set>
            </property>
        </widget>
        <widget class="ScriptObject">
            <property name="name">
                <cstring>qt_dead_widget_ScriptObject8</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>560</x>
                    <y>340</y>
                    <width>32</width>
                    <height>32</height>
                </rect>
            </property>
            <property name="associations" stdset="0">
                <stringlist>
                    <string>dcop @dcopid KommanderIf setText logbox "`cat ~/.mambabase.log`"
</string>
                </stringlist>
            </property>
        </widget>
        <widget class="ScriptObject">
            <property name="name">
                <cstring>launchinstall</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>10</x>
                    <y>150</y>
                    <width>32</width>
                    <height>32</height>
                </rect>
            </property>
            <property name="associations" stdset="0">
                <stringlist>
                    <string>@NextBox.setChecked(false)
@BackBox.setChecked(false)
conffile=~/.mambabase.conf
cat &gt; $conffile &lt;&lt; _EOF
#
# openmamba installation file
#
# created by mamba installer wizard
#
INSTALL_BASE='@inst_base.checked()'
INSTALL_OFFICE='@inst_office.checked()'
INSTALL_PLAYERS='@inst_players.checked()'
INSTALL_MULTIMEDIA_EDITING='@inst_multimedia_editing.checked()'
INSTALL_INTERNET='@inst_internet.checked()'
INSTALL_GRAPHICS='@inst_graphics.checked()'
INSTALL_GAMES='@inst_games.checked()'
INSTALL_VIRTUALIZATION='@inst_virtualization.checked()'
INSTALL_SERVER='@inst_server.checked()'
INSTALL_DEVEL='@inst_devel.checked()'
INSTALL_FLASH='@inst_flash.checked()'
INSTALL_CODECS='@inst_codecs.checked()'
INSTALL_MSTTCF='@inst_msttcf.checked()'
INSTALL_SKYPE='@inst_skype.checked()'
INSTALL_NVIDIA='@inst_nvidia.checked()'
INSTALL_NVIDIA_LEGACY='@inst_nvidia_legacy.checked()'
INSTALL_FGLRX='@inst_fglrx.checked()'
INSTALL_FGLRX_LEGACY='@inst_fglrx_legacy.checked()'
INSTALL_BROADCOM_STA='@inst_broadcom_sta.checked()'
INSTALL_B43='@inst_b43.checked()'
INSTALL_JAVA='@inst_java.checked()'
INSTALL_SPOTIFY='@inst_spotify.checked()'
INSTALL_VIRTUALBOX='@inst_virtualbox.checked()'
_EOF

@exec("sh /usr/share/openmamba/mambabase/mambabase.sh -y @dcopid &amp;&gt; ~/.mambabase.log &amp;")
dcop @dcopid KommanderIf execute Timer1</string>
                </stringlist>
            </property>
        </widget>
    </widget>
    <widget class="QWidget">
        <property name="name">
            <cstring>endinstall</cstring>
        </property>
        <attribute name="title">
            <string>End of installation</string>
        </attribute>
        <widget class="Label">
            <property name="name">
                <cstring>finallabel</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>30</x>
                    <y>10</y>
                    <width>521</width>
                    <height>60</height>
                </rect>
            </property>
            <property name="font">
                <font>
                    <pointsize>18</pointsize>
                </font>
            </property>
            <property name="text">
                <string>Installation completed.</string>
            </property>
            <property name="alignment">
                <set>AlignCenter</set>
            </property>
        </widget>
        <widget class="Label">
            <property name="name">
                <cstring>Label17_2</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>20</x>
                    <y>60</y>
                    <width>550</width>
                    <height>60</height>
                </rect>
            </property>
            <property name="text">
                <string>If you ran into ploblems, please check the installation log below for warning or errors and send the report to the openmamba community at &lt;a href="http://www.openmamba.org"&gt;www.openmamba.org&lt;/a&gt;.</string>
            </property>
            <property name="textFormat">
                <enum>RichText</enum>
            </property>
            <property name="alignment">
                <set>WordBreak|AlignVCenter</set>
            </property>
        </widget>
        <widget class="TextEdit">
            <property name="name">
                <cstring>installlog</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>20</x>
                    <y>130</y>
                    <width>550</width>
                    <height>270</height>
                </rect>
            </property>
            <property name="hScrollBarMode">
                <enum>AlwaysOn</enum>
            </property>
            <property name="textFormat">
                <enum>LogText</enum>
            </property>
            <property name="populationText">
                <string></string>
            </property>
            <property name="associations" stdset="0">
                <stringlist>
                    <string></string>
                </stringlist>
            </property>
        </widget>
        <widget class="ScriptObject">
            <property name="name">
                <cstring>installlog_script</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>550</x>
                    <y>10</y>
                    <width>32</width>
                    <height>32</height>
                </rect>
            </property>
            <property name="associations" stdset="0">
                <stringlist>
                    <string>dcop @dcopid KommanderIf setText installlog "`cat ~/.mambabase.log`"
</string>
                </stringlist>
            </property>
        </widget>
    </widget>
</widget>
<images>
    <image name="image0">
        <data format="XPM.GZ" length="63073">[encoded data, 36054 characters]</data>
    </image>
    <image name="image1">
        <data format="XPM.GZ" length="63226">[encoded data, 16166 characters]</data>
    </image>
</images>
<connections>
    <connection>
        <sender>mamba</sender>
        <signal>selected(const QString&amp;)</signal>
        <receiver>backnext</receiver>
        <slot>execute()</slot>
    </connection>
    <connection>
        <sender>Label7</sender>
        <signal>widgetOpened()</signal>
        <receiver>checknetwork</receiver>
        <slot>execute()</slot>
    </connection>
    <connection>
        <sender>inst_base</sender>
        <signal>widgetOpened()</signal>
        <receiver>checkform2</receiver>
        <slot>execute()</slot>
    </connection>
    <connection>
        <sender>NextBox</sender>
        <signal>widgetOpened()</signal>
        <receiver>backnext</receiver>
        <slot>execute()</slot>
    </connection>
    <connection>
        <sender>NextBox</sender>
        <signal>stateChanged(int)</signal>
        <receiver>backnext</receiver>
        <slot>execute()</slot>
    </connection>
    <connection>
        <sender>inst_flash</sender>
        <signal>widgetOpened()</signal>
        <receiver>checkform3</receiver>
        <slot>execute()</slot>
    </connection>
    <connection>
        <sender>progressBar</sender>
        <signal>widgetOpened()</signal>
        <receiver>launchinstall</receiver>
        <slot>execute()</slot>
    </connection>
    <connection>
        <sender>checkButton</sender>
        <signal>clicked()</signal>
        <receiver>checknetwork</receiver>
        <slot>execute()</slot>
    </connection>
    <connection>
        <sender>installlog</sender>
        <signal>widgetOpened()</signal>
        <receiver>installlog_script</receiver>
        <slot>execute()</slot>
    </connection>
    <connection>
        <sender>BackBox</sender>
        <signal>widgetOpened()</signal>
        <receiver>backnext</receiver>
        <slot>execute()</slot>
    </connection>
    <connection>
        <sender>BackBox</sender>
        <signal>stateChanged(int)</signal>
        <receiver>backnext</receiver>
        <slot>execute()</slot>
    </connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
</UI>
