Re: X11R7 and what this transition means for you

2006-04-18 Thread Norbert Preining
On Die, 18 Apr 2006, Eugene Konev wrote:
> /etc/X11/fonts/X11R7/Type1/foo.scale

Thanks for clarifying this.

>  NP> I would say that the former (the old location) would make more sense,
>  NP> since it does not really help to have the additional X11R7 in the
>  NP> /e/X/f/ hierachy. 
> 
> This will lead to alias and scale files having invalid entries if you
> have fonts installed in both old (/usr/X11R6) and new (/usr/share)
> locations. 

Ah, ok. Thanks.

Best wishes

Norbert

---
Dr. Norbert Preining  Università di Siena
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
TIBSHELF (n.)
Criss-cross wooden construction hung on a wall in a teenage girl's
bedroom which is covered with glass bambies and poodles, matching pigs
and porcelain ponies in various postures.
--- Douglas Adams, The Meaning of Liff


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: X11R7 and what this transition means for you

2006-04-18 Thread Eugene Konev

On Tue, 18 Apr 2006 11:05:38 +0200
Norbert Preining wrote:

 NP> So I let the package depend on debhelper >= 5.0.31, but:
 NP> /etc/X11/fonts/Type1/foo.scale
 NP> or
 NP> /etc/X11/fonts/X11R7/Type1/foo.scale
 NP> ?

/etc/X11/fonts/X11R7/Type1/foo.scale

 NP> I would say that the former (the old location) would make more sense,
 NP> since it does not really help to have the additional X11R7 in the
 NP> /e/X/f/ hierachy. 

This will lead to alias and scale files having invalid entries if you
have fonts installed in both old (/usr/X11R6) and new (/usr/share)
locations. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: X11R7 and what this transition means for you

2006-04-18 Thread Norbert Preining
Hi all!

Could you please explain me what is the right place where to put .scale
files?

On Mon, 17 Apr 2006, Eugene Konev wrote:
> This part is broken now. So I ask you please _do not_ yet upload rebuilt
> packages if you use dh_installxfonts. Or you should handle your
> maintainer scripts by hand. The required (as from X11R6) changes are: 
>  * place your *.scale and *.alias files in
>  /etc/X11/fonts/X11R7// instead of /etc/X11/fonts//
>  * call update-fonts-dir (-scale, -alias) with --x11r7-layout (or -7)
>  switch. 

On Mon, 17 Apr 2006, Joey Hess wrote:
> Also, if your package uses alias files in /etc/X11/fonts/, it needs to
> move to /etc/X11/fonts/X11R7/, and will need debhelper 5.0.31. 5.0.31
> also passes --x11r7-layout to update-fonts-* commands, which seems to be
> needed to get it to look in the new fonts locations.

So I let the package depend on debhelper >= 5.0.31, but:
/etc/X11/fonts/Type1/foo.scale
or
/etc/X11/fonts/X11R7/Type1/foo.scale
?

I would say that the former (the old location) would make more sense,
since it does not really help to have the additional X11R7 in the
/e/X/f/ hierachy. 

Best wishes

Norbert

---
Dr. Norbert Preining  Università di Siena
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
DETCHANT (n.)
(Of the hands or feet.) Prunelike after an overlong bath.
--- Douglas Adams, The Meaning of Liff


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: X11R7 and what this transition means for you

2006-04-17 Thread David Nusinow
On Mon, Apr 17, 2006 at 04:49:02PM -0400, Joey Hess wrote:
> Daniel Stone wrote:
> > On Sun, Apr 16, 2006 at 06:44:20PM -0700, Steve Langasek wrote:
> > > 6) Finally, in addition to everything else that's moving out of 
> > > /usr/X11R6/,
> > > packages providing fonts for X should now install to /usr/share/fonts/X11
> > > instead of to /usr/X11R6/lib/X11/fonts.  The heirarchy is the same as
> > > before, as are the commands to manage fonts; to ensure your font package's
> > > compatibility with the installed Xorg system, you should only need to bump
> > > your dependency on xutils to xutils (>> 1:7.0.0).  The plan is that
> > > xorg.conf will support both the old and new paths by default for this
> > > transition.
> > 
> > If you're using debhelper's dh_installxfonts to install fonts for you,
> > rather than doing it by hand, you need to explicitly Build-Depends on
> > debhelper (>= 5.0.29), in addition to fixing any references to
> > /usr/X11R6/lib/X11/fonts, or /usr/lib/X11/fonts, in your package.
> 
> Also, if your package uses alias files in /etc/X11/fonts/, it needs to
> move to /etc/X11/fonts/X11R7/, and will need debhelper 5.0.31. 5.0.31
> also passes --x11r7-layout to update-fonts-* commands, which seems to be
> needed to get it to look in the new fonts locations.

There's a bug report open against xfonts-utils to use --x11r7-layout as
default. I'm going to do just that in the next release, so hopefully this
won't be necessary in the long-run.

 - David Nusinow


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: X11R7 and what this transition means for you

2006-04-17 Thread Joey Hess
Daniel Stone wrote:
> On Sun, Apr 16, 2006 at 06:44:20PM -0700, Steve Langasek wrote:
> > 6) Finally, in addition to everything else that's moving out of /usr/X11R6/,
> > packages providing fonts for X should now install to /usr/share/fonts/X11
> > instead of to /usr/X11R6/lib/X11/fonts.  The heirarchy is the same as
> > before, as are the commands to manage fonts; to ensure your font package's
> > compatibility with the installed Xorg system, you should only need to bump
> > your dependency on xutils to xutils (>> 1:7.0.0).  The plan is that
> > xorg.conf will support both the old and new paths by default for this
> > transition.
> 
> If you're using debhelper's dh_installxfonts to install fonts for you,
> rather than doing it by hand, you need to explicitly Build-Depends on
> debhelper (>= 5.0.29), in addition to fixing any references to
> /usr/X11R6/lib/X11/fonts, or /usr/lib/X11/fonts, in your package.

Also, if your package uses alias files in /etc/X11/fonts/, it needs to
move to /etc/X11/fonts/X11R7/, and will need debhelper 5.0.31. 5.0.31
also passes --x11r7-layout to update-fonts-* commands, which seems to be
needed to get it to look in the new fonts locations.

-- 
see shy jo


signature.asc
Description: Digital signature


Re: X11R7 and what this transition means for you

2006-04-17 Thread Daniel Stone
On Mon, Apr 17, 2006 at 06:18:21PM +0800, Eugene Konev wrote:
> This part is broken now. So I ask you please _do not_ yet upload rebuilt
> packages if you use dh_installxfonts. Or you should handle your
> maintainer scripts by hand. The required (as from X11R6) changes are: 
>  * place your *.scale and *.alias files in
>  /etc/X11/fonts/X11R7// instead of /etc/X11/fonts//

I'd imagine this will be fixed.

>  * call update-fonts-dir (-scale, -alias) with --x11r7-layout (or -7)
>  switch. 

This is a bug in xfonts-utils that will be fixed.


signature.asc
Description: Digital signature


Re: X11R7 and what this transition means for you

2006-04-17 Thread Eugene Konev

On Sun, 16 Apr 2006 18:44:20 -0700
Steve Langasek wrote:

 SL> 6) Finally, in addition to everything else that's moving out of 
/usr/X11R6/,
 SL> packages providing fonts for X should now install to /usr/share/fonts/X11
 SL> instead of to /usr/X11R6/lib/X11/fonts.  The heirarchy is the same as
 SL> before, as are the commands to manage fonts; to ensure your font package's
 SL> compatibility with the installed Xorg system, you should only need to bump
 SL> your dependency on xutils to xutils (>> 1:7.0.0).  The plan is that
 SL> xorg.conf will support both the old and new paths by default for this
 SL> transition.

This part is broken now. So I ask you please _do not_ yet upload rebuilt
packages if you use dh_installxfonts. Or you should handle your
maintainer scripts by hand. The required (as from X11R6) changes are: 
 * place your *.scale and *.alias files in
 /etc/X11/fonts/X11R7// instead of /etc/X11/fonts//
 * call update-fonts-dir (-scale, -alias) with --x11r7-layout (or -7)
 switch. 

Otherwise your fonts won't be handled properly by update-fonts-* tools.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: X11R7 and what this transition means for you

2006-04-17 Thread Daniel Stone
On Sun, Apr 16, 2006 at 06:44:20PM -0700, Steve Langasek wrote:
> 6) Finally, in addition to everything else that's moving out of /usr/X11R6/,
> packages providing fonts for X should now install to /usr/share/fonts/X11
> instead of to /usr/X11R6/lib/X11/fonts.  The heirarchy is the same as
> before, as are the commands to manage fonts; to ensure your font package's
> compatibility with the installed Xorg system, you should only need to bump
> your dependency on xutils to xutils (>> 1:7.0.0).  The plan is that
> xorg.conf will support both the old and new paths by default for this
> transition.

If you're using debhelper's dh_installxfonts to install fonts for you,
rather than doing it by hand, you need to explicitly Build-Depends on
debhelper (>= 5.0.29), in addition to fixing any references to
/usr/X11R6/lib/X11/fonts, or /usr/lib/X11/fonts, in your package.

Cheers,
Daniel


signature.asc
Description: Digital signature