| Name |
groff |
| Description |
GNU troff text-formatting system |
| Version |
1.23.0-3build2 |
| Package Base |
|
| Homepage |
https://www.gnu.org/software/groff/ |
| Maintainers |
['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>'] |
| Contributors |
[] |
| Distro-repo |
https://git.launchpad.net/ubuntu/+source/groff/tree/?h=ubuntu/noble |
| Sources |
['https://git.launchpad.net/ubuntu/+source/groff/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/groff/plain/debian/patches/bash-scripts.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/groff/plain/debian/patches/doc-default-os-debian.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/groff/plain/debian/patches/doc-gfdl.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/groff/plain/debian/patches/doc-gzipped.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/groff/plain/debian/patches/extratmacdirs.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/groff/plain/debian/patches/load-desc-failure.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/groff/plain/debian/patches/man-hyperlinks.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/groff/plain/debian/patches/mmse-note.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/groff/plain/debian/patches/nroff-ifs.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/groff/plain/debian/patches/nroff-map-CW-to-R.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/groff/plain/debian/patches/papersize-config.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/groff/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/groff/plain/debian/patches/source-date-epoch-utc.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/groff/plain/debian/watch?h=ubuntu/noble'] |
| Dependencies |
['groff-base', 'libc6', 'libgcc-s1', 'libstdc++6', 'libx11-6', 'libxaw7', 'libxmu6', 'libxt6t64'] |
| Optional-Dependencies |
['ghostscript', 'imagemagick', 'libpaper1', 'netpbm', 'perl', 'psutils'] |
| Build-Dependencies |
['bison', 'debhelper-compat', 'ghostscript', 'gsfonts', 'libuchardet-dev', 'libx11-dev', 'libxaw7-dev', 'libxmu-dev', 'libxt-dev', 'm4', 'netpbm', 'pkg-config', 'poppler-utils <!nocheck>', 'psutils', 'texinfo', 'texlive-base', 'texlive-latex-base', 'x11proto-core-dev'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
noble |
| Licenses |
[] |
| Hash |
fa1a261ddd06e18e265b9d584ea79af35eeb65d139ceeea4e212169338748cf8 |
#! /usr/bin/make -f
%:
dh $@ --builddirectory=debian/build
export DH_OPTIONS
export LC_ALL := C.UTF-8
export DEB_BUILD_MAINT_OPTIONS := hardening=+all
export DEB_CPPFLAGS_MAINT_APPEND := -D_FILE_OFFSET_BITS=64
export DEB_CFLAGS_MAINT_APPEND := -Wall
export DEB_CXXFLAGS_MAINT_APPEND := -Wall -std=gnu++98
# Based loosely on /usr/share/dpkg/buildflags.mk, but we need to do this
# ourselves in order to get flags for both build and host architectures.
# Compare https://bugs.debian.org/644412.
export_envvar := \
DEB_BUILD_MAINT_OPTIONS="$(DEB_BUILD_MAINT_OPTIONS)" \
DEB_CPPFLAGS_MAINT_APPEND="$(DEB_CPPFLAGS_MAINT_APPEND)" \
DEB_CFLAGS_MAINT_APPEND="$(DEB_CFLAGS_MAINT_APPEND)" \
DEB_CXXFLAGS_MAINT_APPEND="$(DEB_CXXFLAGS_MAINT_APPEND)"
buildflags := YACC='bison -y' PSPRINT=lpr PAGE=A4
buildflags_native := $(buildflags)
buildflags += $(shell $(export_envvar) dpkg-buildflags --export=cmdline)
buildflags_native += $(shell \
DEB_HOST_ARCH="$(DEB_BUILD_ARCH)" $(export_envvar) \
dpkg-buildflags --export=cmdline)
buildflags_native += DEB_HOST_GNU_TYPE=$(DEB_BUILD_GNU_TYPE)
buildflags_native += env -u CONFIG_SITE
export UPSTREAM_VERSION := $(shell \
sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/' \
.tarball-version)
datadir = usr/share/groff/$(UPSTREAM_VERSION)
gbtmp = debian/groff-base
gtmp = debian/groff
include /usr/share/dpkg/architecture.mk
confflags = \
--libdir=\$${prefix}/lib --with-appdefdir=/etc/X11/app-defaults \
BASH_PROG=/bin/bash GREP=/bin/grep
override_dh_autoreconf:
dh_autoreconf autoreconf -- -f -i -I m4
override_dh_auto_configure:
-rm -f config.log config.cache
$(buildflags) dh_auto_configure -- $(confflags)
ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
$(buildflags_native) dh_auto_configure \
--builddirectory=debian/build-native -- \
$(confflags)
endif
# Work around an unfortunate interaction between the
# non-recursive-gnulib-prefix-hack module and out-of-tree builds.
mkdir -p debian/build/lib
ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
mkdir -p debian/build-native/lib
endif
ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
cross :=
else
native_tmp := $(CURDIR)/debian/build-native
cross := \
GROFFBIN=$(native_tmp)/groff \
GROFF_BIN_PATH=$(native_tmp)
endif
override_dh_auto_build:
# Always rebuild documentation from source.
mkdir -p debian/doc-save
find doc \( -name \*.dvi -or -name \*.info -or -name \*.pdf \) \
-exec mv -f -t debian/doc-save '{}' +
ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
dh_auto_build --builddirectory=debian/build-native -- \
extratmacdirs=/usr/share/groff/tmac \
docdir=\$${prefix}/share/doc/groff-base
endif
GROFF_NO_SGR=1 dh_auto_build --builddirectory=debian/build -- \
extratmacdirs=/usr/share/groff/tmac \
docdir=\$${prefix}/share/doc/groff-base $(cross)
override_dh_auto_install:
dh_auto_install -- \
docdir=\$${prefix}/share/doc/groff-base \
INSTALL_INFO=:
execute_after_dh_install:
# Debian additions to *.local
cat debian/mandoc.local >> $(gbtmp)/etc/groff/man.local
cat debian/mandoc.local >> $(gbtmp)/etc/groff/mdoc.local
# Scripts should be executable
chmod +x $(gbtmp)/$(datadir)/font/devps/generate/afmname \
$(gbtmp)/$(datadir)/font/devps/generate/symbol.sed
chmod +x $(gtmp)/$(datadir)/font/devdvi/generate/CompileFonts \
$(gtmp)/$(datadir)/font/devlj4/generate/special.awk
# Debian Policy 10.4 specifies the #! line for Perl scripts
grep -rlZ '#! */usr/bin/env perl' $(gbtmp) $(gtmp) | \
xargs -0r sed -i 's,\(#! *\)/usr/bin/env perl,\1/usr/bin/perl,'
override_dh_installdocs:
dh_installdocs -pgroff-base
dh_installdocs -pgroff -Xcopyright --link-doc=groff-base
override_dh_installchangelogs:
dh_installchangelogs -pgroff-base
override_dh_compress:
dh_compress -X.mom
execute_before_dh_auto_clean:
[ ! -d debian/doc-save ] || \
find debian/doc-save -type f -exec mv -f -t doc '{}' +
rm -rf debian/doc-save