RE: Delphi & build.pl Build notes
"Joe Hildebrand" <hildjj-bvCY4hpNeH/[email protected]> Tue, 29 Jun 2004 01:21:35 -0600
| Newsgroups | gmane.network.jabber.exodus.devel |
|---|---|
| Message-ID | <[email protected]> |
You can put all of your paths in a file called dopts.pl, next to the build.pl. We did it that way so you wouldn't have to modify the file that is checked in to CVS. It should look like this: $::D = 'C:/lang/Borland/Delphi7'; $::TNT = "C:\\src\\jabber\\exodus\\exodus\\components\\tntUnicode"; $::ICQ = "\"C:\\src\\jabber\\exodus\\exodus\\plugins\\ICQ-Import\\ICQ\\Component\""; $::NSIS = "\"C:\\Program Files\\NSIS\\makensis.exe\""; $::DXGETDIR = "C:\\lang\\dxgettext"; But with you paths, obviously. There's a zipdll.dll in the exodus root. Use that one to ensure we're using the same version. They've changed APIs a couple of times.... PGM: I thought you had added resource build steps for the emoticon libs? -- Joe Hildebrand Denver, CO, USA > -----Original Message----- > From: Siracusa, David [mailto:[email protected]] > Sent: Monday, June 28, 2004 9:03 AM > To: [email protected] > Subject: [Exodus-dev] Delphi & build.pl Build notes > > > These are my build notes. I got everything to build. > My notes are terse, if you have questions please email me. > > 1. I noticed hard coded paths in build.pl (and elsewhere), > which I either used, or changed. > > 2. Download and install NSIS > (http://nsis.sourceforge.net) > > 3. Download and install dxgettext > > (http://sourceforge.net/project/showfiles.php?group_id=74086&p > ackage_id= > 83210&release_id=177119) > Build.pl > Modified path to NSIS > Modified path to DXGETDIR > Modified path to D > > 4. Download and install Indy Components > http://www.indyproject.org/download/Borland.html, > http://www.atozed.com/indy/plus/install.iwp - > > 5. Installed Indy 9 (Delphi7) > http://downloads.atozedsoftware.com/indy/indy9.0.17_d7.exe > > 6. Unzip .\components\tntUnicode.zip and install the _D70.dpk package. > I received a Fatal Compiler Error (found workaround fix > (Google), due to Delphi 7.1 update) > http://groups.google.com/groups?q=Delphi+C13310&hl=en&lr=&ie=U > TF-8&selm= > 40a23c76%241%40newsgroups.borland.com&rnum=1 > Had to disable showing warnings during compilation in > order to get it to compile and install! > > 7. Open .\exodus\components\ExComponents.dpk > Click "install" ExComponents.dpk. > Can't build ExComponents.dpk, getting unsupported 16bit resource in > file: RTFEditor.DFM Error! > Downloaded replacement RTFEditor.dfm > http://www.jabberstudio.org/cgi-bin/viewcvs.cgi/exodus/exodus/ > components > /RTFEditor.dfm) > Google search suggests that CVS may corrupt the binaries, > specifically DFM > binaries (they suggested saving DFM's as text). > > 8. Open Exodus.dpr, and Compile > Need JEDI http://sourceforge.net/projects/jcl/ > Load, Install DJcl.dpk > Jedi doesn't want to build! Readme is wrong! I had to > type: "C:\Program Files\Borland\Delphi7\bin\make.exe" > > 9. It runs! > > Build.pl > 1. ZipDLL isn't part of the stock NSIS 2.0 so I > downloaded it from: > <http://nsis.sourceforge.net/archive/download.php?file=ZipDLLv1.2.zip> > and put ZipDLL.dll and ZipDLL.nsh the parent dir (the script > will fail if it isn't so). > > 2. Build.pl doesn't build in release mode, easily fixed in > ExTracer.pas (too aggressive with $IFDEF TRACE_EXCEPTIONS) > > 3. Msn_emotions.dpr and yahoo_emoticons.dpr would not build > in build.pl. I needed to open in Delphi and build first. I > believe res files are missing. Need to add resource build > steps in build.pl. > > 4. zip statement doesn't build a complete exodus.zip, I > needed to add the files separately. > > 5. Missing: Delete /REBOOTOK > "$INSTDIR\${LIBIDN}${DLL_EXTENSION}" in exodus-new.nsi. > > 6. Silent install crashes my shstat.exe (McAfee tray app) if > I enable SSL, and plugins on by default in exodus-new.nsi. > Must be a null-installer bug. > > 7. Setup.exe works okay now. > > > IMPORTANT: The information contained in this email and/or its > attachments is confidential. If you are not the intended > recipient, please notify the sender immediately by reply and > immediately delete this message and all its attachments. Any > review, use, reproduction, disclosure or dissemination of > this message or any attachment by an unintended recipient is > strictly prohibited. Neither this message nor any attachment > is intended as or should be construed as an offer, > solicitation or recommendation to buy or sell any security or > other financial instrument. Neither the sender, his or her > employer nor any of their respective affiliates makes any > warranties as to the completeness or accuracy of any of the > information contained herein or that this message or any of > its attachments is free of viruses. > > _______________________________________________ > Exodus-dev mailing list > [email protected] > https://jabberstudio.org/mailman/listinfo/exod> us-dev >