Simon McVittie
32a32274e8
d/rules: Accept minor rendering differences in label-background test
...
Workaround for GNOME/gtk#5545
2023-01-24 18:33:42 +00:00
Simon McVittie
c0cbd29ec6
d/rules: Install README.md instead of README
2023-01-03 15:09:32 +00:00
Simon McVittie
e445abe61b
d/rules: Stop trying to install AUTHORS, no longer shipped upstream
2023-01-03 14:42:41 +00:00
Simon McVittie
5caddaf2e2
d/rules: Remove Autotools remnants
...
Upstream releases are now built with Meson.
2023-01-03 10:16:12 +00:00
Simon McVittie
7c271ab98e
Force software rendering during tests
...
Workaround for Mesa regression #1025312 . We expect only software
rendering to be available in a buildd or autopkgtest environment anyway.
2022-12-02 15:31:57 +00:00
Simon McVittie
e902eb4b99
Disable man pages under nodoc build-profile
2022-12-02 15:31:54 +00:00
Simon McVittie
f91a4d3d6e
d/rules: Remove redundant --libdir override
...
We get the correct library directory from dh_auto_configure.
2022-12-02 10:19:33 +00:00
Simon McVittie
0cecd17680
Remove dpkg trigger on old immodules search path
...
GTK 3 hasn't searched this path since 2015, so it was no longer useful
to have a trigger on it.
2022-12-02 10:18:50 +00:00
Simon McVittie
99e54a40e2
d/rules: Remove redundant gtk_doc option
...
In both cases (documentation enabled or disabled) we override this later.
2022-12-01 23:18:07 +00:00
Simon McVittie
31f037e261
d/rules: Return to the print backends we previously enabled
...
lpr and test were enabled during the move to Meson, but we didn't enable
them in the past and they don't seem to be desirable.
Closes : #1025271
2022-12-01 23:15:42 +00:00
Simon McVittie
baa6ae9e9c
Build using Meson
2022-11-23 23:54:43 +00:00
Simon McVittie
8f2f5422cd
Skip border-image-excess-size reftest on big-endian machines
...
Mitigates: #1024392
2022-11-18 23:56:34 +00:00
Simon McVittie
40eff490c4
d/rules: Ignore new reftest failure for linear-gradient on any-i386
...
This seems to have regressed despite the GTK code not having changed,
possibly as a result of changes in another package, and it seems to be
the reference rendering rather than the test output that changed.
2022-08-21 20:57:37 +01:00
Simon McVittie
375b472689
Backport reftest comparison machinery from our gtk4 packaging
...
This will let us distinguish between "fails by small differences caused
by rounding/i387" and "completely different result", without having to
move the whole build system to Meson, which seems like one variation too
many during a transition.
2022-08-21 20:57:37 +01:00
Simon McVittie
905946b8c7
Avoid explicitly specifying -Wl,--as-needed linker flag
...
This is the default in newer toolchains.
Changes-By: lintian-brush
Fixes: lintian: debian-rules-uses-as-needed-linker-flag
See-also: https://lintian.debian.org/tags/debian-rules-uses-as-needed-linker-flag.html
2021-11-30 12:02:33 +00:00
Laurent Bigonville
aeefd8d9e1
Disable the tests on architectures where librsvg2-common is not built
...
librsvg is only build on architectures where rust has been ported to,
disable them on the other architectures
2021-09-08 11:20:19 +02:00
Simon McVittie
0392b562c5
Wrap unit tests with dbus-run-session
2021-08-20 16:01:21 +01:00
Simon McVittie
935a4355fd
Disable gvfs for unit tests
...
It won't be installed on buildds, but can trigger (fatal) warnings
when building on a developer system.
2021-08-20 16:01:21 +01:00
Simon McVittie
ab12b06e72
Normalize permissions in installed-tests
...
debhelper 13.4 makes everything below /usr/libexec executable, but
that's not what we want.
2021-08-20 16:01:21 +01:00
Simon McVittie
d01e415e38
d/rules: Rebuild emoji data from source files
...
This provides a straightforward way to check that we have the correct
source files.
2021-08-15 16:37:21 +01:00
Simon McVittie
625b32f916
Drop build-dependencies used for the Google Cloud Print backend
...
The service required by this backend was shut down, so the printing
backend is no longer useful and was removed by upstream.
2021-08-15 15:16:27 +01:00
Simon McVittie
7071e1f9b6
Regenerate CSS themes with sassc during the build
...
This ensures that they are updated even if upstream forgot to do so,
as happened in HighContrast for the GTK 3.4.22 release (#970664 ).
2020-09-26 01:15:24 +01:00
Simon McVittie
975ef47c60
Mark some reftests as allowed to fail
...
These reftests are sensitive to the build environment (exact versions
of Pango, fonts etc.) and are disabled in upstream's CI.
Closes : #954584
2020-04-02 11:56:50 +01:00
Iain Lane
53b9248e64
d/{control,rules}: BD on dh-sequence-gir instead of using --with=gir
2019-09-04 16:17:44 +01:00
Simon McVittie
45fd3a564a
d/rules: Enable dwz
2019-08-06 10:53:56 +01:00
Simon McVittie
9f4622da7e
Use debhelper-compat 12
...
- Don't explicitly use dh_makeshlibs -V, it is now the default
- Don't explicitly use --libexecdir=/usr/libexec, it is now the default
- Don't try to use dh_missing on debian/install/udeb if we didn't do
the udeb build
- Don't use dh_dwz for now, to be able to compare binaries before and
after this change with diffoscope
2019-08-05 19:44:55 +01:00
Simon McVittie
ccd54d78da
Remove another generated file
2019-07-17 17:28:27 +01:00
Simon McVittie
a4826f76c3
d/rules: Delete more generated files in clean to force them to be regenerated
2019-07-17 10:51:16 +01:00
Simon McVittie
033843dc94
d/rules: Explicitly select Autotools build system
...
Upstream now partially supports Meson, but it doesn't have all the
features we want yet (in particular no installed-tests).
2019-07-17 10:50:45 +01:00
Jeremy Bicha
21b8f6fb8d
Revert "Explicitly disable cloud providers feature"
...
This reverts commit cb3d5c84e8
.
The build wrongly includes this feature even when disabled
Gbp-Dch: Ignore
2019-01-14 12:32:03 -05:00
Jeremy Bicha
cb3d5c84e8
Explicitly disable cloud providers feature
...
This makes it just a 1-line change when we do get around to enabling it.
It's disabled because it breaks the build tests.
https://gitlab.gnome.org/GNOME/gtk/issues/33
Gbp-Dch: Ignore
2019-01-13 18:21:07 -05:00
Jeremy Bicha
a89fe1a044
Enable all hardening flags
2018-12-28 09:12:18 -05:00
Jeremy Bicha
1910d5cde0
Add -Wl,-O1 -Wl,--as-needed to our LDFLAGS
2018-12-28 08:43:51 -05:00
Jeremy Bicha
18b04f02f9
Use xvfb-run for build tests
2018-12-13 08:41:12 -05:00
Jeremy Bicha
374771d434
Stop using gnome-get-source
2018-12-10 09:52:22 -05:00
Simon McVittie
aeedeca2be
Make symbolic-icon-translucent-color.ui non-fatal during build-time tests
2018-09-30 16:30:52 +01:00
Simon McVittie
4accb6d941
d/rules: Generate files from .in counterparts for every package
...
List all packages, not just the ones we are going to build. This avoids
dh_missing false positives for files that would have gone into packages
not included in the current build, for example libgtk-3-common during
an amd64-only build.
2018-09-30 15:01:06 +01:00
Simon McVittie
e35ea903f5
Don't install a .la file into installed-tests
2018-09-19 23:17:58 +01:00
Simon McVittie
b7406e5f34
d/rules: Make it clear that we respect nocheck option
2018-09-19 21:32:00 +01:00
Simon McVittie
e1bc4f769e
Stop marking some reftests as known failures
...
They now succeed on all release architectures.
d/p/reftest-known-fail.patch: Drop, no longer needed
2018-09-13 12:36:18 +01:00
Simon McVittie
41aa4909fe
Build installed-tests
...
- Install them in gtk-3-examples for now to avoid the NEW queue
2018-09-13 09:09:48 +01:00
Simon McVittie
5cfbcb9080
Don't install ChangeLog
...
It currently just says "A git checkout and git-log is required to generate
this file"; even if it was complete, Policy 4.2.0 does not require
detailed changelogs to be installed. Please see NEWS for a summary of
changes, or the upstream git repository https://gitlab.gnome.org/GNOME/gtk
for a comprehensive change history.
2018-09-03 08:00:18 +01:00
Jeremy Bicha
f83c435728
Bump Standards-Version to 4.1.2
2017-12-21 21:27:22 -05:00
Jeremy Bicha
3c11e78406
Fix file permissions after svn conversion
2017-12-21 20:53:48 -05:00
Michael Biebl
b7af4349e3
Reposition arguments for dh_autoreconf
...
Fixes the following warning:
dh_autoreconf "NOCONFIGURE=true ./autogen.sh"
dh_autoreconf: doit() + doit_*() calls will no longer spawn a shell in compat 12 for single string arguments (please use complex_doit instead)
dh_autoreconf: This feature will be removed in compat 12.
2017-11-12 22:53:41 +00:00
Michael Biebl
c70eb71d8a
Update comment why GResource files are regenerated
...
We no longer ship 0002-theme-Fix-Adwaita-headerbars.patch but still remove
gtk/gtkresources.[ch] via debian/rules. Update the comment why this can be
useful/necessary.
2017-11-12 22:39:13 +00:00
Michael Biebl
590c5c2986
Force update of GResource files so the changes to the CSS files from
...
0002-theme-Fix-Adwaita-headerbars.patch are actually applied.
2017-10-22 10:49:58 +00:00
Emilio Pozuelo Monfort
2ce2c713a3
include dpkg's defaults.mk, we need it now that we don't have CDBS
2017-09-11 21:17:20 +00:00
Emilio Pozuelo Monfort
2e9c4ff053
reorder some bits
2017-09-11 21:05:32 +00:00
Emilio Pozuelo Monfort
50601e580a
move testsuite related bits to override_dh_auto_test
2017-09-11 20:59:30 +00:00