Your message dated Sat, 12 Sep 2015 07:49:03 +0000
with message-id <[email protected]>
and subject line Bug#752270: fixed in freetype 2.6-1
has caused the Debian Bug report #752270,
regarding [freetype] Allow bootstrapping without the X libraries
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
752270: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752270
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: freetype
Version: 2.5.2-1
Severity: wishlist
Tags: patch
Hi,
Thanks for taking care of freetype2 in Debian!
As part of this year's "Bootstrappable Debian" Google Summer of Code
project I took a look at freetype to break a circular build dependency
as noted in the "Feedback Arc Set" section of
http://bootstrap.debian.net/amd64/ and, more specifically, at
http://bootstrap.debian.net/source/freetype.html and the
version-specific pages linked from it. There are two primary goals to
my work on this GSoC project:
- The first goal is to modify some packages so that they may be built in
some limited way ("nocheck", binary-only, or build profiles like
"stage1") without some of their usual build dependencies. In most
cases this is caused by one or more dependency loops between binary
and source packages, so that a source package requires for its
building, directly or indirectly, one of its own binary packages to be
already built. The modifications make the source build in a limited
fashion (not generating documentation, not running tests, not building
some of the binary packages) so that this may happen with only the
rest of the build dependencies, so Debian may be bootstrapped on a new
architecture starting from a very few cross-built toolchain packages
and then moving along, source package by source package.
- The second goal, which is actually closely related to the first, is
that in the process of modifications, any changes (some files not
regenerated, others not built at all) can be made with binary package
level granularity. This means that if a binary package is built at
all during a limited build, then it must have the same contents as the
same binary package resulting from a full build. The point here is to
avoid breakage if other packages in the archive depend on some
functionality provided by the omitted files; if so, it should be
obvious that the functionality is missing, and the clearest way to do
that is by omitting a full binary package or, rather, delaying its
build until the rest of the build dependencies are present.
Now, with freetype this is relatively easy - the X libraries are only
used for building the freetype2-demos package, not for the actual
freetype libraries. So what do you think about the attached patch that
checks for a "stage1" build profile specified in the DEB_BUILD_PROFILES
variable and, if so, omits the freetype2-demos package from the build
at all?
In this iteration, one would also have to manually remove the offending
build dependencies from the control file; I will file another bug that
makes use of the new <profile.*> restriction and the new Build-Profiles
binary stanza header to make this completely automated. However, that
would have to wait for the actual introduction of build profile-aware
tools in the Debian archive infrastructure.
If anything should go wrong with the patch, it is also available at
https://gitorious.org/roam-debian-bootstrap/freetype-debian/commits/roam-stage1-build
Thanks in advance for your time, and thanks for your work on Debian!
G'luck,
Peter
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
Peter Pentchev [email protected] [email protected] [email protected]
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13
From 2346dc86e1e716b6aecca7a2eca1b92f243655df Mon Sep 17 00:00:00 2001
From: Peter Pentchev <[email protected]>
Date: Sat, 21 Jun 2014 16:52:42 +0300
Subject: [PATCH] In the stage1 build profile, do not build demos.
If building in the stage1 build profile, do not depend on the X
libraries and do not build the demo programs. This breaks a circular
build dependency as outlined in the version-specific pages linked from
http://bootstrap.debian.net/source/freetype.html
---
debian/control | 1 +
debian/rules | 31 +++++++++++++++++++++++++------
2 files changed, 26 insertions(+), 6 deletions(-)
diff --git a/debian/control b/debian/control
index 141b97a..8ba8005 100644
--- a/debian/control
+++ b/debian/control
@@ -3,6 +3,7 @@ Section: libs
Priority: optional
Maintainer: Steve Langasek <[email protected]>
Uploaders: Anthony Fok <[email protected]>, Keith Packard <[email protected]>
+# For stage1 builds, remove the libx11-dev and x11proto-core-dev dependencies.
Build-Depends: bzip2, debhelper (>= 8.9.4), docbook-to-man, gettext (>=
0.10.36-2), libx11-dev, x11proto-core-dev, libz-dev, quilt, libpng-dev,
autoconf, automake, libtool
Standards-Version: 3.9.2
Homepage: http://www.freetype.org
diff --git a/debian/rules b/debian/rules
index a4f8782..406a373 100755
--- a/debian/rules
+++ b/debian/rules
@@ -46,13 +46,26 @@ freetype_config_sgml :=
$(CURDIR)/debian/freetype-config.man.sgml
libdoc = FTL.TXT CHANGES TODO ft2faq.html
+ifeq (,$(filter stage1,$(DEB_BUILD_PROFILES)))
+build_demos = 1
+dh_exclude =
+else
+build_demos = 0
+dh_exclude = -Nfreetype2-demos
+endif
+
%:
- dh $@
+ dh $@ $(dh_exclude)
+
+tarballs = $(freetype_u) $(ftdocs_u)
+ifeq ($(build_demos),1)
+tarballs += $(ft2demos_u)
+endif
unpack:: unpack-stamp
unpack-stamp::
# Unpack upstream tarballs
- @for i in $(freetype_u) $(ftdocs_u) $(ft2demos_u); do \
+ @for i in $(tarballs); do \
if [ -f $$i.tar.bz2 ]; then \
echo "Unpacking $$i.tar.bz2 ..."; \
tar -x --bzip2 -f $$i.tar.bz2; \
@@ -72,8 +85,10 @@ patch-stamp:
cd $(freetype_u) \
&& QUILT_PATCHES=../debian/patches-freetype quilt --quiltrc
/dev/null push -a
cd $(freetype_u) && ./autogen.sh
+ifeq ($(build_demos),1)
cd $(ft2demos_u) \
&& QUILT_PATCHES=../debian/patches-ft2demos quilt --quiltrc
/dev/null push -a
+endif
touch patch-stamp
override_dh_auto_configure: patch
@@ -81,8 +96,10 @@ override_dh_auto_configure: patch
override_dh_auto_build:
dh_auto_build -D $(freetype_u)
+ifeq ($(build_demos),1)
dh_auto_build -D $(ft2demos_u) -- TOP_DIR=../$(freetype_u) \
OBJ_DIR=../$(freetype_u)/objs
+endif
docbook-to-man $(freetype_config_sgml) > $(freetype_config_man)
override_dh_auto_clean:
@@ -91,14 +108,16 @@ override_dh_auto_clean:
rm -rf $(freetype_u) $(ft2demos_u) docs
override_dh_auto_install:
- dh_auto_install -D $(freetype_u) --destdir=$(CURDIR)/debian/tmp
+ dh_auto_install -D $(freetype_u) --destdir=$(CURDIR)/debian/tmp
$(dh_exclude)
+ifeq ($(build_demos),1)
$(freetype_u)/builds/unix/libtool --mode=install \
cp -av `find $(ft2demos_u)/bin -type f -perm -u=x -maxdepth 1` \
$(CURDIR)/debian/$(demospkg)/usr/bin/
+endif
sed -i -e'/dependency_libs/s/'.*'//'
debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libfreetype.la
override_dh_install:
- dh_install --fail-missing
+ dh_install --fail-missing $(dh_exclude)
override_dh_installdocs:
ifneq (,$(findstring $(libpkg), $(shell dh_listpackages)))
@@ -113,7 +132,7 @@ ifneq (,$(findstring $(devpkg), $(shell dh_listpackages)))
$(addprefix -X,$(libdoc)) \
$(ftdocs_d)/docs/*
endif
- dh_installdocs -N$(devpkg) -N$(libpkg) --link-doc=$(libpkg)
+ dh_installdocs -N$(devpkg) -N$(libpkg) --link-doc=$(libpkg)
$(dh_exclude)
override_dh_installchangelogs:
ifneq (,$(findstring $(libpkg), $(shell dh_listpackages)))
@@ -121,7 +140,7 @@ ifneq (,$(findstring $(libpkg), $(shell dh_listpackages)))
endif
override_dh_makeshlibs:
- dh_makeshlibs -V '$(dependency)' --add-udeb '$(udebpkg)'
+ dh_makeshlibs -V '$(dependency)' --add-udeb '$(udebpkg)' $(dh_exclude)
# This variable is used only by get-orig-source, which will normally only
# be run by maintainers.
--
2.0.0
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: freetype
Source-Version: 2.6-1
We believe that the bug you reported is fixed in the latest version of
freetype, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Steve Langasek <[email protected]> (supplier of updated freetype package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 12 Sep 2015 07:29:07 +0000
Source: freetype
Binary: libfreetype6 libfreetype6-dev freetype2-demos libfreetype6-udeb
Architecture: source amd64
Version: 2.6-1
Distribution: unstable
Urgency: medium
Maintainer: Steve Langasek <[email protected]>
Changed-By: Steve Langasek <[email protected]>
Description:
freetype2-demos - FreeType 2 demonstration programs
libfreetype6 - FreeType 2 font engine, shared library files
libfreetype6-dev - FreeType 2 font engine, development files
libfreetype6-udeb - FreeType 2 font engine for the debian-installer (udeb)
Closes: 733894 752270 752271 773084 778493 780340 793751 795653 798619 798620
Changes:
freetype (2.6-1) unstable; urgency=medium
.
* New upstream release. Closes: #793751.
* Includes a fix for a spurious error in FT_Get_SubGlyph_Info.
Closes: #778493.
* Includes a fix for an infinite loop in T1 font loading.
Closes: #798620.
* Includes a fix for an uninitialized memory bug in font parsers.
Closes: #798619.
* Includes fix for an out-of-bounds rate in the Adobe CFF implementation
(which was not previously enabled in the package build).
Closes: #773084.
* Includes a fix for a crasher in xdvi. Closes: #733894.
* Fixes support for compressed pcf fonts. Closes: #780340.
* Drop various cherrypicked upstream patches from the package.
* Ship upstream freetype-config manpage in place of our own.
Closes LP: #1390767.
* Update symbols file. Includes dropping various private symbols that
don't appear to have ever been part of the API.
* Fix exclusion of redundant license file (txt -> TXT)
* Re-enable the CFF driver, now that most related fonts have been fixed.
Closes: #795653.
* Enable stage1 build without X library dependencies for bootstrapping.
Closes: #752270, #752271.
Checksums-Sha1:
95f6a2964aad4c2c5a3e7b98f629f4d89810436f 2101 freetype_2.6-1.dsc
85d12be590924cd78506b3e390d378a48d17a0b0 2393146 freetype_2.6.orig.tar.gz
430fda10dbc71b97bd82276227c3f72b60e691c9 37426 freetype_2.6-1.diff.gz
ad1a535d73a4d2dc6aeee0d079f8bd8bf743d137 98656 freetype2-demos_2.6-1_amd64.deb
1146aa1dbabab2be2daf11943b47690607b46959 986728
libfreetype6-dev_2.6-1_amd64.deb
ec542c0e6ffad8fc64c132f9536e4ec79745904d 291768
libfreetype6-udeb_2.6-1_amd64.udeb
d4ad8bdd5c55cb29ba6458a9ac5a60f5dcd65ec2 449230 libfreetype6_2.6-1_amd64.deb
Checksums-Sha256:
ce72a1b89cfdd8ca4b6d5f8b5b97a758a06b1ba28db33fe373f2037458176a16 2101
freetype_2.6-1.dsc
b5aac1d40da52e43843bd4bdf226af90dacc68ce9d48860d3ca3dfd8df78563a 2393146
freetype_2.6.orig.tar.gz
37aaa732ba184c8a9cbcaccaa18c5bdd2fe48609174cde2907d8a0ca8d3bce32 37426
freetype_2.6-1.diff.gz
dc6fd41611d3d8f8b4de311840972b59f871012ec8bdd733ebce6b87a0ada023 98656
freetype2-demos_2.6-1_amd64.deb
668198c8c5c481873f85297b7ca7097ace95aa5e215b5761dc0b7fb3473c4fc3 986728
libfreetype6-dev_2.6-1_amd64.deb
2ee9dbe2e5ffb00d75cbe6e8edd9f926218937edf316fbae1818db4d4dc8e415 291768
libfreetype6-udeb_2.6-1_amd64.udeb
1374ea3df54d07f931e6fef4b572b07dc32f186608c26442c32b82451d05cd87 449230
libfreetype6_2.6-1_amd64.deb
Files:
1d3b37133a53a11936b18d5f5c015da5 2101 libs optional freetype_2.6-1.dsc
d277c5484b283cb5828cc684307b3435 2393146 libs optional freetype_2.6.orig.tar.gz
54086bb92fae44224ef88a63c81658d9 37426 libs optional freetype_2.6-1.diff.gz
b3e1674d192b763f09060381394b0b19 98656 utils optional
freetype2-demos_2.6-1_amd64.deb
7524ab3e19354f346af605bf373b4171 986728 libdevel optional
libfreetype6-dev_2.6-1_amd64.deb
931ece21b85b40da275c72a7af5bd828 291768 debian-installer extra
libfreetype6-udeb_2.6-1_amd64.udeb
565b4f9df4435844760c3783385cbb4a 449230 libs optional
libfreetype6_2.6-1_amd64.deb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJV89WKAAoJEFaNMPMhshM9HE8P/1wH9vvmyQ6KzemmPzpGvHoD
mzPeXG37Ruq+KVjkjuRudkHAGwlYmJaSaudXZKDJ8J90hPNCKiTDe8OVUp2hDoB5
ipxbaBlNSBj7wKMMmDcajKLfSNLlLn/1J6uEZ/gCtT46pRO8h8mWP7CEDkYreg6j
YBzP4SkhrF215E6293Goccw6gwlUBajnGgMXAUD/UjvC9+K4r6M2AW8vk1n8kqHm
q+va27aHd/9MEtXDr3RB3UQPTfbl/tvmu1egKXOMQYZO3Y+4gZuQoV0sIRcD3ILT
I9xLE/l1O34h5ULzG1Qn+C1tOk7U70WV7RVVtHAcgwsjF9UuMfUw+A5wfAYt49te
JkDs9e0owg6D0aO1w1CJhde35LMfVfMQg78mPwlXZvZDOpFDOKniakNXWzrDqdKT
bvmkNzDMTzXF7kQjJaAN0hHxiP8gSEttBZ0zzMzVuB2QtMxCP6hb2fcXCzDcSFHM
LLUyi659aL3OgxT8o23VbuHU7qJ7n6z3myYJr1B5pYGg8F+5Av7rL86+TN3820a5
IeRj7VykG5KFupuQEODXbCvmo604ISDIkhjY5Kp8siuiA6HQX24+8FAxWUIG+zzS
icfRHTsBzqEtl8iFpiis3tU0FUZb/E3EjLUvaXrbJQcVMgyCA3J34yhZDPVR2xjV
kQMyvQSYZ54Lxs0ZaeB8
=lHEM
-----END PGP SIGNATURE-----
--- End Message ---