mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Some scripts optimizations
This commit is contained in:
parent
bee5a4e24e
commit
26bfdef344
8 changed files with 26 additions and 4 deletions
4
_make.sh
4
_make.sh
|
|
@ -19,7 +19,9 @@
|
|||
#path to lazarus
|
||||
export lazpath=/home/alexx/bin/lazarus
|
||||
#widgetset gtk or gtk2
|
||||
lcl=gtk2
|
||||
if [ -z $lcl ]
|
||||
then export lcl=gtk2
|
||||
fi
|
||||
|
||||
build_doublecmd()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -26,6 +26,9 @@ mkdir %BUILD_PACK_DIR%\release
|
|||
rem Copy package description file
|
||||
copy windows\doublecmd.iss %BUILD_PACK_DIR%\
|
||||
|
||||
rem Copy libraries
|
||||
copy windows\lib\*.dll %BUILD_DC_TMP_DIR%\
|
||||
|
||||
cd /D %BUILD_DC_TMP_DIR%
|
||||
rem Build all components of Double Commander
|
||||
call _make.bat all
|
||||
|
|
|
|||
|
|
@ -13,21 +13,28 @@ svn export ../ $BUILD_DC_TMP_DIR
|
|||
# Copy package description file
|
||||
cp linux/description-pak $BUILD_DC_TMP_DIR/
|
||||
|
||||
# Copy libraries
|
||||
cp -a linux/lib/*.so $BUILD_DC_TMP_DIR/
|
||||
|
||||
cd $BUILD_DC_TMP_DIR
|
||||
if [ -z $1 ]
|
||||
then export lcl=gtk2
|
||||
else export lcl=$1
|
||||
fi
|
||||
# Build all components of Double Commander
|
||||
./_make.sh all
|
||||
|
||||
# Create *.rpm package
|
||||
|
||||
/usr/local/sbin/checkinstall -R --default --pkgname=doublecmd --pkgversion=$DC_VER --pkglicense=GPL --pkggroup=Applications/File --maintainer=Alexx2000@mail.ru --nodoc --pakdir=$PACK_DIR $BUILD_DC_TMP_DIR/install/linux/install.sh
|
||||
/usr/local/sbin/checkinstall -R --default --pkgname=doublecmd --pkgversion=$DC_VER --pkgrelease=1.$lcl --pkglicense=GPL --pkggroup=Applications/File --maintainer=Alexx2000@mail.ru --nodoc --pakdir=$PACK_DIR $BUILD_DC_TMP_DIR/install/linux/install.sh
|
||||
|
||||
# Create *.deb package
|
||||
|
||||
/usr/local/sbin/checkinstall -D --default --pkgname=doublecmd --pkgversion=$DC_VER --pkglicense=GPL --pkggroup=Applications/File --maintainer=Alexx2000@mail.ru --nodoc --pakdir=$PACK_DIR $BUILD_DC_TMP_DIR/install/linux/install.sh
|
||||
/usr/local/sbin/checkinstall -D --default --pkgname=doublecmd --pkgversion=$DC_VER --pkgrelease=1.$lcl --pkglicense=GPL --pkggroup=Applications/File --maintainer=Alexx2000@mail.ru --nodoc --pakdir=$PACK_DIR $BUILD_DC_TMP_DIR/install/linux/install.sh
|
||||
|
||||
# Create *.tgz package
|
||||
|
||||
/usr/local/sbin/checkinstall -S --default --pkgname=doublecmd --pkgversion=$DC_VER --pkglicense=GPL --pkggroup=Applications/File --maintainer=Alexx2000@mail.ru --nodoc --pakdir=$PACK_DIR $BUILD_DC_TMP_DIR/install/linux/install.sh
|
||||
/usr/local/sbin/checkinstall -S --default --pkgname=doublecmd --pkgversion=$DC_VER --pkgrelease=1.$lcl --pkglicense=GPL --pkggroup=Applications/File --maintainer=Alexx2000@mail.ru --nodoc --pakdir=$PACK_DIR $BUILD_DC_TMP_DIR/install/linux/install.sh
|
||||
|
||||
# Clean DC build dir
|
||||
rm -rf $BUILD_DC_TMP_DIR
|
||||
|
|
@ -27,6 +27,8 @@ 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/
|
||||
# Copy libraries
|
||||
cp -a *.so /usr/lib/
|
||||
|
||||
# copy plugins
|
||||
# WCX
|
||||
|
|
|
|||
3
install/linux/lib/readme.txt
Normal file
3
install/linux/lib/readme.txt
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
Before create packages (before run create_packages.sh) copy in this directory third-party libraries:
|
||||
- libunrar.so - needed for unrar plugin
|
||||
- libqt4intf.so - needed for qt4 version of Double Commander
|
||||
|
|
@ -54,6 +54,7 @@ Source: "doublecmd\language\*"; DestDir: "{app}\language"; Flags: ignoreversion
|
|||
Source: "doublecmd\pixmaps\*"; DestDir: "{app}\pixmaps"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
Source: "doublecmd\plugins\*"; DestDir: "{app}\plugins"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||
Source: "doublecmd\*.dll"; DestDir: "{app}"; Flags: skipifsourcedoesntexist
|
||||
|
||||
[Icons]
|
||||
Name: "{group}\Double Commander"; Filename: "{app}\doublecmd.exe"
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@ copy editor.col %DC_INSTALL_DIR%\
|
|||
copy twilight.col %DC_INSTALL_DIR%\
|
||||
copy pixmaps.txt %DC_INSTALL_DIR%\
|
||||
copy default.bar %DC_INSTALL_DIR%\
|
||||
rem Copy libraries
|
||||
copy *.dll %DC_INSTALL_DIR%\
|
||||
|
||||
rem copy plugins
|
||||
rem WCX
|
||||
|
|
|
|||
2
install/windows/lib/readme.txt
Normal file
2
install/windows/lib/readme.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
Before create packages (before run create_packages.bat) copy in this directory third-party libraries:
|
||||
- unrar.dll - needed for unrar plugin
|
||||
Loading…
Add table
Add a link
Reference in a new issue