Skip to content

Commit

Permalink
build: require gettext
Browse files Browse the repository at this point in the history
  • Loading branch information
bk138 committed Jan 5, 2025
1 parent 973ff82 commit a7cf891
Show file tree
Hide file tree
Showing 104 changed files with 20,792 additions and 20,792 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
BasedOnStyle: LLVM
BasedOnStyle: LLVM
IndentWidth: 4
128 changes: 64 additions & 64 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,64 +1,64 @@
name: CI

on: [push, pull_request]

jobs:
build:
strategy:
matrix:
os:
- ubuntu-24.04
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: Check translations
if: ${{ matrix.os == 'ubuntu-24.04' }}
run: |
for f in po/*.po; do grep -LE '^msgid "translator-credits"' $f ; done
- name: Install Ubuntu Build Dependencies
if: ${{ matrix.os == 'ubuntu-24.04' }}
run: |
sudo apt update
sudo apt install gettext libwxgtk3.2-dev libgtk-3-dev libgcrypt20-dev liblzo2-dev
- name: Install MacOS Build Dependencies
if: ${{ matrix.os == 'macos-latest' }}
run: |
brew uninstall --ignore-dependencies gnutls libgcrypt
brew install wxwidgets
- name: Install Windows Build Dependencies
if: ${{ matrix.os == 'windows-latest' }}
uses: johnwason/vcpkg-action@v6
id: vcpkg
with:
pkgs: wxwidgets gettext[tools]
triplet: x64-windows
token: ${{ github.token }}
- name: Build
run: |
mkdir build
cd build
cmake ${{ steps.vcpkg.outputs.vcpkg-cmake-config }} ..
cmake --build .
cpack -V -C Debug
- name: Archive Ubuntu Build Artifacts
if: ${{ matrix.os == 'ubuntu-24.04' }}
uses: actions/upload-artifact@v3
with:
name: MultiVNC Debian Package
path: build/*.deb
- name: Archive MacOS Build Artifacts
if: ${{ matrix.os == 'macos-latest' }}
uses: actions/upload-artifact@v3
with:
name: MultiVNC MacOS Package
path: build/*.dmg
- name: Archive Windows Build Artifacts
if: ${{ matrix.os == 'windows-latest' }}
uses: actions/upload-artifact@v3
with:
name: MultiVNC Windows Package
path: build/*.exe
name: CI

on: [push, pull_request]

jobs:
build:
strategy:
matrix:
os:
- ubuntu-24.04
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: Check translations
if: ${{ matrix.os == 'ubuntu-24.04' }}
run: |
for f in po/*.po; do grep -LE '^msgid "translator-credits"' $f ; done
- name: Install Ubuntu Build Dependencies
if: ${{ matrix.os == 'ubuntu-24.04' }}
run: |
sudo apt update
sudo apt install gettext libwxgtk3.2-dev libgtk-3-dev libgcrypt20-dev liblzo2-dev
- name: Install MacOS Build Dependencies
if: ${{ matrix.os == 'macos-latest' }}
run: |
brew uninstall --ignore-dependencies gnutls libgcrypt
brew install wxwidgets
- name: Install Windows Build Dependencies
if: ${{ matrix.os == 'windows-latest' }}
uses: johnwason/vcpkg-action@v6
id: vcpkg
with:
pkgs: wxwidgets gettext[tools]
triplet: x64-windows
token: ${{ github.token }}
- name: Build
run: |
mkdir build
cd build
cmake ${{ steps.vcpkg.outputs.vcpkg-cmake-config }} ..
cmake --build .
cpack -V -C Debug
- name: Archive Ubuntu Build Artifacts
if: ${{ matrix.os == 'ubuntu-24.04' }}
uses: actions/upload-artifact@v3
with:
name: MultiVNC Debian Package
path: build/*.deb
- name: Archive MacOS Build Artifacts
if: ${{ matrix.os == 'macos-latest' }}
uses: actions/upload-artifact@v3
with:
name: MultiVNC MacOS Package
path: build/*.dmg
- name: Archive Windows Build Artifacts
if: ${{ matrix.os == 'windows-latest' }}
uses: actions/upload-artifact@v3
with:
name: MultiVNC Windows Package
path: build/*.exe
90 changes: 45 additions & 45 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
# Backup files
*~

# Generated header files
config.h

# Compiled Object files
*.o
*.obj

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Compiled Static libraries
*.a
*.lib

# Executables
*.exe
*.app

# CMake files
CMakeCache.txt
CMakeFiles
CMakeScripts
Makefile
*.cmake
compile_commands.json
build/*

# Flatpak artifacts
.flatpak-builder
flatpak/build-dir/

# MacOS artifacts
macos/build-dir/

# ccls cache
.ccls-cache/
.cache/

# OS files
.DS_Store
# Backup files
*~

# Generated header files
config.h

# Compiled Object files
*.o
*.obj

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Compiled Static libraries
*.a
*.lib

# Executables
*.exe
*.app

# CMake files
CMakeCache.txt
CMakeFiles
CMakeScripts
Makefile
*.cmake
compile_commands.json
build/*

# Flatpak artifacts
.flatpak-builder
flatpak/build-dir/

# MacOS artifacts
macos/build-dir/

# ccls cache
.ccls-cache/
.cache/

# OS files
.DS_Store
36 changes: 18 additions & 18 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[submodule "src/wxServDisc"]
path = libwxservdisc
url = https://github.com/bk138/wxservdisc.git
[submodule "libvncserver"]
path = libvncserver
url = https://github.com/LibVNC/libvncserver.git
[submodule "libjpeg-turbo"]
path = libjpeg-turbo
url = https://github.com/libjpeg-turbo/libjpeg-turbo.git
[submodule "libressl"]
path = libressl
url = https://github.com/libressl-portable/portable.git
[submodule "libssh2"]
path = libssh2
url = https://github.com/libssh2/libssh2.git
[submodule "libsshtunnel"]
path = libsshtunnel
url = https://github.com/bk138/libsshtunnel.git
[submodule "src/wxServDisc"]
path = libwxservdisc
url = https://github.com/bk138/wxservdisc.git
[submodule "libvncserver"]
path = libvncserver
url = https://github.com/LibVNC/libvncserver.git
[submodule "libjpeg-turbo"]
path = libjpeg-turbo
url = https://github.com/libjpeg-turbo/libjpeg-turbo.git
[submodule "libressl"]
path = libressl
url = https://github.com/libressl-portable/portable.git
[submodule "libssh2"]
path = libssh2
url = https://github.com/libssh2/libssh2.git
[submodule "libsshtunnel"]
path = libsshtunnel
url = https://github.com/bk138/libsshtunnel.git
6 changes: 3 additions & 3 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Christian Beier <[email protected]>
Evgeny Zinoviev <[email protected]>
Audrey Dutcher <[email protected]>
Christian Beier <[email protected]>
Evgeny Zinoviev <[email protected]>
Audrey Dutcher <[email protected]>
Loading

0 comments on commit a7cf891

Please sign in to comment.