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

Bug#53763: marked as done ([ACCEPTED 02/01/2000] policy for X font packages)



Your message dated Wed, 2 Aug 2000 15:17:16 -0700
with message-id <20000802151716.A30527@polya>
and subject line Closed in debian-policy 3.2.0.0
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; 31 Dec 1999 00:52:56 +0000
Received: (qmail 21746 invoked from network); 31 Dec 1999 00:52:54 -0000
Received: from apocalypse.debian.net (root@204.255.235.118)
  by master.debian.org with SMTP; 31 Dec 1999 00:52:54 -0000
Received: (from branden@localhost)
	by apocalypse.debian.net (8.9.3/8.9.3/Debian 8.9.3-6) id TAA02410
	for submit@bugs.debian.org; Thu, 30 Dec 1999 19:52:52 -0500
From: Branden Robinson <branden@ecn.purdue.edu>
Date: Thu, 30 Dec 1999 19:52:52 -0500
To: submit@bugs.debian.org
Subject: [PROPOSED] policy for X font packages
Message-ID: <19991230195252.I2304@ecn.purdue.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i

Package: debian-policy
Version: 3.1.1.1
Severity: wishlist

Documents existing practice.

To stave off the inevitable question...

This proposal does not address TrueType fonts because:
1) TTF's are not supported by XFree86 natively (yet), either by the X
   servers or by the font server
2) currently available font servers that do understand TTF's (i.e., not
   xfs) will have their own configuration files which can point to an
   appropriate FHS-compliant location for TrueType fonts
3) when we ship an XFree86 that understands TTF's I will revisit this
   policy
4) I do not currently maintain anything that has to do with TrueType fonts,
   and am not going to make policy proposals about them in my state of
   ignorance

-- 
G. Branden Robinson            |
Debian GNU/Linux               |    The noble soul has reverence for itself.
branden@ecn.purdue.edu         |    -- Friedrich Nietzsche
roger.ecn.purdue.edu/~branden/ |

--- policy.sgml.orig	Wed Dec 29 17:01:51 1999
+++ policy.sgml	Thu Dec 30 12:26:24 1999
@@ -3140,6 +3140,95 @@
 	  without) of your package.</p>
 	  
 	<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.
+	  <enumlist>
+	    <item>BDF fonts should be converted to PCF fonts with the
+	    <tt>bdftopcf</tt> utility (available in the
+	    <tt>xbase-clients</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
+	      <tt>/usr/X11R6/lib/X11/fonts/100dpi/</tt>.</item>
+	      <item>75 dpi fonts should 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
+	      <tt>/usr/X11R6/lib/X11/fonts/misc/</tt>.</item>
+	    </list></item>
+	    <item>Speedo fonts should be placed in
+	    <tt>/usr/X11R6/lib/X11/fonts/Speedo/</tt>.</item>
+	    <item>Type 1 fonts should be placed in
+	    /usr/X11R6/lib/X11/fonts/Type1/</tt>.</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 a symbolic link in
+	    the font directory which points to the font's actual location
+	    in the filesystem.  Such a location should comply with the
+	    FHS.</item>
+	    <item>Font packages should not contain both 75dpi and 100dpi
+	    versions of a font.  If both are available, they should be
+	    provided in separate binary packages with "-75dpi" or "-100dpi"
+	    appended to the names of the packages containing the
+	    corresponding fonts.</item>
+	    <item>Fonts destined for the <tt>misc</tt> subdirectory should
+	    not be included in the same package as 75dpi or 100dpi fonts if
+	    both are available; instead, they should be provided in a
+	    separate package with "-misc" appended to its name.  (For
+	    instance, if a source package provides 75dpi, 100dpi, and
+	    character-cell fonts, three binary packages should be created.
+	    If only 75dpi and character-cell fonts are available, they may
+	    all go into one binary package.)</item>
+	    <item>Font packages <em>must not</em> provide
+	    <tt>fonts.dir</tt>, <tt>fonts.alias</tt>, or
+	    <tt>fonts.scale</tt> in a font directory.
+	    <list>
+	      <item><tt>fonts.dir</tt> files should 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>/etc/X11/fonts/<em>fontdir</em>/<em>package</em>.<em>extension</em></tt>,
+	      where <em>fontdir</em> is the name of the subdirectory of 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.</item>
+	    </list></item>
+	    <item>Font packages must declare a dependency on
+	    <tt>xbase-clients</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>xbase-clients (&gt;=
+	    3.3.3.1-5)</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>xbase-clients (&gt;=
+	    3.3.3.1-5)</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.</item>
+	    <item>Font packages must not provide alias names for the
+	    fonts they include which collide with alias names already in
+	    use by fonts already packaged.</item>
+	    <item>Font packages must not provide fonts with the same XLFD
+	    registry name as another font already packaged.</item>
+	  </enumlist>
+	</p>
+	<p>
 	  <em>Application defaults</em> files have to be installed in
 	  the directory <tt>/usr/X11R6/lib/X11/app-defaults/</tt>.
 	  They are considered as part of the program code.  Thus, they
---------------------------------------
Received: (at 53763-done) by bugs.debian.org; 2 Aug 2000 22:17:22 +0000
>From J.D.Gilbey@qmw.ac.uk Wed Aug 02 17:17:22 2000
Return-path: <J.D.Gilbey@qmw.ac.uk>
Received: from mail.interchange.ubc.ca [137.82.27.15] 
	by master.debian.org with esmtp (Exim 3.12 2 (Debian))
	id 13K6pG-0004dX-00; Wed, 02 Aug 2000 17:17:22 -0500
Received: from srtp05-245.resnet.ubc.ca ([142.103.56.245] helo=polya)
	by mail.interchange.ubc.ca with esmtp (Exim 3.03 #1)
	id 13K6pH-0003m6-00; Wed, 02 Aug 2000 15:17:23 -0700
Received: from jdg by polya with local (Exim 3.12 #1 (Debian))
	id 13K6pA-0007wU-00; Wed, 02 Aug 2000 15:17:16 -0700
Date: Wed, 2 Aug 2000 15:17:16 -0700
From: Julian Gilbey <J.D.Gilbey@qmw.ac.uk>
To: 15709-done@bugs.debian.org, 17369-done@bugs.debian.org,
	22935-done@bugs.debian.org, 29522-done@bugs.debian.org,
	39398-done@bugs.debian.org, 40934-done@bugs.debian.org,
	43787-done@bugs.debian.org, 51091-done@bugs.debian.org,
	52225-done@bugs.debian.org, 53405-done@bugs.debian.org,
	53755-done@bugs.debian.org, 53756-done@bugs.debian.org,
	53757-done@bugs.debian.org, 53758-done@bugs.debian.org,
	53760-done@bugs.debian.org, 53761-done@bugs.debian.org,
	53762-done@bugs.debian.org, 53763-done@bugs.debian.org,
	54777-done@bugs.debian.org, 56407-done@bugs.debian.org,
	56692-done@bugs.debian.org, 58771-done@bugs.debian.org
Cc: srivasta@debian.org
Subject: Closed in debian-policy 3.2.0.0
Message-ID: <20000802151716.A30527@polya>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0.1i
Delivered-To: 53763-done@bugs.debian.org

These bugs have been closed in policy version 3.2.0.0.

Thanks Manoj!

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
        Debian GNU/Linux Developer,  see http://www.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/



Reply to: