Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 0 additions & 60 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,66 +18,6 @@ permissions:
contents: read

jobs:
check-autotools:
name: Build with gcc and test
runs-on: ubuntu-22.04
steps:
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y libglib2.0 attr automake appstream-compose gettext autopoint bison dbus gtk-doc-tools \
libfuse-dev ostree libostree-dev libarchive-dev libcap-dev libattr1-dev libdw-dev libelf-dev \
libjson-glib-dev shared-mime-info desktop-file-utils libpolkit-agent-1-dev libpolkit-gobject-1-dev \
libseccomp-dev libsystemd-dev libxml2-utils libgpgme11-dev gobject-introspection \
libgirepository1.0-dev libappstream-dev libdconf-dev clang socat flatpak \
libcurl4-gnutls-dev libflatpak-dev libyaml-dev elfutils git patch libarchive-tools \
docbook-xsl xmlto xsltproc git-lfs
- name: Check out flatpak
uses: actions/checkout@v4
with:
submodules: true
- name: configure
run: ./autogen.sh
env:
CFLAGS: -fsanitize=undefined -fsanitize-undefined-trap-on-error -fsanitize=address -O2 -Wp,-D_FORTIFY_SOURCE=2
- name: Build flatpak
run: make -j $(getconf _NPROCESSORS_ONLN)
- name: Run tests
run: make check
env:
ASAN_OPTIONS: detect_leaks=0 # Right now we're not fully clean, but this gets us use-after-free etc
- name: Check distribution
run: make distcheck
env:
ASAN_OPTIONS: detect_leaks=0

clang:
name: Build with clang
runs-on: ubuntu-22.04
steps:
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y libglib2.0 attr automake appstream-compose gettext autopoint bison dbus gtk-doc-tools \
libfuse-dev ostree libostree-dev libarchive-dev libcap-dev libattr1-dev libdw-dev libelf-dev \
libjson-glib-dev shared-mime-info desktop-file-utils libpolkit-agent-1-dev libpolkit-gobject-1-dev \
libseccomp-dev libsystemd-dev libxml2-utils libgpgme11-dev gobject-introspection \
libgirepository1.0-dev libappstream-dev libdconf-dev clang flatpak \
libcurl4-gnutls-dev libflatpak-dev libyaml-dev elfutils git patch libarchive-tools \
docbook-xsl xmlto xsltproc git-lfs
- name: Check out flatpak
uses: actions/checkout@v4
with:
submodules: true
- name: configure
# We disable introspection because it fails with clang: https://bugzilla.redhat.com/show_bug.cgi?id=1543295
run: ./autogen.sh --disable-introspection
env:
CC: clang
CFLAGS: -Werror=unused-variable
- name: Build flatpak
run: make -j $(getconf _NPROCESSORS_ONLN)

check-meson:
name: Ubuntu meson build
runs-on: ${{ matrix.os }}
Expand Down
37 changes: 0 additions & 37 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,35 +1,3 @@
*.la
*.o
*.lo
.deps
.libs
ABOUT-NLS
INSTALL
Makefile
Makefile.in
aclocal.m4
autom4te.cache/
test-driver
compile
config.rpath
config.guess
config.h
config.log
config.status
config.sub
configure
depcomp
install-sh
libtool
ltmain.sh
m4/*.m4
!m4/glibtests.m4
!m4/attributes.m4
missing
stamp-h1
config.h.in
stamp-*
gtk-doc.make
flatpak
flatpak-*.tar.xz
flatpak-session-helper
Expand Down Expand Up @@ -89,12 +57,7 @@ Flatpak-1.0.*
/tests/*.sh.test
/tests/*.sh.trs
po/.intltool-merge-cache
po/Makefile.in.in
po/POTFILES
po/Flatpak.pot
po/Makevars.template
po/Rules-quot
po/flatpak.pot
po/*.gmo
po/*.sed
po/*.header
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "libglnx"]
path = subprojects/libglnx
url = https://gitlab.gnome.org/GNOME/libglnx.git
[submodule "debugedit"]
path = subprojects/debugedit
url = https://sourceware.org/git/debugedit.git
39 changes: 0 additions & 39 deletions .papr.yml

This file was deleted.

9 changes: 5 additions & 4 deletions MAINT.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@
## Releasing

- Update the `NEWS`
- Update version number in `meson.build` and `configure.ac`.
- Update version number in `meson.build`.
- Open a PR titled "Release $VERSION" with the above to see if CI passes.
- Merge the PR to the target branch.
- Check out the target branch, pull the above change locally and make
sure the submodules are correct and checked out.
- Build with `meson` and `make`, with all options enabled.
- Create a tarball with `make dist`. The tarball is created from a
clean checkout. It is produced as `flatpak-builder-$VERSION.tar.xz`.
- Build with `meson`, with all options enabled.
- Create a tarball with `meson dist --include-subprojects -C builddir`.
The tarball is created from a clean checkout. It is produced as
`builddir/meson-dist/flatpak-builder-$VERSION.tar.xz`.
- Verify the project is buildable using the tarball. The tarball MUST
contain the submodule files.

Expand Down
114 changes: 0 additions & 114 deletions Makefile.am

This file was deleted.

Loading