GnappletBuild

From GnokiiWiki

Jump to: navigation, search

Get the symbian developing environment working

Read and follow http://www.gnupoc.org to setup the symbian developing environment.


Building gnapplet from source

  1. Get source code (both gnokii and gnapplet)
  2. un-tar them into a suitable directories
  3. edit the DLLTOOL, LD, AS, CC, CXX, CPP and PETRAN parameters in the Makefile of gnapplet according to your symbian developing environment
  4. edit the INCLUDE directive to reflect the symbian developing environment and the source directory of gnokii
  5. run
    make

That's it, you can upload gnapplet.sis to your phone.


Building in the official way

If you aren't familiar with the Makefile and the unixish build environment, you can try to build it yourself. The gnapplet.sis (the symbian installation file) contains the following elements:

  1. gnapplet.pkg: this is the description file of the installation package
  2. gnapplet.app: the frontend application which starts the console app
  3. gnapplet.exe: the console app itself, spawned by gnapplet.app
  4. gnapplet.rsc: symbian application resource file
  5. gnapplet.ini: initialization file read by gnapplet

gnapplet.app is built from gnapplet_ui.cpp and linked to the following libraries: edll.lib, edllstub.lib, egcc.lib, euser.lib, apparc.lib, cone.lib, eikcore.lib, avkon.lib. UIDS of the application are: 0x10000079, 0x100039ce and 0x107d4df2.

gnapplet.exe is build from the gnapplet.cpp, pkt.cpp, device.cpp, ircomm.cpp, rfcomm.cpp, tcpip.cpp, proto_info.cpp, proto_phonebook.cpp, proto_netinfo.cpp, proto_power.cpp, proto_debug.cpp, proto_sms.cpp, proto_calendar.cpp, proto_clock.cpp and proto_profile.cpp and linked to the following libraries: eexe.lib, egcc.lib, esock.lib, bluetooth.lib, euser.lib, insock.lib, cntmodel.lib, c32.lib, charconv.lib, plpvariant.lib, btmanclient.lib, logwrap.lib, logcli.lib, efsrv.lib, etel.lib, gsmbas.lib, gsmadv.lib, sysutil.lib, hal.lib, sysagt.lib, msgs.lib, smcm.lib, gsmu.lib, agnmodel.lib, estor.lib, etext.lib, estlib.lib, ealwl.lib, profileengine.lib, edbms.lib. UIDS of the application are: 0x1000007a, 0x1000007a, 0x107d4df2.

gnapplet.rsc is built from gnapplet.rss.

Personal tools