| Name |
cairo |
| Description |
|
| Version |
|
| Package Base |
|
| Homepage |
|
| Maintainers |
['Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>'] |
| Contributors |
['Emilio Pozuelo Monfort <pochu@debian.org>', 'Jeremy BĂcha <jbicha@ubuntu.com>', 'Laurent Bigonville <bigon@debian.org>', 'Michael Biebl <biebl@debian.org>'] |
| Distro-repo |
https://git.launchpad.net/ubuntu/+source/cairo/tree/?h=ubuntu/noble |
| Sources |
['https://git.launchpad.net/ubuntu/+source/cairo/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/cairo/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/cairo/plain/debian/watch?h=ubuntu/noble'] |
| Dependencies |
[] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['debhelper-compat', 'ghostscript', 'gtk-doc-tools', 'libfontconfig-dev', 'libfreetype-dev', 'libglib2.0-dev', 'liblzo2-dev', 'libpixman-1-dev', 'libpng-dev', 'libpoppler-glib-dev <!nocheck>', 'librsvg2-dev <!nocheck>', 'libspectre-dev <!nocheck>', 'libx11-dev', 'libxcb-render0-dev', 'libxcb-shm0-dev', 'libxcb1-dev', 'libxext-dev', 'libxrender-dev', 'meson', 'pkg-config', 'zlib1g-dev'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
noble |
| Licenses |
[] |
| Hash |
|
#!/usr/bin/make -f
built_binaries := $(shell dh_listpackages)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto
export DEB_CFLAGS_MAINT_APPEND = -Wall
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
ifneq (,$(filter nocheck,$(DEB_BUILD_PROFILES)))
TESTS=-Dtests=disabled \
-Dspectre=disabled
endif
%:
dh $@
configure_flags += \
-Dauto_features=enabled \
-Dsymbol-lookup=disabled \
-Dtee=enabled \
-Dquartz=disabled \
$(TESTS)
deb_configure_flags += \
$(configure_flags) \
-Dgtk_doc=true
udeb_configure_flags += \
$(configure_flags) \
-Dxcb=disabled
override_dh_auto_configure:
cp debian/bug-image-compositor.ref.png test/reference/
dh_auto_configure --builddirectory=debian/build/deb \
-- $(deb_configure_flags)
ifneq ($(filter %-udeb,$(built_binaries)),)
dh_auto_configure --builddirectory=debian/build/udeb \
-- $(udeb_configure_flags)
endif
override_dh_auto_build:
dh_auto_build --builddirectory=debian/build/deb
ifneq ($(filter %-udeb,$(built_binaries)),)
dh_auto_build --builddirectory=debian/build/udeb
endif
override_dh_auto_install:
dh_auto_install --builddirectory=debian/build/deb \
--destdir=debian/install/deb
ifneq ($(filter %-udeb,$(built_binaries)),)
dh_auto_install --builddirectory=debian/build/udeb \
--destdir=debian/install/udeb
endif
override_dh_install:
ifneq ($(filter %-udeb,$(built_binaries)),)
dh_install -plibcairo2-udeb --sourcedir=debian/install/udeb
endif
dh_install -Nlibcairo2-udeb --sourcedir=debian/install/deb
execute_before_dh_auto_clean:
rm -f test/reference/bug-image-compositor.ref.png
rm -rf debian/install/ debian/build/
# The slow test suite is quite broken atm, so running it is not very useful.
# Furthermore there's just one test that runs a ton of sub-tests,
# that causes the single test to run for a long time without
# printing any output, which causes the build to fail due to inactivity
# on slow arches with no FPU, see https://bugs.debian.org/891547
override_dh_auto_test:
dh_auto_test --builddirectory=debian/build/deb -- --no-suite=slow
override_dh_makeshlibs:
dh_makeshlibs -plibcairo2 --add-udeb=libcairo2-udeb
dh_makeshlibs -plibcairo-gobject2 --add-udeb=libcairo2-udeb
dh_makeshlibs -plibcairo-script-interpreter2