mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Build scripts
This commit is contained in:
parent
be6949414a
commit
acef64f921
5 changed files with 35 additions and 26 deletions
6
build.sh
6
build.sh
|
|
@ -12,8 +12,8 @@
|
|||
# all - compiling components, plugins and DC
|
||||
# default - compiling DC only (using by default)
|
||||
|
||||
# path to lazarus
|
||||
export lazpath=/home/alexx/bin/lazarus
|
||||
# path to lazbuild
|
||||
export lazbuild=$(which lazbuild)
|
||||
|
||||
# Set up widgetset: gtk or gtk2 or qt
|
||||
if [ $lcl ]
|
||||
|
|
@ -27,7 +27,7 @@ fi
|
|||
|
||||
build_default()
|
||||
{
|
||||
$lazpath/lazbuild src/doublecmd.lpi $DC_ARCH
|
||||
$lazbuild src/doublecmd.lpi $DC_ARCH
|
||||
|
||||
strip --strip-all doublecmd
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
#!/bin/bash
|
||||
# Compiling components
|
||||
|
||||
# This script run from _make.bat
|
||||
# If you run it direct, set up $lazpath first
|
||||
# This script run from main build.sh script
|
||||
# If you run it direct, set up $lazbuild first
|
||||
|
||||
pushd components
|
||||
$lazpath/lazbuild CmdLine/cmdbox.lpk $DC_ARCH
|
||||
$lazpath/lazbuild KASToolBar/kascomp.lpk $DC_ARCH
|
||||
$lazpath/lazbuild viewer/viewerpackage.lpk $DC_ARCH
|
||||
$lazbuild CmdLine/cmdbox.lpk $DC_ARCH
|
||||
$lazbuild KASToolBar/kascomp.lpk $DC_ARCH
|
||||
$lazbuild viewer/viewerpackage.lpk $DC_ARCH
|
||||
popd
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
doublecmd (0.4.6-0) lucid; urgency=low
|
||||
doublecmd (0.4.6-0ppa1) lucid; urgency=low
|
||||
|
||||
* Initial release (Closes: #2931241)
|
||||
|
||||
|
|
|
|||
|
|
@ -2,9 +2,18 @@ Source: doublecmd
|
|||
Section: contrib/misc
|
||||
Priority: extra
|
||||
Maintainer: Alexander Koblov <Alexx2000@mail.ru>
|
||||
Build-Depends: debhelper (>= 5),
|
||||
Build-Depends: libdbus-1-dev,
|
||||
libglib2.0-dev,
|
||||
libgtk2.0-dev,
|
||||
libhal-dev,
|
||||
libncurses5-dev,
|
||||
libncursesw5-dev,
|
||||
debhelper (>= 5),
|
||||
fpc (>= 2.4.0),
|
||||
lazarus (>= 0.9.29)
|
||||
lcl (>= 0.9.29),
|
||||
lcl-gtk2 (>= 0.9.29),
|
||||
lcl-units (>= 0.9.29),
|
||||
lcl-utils (>= 0.9.29)
|
||||
Standards-Version: 3.8.4
|
||||
Homepage: http://doublecmd.sourceforge.net/
|
||||
|
||||
|
|
|
|||
|
|
@ -1,33 +1,33 @@
|
|||
#!/bin/bash
|
||||
# Build all plugins
|
||||
|
||||
# This script run from _make.sh
|
||||
# If you run it direct, set up $lazpath first
|
||||
# This script run from main build.sh script
|
||||
# If you run it direct, set up $lazbuild first
|
||||
|
||||
# CD to plugins directory
|
||||
pushd plugins
|
||||
|
||||
# WCX plugins
|
||||
$lazpath/lazbuild wcx/cpio/src/cpio.lpi $DC_ARCH
|
||||
$lazpath/lazbuild wcx/deb/src/deb.lpi $DC_ARCH
|
||||
$lazpath/lazbuild wcx/lzma/src/lzma.lpi $DC_ARCH
|
||||
$lazpath/lazbuild wcx/rpm/src/rpm.lpi $DC_ARCH
|
||||
$lazpath/lazbuild wcx/unbz2/src/unbz2.lpi $DC_ARCH
|
||||
$lazpath/lazbuild wcx/unrar/src/unrar.lpi $DC_ARCH
|
||||
$lazpath/lazbuild wcx/zip/src/Zip.lpi $DC_ARCH
|
||||
$lazbuild wcx/cpio/src/cpio.lpi $DC_ARCH
|
||||
$lazbuild wcx/deb/src/deb.lpi $DC_ARCH
|
||||
$lazbuild wcx/lzma/src/lzma.lpi $DC_ARCH
|
||||
$lazbuild wcx/rpm/src/rpm.lpi $DC_ARCH
|
||||
$lazbuild wcx/unbz2/src/unbz2.lpi $DC_ARCH
|
||||
$lazbuild wcx/unrar/src/unrar.lpi $DC_ARCH
|
||||
$lazbuild wcx/zip/src/Zip.lpi $DC_ARCH
|
||||
|
||||
# WDX plugins
|
||||
$lazpath/lazbuild wdx/rpm_wdx/src/rpm_wdx.lpi $DC_ARCH
|
||||
$lazpath/lazbuild wdx/deb_wdx/src/deb_wdx.lpi $DC_ARCH
|
||||
$lazbuild wdx/rpm_wdx/src/rpm_wdx.lpi $DC_ARCH
|
||||
$lazbuild wdx/deb_wdx/src/deb_wdx.lpi $DC_ARCH
|
||||
|
||||
# WFX plugins
|
||||
$lazpath/lazbuild wfx/ftp/src/ftp.lpi $DC_ARCH
|
||||
$lazbuild wfx/ftp/src/ftp.lpi $DC_ARCH
|
||||
|
||||
# WLX plugins
|
||||
$lazpath/lazbuild wlx/WlxMplayer/src/wlxMplayer.lpi $DC_ARCH
|
||||
$lazbuild wlx/WlxMplayer/src/wlxMplayer.lpi $DC_ARCH
|
||||
|
||||
# DSX plugins
|
||||
$lazpath/lazbuild dsx/DSXLocate/src/DSXLocate.lpi $DC_ARCH
|
||||
$lazbuild dsx/DSXLocate/src/DSXLocate.lpi $DC_ARCH
|
||||
|
||||
# Strip and rename WCX
|
||||
pushd wcx/cpio/lib/
|
||||
|
|
@ -95,4 +95,4 @@ mv DSXLocate.so DSXLocate.dsx
|
|||
popd
|
||||
|
||||
# Return from plugins directory
|
||||
popd
|
||||
popd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue