[Bug 1707691] Re: libxfont1-dev is missing fontutil.h

2017-08-10 Thread John Anold
Thanks Timo.  Tag updated. Looks good, I got a successful build +
connect using   xserver-xorg-dev and libx1font-dev

** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707691

Title:
  libxfont1-dev is missing fontutil.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxfont/+bug/1707691/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1707691] Re: libxfont1-dev is missing fontutil.h

2017-08-10 Thread Timo Aaltonen
hmm, looks like the notification was not sent here.. anyway, you can
enable xenial-proposed and pull new xserver-xorg-dev from there, and if
things look fine, change the tag to verification-done-xenial

** Changed in: xorg-server (Ubuntu Xenial)
   Status: In Progress => Fix Committed

** Tags added: verification-needed-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707691

Title:
  libxfont1-dev is missing fontutil.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxfont/+bug/1707691/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1707691] Re: libxfont1-dev is missing fontutil.h

2017-08-09 Thread John Anold
Brian, thanks for the steps.

I tried adding the fontutil.h, but i still get ABI conflicts when using:

johnar@nettools1-co1:~$ sudo dpkg -l | grep -e libxfont -e xserver-xorg-dev
ii  libxfont-dev 1:2.0.1-3~ubuntu16.04.1
amd64X11 font rasterisation library (development headers)
ii  libxfont1:amd64  1:1.5.1-1ubuntu0.16.04.1   
amd64X11 font rasterisation library
ii  libxfont2:amd64  1:2.0.1-3~ubuntu16.04.1
amd64X11 font rasterisation library
ii  xserver-xorg-dev 2:1.18.4-0ubuntu0.3
amd64Xorg X server - development files


and I can't install libxfont1-dev with xserver-xorg-dev since xserver-xorg-dev 
requires libxfont-dev (conflict).

Trying xserver-xorg-dev-hwe-16.04 & libxfont-dev results in ABI
conflicts too. I'm stuck.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707691

Title:
  libxfont1-dev is missing fontutil.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxfont/+bug/1707691/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1707691] Re: libxfont1-dev is missing fontutil.h

2017-08-09 Thread brian mullan
@John Arnold 
There is a really simple workaround till this is fixed.  

This worked for me and let me compile xorgxrdp.  Not sure what your use
case is but...

step 1

$ sudo touch /usr/include/X11/fonts/fontutil.h

This file is owned by root:root, with mode 0o644.

Then edit that file and put the following contents into it:

#ifndef _FONTUTIL_H_
#define _FONTUTIL_H_

#include 

extern int FontCouldBeTerminal(FontInfoPtr);
extern int CheckFSFormat(fsBitmapFormat, fsBitmapFormatMask, int *, int *,
 int *, int *, int *);
extern void FontComputeInfoAccelerators(FontInfoPtr);

extern void GetGlyphs ( FontPtr font, unsigned long count,
unsigned char *chars, FontEncoding fontEncoding,
unsigned long *glyphcount, CharInfoPtr *glyphs );
extern void QueryGlyphExtents ( FontPtr pFont, CharInfoPtr *charinfo,
unsigned long count, ExtentInfoRec *info );
extern Bool QueryTextExtents ( FontPtr pFont, unsigned long count,
   unsigned char *chars, ExtentInfoRec *info );
extern Bool ParseGlyphCachingMode ( char *str );
extern void InitGlyphCaching ( void );
extern void SetGlyphCachingMode ( int newmode );
extern int add_range ( fsRange *newrange, int *nranges, fsRange **range,
   Bool charset_subset );

#endif /* _FONTUTIL_H_ */

  = = = = = = = = = =  =

Save the file and then do your compile/make etc and it should succeed.

Again, this is just a workaround till the bug gets fixed but it works
for me.


Brian

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707691

Title:
  libxfont1-dev is missing fontutil.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxfont/+bug/1707691/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1707691] Re: libxfont1-dev is missing fontutil.h

2017-08-09 Thread brian mullan
@John Arnold
There is a really simple workaround till this is fixed.

This worked for me and let me compile xorgxrdp.  Not sure what your use
case is but...

step 1

*$ sudo touch /usr/include/X11/fonts/fontutil.h*

This file is owned by *root:root*, with mode *0o644*.

Then edit that file and put the following contents into it:

#ifndef _FONTUTIL_H_#define _FONTUTIL_H_
#include 
extern int FontCouldBeTerminal(FontInfoPtr);extern int
CheckFSFormat(fsBitmapFormat, fsBitmapFormatMask, int *, int *,
 int *, int *, int *);extern void 
FontComputeInfoAccelerators(FontInfoPtr);
extern void GetGlyphs ( FontPtr font, unsigned long count,
unsigned char *chars, FontEncoding fontEncoding,
unsigned long *glyphcount, CharInfoPtr *glyphs );extern 
void
QueryGlyphExtents ( FontPtr pFont, CharInfoPtr *charinfo,
unsigned long count, ExtentInfoRec *info 
);extern Bool
QueryTextExtents ( FontPtr pFont, unsigned long count,
   unsigned char *chars, ExtentInfoRec *info 
);extern Bool
ParseGlyphCachingMode ( char *str );extern void InitGlyphCaching (
void );extern void SetGlyphCachingMode ( int newmode );extern int
add_range ( fsRange *newrange, int *nranges, fsRange **range,
   Bool charset_subset );
#endif /* _FONTUTIL_H_ */

  = = = = = = = = = =  =

Save the file and then do your compile/make etc and it should succeed.

Again, this is just a workaround till the bug gets fixed but it works for
me.

Brian


On Aug 9, 2017 7:45 PM, "John Anold" <1707...@bugs.launchpad.net> wrote:

> Update appreciated -- waiting for notification is not the same as an
> ETA.  We're hard-down for one of our environments waiting for a fix
> here.
>
> Thanks,
> John
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1707691
>
> Title:
>   libxfont1-dev is missing fontutil.h
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/libxfont/+bug/1707
> 691/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707691

Title:
  libxfont1-dev is missing fontutil.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxfont/+bug/1707691/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1707691] Re: libxfont1-dev is missing fontutil.h

2017-08-09 Thread John Anold
Update appreciated -- waiting for notification is not the same as an
ETA.  We're hard-down for one of our environments waiting for a fix
here.

Thanks,
John

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707691

Title:
  libxfont1-dev is missing fontutil.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxfont/+bug/1707691/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1707691] Re: libxfont1-dev is missing fontutil.h

2017-08-08 Thread Timo Aaltonen
you'll get notified when the package is accepted to -proposed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707691

Title:
  libxfont1-dev is missing fontutil.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxfont/+bug/1707691/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1707691] Re: libxfont1-dev is missing fontutil.h

2017-08-07 Thread John Anold
Timo, any idea what the eta is, so I know when to check back?  Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707691

Title:
  libxfont1-dev is missing fontutil.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxfont/+bug/1707691/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1707691] Re: libxfont1-dev is missing fontutil.h

2017-08-07 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: xorg-server (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707691

Title:
  libxfont1-dev is missing fontutil.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxfont/+bug/1707691/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1707691] Re: libxfont1-dev is missing fontutil.h

2017-08-07 Thread Timo Aaltonen
yes, the -dev metapackage needs to be fixed and a fix has been uploaded
to the queue

** Package changed: libxfont1 (Ubuntu) => xorg-server (Ubuntu)

** Changed in: xorg-server (Ubuntu)
   Status: New => In Progress

** Also affects: libxfont (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Also affects: xorg-server (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Changed in: xorg-server (Ubuntu Xenial)
   Status: New => In Progress

** Changed in: xorg-server (Ubuntu Xenial)
 Assignee: (unassigned) => Timo Aaltonen (tjaalton)

** Changed in: xorg-server (Ubuntu)
   Status: In Progress => Invalid

** Description changed:

+ [Impact]
  /usr/include/xorg/dixfont.h includes X11/fonts/fontutil.h.
  
  fontutil.h is contained in libxfont1-dev package not libxfont-dev
  package (version 2.0.1).
  
  I am trying to build xorgxrdp and it fails because fontutil.h is
  missing.
  
  In Ubuntu, libxfont1-dev package is required however libxfont1-dev and
  libxfont-dev cannot be installed together. This is the problem.
  
- I looked at Debian, too. /usr/include/xorg/dixfont.h in Debian does NOT
- include X11/fonts/fontutil.h.
- 
- This is the right state.
- 
  Package info: Ubuntu 16.04
  
  $  dpkg -la | grep -e xserver-xorg-dev -e libxfont-dev
  ii  libxfont-dev   1:2.0.1-3~ubuntu16.04.1
amd64X11 font rasterisation library (development headers)
  ii  xserver-xorg-dev   2:1.18.4-0ubuntu0.3
amd64Xorg X server - development files
  
- brian
+ [Test case]
+ xserver-xorg-dev needs to change the dependency on libxfont-dev to 
libxfont1-dev.
+ 
+ [Regression potential]
+ none, this is just to reflect the current state

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707691

Title:
  libxfont1-dev is missing fontutil.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxfont/+bug/1707691/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1707691] Re: libxfont1-dev is missing fontutil.h

2017-08-04 Thread John Anold
xserver-xorg-dev-hwe-16.04 & libxfont-dev  doesn't work -- causes ABI
version mismatch with xrdp-sesman

xserver-xorg-dev can't be installed with libxfont1-dev, as xserver-xorg-
dev has an (unmatched) dependency on libx1font-dev.

This is totally broken.

** Also affects: libxfont1 (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707691

Title:
  libxfont1-dev is missing fontutil.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxfont/+bug/1707691/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1707691] Re: libxfont1-dev is missing fontutil.h

2017-08-01 Thread brian mullan
ok... I notified NeutrinoLabs about your recommendation and I assume
they will remedy the xorgxrdp build process to accommodate this

close the bug report

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707691

Title:
  libxfont1-dev is missing fontutil.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxfont/+bug/1707691/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1707691] Re: libxfont1-dev is missing fontutil.h

2017-08-01 Thread Timo Aaltonen
I mean either you build with xserver-xorg-dev & libxfont1-dev, or
xserver-xorg-dev-hwe-16.04 & libxfont-dev. Can't mix the two. Fix your
pkg to match.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707691

Title:
  libxfont1-dev is missing fontutil.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxfont/+bug/1707691/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1707691] Re: libxfont1-dev is missing fontutil.h

2017-08-01 Thread Timo Aaltonen
you need to build with xserver-xorg-dev-hwe-16.04 instead

** Changed in: libxfont (Ubuntu)
   Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707691

Title:
  libxfont1-dev is missing fontutil.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxfont/+bug/1707691/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs