Skip to content

Commit

Permalink
Update deb source pacakge ignore list and add package suggestions
Browse files Browse the repository at this point in the history
IB-7983

Signed-off-by: Raul Metsma <[email protected]>
  • Loading branch information
metsma committed Jun 18, 2024
1 parent c597f9f commit deee918
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 18 deletions.
28 changes: 13 additions & 15 deletions .github/workflows/cmake-linux-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,25 @@ env:
QT_QPA_PLATFORM: offscreen
DEBIAN_FRONTEND: noninteractive
DEBFULLNAME: GitHub build
DEBEMAIL: github-action@github
DEBEMAIL: github-action@github.com
CMAKE_BUILD_PARALLEL_LEVEL: 3

jobs:
build:
runs-on: ubuntu-latest
container: ${{matrix.container}}
container: ubuntu:${{matrix.container}}
strategy:
matrix:
container: ['ubuntu:20.04', 'ubuntu:22.04']
include:
- container: 'ubuntu:20.04'
name: ubuntu2004
- container: 'ubuntu:22.04'
name: ubuntu2204
container: ['20.04', '22.04', '24.04']

steps:
- name: Install dependencies
if: matrix.container == 'ubuntu:20.04'
run: apt update -qq && apt install --no-install-recommends -y git lsb-release fakeroot build-essential devscripts debhelper pkg-config cmake libpcsclite-dev libssl-dev libgtest-dev libqt5svg5-dev qttools5-dev-tools qttools5-dev
if: matrix.container == '20.04'
run: apt update -qq && apt install --no-install-recommends -y git lsb-release fakeroot build-essential devscripts debhelper lintian pkg-config cmake libpcsclite-dev libssl-dev libgtest-dev libqt5svg5-dev qttools5-dev-tools qttools5-dev

- name: Install dependencies
if: matrix.container != 'ubuntu:20.04'
run: apt update -qq && apt install --no-install-recommends -y git lsb-release fakeroot build-essential devscripts debhelper pkg-config cmake libpcsclite-dev libssl-dev libgtest-dev libgl-dev libqt6svg6-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools libqt6core5compat6-dev
if: matrix.container != '20.04'
run: apt update -qq && apt install --no-install-recommends -y git lsb-release fakeroot build-essential devscripts debhelper lintian pkg-config cmake libpcsclite-dev libssl-dev libgtest-dev libgl-dev libqt6svg6-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools libqt6core5compat6-dev

- uses: actions/checkout@v4
with:
Expand All @@ -44,9 +39,12 @@ jobs:
run: |
cmake --build build --config $BUILD_TYPE --target installer
# Debian creates artifacts outside of project dir, copy them back to make them available in the build artifacts
cp -r ../web-eid*.* build/src/app
mv ../web-eid*.* build/
- name: Test package
run: lintian build/*.deb

- uses: actions/upload-artifact@v4
with:
name: web-eid-app-ubuntu-build-${{matrix.name}}-${{github.run_number}}
path: build/src/app/*.*deb
name: web-eid-app-ubuntu-build-ubuntu${{matrix.container}}-${{github.run_number}}
path: build/*.*deb
10 changes: 8 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,35 @@ Description: Web eID application suite (metapackage)

Package: web-eid-native
Architecture: any
Multi-Arch: foreign
Depends: pcscd, ${shlibs:Depends}, ${misc:Depends}
Replaces: token-signing-native
Breaks: token-signing-native
Suggests: web-eid-firefox, web-eid-chrome
Description: Web eID browser extension helper application
Native messaging host for Web eID Chrome and Firefox extensions that performs
cryptographic digital signing and authentication operations with electronic ID
smart cards. Also works standalone without extensions in command-line mode.

Package: web-eid-firefox
Architecture: all
Depends: jq, web-eid-native (= ${binary:Version})
Depends: jq, web-eid-native
Replaces: token-signing-firefox
Breaks: token-signing-firefox
Suggests: firefox
Enhances: firefox
Description: Web eID browser extension for Firefox
The Web eID extension for Firefox communicates with the Web eID native
application using Native messaging to enable usage of electronic ID smart
cards for secure authentication and digital signing of documents on the web.

Package: web-eid-chrome
Architecture: all
Depends: web-eid-native (= ${binary:Version})
Depends: web-eid-native
Replaces: token-signing-chrome
Breaks: token-signing-chrome
Suggests: chromium, chromium-browser, chrome
Enhances: chromium, chromium-browser, chrome
Description: Web eID browser extension for Chrome
The Web eID extension for Chrome communicates with the Web eID native
application using Native messaging to enable usage of electronic ID smart
Expand Down
3 changes: 2 additions & 1 deletion debian/source/options
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
tar-ignore = "build/*"
tar-ignore
tar-ignore = build

0 comments on commit deee918

Please sign in to comment.