UPD: Install scripts

This commit is contained in:
Alexander Koblov 2011-06-25 12:44:53 +00:00
commit bb1a0fc53f
5 changed files with 127 additions and 97 deletions

View file

@ -116,7 +116,7 @@ if [ "$CK_PORTABLE" ]; then
mkdir -p $BUILD_PACK_DIR
install/linux/install.sh --portable-prefix=$BUILD_PACK_DIR
cd $BUILD_PACK_DIR
sed -i -e 's/UseIniInProgramDir=0/UseIniInProgramDir=1/' doublecmd/doublecmd.xml
sed -i -e 's/<UseConfigInProgramDir>False/<UseConfigInProgramDir>True/' doublecmd/doublecmd.xml
tar -cvjf $PACK_DIR/doublecmd-$DC_VER-1.$lcl.$CPU_TARGET.tar.bz2 doublecmd
fi

View file

@ -1,86 +0,0 @@
[Configuration]
UseIniInProgramDir=0
[Colors]
ColorFilter1=*.pas;*.pp
ColorFilter1Color=32768
ColorFilter1Name=Pascal sources
ColorFilter2=*.ppu;*.o;*.dcu
ColorFilter2Color=16711680
ColorFilter2Name=Pascal binaries
ColorFilter3=*
ColorFilter3Color=55758
ColorFilter3Attributes=-rwxrwxr*x
ColorFilter3Name=Specified executables
ColorFilter4=*
ColorFilter4Color=32768
ColorFilter4Attributes=-*x*
ColorFilter4Name=Executables
[PackerPlugins]
cpio=0,%commander_path%/plugins/wcx/cpio/cpio.wcx
deb=4,%commander_path%/plugins/wcx/deb/deb.wcx
lzma=15,%commander_path%/plugins/wcx/lzma/lzma.wcx
rpm=20,%commander_path%/plugins/wcx/rpm/rpm.wcx
bz2=0,%commander_path%/plugins/wcx/unbz2/unbz2.wcx
rar=0,%commander_path%/plugins/wcx/unrar/unrar.wcx
zip=15,%commander_path%/plugins/wcx/zip/zip.wcx
tar=15,%commander_path%/plugins/wcx/zip/zip.wcx
gz=15,%commander_path%/plugins/wcx/zip/zip.wcx
tgz=15,%commander_path%/plugins/wcx/zip/zip.wcx
[Content Plugins]
PluginCount=2
Plugin1Name=rpm_wdx
Plugin1Detect=EXT="RPM"
Plugin1Path=%commander_path%/plugins/wdx/rpm_wdx/rpm_wdx.wdx
Plugin2Name=deb_wdx
Plugin2Detect=EXT="DEB"
Plugin2Path=%commander_path%/plugins/wdx/deb_wdx/deb_wdx.wdx
[Lister Plugins]
PluginCount=1
Plugin1Name=WlxMplayer
Plugin1Detect=(EXT="MPG")|(EXT="AVI")|(EXT="MPEG")|(EXT="FLV")
Plugin1Path=%commander_path%/plugins/wlx/WlxMplayer/wlxMplayer.wlx
[Search Plugins]
PluginCount=1
Plugin1Name=DSXLocate
Plugin1Path=%commander_path%/plugins/dsx/DSXLocate/DSXLocate.dsx
[ColumnsSet]
ColumnsSetCount=2
ColumnsSet1Name=Default
ColumnsSet2Name=Brief
[Brief]
ColumnCount=4
Column1Title=Name
Column1FuncsString=[DC().GETFILENAMENOEXT{}]
Column1Width=225
Column1Align=0
Column2Title=Ext
Column2FuncsString=[DC().GETFILEEXT{}]
Column2Width=50
Column2Align=0
Column3Title=Size
Column3FuncsString=[DC().GETFILESIZE{}]
Column3Width=70
Column3Align=1
Column4Title=Date
Column4FuncsString=[DC().GETFILETIME{}]
Column4Width=70
Column4Align=1
[lefttabs]
activetab=0
0_path=/home
0_caption=home
0_columnsset=Default
[righttabs]
activetab=0
0_path=/home
0_caption=home
0_columnsset=Brief

114
install/linux/doublecmd.xml Normal file
View file

@ -0,0 +1,114 @@
<?xml version="1.0"?>
<doublecmd DCVersion="0.4.6 alpha" ConfigVersion="1">
<Configuration Save="True">
<UseConfigInProgramDir>False</UseConfigInProgramDir>
</Configuration>
<Colors>
<FileFilters>
<Filter>
<Name>Pascal sources</Name>
<FileMasks>*.pas;*.pp</FileMasks>
<Color>32768</Color>
<Attributes/>
</Filter>
<Filter>
<Name>Pascal binaries</Name>
<FileMasks>*.ppu;*.o;*.dcu</FileMasks>
<Color>16711680</Color>
<Attributes/>
</Filter>
<Filter>
<Name>Specified Executables</Name>
<FileMasks>*</FileMasks>
<Color>55758</Color>
<Attributes>-rwxrwxr*x</Attributes>
</Filter>
<Filter>
<Name>Executables</Name>
<FileMasks>*</FileMasks>
<Color>32768</Color>
<Attributes>-*x*</Attributes>
</Filter>
</FileFilters>
</Colors>
<Plugins>
<DsxPlugins/>
<WcxPlugins>
<WcxPlugin Enabled="True">
<ArchiveExt>cpio</ArchiveExt>
<Path>%commander_path%/plugins/wcx/cpio/cpio.wcx</Path>
<Flags>0</Flags>
</WcxPlugin>
<WcxPlugin Enabled="True">
<ArchiveExt>deb</ArchiveExt>
<Path>%commander_path%/plugins/wcx/deb/deb.wcx</Path>
<Flags>4</Flags>
</WcxPlugin>
<WcxPlugin Enabled="True">
<ArchiveExt>lzma</ArchiveExt>
<Path>%commander_path%/plugins/wcx/lzma/lzma.wcx</Path>
<Flags>15</Flags>
</WcxPlugin>
<WcxPlugin Enabled="True">
<ArchiveExt>rpm</ArchiveExt>
<Path>%commander_path%/plugins/wcx/rpm/rpm.wcx</Path>
<Flags>20</Flags>
</WcxPlugin>
<WcxPlugin Enabled="True">
<ArchiveExt>bz2</ArchiveExt>
<Path>%commander_path%/plugins/wcx/zip/zip.wcx</Path>
<Flags>15</Flags>
</WcxPlugin>
<WcxPlugin Enabled="True">
<ArchiveExt>tbz</ArchiveExt>
<Path>%commander_path%/plugins/wcx/zip/zip.wcx</Path>
<Flags>15</Flags>
</WcxPlugin>
<WcxPlugin Enabled="True">
<ArchiveExt>rar</ArchiveExt>
<Path>%commander_path%/plugins/wcx/unrar/unrar.wcx</Path>
<Flags>0</Flags>
</WcxPlugin>
<WcxPlugin Enabled="True">
<ArchiveExt>zip</ArchiveExt>
<Path>%commander_path%/plugins/wcx/zip/zip.wcx</Path>
<Flags>15</Flags>
</WcxPlugin>
<WcxPlugin Enabled="True">
<ArchiveExt>tar</ArchiveExt>
<Path>%commander_path%/plugins/wcx/zip/zip.wcx</Path>
<Flags>15</Flags>
</WcxPlugin>
<WcxPlugin Enabled="True">
<ArchiveExt>gz</ArchiveExt>
<Path>%commander_path%/plugins/wcx/zip/zip.wcx</Path>
<Flags>15</Flags>
</WcxPlugin>
<WcxPlugin Enabled="True">
<ArchiveExt>tgz</ArchiveExt>
<Path>%commander_path%/plugins/wcx/zip/zip.wcx</Path>
<Flags>15</Flags>
</WcxPlugin>
</WcxPlugins>
<WdxPlugins>
<WdxPlugin>
<Name>rpm_wdx</Name>
<Path>%commander_path%/plugins/wdx/rpm_wdx/rpm_wdx.wdx</Path>
<DetectString>EXT="RPM"</DetectString>
</WdxPlugin>
<WdxPlugin>
<Name>deb_wdx</Name>
<Path>%commander_path%/plugins/wdx/deb_wdx/deb_wdx.wdx</Path>
<DetectString>EXT="DEB"</DetectString>
</WdxPlugin>
</WdxPlugins>
<WfxPlugins/>
<WlxPlugins>
<WlxPlugin>
<Name>wlxMplayer</Name>
<Path>%commander_path%/plugins/wlx/WlxMplayer/wlxMplayer.wlx</Path>
<DetectString>(EXT="MPG")|(EXT="AVI")|(EXT="MPEG")|(EXT="FLV")</DetectString>
</WlxPlugin>
</WlxPlugins>
</Plugins>
</doublecmd>

View file

@ -64,12 +64,13 @@ mkdir -p $DC_INSTALL_DIR/plugins/dsx/dsxlocate
# Copy files
cp -a doublecmd $DC_INSTALL_DIR/
cp -a install/linux/doublecmd.ini $DC_INSTALL_DIR/
cp -a install/linux/doublecmd.xml $DC_INSTALL_DIR/
cp -a doublecmd.ext.example $DC_INSTALL_DIR/
cp -a editor.col $DC_INSTALL_DIR/
cp -a twilight.col $DC_INSTALL_DIR/
cp -a pixmaps.txt $DC_INSTALL_DIR/
cp -a default.bar $DC_INSTALL_DIR/
cp -a multiarc.ini $DC_INSTALL_DIR/
# copy plugins
# WCX

View file

@ -26,16 +26,17 @@ xcopy /E language %DC_INSTALL_DIR%\language\
xcopy /E doc\en %DC_INSTALL_DIR%\doc\en\
xcopy /E pixmaps %DC_INSTALL_DIR%\pixmaps\
rem Copy files
copy doc\*.txt %DC_INSTALL_DIR%\doc\
copy doublecmd.exe %DC_INSTALL_DIR%\
copy doublecmd.xml %DC_INSTALL_DIR%\
copy doublecmd.ext.example %DC_INSTALL_DIR%\
copy editor.col %DC_INSTALL_DIR%\
copy twilight.col %DC_INSTALL_DIR%\
copy pixmaps.txt %DC_INSTALL_DIR%\
copy default.bar %DC_INSTALL_DIR%\
copy doc\*.txt %DC_INSTALL_DIR%\doc\
copy doublecmd.exe %DC_INSTALL_DIR%\
copy install\windows\doublecmd.xml %DC_INSTALL_DIR%\
copy doublecmd.ext.example %DC_INSTALL_DIR%\
copy editor.col %DC_INSTALL_DIR%\
copy twilight.col %DC_INSTALL_DIR%\
copy pixmaps.txt %DC_INSTALL_DIR%\
copy default.bar %DC_INSTALL_DIR%\
copy multiarc.ini %DC_INSTALL_DIR%\
rem Copy libraries
copy *.dll %DC_INSTALL_DIR%\
copy *.dll %DC_INSTALL_DIR%\
rem copy plugins
rem WCX