7 files changed, 2 insertions(+), 195 deletions(-)
M .editorconfig
D .github/workflows/flatpak-build.yml
D .github/workflows/msys-build.yml
D .github/workflows/ubuntu-build.yml
D .github/workflows/windows-build.yml
D .lgtm.yml
D .mailmap
M .editorconfig => .editorconfig +2 -2
@@ 5,12 5,12 @@ root = true
[*.{c,cpp,h,hpp,m}]
indent_style = tab
-indent_size = 4
+indent_size = 8
end_of_line = lf
[*.cs]
indent_style = space
-indent_size = 4
+indent_size = 8
end_of_line = lf
[{meson.build,meson_options.txt}]
D .github/workflows/flatpak-build.yml => .github/workflows/flatpak-build.yml +0 -24
@@ 1,24 0,0 @@
-name: Flatpak Build
-on:
- push:
- branches:
- - master
- pull_request:
- branches:
- - master
-
-jobs:
- flatpak_build:
- runs-on: ubuntu-latest
- container:
- image: bilelmoussaoui/flatpak-github-actions:gnome-40
- options: --privileged
- steps:
- - uses: actions/checkout@v2
- with:
- submodules: true
-
- - uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v3
- with:
- bundle: hexchat.flatpak
- manifest-path: flatpak/io.github.Hexchat.json
D .github/workflows/msys-build.yml => .github/workflows/msys-build.yml +0 -47
@@ 1,47 0,0 @@
-name: MSYS2 Build
-on:
- push:
- branches:
- - master
- pull_request:
- branches:
- - master
-
-jobs:
- msys2_build:
- runs-on: windows-latest
- defaults:
- run:
- shell: msys2 {0}
-
- steps:
- - uses: actions/checkout@v2
-
- - uses: msys2/setup-msys2@v2
- with:
- install: >-
- mingw-w64-x86_64-gcc
- mingw-w64-x86_64-pkg-config
- mingw-w64-x86_64-python3-cffi
- mingw-w64-x86_64-meson
- mingw-w64-x86_64-gtk2
- mingw-w64-x86_64-gtk-update-icon-cache
- mingw-w64-x86_64-luajit
- mingw-w64-x86_64-desktop-file-utils
-
- - name: Configure
- run: >-
- meson build
- -Dtext-frontend=true
- -Ddbus=disabled
- -Dwith-upd=false
- -Dwith-perl=false
-
- - name: Build
- run: ninja -C build
-
- - name: Test
- run: ninja -C build test
-
- - name: Install
- run: ninja -C build install
D .github/workflows/ubuntu-build.yml => .github/workflows/ubuntu-build.yml +0 -32
@@ 1,32 0,0 @@
-name: Ubuntu Build
-on:
- push:
- branches:
- - master
- pull_request:
- branches:
- - master
-
-jobs:
- ubuntu_build:
- runs-on: ubuntu-20.04
-
- steps:
- - uses: actions/checkout@v2
-
- - name: Install Dependencies
- run: |
- sudo apt-get update
- sudo apt-get install -y meson libcanberra-dev libdbus-glib-1-dev libglib2.0-dev libgtk2.0-dev libluajit-5.1-dev libpci-dev libperl-dev libssl-dev python3-dev python3-cffi mono-devel desktop-file-utils
-
- - name: Configure
- run: meson build -Dtext=true -Dtheme-manager=true -Dauto_features=enabled
-
- - name: Build
- run: ninja -C build
-
- - name: Test
- run: ninja -C build test
-
- - name: Install
- run: sudo ninja -C build install
D .github/workflows/windows-build.yml => .github/workflows/windows-build.yml +0 -75
@@ 1,75 0,0 @@
-name: Windows Build
-on:
- push:
- branches:
- - master
- pull_request:
- branches:
- - master
-
-jobs:
- windows_build:
- runs-on: windows-2019
- strategy:
- matrix:
- platform: [x64, win32]
- arch: [x64, x86]
- exclude:
- - platform: x64
- arch: x86
- - platform: win32
- arch: x64
- fail-fast: false
-
- steps:
- - uses: actions/checkout@v2
-
- - name: Install Dependencies
- run: |
- New-Item -Name "deps" -ItemType "Directory"
-
- Invoke-WebRequest http://files.jrsoftware.org/is/5/innosetup-5.5.9-unicode.exe -OutFile deps\innosetup-unicode.exe
- & deps\innosetup-unicode.exe /VERYSILENT | Out-Null
-
- Invoke-WebRequest https://dl.hexchat.net/misc/idpsetup-1.5.1.exe -OutFile deps\idpsetup.exe
- & deps\idpsetup.exe /VERYSILENT
-
- Invoke-WebRequest https://dl.hexchat.net/gtk/gtk-${{ matrix.platform }}-2018-08-29-openssl1.1.7z -OutFile deps\gtk-${{ matrix.arch }}.7z
- & 7z.exe x deps\gtk-${{ matrix.arch }}.7z -oC:\gtk-build\gtk
-
- Invoke-WebRequest https://dl.hexchat.net/gtk-win32/gendef-20111031.7z -OutFile deps\gendef.7z
- & 7z.exe x deps\gendef.7z -oC:\gtk-build
-
- Invoke-WebRequest https://dl.hexchat.net/gtk-win32/WinSparkle-20151011.7z -OutFile deps\WinSparkle.7z
- & 7z.exe x deps\WinSparkle.7z -oC:\gtk-build\WinSparkle
-
- Invoke-WebRequest https://dl.hexchat.net/misc/perl/perl-5.20.0-${{ matrix.arch }}.7z -OutFile deps\perl-${{ matrix.arch }}.7z
- & 7z.exe x deps\perl-${{ matrix.arch }}.7z -oC:\gtk-build\perl-5.20\${{ matrix.platform }}
-
- New-Item -Path "c:\gtk-build" -Name "python-3.8" -ItemType "Directory"
- New-Item -Path "c:\gtk-build\python-3.8" -Name "${{ matrix.platform }}" -ItemType "SymbolicLink" -Value "C:/hostedtoolcache/windows/Python/3.8.10/${{ matrix.arch }}"
-
- C:/hostedtoolcache/windows/Python/3.8.10/${{ matrix.arch }}/python.exe -m pip install cffi
- shell: powershell
-
- - name: Build
- run: |
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat"
- msbuild win32\hexchat.sln /m /verbosity:minimal /p:Configuration=Release /p:Platform=${{ matrix.platform }}
- shell: cmd
-
- - name: Preparing Artifacts
- run: |
- move ..\hexchat-build\${{ matrix.platform }}\HexChat*.exe .\
- move ..\hexchat-build .\
- shell: cmd
-
- - uses: actions/upload-artifact@v2
- with:
- name: Installer ${{ matrix.arch }}
- path: HexChat*.exe
-
- - uses: actions/upload-artifact@v2
- with:
- name: Build Files ${{ matrix.arch }}
- path: hexchat-build
D .lgtm.yml => .lgtm.yml +0 -5
@@ 1,5 0,0 @@
-extraction:
- cpp:
- prepare:
- packages:
- - python3-cffi
D .mailmap => .mailmap +0 -10
@@ 1,10 0,0 @@
-Berke Viktor <github.bviktor@outlook.com> <berkeviktor@aol.com>
-Berke Viktor <github.bviktor@outlook.com> <bviktor@hexchat.org>
-Berke Viktor <github.bviktor@outlook.com> <bviktor@outlook.com>
-Berke Viktor <github.bviktor@outlook.com> berkeviktor@aol.com
-Patrick Griffis <tingping@tingping.se> TingPing <tingping@fedoraproject.org>
-Patrick Griffis <tingping@tingping.se> TingPing <tingping@tingping.se>
-Patrick Griffis <tingping@tingping.se> TingPing <tngpng@gmail.com>
-Patrick Griffis <tingping@tingping.se> TingPing <TingPing@users.noreply.github.com>
-Arnav Singh <arnavion@gmail.com> Arnavion
-Eustachy Kapusta <Eustachy.kapusta@gmail.com> tomek