View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000888 | Double Commander | Default | public | 2014-06-15 03:45 | 2017-09-04 08:26 |
Reporter | ginggs | Assigned To | Alexx2000 | ||
Priority | normal | Severity | tweak | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Projection | none | ETA | none | ||
Platform | Linux | OS | Debian / Ubuntu | ||
Product Version | 0.5.10 | Product Build | 5514 | ||
Target Version | 0.5.11 | Fixed in Version | 0.5.11 | ||
Summary | 0000888: Don't rebuild widget dependent packages for Lazarus 1.2 | ||||
Description | In Debian, Lazarus 1.2 now builds the Qt units so it is no longer necessary for them to be built during the build of Doublecmd. Also, /usr/lib/lazarus/default/ideintf/ideintf.lpk moved to /usr/lib/lazarus/default/components/ideintf/ideintf.lpk, so we can use this to check whether the packages need to be rebuilt. When rebuilding the components for Lazarus <1.2, the order in which the packages are built needs to be changed and unit paths for LazControls and IDEIntf need to be added to avoid similar errors to the one below (as seen in the Doublecmd PPA build logs): synpropertyeditobjectlist.pas(29,3) Fatal: Can't find unit PropEdits used by SynPropertyEditObjectList TExternalToolList.Run Exception: /usr/lib/lazarus/default/components/synedit/synpropertyeditobjectlist.pas(29,3) Fatal: Can't find unit PropEdits used by SynPropertyEditObjectList ERROR: tool reported error Please see the attached patch. | ||||
Tags | No tags attached. | ||||
Attached Files | lazarus1.2.patch (986 bytes)
--- a/components/build.sh +++ b/components/build.sh @@ -5,12 +5,19 @@ # This script run from main build.sh script # If you run it direct, set up $lazbuild first -# Rebuild widget dependent packages -if [ -d /usr/lib/lazarus/default ] - then +# Rebuild widget dependent packages (only for lazarus <1.2) +if [ -f /usr/lib/lazarus/default/ideintf/ideintf.lpk ] ; then + if [ ! -d ~ ] ; then + mkdir -p ${HOME} + fi + if [ ! -f ~/.fpc.cfg ] ; then + cp /etc/fpc.cfg ~/.fpc.cfg + echo -Fu~/.lazarus/lib/LazControls/lib/\$fpctarget/qt/ >> ~/.fpc.cfg + echo -Fu~/.lazarus/lib/IDEIntf/units/\$fpctarget/qt/ >> ~/.fpc.cfg + fi $lazbuild /usr/lib/lazarus/default/components/lazcontrols/lazcontrols.lpk $DC_ARCH -B - $lazbuild /usr/lib/lazarus/default/components/synedit/synedit.lpk $DC_ARCH -B $lazbuild /usr/lib/lazarus/default/ideintf/ideintf.lpk $DC_ARCH -B + $lazbuild /usr/lib/lazarus/default/components/synedit/synedit.lpk $DC_ARCH -B fi # Build components | ||||
Fixed in Revision | 5551 | ||||
Operating system | Linux | ||||
Widgetset | GTK2, QT4 | ||||
Architecture | 32-bit, 64-bit | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2014-06-15 03:45 | ginggs | New Issue | |
2014-06-15 03:45 | ginggs | File Added: lazarus1.2.patch | |
2014-06-22 20:27 | Alexx2000 | Fixed in Revision | => 5551 |
2014-06-22 20:27 | Alexx2000 | Assigned To | => Alexx2000 |
2014-06-22 20:27 | Alexx2000 | Status | new => resolved |
2014-06-22 20:27 | Alexx2000 | Resolution | open => fixed |
2014-06-22 20:27 | Alexx2000 | Fixed in Version | => 0.5.11 |
2014-06-22 20:27 | Alexx2000 | Target Version | => 0.5.11 |
2017-09-04 08:26 | Alexx2000 | Status | resolved => closed |