Re: Bug#88858: debhelper fixed

2001-03-19 Thread Branden Robinson

On Mon, Mar 19, 2001 at 07:20:16PM +0200, Anton Zinoviev wrote:
 Just for your information.  The command dh_installxfonts is changed in
 version 3.0.12 of debhelper.

Okay, but it will have to change again soon.  (That's what happens when you
try to make X policy in lieu of the X maintainer.)

I'm preparing 4.0.2-11 now, and it will include a new command,
update-fonts-dir.

I'd like to test various font packages with that, and then if everything
works out okay, issue a policy revision that asks font packages to depend
on xutils ( 4.0.3), since I'll be putting out 4.0.3-1 (or -0pre1v1)
shortly after 4.0.2-11.

I appreciate your input on this issue but not your way of going about it.
Instead of filing a lot of critical(!) bugs, you should have brought it up
on debian-policy.

 This is what it includes in postinst now:
 
 makefontdir() {
 ENCDIR=/usr/lib/X11/fonts/encodings
 if [ -d $ENCDIR -a -d $ENCDIR/large ]; then
 /usr/bin/X11/mkfontdir -e $ENCDIR -e $ENCDIR/large "$@"
 else
 /usr/bin/X11/mkfontdir "$@"
 fi
 }
 
 if [ "$1" = "configure" ]; then
 fontdirs="Type1"
 updatecmds="/usr/sbin/update-fonts-scale makefontdir 
/usr/sbin/update-fonts-alias"
 
 for dir in $fontdirs; do
 for currentcmd in $updatecmds; do
 $currentcmd /usr/lib/X11/fonts/$dir
 done
 done
 fi
 ---
 
 This is what it includes in postrm now:
 
 makefontdir() {
 ENCDIR=/usr/lib/X11/fonts/encodings
 if [ -d $ENCDIR -a -d $ENCDIR/large ]; then
 /usr/bin/X11/mkfontdir -e $ENCDIR -e $ENCDIR/large "$@"
 else
 /usr/bin/X11/mkfontdir "$@"
 fi
 }
 
 fontdirs="Type1"
 updatecmds="/usr/sbin/update-fonts-scale makefontdir /usr/sbin/update-fonts-alias"
 
 for currentdir in $fontdirs; do
 longdir=/usr/lib/X11/fonts/$currentdir
 if [ -d $longdir ]; then
 for file in fonts.dir fonts.alias encodings.dir; do
 rm -f $longdir/$file
 done
 if [ $(find $longdir| wc -l) -eq 1 ]; then
 rmdir -p $longdir
 else
 for currentcmd in $updatecmds; do
 $currentcmd $longdir
 done
 fi
 fi
 done
 

-- 
G. Branden Robinson | To stay young requires unceasing
Debian GNU/Linux| cultivation of the ability to unlearn
[EMAIL PROTECTED]  | old falsehoods.
http://www.debian.org/~branden/ | -- Robert Heinlein

 PGP signature


developer's libs missing?

2001-03-19 Thread Seth Arnold

Greetings folks! [Apologies for not returning after winter break; my
senior project is taking too much of time.]

I am trying to compile plex86 on my Debian unstable system with XFree86
4.0.2-7, kernel 2.4.2 SMP (on dual celerons), glibc 2.2.2-1. I get an
error message saying it cannot find libX11 [1].

I asked on the plex86 list if I was missing an obvious library since I
thought I had all the right packages installed. I think the xlibs-dev
package is missing some required header files: specifically, libX11.h.
$ dpkg -L xlibs-dev  | grep -i libx11
/usr/X11R6/lib/libX11.a
/usr/X11R6/lib/libX11.so

Shouldn't there be some header files included with this package? If I
missed a package, could someone swing the clue-bat this direction and
help me out? Thanks. :)

[1]:
$ make
make -C user   CC="gcc" CFLAGS="-g -O2 -Wall -Wstrict-prototypes"
LDFLAGS=""
make[1]: Entering directory `/tmp/plex86/user'
make -C plugins 
make[2]: Entering directory `/tmp/plex86/user/plugins'
make -C bochs   
make[3]: Entering directory `/tmp/plex86/user/plugins/bochs'
c++ -shared -o plugin-bochs.so io.o pc_system.o state_file.o \
 iodev/libiodev.a gui/libgui.a \
   -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[3]: *** [plugin-bochs.so] Error 1
make[3]: Leaving directory `/tmp/plex86/user/plugins/bochs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/plex86/user/plugins'
make[1]: *** [ALL] Error 2
make[1]: Leaving directory `/tmp/plex86/user'
make: *** [all] Error 2

-- 
Earthlink: The #1 provider of unsolicited bulk email to the Internet.


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




Re: developer's libs missing?

2001-03-19 Thread Gordon Sadler

On Mon, Mar 19, 2001 at 04:24:12PM -0800, Seth Arnold wrote:
 Greetings folks! [Apologies for not returning after winter break; my
 senior project is taking too much of time.]
 
 I am trying to compile plex86 on my Debian unstable system with XFree86
 4.0.2-7, kernel 2.4.2 SMP (on dual celerons), glibc 2.2.2-1. I get an
 error message saying it cannot find libX11 [1].
 
 I asked on the plex86 list if I was missing an obvious library since I
 thought I had all the right packages installed. I think the xlibs-dev
 package is missing some required header files: specifically, libX11.h.
 $ dpkg -L xlibs-dev  | grep -i libx11
 /usr/X11R6/lib/libX11.a
 /usr/X11R6/lib/libX11.so
 
 Shouldn't there be some header files included with this package? If I
 missed a package, could someone swing the clue-bat this direction and
 help me out? Thanks. :)
 
SNIP compile--error

Try X11/X.h for your header that most X apps will need. You'll likely
need to add the following to your $(CC) line:
-I/usr/X11R6/include 

and this to your LDFLAGS and/or $(LINK) line:
-L/usr/X11R6/lib/

HTH

Gordon Sadler


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




Re: Bug#88858: debhelper fixed

2001-03-19 Thread Branden Robinson
On Mon, Mar 19, 2001 at 07:20:16PM +0200, Anton Zinoviev wrote:
 Just for your information.  The command dh_installxfonts is changed in
 version 3.0.12 of debhelper.

Okay, but it will have to change again soon.  (That's what happens when you
try to make X policy in lieu of the X maintainer.)

I'm preparing 4.0.2-11 now, and it will include a new command,
update-fonts-dir.

I'd like to test various font packages with that, and then if everything
works out okay, issue a policy revision that asks font packages to depend
on xutils ( 4.0.3), since I'll be putting out 4.0.3-1 (or -0pre1v1)
shortly after 4.0.2-11.

I appreciate your input on this issue but not your way of going about it.
Instead of filing a lot of critical(!) bugs, you should have brought it up
on debian-policy.

 This is what it includes in postinst now:
 
 makefontdir() {
 ENCDIR=/usr/lib/X11/fonts/encodings
 if [ -d $ENCDIR -a -d $ENCDIR/large ]; then
 /usr/bin/X11/mkfontdir -e $ENCDIR -e $ENCDIR/large $@
 else
 /usr/bin/X11/mkfontdir $@
 fi
 }
 
 if [ $1 = configure ]; then
 fontdirs=Type1
 updatecmds=/usr/sbin/update-fonts-scale makefontdir 
 /usr/sbin/update-fonts-alias
 
 for dir in $fontdirs; do
 for currentcmd in $updatecmds; do
 $currentcmd /usr/lib/X11/fonts/$dir
 done
 done
 fi
 ---
 
 This is what it includes in postrm now:
 
 makefontdir() {
 ENCDIR=/usr/lib/X11/fonts/encodings
 if [ -d $ENCDIR -a -d $ENCDIR/large ]; then
 /usr/bin/X11/mkfontdir -e $ENCDIR -e $ENCDIR/large $@
 else
 /usr/bin/X11/mkfontdir $@
 fi
 }
 
 fontdirs=Type1
 updatecmds=/usr/sbin/update-fonts-scale makefontdir 
 /usr/sbin/update-fonts-alias
 
 for currentdir in $fontdirs; do
 longdir=/usr/lib/X11/fonts/$currentdir
 if [ -d $longdir ]; then
 for file in fonts.dir fonts.alias encodings.dir; do
 rm -f $longdir/$file
 done
 if [ $(find $longdir| wc -l) -eq 1 ]; then
 rmdir -p $longdir
 else
 for currentcmd in $updatecmds; do
 $currentcmd $longdir
 done
 fi
 fi
 done
 

-- 
G. Branden Robinson | To stay young requires unceasing
Debian GNU/Linux| cultivation of the ability to unlearn
[EMAIL PROTECTED]  | old falsehoods.
http://www.debian.org/~branden/ | -- Robert Heinlein


pgpLaU2EWb8J9.pgp
Description: PGP signature


developer's libs missing?

2001-03-19 Thread Seth Arnold
Greetings folks! [Apologies for not returning after winter break; my
senior project is taking too much of time.]

I am trying to compile plex86 on my Debian unstable system with XFree86
4.0.2-7, kernel 2.4.2 SMP (on dual celerons), glibc 2.2.2-1. I get an
error message saying it cannot find libX11 [1].

I asked on the plex86 list if I was missing an obvious library since I
thought I had all the right packages installed. I think the xlibs-dev
package is missing some required header files: specifically, libX11.h.
$ dpkg -L xlibs-dev  | grep -i libx11
/usr/X11R6/lib/libX11.a
/usr/X11R6/lib/libX11.so

Shouldn't there be some header files included with this package? If I
missed a package, could someone swing the clue-bat this direction and
help me out? Thanks. :)

[1]:
$ make
make -C user   CC=gcc CFLAGS=-g -O2 -Wall -Wstrict-prototypes
LDFLAGS=
make[1]: Entering directory `/tmp/plex86/user'
make -C plugins 
make[2]: Entering directory `/tmp/plex86/user/plugins'
make -C bochs   
make[3]: Entering directory `/tmp/plex86/user/plugins/bochs'
c++ -shared -o plugin-bochs.so io.o pc_system.o state_file.o \
 iodev/libiodev.a gui/libgui.a \
   -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[3]: *** [plugin-bochs.so] Error 1
make[3]: Leaving directory `/tmp/plex86/user/plugins/bochs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/plex86/user/plugins'
make[1]: *** [ALL] Error 2
make[1]: Leaving directory `/tmp/plex86/user'
make: *** [all] Error 2

-- 
Earthlink: The #1 provider of unsolicited bulk email to the Internet.



Re: developer's libs missing?

2001-03-19 Thread Gordon Sadler
On Mon, Mar 19, 2001 at 04:24:12PM -0800, Seth Arnold wrote:
 Greetings folks! [Apologies for not returning after winter break; my
 senior project is taking too much of time.]
 
 I am trying to compile plex86 on my Debian unstable system with XFree86
 4.0.2-7, kernel 2.4.2 SMP (on dual celerons), glibc 2.2.2-1. I get an
 error message saying it cannot find libX11 [1].
 
 I asked on the plex86 list if I was missing an obvious library since I
 thought I had all the right packages installed. I think the xlibs-dev
 package is missing some required header files: specifically, libX11.h.
 $ dpkg -L xlibs-dev  | grep -i libx11
 /usr/X11R6/lib/libX11.a
 /usr/X11R6/lib/libX11.so
 
 Shouldn't there be some header files included with this package? If I
 missed a package, could someone swing the clue-bat this direction and
 help me out? Thanks. :)
 
SNIP compile--error

Try X11/X.h for your header that most X apps will need. You'll likely
need to add the following to your $(CC) line:
-I/usr/X11R6/include 

and this to your LDFLAGS and/or $(LINK) line:
-L/usr/X11R6/lib/

HTH

Gordon Sadler