Commit Graph

60 Commits

Author SHA1 Message Date
Simon McVittie e9885d87f9 d/rules: Update for removal of libreaddir-rand.so LD_PRELOAD module 2022-11-25 10:54:05 +00:00
Simon McVittie f59d3ae52b Revert "d/control, d/rules: Disable gjs-based tests on armel"
This reverts commit 87c78f16ad.
Adrian Bunk and Mike Hommey were able to fix mozjs102 on armel, so we
can continue to have gjs on that architecture for Debian 12.
2022-09-25 10:28:02 +01:00
Simon McVittie f360f428e2 d/control, d/rules: Re-enable gjs tests on s390x 2022-08-31 09:47:24 +01:00
Simon McVittie 87c78f16ad d/control, d/rules: Disable gjs-based tests on armel
It's looking as though mozjs102, and therefore the next gjs release,
will not support armel due to its lack of atomic instructions.
2022-08-31 09:45:39 +01:00
Simon McVittie 53261afd32 Build with libcurl http backend instead of libsoup2.4
This avoids library conflicts during the transition to GNOME 43, in
which core apps and libraries have switched to libsoup3, which conflicts
with libsoup2.4.

We still build-depend on libsoup2.4, because it's used in the test suite
and installed-tests.

Closes: #1016589
2022-08-05 09:59:13 +01:00
Simon McVittie 7415533195 d/rules: Correct argument used to disable gjs on s390x 2022-03-08 16:16:13 +00:00
Simon McVittie 9fc298f4bb d/rules: Explicitly disable JS-based tests where unreliable
Otherwise we'd build and install these tests if gjs (maybe an old
version) happens to be installed, despite it not being in Build-Depends.
2022-03-08 09:59:30 +00:00
Simon McVittie e8b0f6c783 Bump debhelper compat level from 12 to 13
- debian/rules: Drop --fail-missing argument to dh_missing, which is
  now the default.

Changes-By: lintian-brush
Fixes: lintian: package-uses-old-debhelper-compat-version
See-also: https://lintian.debian.org/tags/package-uses-old-debhelper-compat-version.html
2021-10-05 23:03:53 +01:00
Simon McVittie 5518c1c923 d/rules: Normalize permissions of installed-tests 2021-08-20 13:04:17 +01:00
Simon McVittie ad048c8b0a Re-enable gjs tests on architectures where it is available 2021-06-22 10:47:45 +01:00
Simon McVittie c69326077a d/rules: Declare that we have grub >= 2.02
Debian's grub packaging runs grub-install in postinst, so we should be
able to rely on grub actually getting updated.
2021-04-14 13:53:48 +01:00
Simon McVittie 4137abb2df d/rules: Don't explicitly use --as-needed linker option
It's the default with bullseye toolchains.
2020-04-27 08:19:58 +01:00
Felix Krull 9572f7e4f2 Enable ostree-boot package 2019-08-27 19:21:13 +02:00
Simon McVittie 818cd1c649 Use debhelper-compat 12 2019-07-09 20:11:20 +01:00
Simon McVittie b7fb58abd6 Skip installation of new ostree-finalize-staged.path unit, which should be in ostree-boot when added (see #824650) 2018-10-30 13:50:20 +00:00
Simon McVittie 5e9ba0ab65 Use upstream default ${libexecdir}
Now that Debian Policy allows /usr/libexec (via FHS 3.0), we can use
that.
2018-07-25 23:44:41 +01:00
Simon McVittie 83716f0d5d Revert "Use upstream default ${libexecdir} now that Debian Policy allows /usr/libexec (via FHS 3.0)"
This reverts commit 7f39916226.
2018-07-25 11:33:39 +01:00
Simon McVittie 7f39916226 Use upstream default ${libexecdir} now that Debian Policy allows /usr/libexec (via FHS 3.0) 2018-07-04 13:38:56 +01:00
Simon McVittie da28448005 d/rules: Explicitly enable various desired libraries 2018-06-08 10:43:11 +01:00
Simon McVittie 79dd1ee01e Update for new lib/systemd/system/ostree-finalize-staged.service
- d/ostree-boot.install: Add new systemd service
    lib/systemd/system/ostree-finalize-staged.service
  - d/rules: Remove lib/systemd/system/ostree-finalize-staged.service
    until we build ostree-boot
2018-05-15 11:30:01 +01:00
Simon McVittie 667769f6a4 New upstream release
* Update symbols file
* Drop all patches, including one that was previously considered to
  be Debian-specific (moving to Python 3 for tests)
* d/copyright: Update
2018-03-24 19:19:40 +00:00
Simon McVittie fb6dba45de Temporarily disable gjs tests
gjs is not currently installable on buildds due to the glibc transition
and a long dependency chain involving systemd-shim being preferred over
systemd-sysv, which ends with libnih1 Depends: libc6 (<< 2.26).
2018-01-04 19:26:09 +00:00
Simon McVittie 382875db78 d/rules: Stop forcing C.UTF-8 locale: the tests now do this internally 2018-01-02 14:07:47 +00:00
Simon McVittie 022fab56dc d/rules: Make the new test executable 2017-10-26 23:49:52 +01:00
Simon McVittie 50a43a9279 Disable gtk-doc if we are not going to build libostree-doc
In particular this affects architecture-specific builds. Note that it
remains in Build-Depends (not Build-Depends-Indep) because it is also
needed for gtkdocize during dh_autoreconf.
2017-10-16 10:15:51 +01:00
Simon McVittie 4e19e1f4cd Stop providing "ostree trivial-httpd" CLI
This follows upstream default behaviour. flatpak used to use it in its
tests, but the version in stable no longer does.
2017-09-15 16:58:11 +01:00
Simon McVittie 8f5e0a5127 Stop copying an old ostree-trivial-httpd.xml from debian/dist/ into source tree
Upstream distributes it again.
2017-09-15 15:00:45 +01:00
Simon McVittie d072890c9d Classify new ostree-tmpfiles.conf as part of ostree-boot, and so don't install it yet 2017-09-15 11:42:31 +01:00
Simon McVittie cc69c02abe Only run tests when building architecture-dependent packages
The tests aren't so interesting that we want to run them again when
splitting -arch/-indep builds.
2017-08-29 16:36:05 +01:00
Simon McVittie 54799d7ef7 Use dh_missing --fail-missing instead of dh_install --fail-missing 2017-08-29 16:19:27 +01:00
Simon McVittie 85bbb2be51 debian/rules: Adjust a comment to avoid Lintian thinking this is a dh_make template 2017-07-28 13:52:51 +01:00
Simon McVittie f1e4258bad Implement <nodoc> build profile 2017-06-21 11:11:13 +01:00
Simon McVittie 64a4bfeb50 debian/dist/: Add ostree-trivial-httpd.xml, which was incorrectly excluded from the upstream release 2017-06-21 10:31:06 +01:00
Simon McVittie 9076a0140d Skip build-time tests when nocheck is in DEB_BUILD_OPTIONS
Bug-Debian: https://bugs.debian.org/862803
Thanks: Krzesimir Nowak
2017-05-25 10:01:05 +01:00
Simon McVittie 86aec54abc New upstream release
- Update debian/copyright
- Update disabled ostree-boot packaging for new systemd generator
- Add new ABI to symbols file
2017-05-24 22:18:40 +01:00
Simon McVittie e5a6e848b6 d/rules: Explicitly enable trivial-httpd: the tests still need it 2017-04-17 16:10:14 +01:00
Simon McVittie b5ec28689a Cope with more files having moved to /usr/lib/libostree 2017-03-11 19:21:22 +00:00
Simon McVittie 7855081a11 Fix permissions and #! lines for some tests in the upstream build system
d/rules: remove workarounds for script permissions.
The upstream build system now uses the intended permissions throughout.

Retain explicit chmod for *.js, which dh_fixperms assumes should not be executable.
2017-01-19 12:07:39 +00:00
Simon McVittie 15be1f569a Force LC_ALL=C.UTF-8 during build
So that builds in non-English locales can pass their build-time tests.
2016-10-08 15:38:11 +01:00
Simon McVittie e80d02f1f5 Fetch missing test files from upstream git
- debian/rules: make the missing scripts executable
2016-10-07 23:39:03 +01:00
Simon McVittie c8048cce30 Move to debhelper compat level 10
- stop using dh --parallel, it's the default now
  - don't use autoreconf and systemd addons explicitly, they are
    the default now
2016-10-07 22:16:17 +01:00
Simon McVittie a5d90759a7 New upstream version
- update symbols file for new ABI
  - update copyright file
  - update ostree-boot packaging: the utilities in /usr/sbin moved to
    /usr/lib/ostree
2016-09-06 09:32:41 +01:00
Simon McVittie 3691da8fbf debian/test.sh: factor out our dh_auto_test wrapper
Clean up any stray processes even if the test fails.

Signed-off-by: Simon McVittie <smcv@debian.org>
2016-06-12 09:49:25 -04:00
Simon McVittie 5e30fe4bb9 Remove ostree-grub2 and the boot-related parts of ostree
This leaves behind the library and the command-line tool, which are
also used by Flatpak. When we have documentation for how to use and test
OSTree deployments with a Debian derivative (see #824649), they should
be reinstated in an ostree-boot package (see #824650).
2016-06-08 21:04:59 +01:00
Simon McVittie 6aaf72e743 Work around #821235 to avoid undefined macro 'AQ' in some man pages 2016-04-17 09:40:21 +01:00
Simon McVittie 7d3139cd7a Widen regex for killing stray gpg-agent processes 2016-04-16 23:07:31 +01:00
Simon McVittie 8500761c13 debian/rules: use Debian's grub2-mkconfig path 2016-04-16 22:25:30 +01:00
Simon McVittie 8d30b20a8b Run dh_auto_test with VERBOSE=1, to get logs with older debhelper 2016-03-31 13:22:53 +01:00
Simon McVittie e8723aca57 debian/rules, debian/ostree-tests.install: adjust for new installation directory for installed-tests 2016-03-31 09:24:00 +01:00
Simon McVittie 00272963ef debian/rules: clean up stale gpg-agent processes after testing 2016-03-31 09:21:59 +01:00