| Name |
netpbm |
| Description |
Graphics conversion tools between image formats |
| Version |
2:11.05.02-1.1build1 |
| Package Base |
netpbm-free |
| Homepage |
https://netpbm.sourceforge.net/ |
| Maintainers |
['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>'] |
| Contributors |
[' Andreas Metzler <ametzler@debian.org>', 'Steve McIntyre <93sam@debian.org>,'] |
| Distro-repo |
https://git.launchpad.net/ubuntu/+source/netpbm-free/tree/?h=ubuntu/noble |
| Sources |
['https://git.launchpad.net/ubuntu/+source/netpbm-free/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/netpbm-free/plain/debian/patches/10_netpbm-security-code.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/netpbm-free/plain/debian/patches/12_python3.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/netpbm-free/plain/debian/patches/14_do_not_test_unsupported_binaries.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/netpbm-free/plain/debian/patches/16_stdin-ppm3.test.result.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/netpbm-free/plain/debian/patches/20-Fix-typo-in-ppm_readppm-prototype.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/netpbm-free/plain/debian/patches/21-clarify-tifftopnm-doc.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/netpbm-free/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/netpbm/plain/debian/watch?h=ubuntu/noble'] |
| Dependencies |
['libc6', 'libjpeg8', 'libnetpbm11t64', 'libpng16-16t64', 'libtiff6', 'libx11-6', 'libxml2', 'zlib1g'] |
| Optional-Dependencies |
['ghostscript'] |
| Build-Dependencies |
['dpkg-dev', 'd-shlibs', 'debhelper-compat', 'flex', 'ghostscript <!nocheck>', 'libjpeg-dev', 'libpng-dev', 'libtiff-dev', 'libx11-dev', 'libxml2-dev', 'pkg-config', 'python3', 'zlib1g-dev'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
noble |
| Licenses |
[] |
| Hash |
a7660b8d53a93f9e72bd14eae321bc680aea6ac70c99c01949def9d770f16133 |
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DEB_CPPFLAGS_MAINT_APPEND = -DUNDEBUG
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
export COMPILED_BY=Debian
include ./version.mk
MAJOR=$(NETPBM_MAJOR_RELEASE)
MINOR=$(NETPBM_MINOR_RELEASE)
POINT=$(NETPBM_POINT_RELEASE)
include /usr/share/dpkg/pkg-info.mk
%:
dh $@ --no-parallel
override_dh_auto_configure:
if [ `printf '%02d.%02d.%02d' $(NETPBM_MAJOR_RELEASE) $(NETPBM_MINOR_RELEASE) $(NETPBM_POINT_RELEASE)` != $(DEB_VERSION_UPSTREAM) ] ; then \
echo debian infrastructure for version $(DEB_VERSION_UPSTREAM) used with upstream version $(NETPBM_MAJOR_RELEASE).$(NETPBM_MINOR_RELEASE).$(NETPBM_POINT_RELEASE) ; exit 1 ; fi
cp config.mk.in config.mk
cat debian/config.mk.debian >> config.mk
echo "CFLAGS = `dpkg-buildflags --get CFLAGS`" >> config.mk
ifeq ($(DEB_HOST_ARCH),amd64)
echo 'WANT_SSE = Y' >> config.mk
endif
override_dh_auto_build:
dh_auto_build
# build the manpages
mkdir netpbmdoc
cd netpbmdoc; \
$(MAKE) USERGUIDE=../userguide/ -f ../buildtools/manpage.mk manpages
# Fix manual section
sed -i 's/^\(\.TH "[^"]\+" \)0 /\11 /' netpbmdoc/*.1
override_dh_auto_clean:
[ ! -f config.mk ] || $(MAKE) distclean
rm -rf debian/netpbm-test debian/netpbm-test.bak
rm -rf netpbmdoc
override_dh_auto_install:
mkdir -p debian/tmp/
$(MAKE) package PKGDIR=$(CURDIR)/debian/tmp/usr
# install the manpages
cd netpbmdoc; \
$(MAKE) USERGUIDE=../userguide/ -f ../buildtools/manpage.mk report
# install pkgconfig
install -m 0755 -d debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig
sed -e 's|@INCLUDEDIR@|/usr/include/netpbm|' \
-e 's|@LINKDIR@|/usr/lib/$(DEB_HOST_MULTIARCH)|' \
-e 's|@VERSION@|Netpbm $(MAJOR).$(MINOR).$(POINT)|' \
debian/tmp/usr/pkgconfig_template > debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/netpbm.pc
override_dh_install:
dh_install
d-shlibmove --commit \
--t64 \
--multiarch \
--devunversioned \
--exclude-la \
--movedev debian/tmp/usr/include usr \
--movedev debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig usr/lib/$(DEB_HOST_MULTIARCH) \
lib/*.so
find debian -name "lib*.la" -delete
rm -rf debian/tmp/usr/sharedlink/libnetpbm
rm -rf debian/tmp/usr/lib/libnetpbm.so*
execute_after_dh_installman:
# tool manweb does not work due to missing /etc/manweb.conf
find debian -name "manweb*" -delete
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
$(MAKE) check-tree RESULTDIR=$(CURDIR)/debian/netpbm-test
endif