在Fedora-Workstation-Live-x86_64-36-1.5中编译安装信使iptux0.7.6
https://github.com/iptux-src/iptux/tree/v0.7.6
下载信使iptux-0.7.6.zip,类似飞鸽传书ipmsg,已经尝试过0.8.3版本不成功
[root@fedora ~]# unzip /home/ruhong/download/iptux-0.7.6.zip -d /root
[root@fedora ~]# cd iptux-0.7.6
用文本编辑器打开README.md有讲解安装步骤
[root@fedora iptux-0.7.6]# mkdir build
[root@fedora iptux-0.7.6]# cd build/
[root@fedora build]# dnf install gcc-c++ cmake gtk2-devel GConf2-devel jsoncpp-devel.x86_64 gtest-devel.x86_64 gstreamer1-devel.x86_64
[root@fedora build]# cmake …
cmake后接空格和两个英文句点
…………
– Configuring done
– Generating done
– Build files have been written to: /root/iptux-0.7.6/build/src/googletest-download
[ 11%] Creating directories for ‘googletest’
[ 22%] Performing download step (download, verify and extract) for ‘googletest’
– Downloading…
dst=‘/root/iptux-0.7.6/build/src/googletest-download/googletest-prefix/src/release-1.8.0.tar.gz’
timeout=‘none’
inactivity timeout=‘none’
– Using src=‘https://github.com/google/googletest/archive/release-1.8.0.tar.gz’
停留许久也没有下载完成,参考网站:https://github.com/google/googletest/tags?after=release-1.8.1
[root@fedora iptux-0.7.6]# vim /root/iptux-0.7.6/src/googletest-download/CMakeLists.txt.in
将URL https://github.com/google/googletest/archive/release-1.8.0.tar.gz
改为URL https://github.com/google/googletest/archive/refs/tags/release-1.8.0.tar.gz
[root@fedora build]# cmake …
– Downloading…
dst=‘/root/iptux-0.7.6/build/src/googletest-download/googletest-prefix/src/release-1.8.0.tar.gz’
timeout=‘none’
inactivity timeout=‘none’
– Using src=‘https://github.com/google/googletest/archive/refs/tags/release-1.8.0.tar.gz’
– [download 0% complete]
– [download 1% complete]
– [download 2% complete]
– [download 3% complete]
– [download 4% complete]
…………
– [download 96% complete]
– [download 97% complete]
– [download 98% complete]
– [download 99% complete]
– [download 100% complete]
– verifying file…
file=‘/root/iptux-0.7.6/build/src/googletest-download/googletest-prefix/src/release-1.8.0.tar.gz’
– Downloading… done
…………
[root@fedora build]# make
…………
[ 50%] Building CXX object src/iptux/CMakeFiles/iptux.dir/StatusIcon.cpp.o
[ 52%] Building CXX object src/iptux/CMakeFiles/iptux.dir/support.cpp.o
[ 54%] Building CXX object src/iptux/CMakeFiles/iptux.dir/TcpData.cpp.o
[ 56%] Building CXX object src/iptux/CMakeFiles/iptux.dir/UdpData.cpp.o
[ 58%] Building CXX object src/iptux/CMakeFiles/iptux.dir/utils.cpp.o
[ 60%] Building CXX object src/iptux/CMakeFiles/iptux.dir/wrapper.cpp.o
[ 62%] Building CXX object src/iptux/CMakeFiles/iptux.dir/WindowConfig.cpp.o
…………
[root@fedora build]# make install
Consolidate compiler generated dependencies of target iptux
[ 64%] Built target iptux
Consolidate compiler generated dependencies of target libiptux_test
[ 72%] Built target libiptux_test
Consolidate compiler generated dependencies of target iptuxbin
[ 76%] Built target iptuxbin
[100%] Built target translations_1
Install the project…
– Install configuration: “”
– Installing: /usr/local/bin/iptux
– Installing: /usr/local/share/locale/de/LC_MESSAGES/iptux.mo
– Installing: /usr/local/share/locale/en_GB/LC_MESSAGES/iptux.mo
– Installing: /usr/local/share/locale/es/LC_MESSAGES/iptux.mo
– Installing: /usr/local/share/locale/fr/LC_MESSAGES/iptux.mo
– Installing: /usr/local/share/locale/gl/LC_MESSAGES/iptux.mo
…………
应用程序——互联网——信使iptux——工具——首选项——系统——候选网络编码gb18030,big5——首选网络编码gb18030
安卓手机安装飞鸽传书app与信使iptux是可以互通文字,信使可以发送文件到手机飞鸽传书,但手机飞鸽传书不能发送文件到台式机信使iptux,已经打开2425端口了,还不清楚什么原因阻止传送
需要卸载时
[root@fedora build]# make uninstall
make: *** 没有规则可制作目标“uninstall”。 停止。
所以要自己编写一个删除的bash脚本
[root@fedora build]# vim remove_iptux.bash
#!/bin/bash
rm -f /usr/local/bin/iptux
rm -f /usr/local/share/locale/de/LC_MESSAGES/iptux.mo
rm -f /usr/local/share/locale/en_GB/LC_MESSAGES/iptux.mo
rm -f /usr/local/share/locale/es/LC_MESSAGES/iptux.mo
rm -f /usr/local/share/locale/fr/LC_MESSAGES/iptux.mo
rm -f /usr/local/share/locale/gl/LC_MESSAGES/iptux.mo
rm -f /usr/local/share/locale/it/LC_MESSAGES/iptux.mo
rm -f /usr/local/share/locale/lb/LC_MESSAGES/iptux.mo
rm -f /usr/local/share/locale/pl/LC_MESSAGES/iptux.mo
rm -f /usr/local/share/locale/pt_BR/LC_MESSAGES/iptux.mo
rm -f /usr/local/share/locale/ru/LC_MESSAGES/iptux.mo
rm -f /usr/local/share/locale/zh_CN/LC_MESSAGES/iptux.mo
rm -f /usr/local/share/locale/zh_TW/LC_MESSAGES/iptux.mo
rm -rf /usr/local/share/iptux/
rm -f /usr/local/share/applications/iptux.desktop
rm -f /usr/local/share/icons/hicolor/16x16/apps/iptux-i.png
rm -f /usr/local/share/icons/hicolor/16x16/apps/iptux.png
rm -f /usr/local/share/icons/hicolor/32x32/apps/iptux-i.png
rm -f /usr/local/share/icons/hicolor/32x32/apps/iptux.png
rm -f /usr/local/share/icons/hicolor/22x22/apps/iptux-i.png
rm -f /usr/local/share/icons/hicolor/22x22/apps/iptux.png
rm -f /usr/local/share/icons/hicolor/48x48/apps/iptux-i.png
rm -f /usr/local/share/icons/hicolor/48x48/apps/iptux.png
rm -f /usr/local/share/icons/hicolor/24x24/apps/iptux-i.png
rm -f /usr/local/share/icons/hicolor/24x24/apps/iptux.png
rm -f /usr/local/share/icons/hicolor/64x64/apps/iptux-i.png
rm -f /usr/local/share/icons/hicolor/64x64/apps/iptux.png
[root@fedora build]# bash -xv remove_iptux.bash
执行脚本就能删除了