fontforge.git
4 years agoAvoid links in html documents potentially breaching privacy
Vasudev Kamath [Tue, 5 Nov 2019 10:48:04 +0000 (19:48 +0900)]
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.

Forwarded: not-needed
Last-Update: 2017-09-23

Gbp-Pq: Name 2003_avoid_privacy_breach.patch

4 years agoRename extended to extendeddbl to avoid FTBFS on Hurd
Anthony Fok [Fri, 15 Jan 2021 15:55:46 +0000 (15:55 +0000)]
Rename extended to extendeddbl to avoid FTBFS on Hurd

Origin: vendor
Forwarded: no
Last-Update: 2021-01-15

gnumach-dev 1.8+git20201129 added to i386/include/mach/i386/fp_reg.h
(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.
Last-Update: 2021-01-15
Gbp-Pq: Name 0005-hurd-rename-extended-to-avoid-conflict-with-gnumach-dev.patch

4 years agoDefine PATH_MAX and MAXPATHLEN for GNU/Hurd compatibility
Anthony Fok [Fri, 15 Jan 2021 15:55:46 +0000 (15:55 +0000)]
Define PATH_MAX and MAXPATHLEN for GNU/Hurd compatibility

Origin: vendor
Bug-Debian: https://bugs.debian.org/977954
Forwarded: no
Last-Update: 2021-01-14

Last-Update: 2021-01-14
Gbp-Pq: Name 0004-hurd-PATH_MAX-and-MAXPATHLEN.patch

4 years agoUse packaged copy of MathJax from libjs-mathjax
Anthony Fok [Fri, 15 Jan 2021 15:55:46 +0000 (15:55 +0000)]
Use packaged copy of MathJax from libjs-mathjax

Origin: vendor
Forwarded: not-needed
Last-Update: 2020-11-24

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.
Last-Update: 2020-11-24
Gbp-Pq: Name 0003-use-local-libjs-mathjax.patch

4 years agoRemove custom library search path (RPATH/RUNPATH)
Anthony Fok [Fri, 15 Jan 2021 15:55:46 +0000 (15:55 +0000)]
Remove custom library search path (RPATH/RUNPATH)

Origin: vendor
Forwarded: not-needed
Last-Update: 2020-11-18

This reverts upstream's preference of setting RPATH/RUNPATH for
installed binaries.  Fixes Lintian custom-library-search-path error.
Last-Update: 2020-11-18
Gbp-Pq: Name 0002-remove-custom-library-search-path.patch

4 years agoAdd extra CMake install rules
Anthony Fok [Fri, 15 Jan 2021 15:55:46 +0000 (15:55 +0000)]
Add extra CMake install rules

Origin: vendor
Forwarded: not-needed
Last-Update: 2020-11-18

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.
Last-Update: 2020-11-18
Gbp-Pq: Name 0001-add-extra-cmake-install-rules.patch

4 years agofontforge (1:20201107~dfsg-4) unstable; urgency=medium
Anthony Fok [Fri, 15 Jan 2021 15:55:46 +0000 (15:55 +0000)]
fontforge (1:20201107~dfsg-4) unstable; urgency=medium

  * Rename extended to extendeddbl to avoid FTBFS on Hurd.
    gnumach-dev 1.8+git20201129 added to /usr/include/i386-gnu/mach/i386/fp_reg.h
    a new "extended" field which happens to collide with the custom-defined
    "extended" type in FontForge, leading to FTBFS on hurd-i386.
    See 0005-hurd-rename-extended-to-avoid-conflict-with-gnumach-dev.patch
  * Rename 0004-hurd-compatibility.patch to 0004-hurd-PATH_MAX-and-MAXPATHLEN.patch

[dgit import unpatched fontforge 1:20201107~dfsg-4]

4 years agoImport fontforge_20201107~dfsg-4.debian.tar.xz
Anthony Fok [Fri, 15 Jan 2021 15:55:46 +0000 (15:55 +0000)]
Import fontforge_20201107~dfsg-4.debian.tar.xz

[dgit import tarball fontforge 1:20201107~dfsg-4 fontforge_20201107~dfsg-4.debian.tar.xz]

5 years agoImport fontforge_20201107~dfsg.orig.tar.xz
Anthony Fok [Wed, 18 Nov 2020 08:42:18 +0000 (08:42 +0000)]
Import fontforge_20201107~dfsg.orig.tar.xz

[dgit import orig fontforge_20201107~dfsg.orig.tar.xz]