[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#91257: marked as done ([ACCEPTED 2001-05-22] changes to X font policy)



Your message dated Fri, 8 Jun 2001 00:30:50 +0100
with message-id <20010608003050.A3838@polya>
and subject line debian-policy_3.5.5.0_i386.changes INSTALLED
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 25 Mar 2001 08:08:32 +0000
>From branden@deadbeast.net Sun Mar 25 02:08:32 2001
Return-path: <branden@deadbeast.net>
Received: from cc551902-b.indnpls1.in.home.com (apocalypse.deadbeast.net) [24.183.211.35] (postfix)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 14h5Zf-0000Rz-00; Sun, 25 Mar 2001 02:08:31 -0600
Received: by apocalypse.deadbeast.net (Postfix, from userid 1000)
	id 8973E67002; Sun, 25 Mar 2001 03:08:30 -0500 (EST)
Date: Sun, 25 Mar 2001 03:08:30 -0500
From: Branden Robinson <branden@debian.org>
To: submit@bugs.debian.org
Subject: [PROPOSED] changes to X font policy
Message-ID: <20010325030830.C9850@deadbeast.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="n+lFg1Zro7sl44OB"
Content-Disposition: inline
User-Agent: Mutt/1.3.15i
Delivered-To: submit@bugs.debian.org


--n+lFg1Zro7sl44OB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: debian-policy
Version: 3.5.2.0
Severity: wishlist

* Reflects changes in policy due to issues Anton Zinoviev pointed out with
  mkfontdir; we now require packages to invoke "update-fonts-dir" instead
  of calling mkfontdir directly.  This means that all commands that
  maintainer scripts in X fonts packages need to run are provided by Debian
  (in the xutils package) and thus future changes in font policy can be
  directly administrated via these scripts.  This should make life easier
  for people packaging X fonts; the X package maintainer can insulate them
  from changes in the behavior of the tools provided with X itself.
* Some rewording to reflect the new must/should/may policy.
* Removed an ill-considered escape clause for depending on a font package;
  replaced it with a footnote instead.
* xutils (>> 4.0.3) doesn't exist yet, but it soon will, probably long
  before this proposal actually makes it into a policy document.  The new
  update-fonts-dir script does exist in xutils 4.0.2-11.  It has also been
  tested by everyone who upgraded to xfonts-* 4.0.2-11.

--- policy.sgml	Sun Mar 25 01:34:33 2001
+++ policy.sgml.fonts	Sun Mar 25 02:58:30 2001
@@ -6010,66 +6010,75 @@
=20
 	<p>
 	  <em>Packages that provide fonts for the X Window System</em>
-	  must do a number of things to ensure that they are both
-	  available without modification of the X or font server
-	  configuration, and that they do not corrupt files used by
-	  other font packages to register information about themselves.
+	  <footnote>
+		For the purposes of Debian Policy, a "font for the X Window
+		System" is one which is accessed via X protocol requests.
+		Fonts for the Linux console, for PostScript renderers, or
+		any other purpose, do not fit this definition.  Any tool
+		which makes such fonts available to the X Window System,
+		however, must abide by this font policy.
+	  </footnote>
+	  must do a number of things to ensure that they are both available
+	  without modification of the X or font server configuration, and
+	  that they do not corrupt files used by other font packages to
+	  register information about themselves.
 	  <enumlist>
 	    <item>
-		Fonts of any type supported by the X Window System
-		should be be in a separate binary package from any
-		executables, libraries, or documentation (except that
-		specific to the fonts shipped); if a program or
-		library is <em>unusable</em> without one or more
-		specific fonts, the package containing the program or
-		library should declare a dependency on the package(s)
-		containing the font(s) it requires.
-	    </item>
-	    <item>
-		BDF fonts should be converted to PCF fonts with the
-		<tt>bdftopcf</tt> utility (available in the
-		<tt>xutils</tt> package, <tt>gzip</tt>ped, and
-		placed in a directory that corresponds to their
-		resolution:
+		Fonts of any type supported by the X Window System must be
+		be in a separate binary package from any executables,
+		libraries, or documentation (except that specific to the
+		fonts shipped).
+		<footnote>
+			This is because the X server may retrieve fonts
+			from the local filesystem or over the network from
+			an X font server; the Debian package system is
+			empowered to deal only with the local filesystem.
+		</footnote>
+	    </item>
+	    <item>
+		BDF fonts must be converted to PCF fonts with the
+		<tt>bdftopcf</tt> utility (available in the <tt>xutils</tt>
+		package, <tt>gzip</tt>ped, and placed in a directory that
+		corresponds to their resolution:
 		<list>
 		  <item>
-		      100 dpi fonts should be placed in
+		      100 dpi fonts must be placed in
 		      <tt>/usr/X11R6/lib/X11/fonts/100dpi/</tt>.
 		  </item>
 		  <item>
-		      75 dpi fonts should be placed in
+		      75 dpi fonts must be placed in
 		      <tt>/usr/X11R6/lib/X11/fonts/75dpi/</tt>.
 		  </item>
 		  <item>
 		      Character-cell fonts, cursor fonts, and other
-		      low-resolution fonts should be placed in
+		      low-resolution fonts must be placed in
 		      <tt>/usr/X11R6/lib/X11/fonts/misc/</tt>.
 		  </item>
 		</list>
 	    </item>
 	    <item>
-		Speedo fonts should be placed in
+		Speedo fonts must be placed in
 		<tt>/usr/X11R6/lib/X11/fonts/Speedo/</tt>.
 	    </item>
 	    <item>
-		Type 1 fonts should be placed in
-		<tt>/usr/X11R6/lib/X11/fonts/Type1/</tt>.  If font
-		metric files are available, they may be placed here as
-		well.
-	    </item>
-	    <item>
-		Subdirectories of <tt>/usr/X11R6/lib/X11/fonts/</tt>
-		other than those listed above should be neither created nor
-		used.  (The <tt>PEX</tt> and <tt>cyrillic</tt> directories are
-		excepted for historical reasons, but installation of files into
-		these directories remains discouraged.)
-	    </item>
-	    <item>
-		Font packages may, instead of placing files directly in
-		the X font directories listed above, provide symbolic links in
-		the font directory which point to the files' actual location
-		in the filesystem.  Such a location should comply with the
-		FHS.
+		Type 1 fonts must be placed in
+		<tt>/usr/X11R6/lib/X11/fonts/Type1/</tt>.  If font metric
+		files are available, they must be placed here as well.
+	    </item>
+	    <item>
+		Subdirectories of <tt>/usr/X11R6/lib/X11/fonts/</tt> other
+		than those listed above must be neither created nor used.
+		(The <tt>PEX</tt>, <tt>CID</tt>, and <tt>cyrillic</tt>
+		directories are excepted for historical reasons, but
+		installation of files into these directories remains
+		discouraged.)
+	    </item>
+	    <item>
+		Font packages may, instead of placing files directly in the
+		X font directories listed above, provide symbolic links in
+		the font directory which point to the files' actual
+		location in the filesystem.  Such a location must comply
+		with the FHS.
 	    </item>
 	    <item>
 		Font packages should not contain both 75dpi and 100dpi
@@ -6085,57 +6094,57 @@
 		"-misc" appended to its name.
 	    </item>
 	    <item>
-		Font packages <em>must not</em> provide the files
+		Font packages must not provide the files
 		<tt>fonts.dir</tt>, <tt>fonts.alias</tt>, or
 		<tt>fonts.scale</tt> in a font directory.
 		<list>
 		  <item>
-		      <tt>fonts.dir</tt> files must not be provided at
-		      all.
+		      <tt>fonts.dir</tt> files must not be provided at all.
 		  </item>
 		  <item>
-		      <tt>fonts.alias</tt> and <tt>fonts.scale</tt>
-		      files, if needed, should be provided in the
-		      directory
+		      <tt>fonts.alias</tt> and <tt>fonts.scale</tt> files,
+		      if needed, should be provided in the directory
 		      <tt>/etc/X11/fonts/<em>fontdir</em>/<em>package</em>.<em>extension=
</em></tt>,
 		      where <em>fontdir</em> is the name of the
-		      subdirectory of
-		      <tt>/usr/X11R6/lib/X11/fonts/</tt> where the
-		      package's corresponding fonts are stored (e.g.,
-		      <tt>75dpi</tt> or <tt>misc</tt>),
+		      subdirectory of <tt>/usr/X11R6/lib/X11/fonts/</tt>
+		      where the package's corresponding fonts are stored
+		      (e.g., <tt>75dpi</tt> or <tt>misc</tt>),
 		      <em>package</em> is the name of the package that
 		      provides these fonts, and <em>extension</em> is
-		      either <tt>scale</tt> or <tt>alias</tt>,
-		      whichever corresponds to the file
-		      contents.
+		      either <tt>scale</tt> or <tt>alias</tt>, whichever
+		      corresponds to the file contents.
 		  </item>
 		</list>
 	    </item>
 	    <item>
-		Font packages must declare a dependency on
-		<tt>xutils</tt> and, in the package
-		post-installation and post-removal scripts, invoke the
-		<tt>mkfontdir</tt> command on each directory into
-		which they installed fonts.
-	    </item>
-	    <item>
-		Font packages that provide one or more
-		<tt>fonts.scale</tt> files as described above must declare a
-		versioned dependency on <tt>xutils (&gt;=3D
-		  4.0.2)</tt> and invoke <tt>update-fonts-scale</tt> on each
-		directory into which they installed fonts
-		<em>before</em> invoking <tt>mkfontdir</tt> on that
-		directory.  This invocation must occur in both the
-		post-installation and post-removal scripts.
-	    </item>
-	    <item>
-		Font packages that provide one or more
-		<tt>fonts.alias</tt> files as described above must
-		declare a versioned dependency on <tt>xutils
-		  (&gt;=3D 4.0.2)</tt> and, in the package
-		post-installation and post-removal scripts, invoke
-		<tt>update-fonts-alias</tt> on each directory into
-		which they installed fonts.
+		Font packages must declare a dependency on <tt>xutils
+		(&gt;&gt; 4.0.3)</tt> in their control data.
+	    </item>
+	    <item>
+		Font packages that provide one or more <tt>fonts.scale</tt>
+		files as described above must invoke
+		<tt>update-fonts-scale</tt> on each directory into which
+		they installed fonts <em>before</em> invoking
+		<tt>update-fonts-dir</tt> on that directory.  This
+		invocation must occur in both the <tt>postinst</tt> (for
+		all arguments) and <tt>postrm</tt> (for all arguments
+		except <tt>upgrade</tt>) scripts.
+	    </item>
+	    <item>
+		Font packages that provide one or more <tt>fonts.alias</tt>
+		files as described above must invoke
+		<tt>update-fonts-alias</tt> on each directory into which
+		they installed fonts.  This invocation must occur in both
+		the <tt>postinst</tt> (for all arguments) and
+		<tt>postrm</tt> (for all arguments except <tt>upgrade</tt>)
+		scripts.
+	    </item>
+	    <item>
+		Font packages must invoke <tt>update-fonts-dir</tt> on each
+		directory into which they installed fonts.  This invocation
+		must occur in both the <tt>postinst</tt> (for all
+		arguments) and <tt>postrm</tt> (for all arguments except
+		<tt>upgrade</tt>) scripts.
 	    </item>
 	    <item>
 		Font packages must not provide alias names for the

--=20
G. Branden Robinson             |     To stay young requires unceasing
Debian GNU/Linux                |     cultivation of the ability to unlearn
branden@debian.org              |     old falsehoods.
http://www.debian.org/~branden/ |     -- Robert Heinlein

--n+lFg1Zro7sl44OB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjq9p34ACgkQ6kxmHytGonxQDACdHbTmhkqB9AF5I8BaEDLeksKq
CnMAoKHNnFtfI7EbdOChk5/vscQm+CLQ
=/0lx
-----END PGP SIGNATURE-----

--n+lFg1Zro7sl44OB--

---------------------------------------
Received: (at 91257-done) by bugs.debian.org; 7 Jun 2001 23:34:03 +0000
>From J.D.Gilbey@qmw.ac.uk Thu Jun 07 18:34:02 2001
Return-path: <J.D.Gilbey@qmw.ac.uk>
Received: from murphy.debian.org [::ffff:216.234.231.6] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 1589Ht-0002qp-00; Thu, 07 Jun 2001 18:34:01 -0500
Received: (qmail 3860 invoked from network); 7 Jun 2001 23:31:27 -0000
Received: from mserv1e.vianw.co.uk (195.102.240.97)
  by murphy.debian.org with SMTP; 7 Jun 2001 23:31:27 -0000
Received: from [195.102.197.85] (helo=polya)
	by mserv1e.vianw.co.uk with esmtp (Exim 3.22 #5)
	id 1589Er-0007Ry-00; Fri, 08 Jun 2001 00:30:54 +0100
Received: from jdg by polya with local (Exim 3.22 #1 (Debian))
	id 1589Eo-000103-00; Fri, 08 Jun 2001 00:30:50 +0100
Date: Fri, 8 Jun 2001 00:30:50 +0100
From: Julian Gilbey <jdg@debian.org>
To: 66023-done@bugs.debian.org, 89473-done@bugs.debian.org,
	89674-done@bugs.debian.org, 91249-done@bugs.debian.org,
	91252-done@bugs.debian.org, 91257-done@bugs.debian.org,
	91259-done@bugs.debian.org, 91260-done@bugs.debian.org,
	91261-done@bugs.debian.org, 92744-done@bugs.debian.org,
	94995-done@bugs.debian.org, 95906-done@bugs.debian.org,
	97072-done@bugs.debian.org, 98712-done@bugs.debian.org
Subject: debian-policy_3.5.5.0_i386.changes INSTALLED
Message-ID: <20010608003050.A3838@polya>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.18i
Sender: Julian Gilbey <J.D.Gilbey@qmw.ac.uk>
Delivered-To: 91257-done@bugs.debian.org

----- Forwarded message from Debian Installer <installer@ftp-master.debian.org> -----

Date: Mon, 04 Jun 2001 10:23:07 -0400
From: Debian Installer <installer@ftp-master.debian.org>
Subject: debian-policy_3.5.5.0_i386.changes INSTALLED
To: Julian Gilbey <jdg@debian.org>,
        Debian Policy List <debian-policy@lists.debian.org>


Installing:
debian-policy_3.5.5.0.tar.gz
  to pool/main/d/debian-policy/debian-policy_3.5.5.0.tar.gz
policy-process.txt.gz byhand
libc6-migration.txt byhand
fhs.txt byhand
debian-policy_3.5.5.0_all.deb
  to pool/main/d/debian-policy/debian-policy_3.5.5.0_all.deb
perl-policy.txt.gz byhand
menu-policy.txt.gz byhand
mime-policy.txt.gz byhand
virtual-package-names-list.txt byhand
upgrading-checklist.txt byhand
fhs-2.1.html.tar.gz byhand
policy.pdf.gz byhand
menu-policy.html.tar.gz byhand
policy.html.tar.gz byhand
mime-policy.html.tar.gz byhand
debconf_specification.html byhand
debconf_specification.txt.gz byhand
policy.txt.gz byhand
policy-process.html.tar.gz byhand
perl-policy.html.tar.gz byhand
debian-policy_3.5.5.0.dsc
  to pool/main/d/debian-policy/debian-policy_3.5.5.0.dsc
policy.ps.gz byhand
Changes: debian-policy (3.5.5.0) unstable; urgency=low
 .
  * Fixed up incorrect entries in the changelog (there was an erroneous
    3.5.0.1 revision which never happened; it has now been correctly
    merged with the 3.5.3.0 changelog entry)
  * Add section numbers to upgrading-checklist for all revisions from
    3.0.0 onwards
  * Complete rewrite (and renumbering) of sections 9.1 and 9,2
  * This time *really* include the HTML version of the FHS
  * Added doc-base support for all of the HTML files
  * Added several more files to the byhand list and rewrote chunks of
    debian/rules to do this
  * Add patched versions of debiandoc-sgml stuff to source package until
    patches are incorporated upstream
  * Versioned Build-Depend on debiandoc-sgml for fixed Text.pm
  * Improved mkdir example in 10.1.2                 closes: Bug#92744
  * Made the "where examples live" entry in the upgrading-checklist
    clearer (add "for use by scripts")
  * Add a dpkg-statoverride description section      closes: Bug#89473
  * Fix the ldconfig usage description (remove "only if")
                                                     closes: Bug#89674
  * Clarification of package priority issues vis-a-vis the X Windows
    system                                           closes: Bug#91249
  * Enhanced x-terminal-emulator policy              closes: Bug#91252
  * Minor changes to X app-defaults policy           closes: Bug#91259
  * Clarification of X policy in respect to FHS      closes: Bug#91260
  * OpenMotif has the same rules as OSF/Motif        closes: Bug#91261
  * The X Font policy rewrite                        closes: Bug#91257
  * The "man" program is no longer guaranteed to read header information
    to find alternative manpage names                closes: Bug#94995
  * Correction to meaning of Standards-Version       closes: Bug#97072
  * Split section 12.8 (X Window System) into subsections for readability
  * Plug-ins != shared libraries (at last)           closes: Bug#66023
  * Add packaging manual remnants to policy document as appendices, and
    mention this in control file                     closes: Bug#95906
  * Clarification in Perl policy                     closes: Bug#98712
Announcing to debian-devel-changes@lists.debian.org
Setting bugs to severity fixed: 66023 89473 89674 91249 91252 91257 91259 91260 91261 92744 94995 95906 97072 98712 


Thank you for your contribution to Debian.


----- End forwarded message -----



Reply to: