[pkg-wine-party] Bug#818925: [wine-development] Glitches in Windows window systemmenu (minimize, windowed/fullscreen, close)

Jens Reyer jre.winesim at gmail.com
Fri Apr 1 16:48:51 UTC 2016


On 03/23/2016 01:33 AM, Jens Reyer wrote:
[...]
> Ok. So we need to package these TrueType fonts again.
> 
> See also #814844 (wine: fonts-wine fonts are not found). I assume
> upstream's fix for that bug now triggers your issue.

See attached InstallAndUseFonts.patch (applies to git branch stretch,
where we currently package the fonts from). It:
- adds the ttf fonts
- backports upstream's patch to take the fontdir specified at build time
into account
- sets fontdir /usr/share/wine/fonts

This should solve all user visible fonts related issues in both wine and
wine-development.


> However I just noted that the TrueType fonts are generated by upstream.
> So we should regenerate before we can package them.

Initially I thought that this requires to manually change the Makefile
to build the TrueType fonts. However I noted that this happens upstream
in "maintainer mode". I implemented that, see attached
RebuildFonts.patch (for branch stretch).

Upstream's maintainer mode sets the CFLAG "-Werror". I reported the
first build failure on a warning at
https://bugs.winehq.org/show_bug.cgi?id=40391. (btw: we also get e.g.
"warning: 'install_wine_gecko' defined but not used [-Wunused-function]"
if we use disable/external-installers.patch). I workarounded this by
specifying "-Wno-error".

However upstream told me in that bug report that it is risky to rebuild
the TrueType fonts, because they use a forked fontforge. So what should
we do?

- Don't ship the TrueType fonts (see the already reported issues, bad idea)?
- Ship pre-built TrueType fonts (only InstallAndUseFonts.patch)?
- Regenerate the TrueType fonts (both patches)

What do you think?

Greets
jre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InstallAndUseFonts.patch
Type: text/x-patch
Size: 5395 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-wine-party/attachments/20160401/d3bd938a/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RebuildFonts.patch
Type: text/x-patch
Size: 1394 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-wine-party/attachments/20160401/d3bd938a/attachment-0003.bin>


More information about the pkg-wine-party mailing list