[Python-modules-team] Bug#892436: pygame: Please use 'pkg-config' to find FreeType 2

2018-04-11 Thread René Dudfield
This was fixed, and will be in the next pygame release. Thanks again.
https://github.com/pygame/pygame/pull/442


On Tue, Apr 3, 2018 at 2:36 PM, René Dudfield  wrote:

> Thank you very much. That's very helpful.
>
> cheers,
>
> On Tue, Apr 3, 2018 at 2:08 PM, Hugh McMaster 
> wrote:
>
>> Hi René,
>>
>> Thanks for looking on this bug.
>>
>> On Tue, 3 Apr 2018 11:19:20 +0200, René Dudfield wrote:
>> > I wonder if you know how portable pkg-config is for this?
>> >
>> > Will using pkg-config work for getting config on older versions of
>> Debian?
>> >
>> > Or will we have to try and use both of the scripts? freetype-config for
>> > older, and pkg-config for newer?
>>
>> pkg-config has been part of Debian-based distros for many years.
>> The current release 0.29-4 is also part of Stretch, with Jessie using
>> 0.28-1.
>>
>> Also, freetype-config has been deprecated for many years, with pkg-config
>> being the preferred method of obtaining CFLAGS and libs for several years
>> now.
>>
>> In fact, freetype-config has been a wrapper for pkg-config since February
>> 2017.
>>
>> FreeType has also had pkg-config support since version 2.1.5 was released
>> in 2003, so
>> pkg-config support is comfortably available everywhere.
>>
>> In addition, freetype-config(1) has recommended developers use pkg-config
>> since March 2014.
>>
>> Hope that helps.
>>
>> Hugh
>
>
>
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#892436: pygame: Please use 'pkg-config' to find FreeType 2

2018-04-03 Thread René Dudfield
Thank you very much. That's very helpful.

cheers,

On Tue, Apr 3, 2018 at 2:08 PM, Hugh McMaster 
wrote:

> Hi René,
>
> Thanks for looking on this bug.
>
> On Tue, 3 Apr 2018 11:19:20 +0200, René Dudfield wrote:
> > I wonder if you know how portable pkg-config is for this?
> >
> > Will using pkg-config work for getting config on older versions of
> Debian?
> >
> > Or will we have to try and use both of the scripts? freetype-config for
> > older, and pkg-config for newer?
>
> pkg-config has been part of Debian-based distros for many years.
> The current release 0.29-4 is also part of Stretch, with Jessie using
> 0.28-1.
>
> Also, freetype-config has been deprecated for many years, with pkg-config
> being the preferred method of obtaining CFLAGS and libs for several years
> now.
>
> In fact, freetype-config has been a wrapper for pkg-config since February
> 2017.
>
> FreeType has also had pkg-config support since version 2.1.5 was released
> in 2003, so
> pkg-config support is comfortably available everywhere.
>
> In addition, freetype-config(1) has recommended developers use pkg-config
> since March 2014.
>
> Hope that helps.
>
> Hugh
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#892436: pygame: Please use 'pkg-config' to find FreeType 2

2018-04-03 Thread Hugh McMaster
Hi René,

Thanks for looking on this bug.

On Tue, 3 Apr 2018 11:19:20 +0200, René Dudfield wrote:
> I wonder if you know how portable pkg-config is for this?
>
> Will using pkg-config work for getting config on older versions of Debian?
>
> Or will we have to try and use both of the scripts? freetype-config for
> older, and pkg-config for newer?

pkg-config has been part of Debian-based distros for many years.
The current release 0.29-4 is also part of Stretch, with Jessie using 0.28-1.

Also, freetype-config has been deprecated for many years, with pkg-config
being the preferred method of obtaining CFLAGS and libs for several years now.

In fact, freetype-config has been a wrapper for pkg-config since February 2017.

FreeType has also had pkg-config support since version 2.1.5 was released in 
2003, so
pkg-config support is comfortably available everywhere.

In addition, freetype-config(1) has recommended developers use pkg-config since 
March 2014.

Hope that helps.

Hugh
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#892436: pygame: Please use 'pkg-config' to find FreeType 2

2018-04-03 Thread René Dudfield
Hello,

I wonder if you know how portable pkg-config is for this?

Will using pkg-config work for getting config on older versions of Debian?

Or will we have to try and use both of the scripts? freetype-config for
older, and pkg-config for newer?


best regards,



On Thu, 08 Mar 2018 22:52:30 +1100 hugh.mcmas...@outlook.com wrote:
> Source: pygame
> Severity: important
>
> Dear Maintainer,
>
> The next release of libfreetype6-dev will *not* ship
> `freetype-config', as the script has now been deprecated in favour of
> `pkg-config'.
>
> This is an upstream change:
>
> "Use of the `freetype-config' script to get compilation and
>
> linking options is deprecated since it doesn't support
>
> cross-compiling, among other deficiencies. Instead, you should
>
> use the `pkg-config' interface." [1]
>
> Please use `pkg-config' to detect the FreeType 2 headers and
> libraries in pygame.
>
> If this bug is not resolved prior to the release of FreeType 2.9.1,
> your package may FTBFS.
>
> Thank you
>
> [1]
> http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=b0
> a93839b52818abbfe9b4c8755b4aa0f5232063
>
>
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#892436: pygame: Please use 'pkg-config' to find FreeType 2

2018-03-09 Thread hugh . mcmaster
Source: pygame
Severity: important

Dear Maintainer,

The next release of libfreetype6-dev will *not* ship
`freetype-config', as the script has now been deprecated in favour of
`pkg-config'.

This is an upstream change:

"Use of the `freetype-config' script to get compilation and

linking options is deprecated since it doesn't support

cross-compiling, among other deficiencies. Instead, you should

use the `pkg-config' interface." [1]

Please use `pkg-config' to detect the FreeType 2 headers and
libraries in pygame.

If this bug is not resolved prior to the release of FreeType 2.9.1,
your package may FTBFS.

Thank you

[1]
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=b0
a93839b52818abbfe9b4c8755b4aa0f5232063 

___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team