Skip to content

Commit

Permalink
Debian, GitHub-CI/build_debs_Debian-stable: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
meebey committed Jul 1, 2023
1 parent 02b358a commit 3e4b505
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/auto-ci-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,12 +268,18 @@ jobs:
grep deb /etc/apt/sources.list /etc/apt/sources.list.d/* | grep -v ":#"
apt update
apt install --yes sudo moreutils
- name: install build dependencies from debian/control
# we can't use debian/control to satisfy the build dependencies on Debian
# 12 (bookwarm) as log4net was removed from the archive. Thus we rely on the
# bundled libraries instead.
#- name: install build dependencies from debian/control
# run: |
# sudo apt install --yes devscripts equivs
# sudo mk-build-deps debian/control
# dpkg --info ./smuxi-build-deps_*.deb
# sudo apt install --yes ./smuxi-build-deps_*.deb
- name: install build dependencies
run: |
sudo apt install --yes devscripts equivs
sudo mk-build-deps debian/control
dpkg --info ./smuxi-build-deps_*.deb
sudo apt install --yes ./smuxi-build-deps_*.deb
sudo apt install --yes build-essential git autoconf automake intltool mono-devel mono-xbuild libnini-cil-dev libgtk2.0-cil-dev libdbus2.0-cil-dev libdbus-glib2.0-cil-dev libstfl-dev lsb-release
- name: check mono version
run: |
mono --version
Expand All @@ -284,9 +290,12 @@ jobs:
- name: prepare build
run: |
./autogen.sh
- name: install tools for building debs
run: |
sudo apt install --yes build-essential debhelper cli-common-dev
- name: build debs
run: |
dpkg-buildpackage -us -uc -rfakeroot --build=binary
dpkg-buildpackage -us -uc -rfakeroot --build=binary --no-check-builddeps
build_debs_Debian-unstable:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ override_dh_auto_configure:
--enable-frontend-gnome \
--enable-frontend-stfl \
--with-db4o=included \
--with-notify \
--with-dbus \
$(DISABLE_JABBR) \
GMCS=/usr/bin/mono-csc MCS=/usr/bin/mono-csc
# --with-notif \ # Debian 12 (bookworm) does not ship with notify-sharp

# disable "make check"
override_dh_auto_test:
Expand Down

0 comments on commit 3e4b505

Please sign in to comment.