|
From: Cesar P. T. <or...@us...> - 2001-05-10 19:34:06
|
Update of /cvsroot/acdo//acdo/install/instalar-acdo
In directory usw-pr-cvs1:/tmp/cvs-serv5316
Modified Files:
Tag: 2.0
instalar-acdo.glade instalar_acdo.sh instalar_acdo.txt
Log Message:
cambio de revisión
--- NEW FILE ---
<?xml version="1.0"?>
<GTK-Interface>
<project>
<name>Instalar-acdo</name>
<program_name>instalar-acdo</program_name>
<directory></directory>
<source_directory>src</source_directory>
<pixmaps_directory>pixmaps</pixmaps_directory>
<language>Ada 95</language>
<gnome_support>False</gnome_support>
<gettext_support>True</gettext_support>
</project>
<widget>
<class>GtkWindow</class>
<name>ventana</name>
<width>350</width>
<height>100</height>
<title>AutoCD Organizer - Instalación</title>
<type>GTK_WINDOW_TOPLEVEL</type>
<position>GTK_WIN_POS_NONE</position>
<modal>False</modal>
<allow_shrink>False</allow_shrink>
<allow_grow>False</allow_grow>
<auto_shrink>False</auto_shrink>
<widget>
<class>GtkFixed</class>
<name>fixed1</name>
<widget>
<class>GtkEntry</class>
<name>entry1</name>
<x>16</x>
<y>56</y>
<width>248</width>
<height>24</height>
<can_focus>True</can_focus>
<editable>True</editable>
<text_visible>True</text_visible>
<text_max_length>0</text_max_length>
<text></text>
</widget>
<widget>
<class>GtkButton</class>
<name>Aceptar</name>
<x>272</x>
<y>56</y>
<width>48</width>
<height>24</height>
<can_focus>True</can_focus>
<signal>
<name>clicked</name>
<handler>on_Aceptar_clicked</handler>
<last_modification_time>Wed, 09 May 2001 15:15:37 GMT</last_modification_time>
</signal>
<label>Aceptar</label>
<relief>GTK_RELIEF_NORMAL</relief>
</widget>
<widget>
<class>GtkViewport</class>
<name>viewport1</name>
<x>16</x>
<y>33</y>
<width>152</width>
<height>19</height>
<shadow_type>GTK_SHADOW_IN</shadow_type>
<widget>
<class>GtkLabel</class>
<name>label1</name>
<label>Introduzca directorio destino:</label>
<justify>GTK_JUSTIFY_RIGHT</justify>
<wrap>True</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
</widget>
</widget>
<widget>
<class>GtkPixmap</class>
<name>pixmap1</name>
<x>0</x>
<y>0</y>
<width>352</width>
<height>104</height>
<filename>acdo.xpm</filename>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
<build_insensitive>True</build_insensitive>
</widget>
</widget>
</widget>
</GTK-Interface>
--- NEW FILE ---
#!/bin/sh
skip=17
tmpfile=`tempfile -d /tmp -p gz` || {
echo 'cannot create a temporary file' >&2
exit 1
}
rm -f $tmpfile
mkdir $tmpfile
/bin/chmod 700 $tmpfile
if /usr/bin/tail +$skip $0 | "/bin"/gzip -cd > $tmpfile/instalar.tar; then
cd $tmpfile; tar xvf instalar.tar;
./instalar_acdo
/bin/rm -rf $tmpfile
else
echo Cannot decompress $0; exit 1
fi; exit $res
--- NEW FILE ---
Para hacer el script de instalación:
1.- Comprimir un directorio llamado acdo con el binario y las imágenes del programa y llamarlo acdo.tgz
2.- Comprimir el anterior fichero (acdo.tgz), el binario de instalación y las imágenes del binario de instalación. Llamar a este fichero pepito.tgz
3.- Construcción del script de instalación:
cat instalar_acdo.sh > instalar
cat pepito.tgz >> instalar
chmod 0777 instalar
|