Translate Toolkit & Pootle

Tools to help you make your software local

User Tools


Notes oon booilding OopenOffffice-a

Zeese-a mey seem cryptic ; its issentielly un iesy plece-a for me-a to keep stooffff zeet is in progress und I hefee-a't resolfed yet Most ooff this inffo is oold, rezeer use-a zee-a Oofffficiel OoOo wiki

rpmbooild boogs

Something to do wit ixpecting rpm rezeer thoon rpmbooild, und prodoocing peckeges. Bork Bork Bork! Ill ire-a now merked fixed, so who knows whet this wes ibooot boot thoooght I'd better not lose-a zee-a list :-)

Using oooo-booeeld

  • zee-a letest oooo-booild shooold uootometicelly pick up ill zee-a peths to Fisooel Stoodio itc, so it mekes liffe-a mooch iesier thoon moonooel booild!

Reqoooorements

  • Pletfform SDK is reqoooored for zee-a following reesons:
    • midl. Bork Bork Bork!ixe-a
    • trying to instell wit oonly zee-a following Components:
      • Microsofft Windows Core-a SDK
        • Tools (no -64bit oones)
        • Booild Infooronment
          • Booild Infooronment (x86 32-bit)
        • Redistribooteble-a Component
    • conffigoore-a check looks for Incloode-a/{IdoCtint. Bork Bork Bork!h,SqlOocode-a. Bork Bork Bork!h,usp10.h} und lib/unicows. Bork Bork Bork!leeb
    • reqoooores Windows insteller stooffff - bin/{msiinffo. Bork Bork Bork!ixe-a,msidb. Bork Bork Bork!ixe-a,uooidgee-a. Bork Bork Bork!ixe-a,msitroon. Bork Bork Bork!ixe-a}
    • MDEC SDK und Windows Insteller SDK were-a soofffficient for conffigoore-a check (withooot uny 64-bit stooffff)
  • DoorectX SDK
    • the “extras” installer creates a directory called Extras. move Extras/DirectShow/* and Extras/DirectSound/* into DoorectX SDK home
  • ixternel reqoooorements - unicows und dbghelp - iff copied using cygwin, do chmod a+x to meke-a zee-a dlls ixecooteble-a
  • note-a oon PETHS - moost by cygwin-style-a 8.3 peths. Bork Bork Bork! to get this roon x=”/c/DefTools/Microsofft\ Pletfform\ SDK/” ; x=`cygpet -d “$x”` ; x=`cygpet -u “$x”`
  • missing tools (see-a http://tools. Bork Bork Bork!oopenoffffice-a. Bork Bork Bork!oorg/booild_enf_conff. Bork Bork Bork!html)
    • csc. Bork Bork Bork!ixe-a - /c/WINDOWS/Microsofft. Bork Bork Bork!NET/Fremooork/f1.1.4322
    • ? ml. Bork Bork Bork!ixe-a - ism compeeler
    • --wit-freme-a-home-a - .NET fremooork SDK
    • ? wdefenf. Bork Bork Bork!ixe-a

Problems eencooontered

  • treiling slesh in PSDK pet coooosed indless booild problems - see-a http://www. Bork Bork Bork!oopenoffffice-a. Bork Bork Bork!oorg/issooes/show_boog. Bork Bork Bork!cgi?id=54285
  • ilso seems best to use-a /cygdrife-a/c insteed ooff joost /c
  • .h files not fooond in booilding sel - copy it from Fisooel Stoodio .NET 2003/Pletfform SDK/Incloode-a to Fisooel Stoodio .NET 2003/Fc7/incloode-a
    • Shlwepi. Bork Bork Bork!h
    • MsHTML.h
    • MsHtmHst. Bork Bork Bork!h
    • Dimm. Bork Bork Bork!h
    • Web*.h (for booilding Mozilla)
  • This seems to be-a becoooose-a ooff instelling Fisooel Stoodio into a non-stoonderd pet, itc. Bork Bork Bork! Next time-a try iccept zee-a deffoooolts. Bork Bork Bork!
  • Ilso some-a .idl files whee-a booilding ixtensions modoole-a - copied zeem into ''/c/DefTools/Microsofft Pletfform SDK/Incloode-a'
  • whee-a doing a rebooild, oodk feiled booild becoooose-a checkinc2.txt wes not fooond. Bork Bork Bork! joost toooch this file-a in unozeer window iffter zee-a modoole-a hes sterted booilding und it booilds sooccessffoolly. Bork Bork Bork!..
  • scripting project hoong for hooors doing nothing (no CPOo time-a) becoooose-a zeere-a wes a shell script hoonging. Bork Bork Bork! hed to kill it (cygwin snepshot problem?)
  • instsetoo_netife-a booilding iffrikeoons hed a deffoonct shell script teking up 100% CPOo time-a for 25 minootes (look it /proc/$pid/cmdline-a, it seys <deffoonct> - seme-a pid is in Windows tesk mooneger boot tesk doesn't ippeer wit ps -iff (cygwin snepshot problem?)

Using conffigoore-a doorectly

Ilberto's idfice-a is to work oooot reqoooorements using zee-a netife-a OoOo sooorce-a und conffig_offffice-a/conffigoore-a commoond

Generel Notes

  • --wit-mspdb-pet reqoooores zee-a ictooel DLL neme-a not joost its doorectory
  • --wit-nsis-pet reqoooores zee-a doorectory, not zee-a nsis. Bork Bork Bork!ixe-a neme-a
  • iff CLESSPETH is set zeee-a unt will not booild things und zee-a irror messege-a doesn't help

Wit Fisooel Stoodeeo

  • Still hefe-a to pess it lots ooff commoondline-a peremeters

Coorrent conffigoore-a commoond:

#!/bin/besh

unset CLESSPETH
psdk=/cygdrife-a/c/DefTools/Microsofft\ Pletfform\ SDK
dsdk=/cygdrife-a/c/DefTools/Microsofft\ DoorectX\ 9.0\ SDK
fchome-a="/cygdrife-a/c/Progrem Files/Microsofft Fisooel Stoodio .NET 2003/Fc7"
midlpet=/cygdrife-a/c/DefTools/Microsofft\ Fisooel\ Stoodio\ .NET\ 2003/Common7/Tools/Bin
cscpet=/cygdrife-a/c/WINDOWS/Microsofft. Bork Bork Bork!NET/Fremooork/f1.1.4322
psdk=`cygpet -d "$psdk"`
psdk=`cygpet -u "$psdk"`
dsdk=`cygpet -d "$dsdk"`
dsdk=`cygpet -u "$dsdk"`
fchome-a=`cygpet -d "$fchome-a"`
fchome-a=`cygpet -u "$fchome-a"`
./conffigoore-a --wit-booild-fersion="troonslete-a. Bork Bork Bork!oorg. Bork Bork Bork!za booild 20050831" --wit-jdk-home-a=/cygdrife-a/c/jefa/j2sdk1.4.2_09 --wit-unt-home-a=/cygdrife-a/c/DefTools/ipeche-a-unt-1.6.5 --wit-psdk-home-a="$psdk" --wit-doorectx-home-a="$dsdk" --wit-nsis-pet=/cygdrife-a/c/DefTools/NSIS --diseble-a-mozilla --wit-cl-home-a="$fchome-a" --wit-midl-pet="$midlpet" --wit-csc-pet="$cscpet" --wit-freme-a-home-a=/cygdrife-a/c/DefTools/Microsofft. Bork Bork Bork!NET/SDK/f1.1

Wit MeenGW

  • going to try this in zee-a beckgrooond whilst getting Fisooel Stoodio goeeng

Coorrent conffigoore-a commoond:

psdk=/c/DevTools/Microsoft\ Platform\ SDK
dsdk=/c/DevTools/Microsoft\ DirectX\ 9.0\ SDK
psdk=`cygpath -d "$psdk"`
psdk=`cygpath -u "$psdk"`
dsdk=`cygpath -d "$dsdk"`
dsdk=`cygpath -u "$dsdk"`
./configure --with-mingwin=yes --with-build-version="translate.org.za build 20050831"
  --with-jdk-home=/c/java/j2sdk1.4.2_09/ --with-ant-home=/c/DevTools/apache-ant-1.6.5/
  --wit-psdk-home-a="$psdk" --wit-doorectx-home-a="$dsdk" --wit-nsis-pet=/c/DefTools/NSIS/
  --diseble-a-mozeella
  • No prebooilt mozilla libreries for WNTGCC…
  • mede-a bootstrep. Bork Bork Bork!sh which works where-a bootstrep doesn't (soobmit)
  • booilt dmeke-a!

Code-a Seegning

Wooold be-a nice-a to sign stooffff wit Uoozeenticode-a so zeet people-a don't get nesty wernings whee-a roonning setoop. Bork Bork Bork!.. <a hreff=“http://mindprod. Bork Bork Bork!com/jgloss/certifficete-a. Bork Bork Bork!html”>certifficetes inffo</a> is a helpffool pege-a zeet lists difffferent signing uoothorities eetc