Compare commits

...

6 Commits

Author SHA1 Message Date
Kevin Yue
2761f7521a ci: assert no library missing 2022-10-30 21:48:46 +08:00
Kevin Yue
c3939a774b fix: update qtkeychain 2022-10-30 21:35:36 +08:00
Kevin Yue
49e5242bf2 ci: run gpclient after build 2022-10-30 21:28:26 +08:00
Kevin Yue
3181d37b20 fix: add qtkeychain 2022-10-30 21:21:47 +08:00
Kevin Yue
6d788a5e91 chore: update CMake file 2022-10-30 21:15:17 +08:00
VJatla
74c7549444
Added install instructions for MX Linux. (#190) 2022-10-30 19:07:27 +08:00
8 changed files with 30 additions and 9 deletions

View File

@ -31,6 +31,8 @@ jobs:
- name: Build
run: |
./scripts/install-ubuntu.sh
# assert no library missing
test $(ldd $(which gpclient) | grep 'not found' | wc -l) -eq 0
snapshot-archive-all:
if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/develop' }}

View File

@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-18.04, ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
@ -28,4 +28,6 @@ jobs:
- name: Build
run: |
./scripts/install-ubuntu.sh
./scripts/install-ubuntu.sh
# assert no library missing
test $(ldd $(which gpclient) | grep 'not found' | wc -l) -eq 0

View File

@ -87,7 +87,11 @@ set(qtkeychain_INCLUDE_DIR "${SOURCE_DIR}")
set(qtkeychain_BINARY_DIR "${BINARY_DIR}")
set(qtkeychain_LIBRARY ${BINARY_DIR}/libqt5keychain.so)
add_dependencies(gpclient SingleApplication-${PROJECT_NAME} plog-${PROJECT_NAME} qtkeychain-${PROJECT_NAME})
add_dependencies(gpclient
SingleApplication-${PROJECT_NAME}
plog-${PROJECT_NAME}
qtkeychain-${PROJECT_NAME}
)
target_include_directories(gpclient PRIVATE
${CMAKE_BINARY_DIR}

View File

@ -97,6 +97,14 @@ git clone https://github.com/yuezk/GlobalProtect-openconnect.git
cd GlobalProtect-openconnect
```
### MX Linux
The following instructions are for **MX-21.2.1_x64 KDE**.
```sh
sudo apt install qttools5-dev libsecret-1-dev libqt5keychain1
./scripts/install-debian.sh
```
### Ubuntu/Mint
> **⚠️ REQUIRED for Ubuntu 18.04 ⚠️**
@ -138,6 +146,7 @@ Install the Qt5 dependencies and OpenConnect:
- QtWebSockets
- QtDBus
- openconnect v8.x
- qtkeychain
...then build and install with:

View File

@ -6,6 +6,7 @@ sudo apt-get install -y \
qtbase5-dev \
libqt5websockets5-dev \
qtwebengine5-dev \
openconnect
openconnect \
libqt5keychain1
./scripts/install.sh

View File

@ -4,6 +4,7 @@ sudo dnf install -y \
qt5-qtbase-devel \
qt5-qtwebengine-devel \
qt5-qtwebsockets-devel \
openconnect
openconnect \
qtkeychain
./scripts/install.sh
./scripts/install.sh

View File

@ -4,6 +4,7 @@ sudo zypper install -y \
libqt5-qtbase-devel \
libqt5-qtwebsockets-devel \
libqt5-qtwebengine-devel \
openconnect
openconnect \
qtkeychain-qt5
./scripts/install.sh
./scripts/install.sh

View File

@ -7,6 +7,7 @@ sudo apt-get install -y \
libqt5websockets5-dev \
qtwebengine5-dev \
qttools5-dev \
openconnect
openconnect \
libqt5keychain1
./scripts/install.sh