Step by step build KOffice for Embedded Linux

时间:2022-02-28 16:33:39

I've tested it in Amlogic AM8726.  Below is my git log.


Prepares:

.  Arm libc Toolchain

. Buildroot 2011.11

. AM8726 Linux Kernel


bug #1343: Configuration for Linux X11.

- A working Linux X11 system on Amlogic 8726M.
  . Merged the Amlogic filesystem skeleton.
  . Added a working X11 configuration file: config/uconfig/amlogic_x11_config.


- Testing steps
  . Environment variables
    export DISPLAY=:0.0
  . Commands
    $ X &
    $ xclock
    $ xcalc


- Existing problems
  . Touch panel calibrating, need to a correct Xorg.conf to config it?


bug #1344: Modify QT/Embedded to QT/X11
- Modified for change QT/Embedded to QT/X11
  . Add QT/X11 configuration file: package/qt/Config.x11.in
  . Added a working QTX11 configuration file: config/uconfig/amlogic_qtx11_config.


- Testing steps
  . Run the demo QT/X11 programs
    $ /usr/share/qt/demos/mainwindow/mainwindow
    $ /usr/share/qt/demos/spreadsheet/spreadsheet
    $ /usr/share/qt/demos/xxxx/xxxx


- Existing problems
  . Unknown
  
bug #1345 : Add KDE KSupport to support the KOffice
- Add packages to compile the kde support
  . Add KDE support packages under package/ksupport
  . Add KDE support dependency packages under package/kmisc
  . Modify the file package/Makefile.cmake.in to support the cmake building outside the sources.
  . Import the packages boost and boost-jam.


- Existing problems
  . Some KDE building utilities (automoc4 etc.) which were generated by KDE support packages run in host machine.
  . The package ksupport/akonadi need set qt plugins.


bug #1346 : Add kdelibs of KDE for KOffice
- Add kdelibs package
  . Add kdelibs packag and dependency packages.


- Existing problems
  . Some KDE building utilities (meinproc4, icemaker, kconfig_compiler etc.) which were generated by KDE kdelibs packages run in host machine.


bug #1347: Add kdepimlibs package
- Add kdepimlibs package
  . Add kdelibs packag and dependency packages.


- Existing problems
  . Some KDE building utilities (meinproc4, icemaker, kconfig_compiler etc.) which were generated by KDE kdelibs packages run in host machine.


bug #1348: Add KOffice packages
- Add koffice package
  . Add koffice and related packages.
  . Modify the environmental viriables (/etc/profile) for run koffice
  . Add oxygen icon theme
  . Fix the package libspnav cross-compiling problem.
  . Add koffice configuration file


- Testing steps
  $ . /etc/profile
  $ X &
  $ kdeinit4 kword               (doc viewer)
  $ kdeinit4 kpresenter       (ppt viewer)
  $ kdeinit4 kspread            (xls viewer)

  $ kdeinit4 okular               (pdf viewer)


- Existing problems
  . "/usr/share/applications/kde4/koffice.desktop" 
  . (KIconLoader): Error: standard icon theme "oxygen" not found! 
  . Some KDE building utilities ( recordsxml2cpp etc.) which were generated by KDE koffice packages run in host machine.

  . More building problems, see docs/kde/build-koffice.txt