Re: Adding FontPath entry to /etc/X11/xorg.conf?

2008-09-22 Thread Michael Renner
On Sunday 21 September 2008, you wrote:
 On Sunday 21 September 2008 16:36:21 Michael Renner wrote:
  Moin,

 Guten Tag,

Moin,

  I managed to build a font package that installs and uninstalls without
  problems. Therefor I checked how the xfont-base package works. But while
  there is a FontPath entry for /usr/share/fonts/X11/misc in
  /etc/X11/xorg.conf there is none entry for the new directory
  /usr/share/fonts/X11/sgi.
 
  How does this entry be generated by the postinst script?

 Basically you should not touch configuration files provided by other
 packages.

  Somehow with dpkg-reconfigure and debconf and dpkg-reconfigure, but how?

 Not that I'm a xfont expert, but you might want to look at
 ttf-bitstream-vera and ttf-dejavu source packages; afaics they call
 fc-cache and defoma from their maintainer scripts; that would suffice imho.

Thanks for your answer.
It seems to me that deforma can not handle the pcf font format for bitmaps. I 
only see support for type1 and ttf.

bummer!
-- 
|Michael Renner  E-mail: [EMAIL PROTECTED]  |
|D-81541 Munich  GermanyICQ: #112280325 |
|Germany Don't drink as root!  ESC:wq


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



building for 'any' architecture?

2008-09-21 Thread Michael Renner
Moin,

I made a small package with some X fonts. First I extracted the fonts into a 
directory, startet 'dh_make' and after some modifications in postinst etc I 
run 'dpkg-buildpackage -d'. As far as I see is the deb-package ok. But it is 
a i386 package, I expected a package for any architecture like xfonts-base.

I checked for the sting 'i386' in debian/, but I found nothing. So: where can 
I control this?

Thanks
-- 
|Michael Renner  E-mail: [EMAIL PROTECTED]  |
|D-81541 Munich  GermanyICQ: #112280325 |
|Germany Don't drink as root!  ESC:wq


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



Re: building for 'any' architecture?

2008-09-21 Thread Michael Renner
On Sunday 21 September 2008, Stephan Peijnik wrote:
 On Sun, 2008-09-21 at 13:41 +0200, Michael Renner wrote:
  Moin,
 
  I made a small package with some X fonts. First I extracted the fonts
  into a directory, startet 'dh_make' and after some modifications in
  postinst etc I run 'dpkg-buildpackage -d'. As far as I see is the
  deb-package ok. But it is a i386 package, I expected a package for any
  architecture like xfonts-base.
 
  I checked for the sting 'i386' in debian/, but I found nothing. So: where
  can I control this?

 You might want to give Architecture: all a try. This should give you a
 *_all.deb.

Moin,

thanks for your answer. I already wrote this to the control file:
Section: x11
Architecture: any
Depends: xfonts-utils
Suggests: xfs | xserver

but the resulting file is named xfonts-sgi_1.0.0-1_i386.deb and the 
architecture, mentioned in the package control file is i386:
Section: x11
Priority: extra
Architecture: i386
Depends: xfonts-utils
Suggests: xfs | xserver

strange! More hints?

Thanks
-- 
|Michael Renner  E-mail: [EMAIL PROTECTED]  |
|D-81541 Munich  GermanyICQ: #112280325 |
|Germany Don't drink as root!  ESC:wq


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



Re: building for 'any' architecture?

2008-09-21 Thread Michael Renner
On Sunday 21 September 2008, Paul Wise wrote:
 On Sun, Sep 21, 2008 at 7:58 PM, Michael Renner [EMAIL PROTECTED] 
wrote:
  Architecture: any

 Use 'all' not 'any'.

thanks so much. To you and all others.

CU
-- 
|Michael Renner  E-mail: [EMAIL PROTECTED]  |
|D-81541 Munich  GermanyICQ: #112280325 |
|Germany Don't drink as root!  ESC:wq


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



Adding FontPath entry to /etc/X11/xorg.conf?

2008-09-21 Thread Michael Renner
Moin,

I managed to build a font package that installs and uninstalls without 
problems. Therefor I checked how the xfont-base package works. But while 
there is a FontPath entry for /usr/share/fonts/X11/misc in /etc/X11/xorg.conf 
there is none entry for the new directory /usr/share/fonts/X11/sgi.

How does this entry be generated by the postinst script?

Somehow with dpkg-reconfigure and debconf and dpkg-reconfigure, but how?

Thanks
-- 
|Michael Renner  E-mail: [EMAIL PROTECTED]  |
|D-81541 Munich  GermanyICQ: #112280325 |
|Germany Don't drink as root!  ESC:wq


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



a new window manager

2008-07-25 Thread Michael Renner
Moin,

I am not new to debian and I made some packages before, but this time I plan 
to bring them into an official debian release. So they need a better quality 
as they had before.

At the moment I'm building a deb package for a window manager. Everything is 
fine, but there is no entry in KDMs 'session type' menu.

I found the 'update-alternatives' command and call 

  update-alternatives --install /usr/bin/x-session-manager \
  x-session-manager /usr/bin/5Dwm 50

in the postinst.
I found such an entry in the ksmserver- as well as in the icewm package. While 
it work for these wm's, something is wrong with my entry.

Can anybody assist me?

Thanks
-- 
|Michael Renner  E-mail: [EMAIL PROTECTED]  |
|D-81541 Munich  GermanyICQ: #112280325 |
|Germany Don't drink as root!  ESC:wq


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