Projects/KDE on Windows/Windows CE/Emerge: Difference between revisions

From KDE TechBase
No edit summary
(Replaced content with "{{Moved To Community|Windows/Imported From TechBase/{{#titleparts:{{PAGENAME}}||3}}}}")
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Introduction  ==
{{Moved To Community|Windows/Imported From TechBase/{{#titleparts:{{PAGENAME}}||3}}}}
 
This page is a work in progress. There is only one application that starts on Windows Mobile right now and is not tested yet. It is intended to give a starting point for Windows Mobile development with the help of emerge. This guide is specialized for Windows Mobile 6, but can be adapted for other versions.
 
== Requirements  ==
 
*Microsoft Windows XP/Vista/7 (tested with win7)<br>
*Microsoft Visual Studio 2008/05 Professional<br>
*(Service Pack 1 for Visual Studio) get form [http://www.microsoft.com/downloads/details.aspx?displaylang=de&FamilyID=fbee1648-7106-44a7-9649-6d9f6d58056e here] (take the right language that fit to your Visual Studio)<br>
*Windows Mobile 6 Professional and Standard Software Development Kits Refresh, get it from [http://www.microsoft.com/downloads/details.aspx?familyid=06111a3a-a651-4745-88ef-3d48091a390b&displaylang=en here]<br>
*Windows Mobile 6.5 Developer Tool Kit, get it from [http://www.microsoft.com/downloads/details.aspx?familyid=20686a1d-97a8-4f80-bc6a-ae010e085a6e&displaylang=en here]<br>
*svn<br>
*Emerge, check it out from svn://anonsvn.kde.org/home/kde/trunk/kdesupport/emerge check [[Getting Started/Build/KDE4/Windows/emerge|here]] for more info how it is setup<br>
 
<br>
 
== Setup Emerge  ==
 
Edit your kdesettings.bat to&nbsp; get emerge to build KDE for Windows Mobile. Here are some suggestions how your importent setttings should look like:<br>
 
*set KDECOMPILER=msvc2008<br>
*set EMERGE_ARCHITECTURE=x86<br>
*set EMERGE_USE_SHORT_PATH=1 (shortens the path length, which can be sometimes critical)<br>
*set EMERGE_TARGET_PLATFORM=WM60<br>
*set EMERGE_TARGET_ARCHITECTURE=ARMV4I<br>
*set EMERGE_MAKE_PROGRAM=%KDEROOT%\bin\jom.exe (can be enabled for faster builds)<br>
 
== Start compiling programs for Windows Mobile  ==
 
After setting up emerge you can get info the emerge building environment by calling kdeenv.bat out of the emerge directory. Then you can start compiling programs for Windows Mobile by typing emerge &lt;package&gt;.<br>
 
<br>
 
== Packages compiled for Windows Mobile right now<br>  ==
 
*boost<br>
*gpgme<br>
*akonadi<br>
*attica<br>
*dbusmenu-qt<br>
*grantlee<br>
*kdewin<br>
*oxygen-icons<br>
*phonon<br>
*qjson<br>
*soprano<br>
*strigi<br>
*gettext<br>
*pinentry-qt<br>
*aspell<br>
*cyrus-sasl<br>
*dbus<br>
*expat<br>
*giflib<br>
*jpeg<br>
*libbzip2<br>
*libcurl<br>
*libical<br>
*libpng<br>
*libxml2<br>
*libxslt<br>
*openssl<br>
*pcre-src<br>
*shared-desktop-ontologies<br>
*sqlite<br>
*wcecompat<br>
*win_iconv<br>
*zlib<br>
*kdebase-runtime<br>
*kdelibs<br>
*kdepim<br>
*kdepimlibs<br>
*qt<br>
*bison<br>
*docbook-dtd<br>
*docbook-xsl<br>
 
<br>
 
== Compile Process<br>  ==
 
Almost every package is compiled twice because the need of the codegenerators and other generators that are used. So emerge is doing the following pipeline:<br>
 
*fetch(for the building platform)<br>
*unpack(for the building platform)<br>
*compile for the building platform<br>
*cleanimage for the building platform<br>
*install for the building platform<br>
*manifest for the building platform<br>
*qmerge for the building platform
*compile for the target platform
*cleanimage for the target platform
*install for the target platform
*manifest for the target platform
*qmerge for the target platform<br><br>
 
If you like to build a special package only for the building platform type:<br>
 
emerge --disable-buildtarget &lt;package_name&gt;<br>
 
If you like to build it for the target platform only type:<br>
 
emerge --disable-buildhost &lt;package_name&gt;<br>
 
<br>
 
<br>
 
If you like to compile something manually for the target platform use the switchtotargetenv script to switch the enviroment to the target platform, but if you like to compile other packages again with emerge you need to reopen the emerge enviroment to get the the right enviroment back.<br>
 
== Known Issues<br>  ==
 
*If there is an svn error accours emerge looks like it is freezd
*If a compile process from the building platform goes through and the target build failed the package is marked as installed in emerge<br>

Latest revision as of 14:19, 11 March 2016

This page is now on the community wiki.