Name xloadimage
Description Graphics file viewer under X11
Version 4.1-25build3
Package Base
Homepage
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/xloadimage/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/01_libjpeg-support.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/02_png-support.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/03_security-strfoo.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/04_previous-image.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/05_idelay-manpage.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/06_-Wall-cleanup.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/07_SYSPATHFILE.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/08_manpage-config-path.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/09_xloadimagerc-path.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/10_config.c-HOME-fix.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/11_fork-implies-quiet.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/12_fix-tile.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/13_varargs-is-obsolete.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/14_errno-not-extern.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/15_CAN-2005-0638.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/16_CAN-2005-0639.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/17_security-sprintf.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/18_manpage_fixes.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/19_fix_root_c_resource_leak.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/20_patch.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/21_libpng.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/22-include.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/23_jpeg.c-build-fix.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/24_libtiff5.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/25_hardening-flags.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/26_uufilter-implicit-declaration.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/27_shrink-should-not-zoom-upwards.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/28_correct-scaling-fullscreen.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/29_fix-manpage-hyphens.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/30_libtiff5.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/31_reproducible-build.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/32_fix-spelling.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xloadimage/plain/debian/watch?h=ubuntu/noble']
Dependencies ['libc6', 'libjpeg8', 'libpng16-16t64', 'libtiff6', 'libx11-6']
Optional-Dependencies []
Build-Dependencies ['debhelper', 'file', 'libjpeg-dev', 'libpng-dev', 'libtiff-dev', 'libx11-dev', 'libxau-dev', 'libxdmcp-dev', 'libxt-dev']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash d5c5e26e22f4b791eb4107634d76ce72416339cf729e4e03d8c257b9e4e6d6a3
#!/usr/bin/make -f

install_dir=install -d -m 755
install_file=install -m 644
install_script=install -m 755
install_binary=install -m 755

PACKAGE = xloadimage
PKGDIR	= $(CURDIR)/debian/$(PACKAGE)

export DEB_BUILD_MAINT_OPTIONS	= hardening=+all
export DEB_CFLAGS_MAINT_APPEND	= -Wall -DLINT
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

CHANGELOG = debian/upstream.changelog

get-changelog:
	# extract details
	awk '/^[Vv]ersion *[0-9]/,/end-of-file/ {print}' README > $(CHANGELOG)

override_dh_installchangelogs: get-changelog
	dh_installchangelogs $(CHANGELOG)

override_dh_auto_configure:
	chmod 755 build-info configure
	# uufilter does not respect LDFLAGS, so send all flags in CFLAGS
	CFLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)" \
	./configure --prefix=/usr

override_dh_clean:
	rm -f build *.o xloadimage uufilter build.c config.log config.cache \
	       config.status config.h Makefile jpeg.conf tiff.conf
	rm -rf debian/tmp debian/files* debian/substvars debian/patched
	find . -name \*~ | xargs rm -vf
	dh_clean

override_dh_auto_install:
	$(install_binary) xloadimage $(PKGDIR)/usr/bin/
	ln -s xloadimage $(PKGDIR)/usr/bin/xsetbg
	ln -s xloadimage $(PKGDIR)/usr/bin/xview
	$(install_binary) uufilter $(PKGDIR)/usr/bin/

	$(install_file) xloadimagerc $(PKGDIR)/etc/X11/Xloadimage

	$(install_file) debian/mime $(PKGDIR)/usr/lib/mime/packages/xloadimage

	$(install_dir) $(PKGDIR)/usr/share/man/man1/
	$(install_file) xloadimage.man $(PKGDIR)/usr/share/man/man1/xloadimage.1x
	$(install_file) uufilter.man $(PKGDIR)/usr/share/man/man1/uufilter.1x
	ln -s xloadimage.1x.gz $(PKGDIR)/usr/share/man/man1/xsetbg.1x.gz
	ln -s xloadimage.1x.gz $(PKGDIR)/usr/share/man/man1/xview.1x.gz

%:
	dh $@

.PHONY: get-changelog

# End of file