Note: The source code of the interface module is given here, and the Libfetion library (32 bits) is put in the form of a static library.
1: Build the compilation environment:
Execute the following command on the terminal:
sudo apt install automake
sudo apt install Libc-dev
sudo apt install g++
sudo apt install Libcurl4-gnutls-dev
sudo apt install libqt4-dev qt4-dev-tools
2: Download the source code:
SOURCE Download: http://www.libfetion.cn/Linux_demoapp_download.html
Decompression command: TAR-ZXVF linux_fetion-0.*.*.tar.gz
Entering source code directory: CD linux_fetion-0.*.*
(64 users are required to perform:./64_libfetion.sh scripts)
Run compilation command: Qmake-qt4;make
Setup:./install.sh
Note: QT version is 4.3.*.
If you are using the following version of 4.2.*, you can:
(1) Use 4.2.* version of the designer program to open the compilation error *.ui file.
(2) Comment out some 4.2.* functions that are not in the version.
Note: The information has been voided!!!
3: Program Packaging:
3.1: List of resource documents
Fetion_utf8_cn.qm
Image
Sound
Fetion.png
When packing, place fetion_utf8_cn.qm,sound and image in:/usr/share/libfetion/folder,
Fetion.png is placed under the/usr/share/pixmaps/and/usr/share/app-install/icons/folders.
3.2:desktop file:
Place the libfetion.desktop in the source file directory under the/usr/share/applications directory.
3.3: Main Program Files
Put linux-fetion in the/usr/bin directory
3.4:deb Package Control File Template
Package:linux-fetion
version:0.2.0
architecture:i386 + Your system info
Maintainer:your Info
Installed-size: ...
DEPENDS:LIBC6 (>= 2.3.6-6), LIBGCC1 (>= 1:4.1.1-12), libstdc++6 (>= 4.1.1-12) libqt ....
Section:kde
Priority:optional
Description:linux fetion a KDE IM client, Using the S fetion Kyoto.
.
* homepage:http://www.libfetion.cn
.
* Using Libfetion Library, can develop the third fetion client applictions on LINUX, OS, Windows, ECOS, uclinux Keyboard-based Bae.