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

A few questions about my t1lib packages



This is kind of an "Am I doing this right?" message...  Sorry if it's a bit
long-winded.

I've split the upstream distribution of t1lib into three packages:

t1lib0 contains the runtime libraries and the README files from the upstream
source.  I wrote a "t1libconfig" script that sets up a font database for it.
I wrote a man page describing briefly the operation of this script, and one
describing the font database file format, both of which are in the runtime
package.  The script is called from postinst when its argument is "configure",
and it won't clobber an existing configuration unless given the --force
option.  It's non-interactive, unless it can't find any fonts, in which case
it suggests that the user run it with their local font directories as
arguments, and says "Press [return] to continue".  (It searches in all
subdirs of /usr/X11R6/lib/X11/fonts and in /usr/lib/ghostscript/fonts
by default).

The config files are created in /etc/t1lib/.  I had to change the
configure.in and rerun autoconf to make this work - the default is to use a
versioned directory name, i.e. /etc/t1lib-0.7, which, though policy doesn't
seem to say anything about it (what about the FSSTND?), seems a bit out of
place, since no other package does this (xemacs20 excepted, but that's a
major version number).  Is this an appropriate place for them?

t1lib0-dev contains static libraries (compiled without -fPIC), non-versioned
symlinks to the shared libraries, header files, and all the documentation, in
Postscript and HTML formats.  I put this in here because the documentation is
really meant for people developing programs with the library.  The HTML
documentation is under Apps/Programming in the menu system.

t1lib0-bin contains the executable programs that are produced by the
upstream source.  They are mostly meant as example programs, but "type1afm"
may be somewhat useful (although it does the same thing as "getafm" from
the Ghostscript packages).  I wrote very small man pages for both of them.

The source package is for section "libs", as are the t1lib0 and t1lib0-bin
packages, while the t1lib0-dev package has section "devel".  All are priority
"extra".  t1lib0 depends on libc6.  t1lib0-dev depends on libc6-dev and
t1lib0 (= 0.7-1).  t1lib0-bin depends on libc6, t1lib0, and xlib6g (>= 3.3-5)
(because of the "xglyph" program).

Does this all sound in line?  I guess lintian has the final word on most
of this stuff...  The one thing I'm still sort of wondering about is if the
names of the packages are correct - the policy manual is a bit unclear on
whether the version number from the library's soname should also be in the
development and binaries packages.

The packages are at http://aix2.uottawa.ca/~s1204672/linux/debs/testing/
if anyone's interested.  If you installed the ones I had on my page before,
it would be a good idea to purge them before installing these, just in case...

-- 
David Huggins-Daines
bn711@freenet.carleton.ca
http://aix2.uottawa.ca/~s1204672


--  
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: