| Name |
poppler |
| Description |
|
| Version |
|
| Package Base |
|
| Homepage |
|
| Maintainers |
['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>'] |
| Contributors |
['Emilio Pozuelo Monfort <pochu@debian.org>,', 'Loic Minier <lool@dooz.org>', 'Pino Toscano <pino@debian.org>'] |
| Distro-repo |
https://git.launchpad.net/ubuntu/+source/poppler/tree/?h=ubuntu/noble |
| Sources |
['https://git.launchpad.net/ubuntu/+source/poppler/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/poppler/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/poppler/plain/debian/watch?h=ubuntu/noble'] |
| Dependencies |
[] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['dpkg-dev', 'debhelper-compat', 'dh-sequence-gir', 'cmake', 'libboost-dev', 'libcurl4-gnutls-dev', 'libglib2.0-dev', 'libfontconfig-dev', 'libcairo2-dev', 'libgdk-pixbuf-2.0-dev', 'libgtk-3-dev', 'libopenjp2-7-dev', 'libjpeg-dev', 'libpng-dev', 'libtiff-dev', 'liblcms2-dev', 'libfreetype-dev', 'gtk-doc-tools', 'pkg-config', 'python3', 'libgirepository1.0-dev', 'qtbase5-dev', 'qt6-base-dev [!i386]', 'zlib1g-dev', 'libnss3-dev'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
noble |
| Licenses |
[] |
| Hash |
|
#!/usr/bin/make -f
# the upstream version (i.e. without the Debian revision)
UPSTREAM_VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p' | cut -f1 -d '-')
# symbols.in files & their "generated" file names
SYMBOLS_in := $(wildcard debian/*.symbols.in)
SYMBOLS_generated := $(patsubst %.in,%,$(SYMBOLS_in))
libpopplerN := $(shell sed -rn 's/^Package:[[:space:]]*(libpoppler[0-9]+(t64)?)[[:space:]]*$$/\1/p' debian/control)
# enable all the hardening options
export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
# disable gtk stuff to minimize Build-Depends
CONFIGURE_ARGS := \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS_RELEASE="$(CFLAGS)" \
-DCMAKE_CXX_FLAGS_RELEASE="$(CXXFLAGS)" \
-DENABLE_GPGME=OFF \
-DENABLE_GLIB=ON \
-DENABLE_QT5=ON \
-DENABLE_CPP=ON \
-DENABLE_GTK_DOC=ON \
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
-DENABLE_CMS=lcms2 \
-DENABLE_LIBOPENJPEG=openjpeg2 \
-DBUILD_GTK_TESTS=OFF
ifneq (,$(filter $(DEB_HOST_ARCH), i386))
CONFIGURE_ARGS += -DENABLE_QT6=OFF
endif
%:
dh $@
override_dh_auto_clean:
dh_auto_clean
rm -f glib/reference/html/*
rm -f $(SYMBOLS_generated)
override_dh_auto_configure:
dh_auto_configure -- $(CONFIGURE_ARGS)
override_dh_installchangelogs:
dh_installchangelogs -p$(libpopplerN)
dh_installchangelogs --remaining-packages -XChangeLog
override_dh_makeshlibs: $(SYMBOLS_generated)
dh_makeshlibs
debian/%.symbols: debian/%.symbols.in
cat $^ | sed -e 's/#CURVER#/$(UPSTREAM_VERSION)/g' > $@
# TODO: https://gitlab.freedesktop.org/poppler/test
# has the missing unittestcases directory
# We could add an extra tarball as was done with editorconfig-core
# Or we could ask upstream if it makes sense to move those tests
# into the same git repo
override_dh_auto_test:
-dh_auto_test