Subject: Re: three charset.alias files
To: Jeremy C. Reed <reed@reedmedia.net>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: tech-pkg
Date: 04/26/2004 18:07:07
Yeah, that's ugly.  Looking at the file in my system I see:

# This file contains a table of character encoding aliases,
# suitable for operating system 'netbsdelf2.0B'.
# It was automatically generated from config.charset.
# Packages using this file:  

I have always wondered... why do packages touch this file?  Just to add
themselves in the "Packages using this file" line?  Or for anything else more
complex?

If it's just to add themselves to the line, we could add a small package
which pregenerates the charset.alias file from a config.charset, and installs
it in place.  Then make all other packages (gettext, glib2, or whatever) to
depend on it.

Cheers


On Mon, 26 Apr 2004 08:46:24 -0700 (PDT)
"Jeremy C. Reed" <reed@reedmedia.net> wrote:

> I think I saw a recent commit message about charset.alias file.
> 
> When using pkgviews I saw a message like:
> 
> => Performing package view overwrite check for gettext-0.11.5nb4 in
> standard view
> ***********************************************************
> **** The following symbolic links will be overwritten *****
> -r--r--r--  1 root  wheel  2185 Apr 16 16:54 /usr/pkg//lib/charset.alias
> 
> 
> See how it is available multiple times:
> 
> reed@tahoma:/usr/pkgsrc/devel/gettext$ ls -l
> /usr/pkg/packages/*/lib/charset.alias
> -r--r--r--  1 root  wheel  2180 Apr 26 08:37
> /usr/pkg/packages/gettext-0.11.5nb4/lib/charset.alias
> -r--r--r--  1 root  wheel  2180 Apr 24 20:48
> /usr/pkg/packages/gettext-lib-0.11.5nb3/lib/charset.alias
> -rw-r--r--  1 root  wheel  2173 Apr 16 11:46
> /usr/pkg/packages/libiconv-1.9.1nb1/lib/charset.alias
> 
>    Jeremy C. Reed
>    http://www.reedmedia.net/
> 
> 


-- 
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/