## Package: fontforge / 1:20201107~dfsg-4

Package Version Patches format
fontforge 1:20201107~dfsg-4 3.0 (quilt)

### Patch series

view the series file
Patch File delta Description

contrib/cidmap/CMakeLists.txt | 5 5 + 0 - 0 !
contrib/fonttools/CMakeLists.txt | 9 9 + 0 - 0 !
pycontrib/CMakeLists.txt | 1 1 + 0 - 0 !
3 files changed, 15 insertions(+)

 add extra cmake install rules
for contrib/cidmap, contrib/fonttools and pycontrib to restore the
files that were installed to fontforge-extras and python3-fontforge
prior to the FontForge 2020 March Release.


CMakeLists.txt | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 remove custom library search path (rpath/runpath)
This reverts upstream's preference of setting RPATH/RUNPATH for
installed binaries.  Fixes Lintian custom-library-search-path error.


doc/sphinx/conf.py | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 use packaged copy of mathjax from libjs-mathjax
FontForge documentation uses sphinx.ext.mathjax which insert script links
to MathJax served on remote CDNs.
.
This patch, together with debian/fontforge-doc.links, replaces remote
scripts with MathJax from the libjs-mathjax package.
See https://bugs.debian.org/739300 for discussion.
.
Fixes Lintian privacy-breach-generic warnings.


inc/basics.h | 8 8 + 0 - 0 !
1 file changed, 8 insertions(+)

 define path_max and maxpathlen for gnu/hurd compatibility

0005 hurd rename extended to avoid conflict with gnumach dev.patch | (download)

fontforge/autohint.c | 2 1 + 1 - 0 !
fontforge/autowidth.c | 4 2 + 2 - 0 !
fontforge/edgelist2.h | 8 4 + 4 - 0 !
fontforge/effects.c | 18 9 + 9 - 0 !
fontforge/fvcomposite.c | 2 1 + 1 - 0 !
fontforge/glyphcomp.c | 4 2 + 2 - 0 !
fontforge/scripting.c | 4 2 + 2 - 0 !
fontforge/scstyles.c | 12 6 + 6 - 0 !
fontforge/splinechar.c | 4 2 + 2 - 0 !
fontforge/splinefill.c | 2 1 + 1 - 0 !
fontforge/splinefit.c | 4 2 + 2 - 0 !
fontforge/splinefont.c | 4 2 + 2 - 0 !
fontforge/splinefont.h | 8 4 + 4 - 0 !
fontforge/splineorder2.c | 6 3 + 3 - 0 !
fontforge/splineoverlap.c | 134 67 + 67 - 0 !
fontforge/splineoverlap.h | 2 1 + 1 - 0 !
fontforge/splinestroke.c | 4 2 + 2 - 0 !
fontforge/splineutil.c | 230 115 + 115 - 0 !
fontforge/splineutil.h | 22 11 + 11 - 0 !
fontforge/splineutil2.c | 12 6 + 6 - 0 !
fontforge/stemdb.c | 4 2 + 2 - 0 !
fontforge/utanvec.c | 2 1 + 1 - 0 !
fontforgeexe/charview.c | 4 2 + 2 - 0 !
fontforgeexe/cvknife.c | 2 1 + 1 - 0 !
fontforgeexe/cvruler.c | 2 1 + 1 - 0 !
fontforgeexe/problems.c | 2 1 + 1 - 0 !
26 files changed, 251 insertions(+), 251 deletions(-)

 rename extended to extendeddbl to avoid ftbfs on hurd
(struct i386_xfp_save) a new "extended" field which happens to collide
with "extended" type in FontForge, leading to FTBFS on Hurd:
.
FAILED: fontforge/CMakeFiles/fontforge.dir/asmfpst.c.o
/usr/bin/cc -Dfontforge_EXPORTS -I../../fontforge -I../../inc -Iinc -isystem /usr/include/glib-2.0 -isystem /usr/lib/i386-gnu/glib-2.0/include -isystem /usr/include/freetype2 -isystem /usr/include/libxml2 -isystem /usr/include/readline -isystem /usr/include/python3.9 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Werror=implicit-function-declaration -Werror=int-conversion -fdiagnostics-color=always -std=gnu99 -MD -MT fontforge/CMakeFiles/fontforge.dir/asmfpst.c.o -MF fontforge/CMakeFiles/fontforge.dir/asmfpst.c.o.d -o fontforge/CMakeFiles/fontforge.dir/asmfpst.c.o -c ../../fontforge/asmfpst.c
In file included from ../../fontforge/asmfpst.h:4,
from ../../fontforge/asmfpst.c:30:
../../fontforge/splinefont.h:63:18: error: two or more data types in declaration specifiers
63 | #define extended double
|                  ^~~~~~
In file included from /usr/include/i386-gnu/bits/sigcontext.h:30,
from /usr/include/signal.h:291,
from /usr/include/glib-2.0/glib/gbacktrace.h:36,
from /usr/include/glib-2.0/glib.h:34,
from /usr/include/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from ../../inc/ffglib.h:29,
from ../../fontforge/baseviews.h:31,
from ../../fontforge/fontforgevw.h:31,
from ../../fontforge/asmfpst.c:33:
/usr/include/i386-gnu/mach/i386/fp_reg.h:80:24: error: expected identifier or ‘(’ before ‘[’ token
80 |  unsigned char extended[0]; /* Extended region */
|                        ^
.
This patch rename "extended" to "extendeddbl" to avoid the name collision.


doc/sphinx/appendices/bibliography.rst | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 avoid links in html documents potentially breaching privacy

Replace potential tracking image URLs with inline single-pixel
transparent image from
<https://css-tricks.com/snippets/html/base64-encode-of-1x1px-transparent-gif/>.

Strip hardcoded host from demo form.


 remove link to remote sourceforge logo from japanese documentation