fontforge.git
17 months agoMerge fontforge (1:20230101~dfsg-3) import into refs/heads/workingbranch
Boyuan Yang [Sun, 30 Jun 2024 16:46:40 +0000 (12:46 -0400)]
Merge fontforge (1:20230101~dfsg-3) import into refs/heads/workingbranch

17 months agoUpdate po files from Croudin sources after fixing problems
skef [Sun, 31 Dec 2023 10:17:59 +0000 (02:17 -0800)]
Update po files from Croudin sources after fixing problems

Bug-Debian: https://bugs.debian.org/1074258
Applied-Upstream: https://github.com/fontforge/fontforge/commit/642d8a3db6d4bc0e70b429622fdf01ecb09c4c10

Gbp-Pq: Name 0006-Update-po-files-from-Croudin-sources-after-fixing-pr.patch

17 months agofix splinefont shell command injection (#5367)
Peter Kydas [Tue, 6 Feb 2024 09:03:04 +0000 (20:03 +1100)]
fix splinefont shell command injection (#5367)

Gbp-Pq: Name 0001-fix-splinefont-shell-command-injection-5367.patch

17 months agoRemove link to remote SourceForge logo from Japanese documentation
Anthony Fok [Sun, 30 Jun 2024 16:46:40 +0000 (12:46 -0400)]
Remove link to remote SourceForge logo from Japanese documentation

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

Also image link to upstream author George Williams’s now defunct old website,
and image link to thunbmail of « Fontes & codages » on Amazon.
Fixes Lintian privacy-breach-logo error.
Last-Update: 2020-11-23
Gbp-Pq: Name 2004-fix-privacy-breach-logo.patch

17 months 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

17 months agoUse packaged copy of MathJax from libjs-mathjax
Anthony Fok [Sun, 30 Jun 2024 16:46:40 +0000 (12:46 -0400)]
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

17 months agoRemove custom library search path (RPATH/RUNPATH)
Anthony Fok [Sun, 30 Jun 2024 16:46:40 +0000 (12:46 -0400)]
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

17 months agofontforge (1:20230101~dfsg-3) unstable; urgency=medium
Boyuan Yang [Sun, 30 Jun 2024 16:46:40 +0000 (12:46 -0400)]
fontforge (1:20230101~dfsg-3) unstable; urgency=medium

  * debian/control: Drop build-dependency on potrace. The upstream build
    system is no longer having compile-time check on the software. Note that
    we still keep potrace in the binary Suggests: field. (Closes: #1035822)

[dgit import unpatched fontforge 1:20230101~dfsg-3]

17 months agoImport fontforge_20230101~dfsg-3.debian.tar.xz
Boyuan Yang [Sun, 30 Jun 2024 16:46:40 +0000 (12:46 -0400)]
Import fontforge_20230101~dfsg-3.debian.tar.xz

[dgit import tarball fontforge 1:20230101~dfsg-3 fontforge_20230101~dfsg-3.debian.tar.xz]

21 months agoMerge fontforge (1:20230101~dfsg-1.1) import into refs/heads/workingbranch
Adrian Bunk [Thu, 7 Mar 2024 23:15:58 +0000 (01:15 +0200)]
Merge fontforge (1:20230101~dfsg-1.1) import into refs/heads/workingbranch

21 months agofix splinefont shell command injection (#5367)
Peter Kydas [Tue, 6 Feb 2024 09:03:04 +0000 (20:03 +1100)]
fix splinefont shell command injection (#5367)

Gbp-Pq: Name 0001-fix-splinefont-shell-command-injection-5367.patch

21 months agoRemove link to remote SourceForge logo from Japanese documentation
Anthony Fok [Thu, 7 Mar 2024 23:15:58 +0000 (01:15 +0200)]
Remove link to remote SourceForge logo from Japanese documentation

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

Also image link to upstream author George Williams’s now defunct old website,
and image link to thunbmail of « Fontes & codages » on Amazon.
Fixes Lintian privacy-breach-logo error.
Last-Update: 2020-11-23
Gbp-Pq: Name 2004-fix-privacy-breach-logo.patch

21 months 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

21 months agoUse packaged copy of MathJax from libjs-mathjax
Anthony Fok [Thu, 7 Mar 2024 23:15:58 +0000 (01:15 +0200)]
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

21 months agoRemove custom library search path (RPATH/RUNPATH)
Anthony Fok [Thu, 7 Mar 2024 23:15:58 +0000 (01:15 +0200)]
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

21 months agofontforge (1:20230101~dfsg-1.1) unstable; urgency=high
Adrian Bunk [Thu, 7 Mar 2024 23:15:58 +0000 (01:15 +0200)]
fontforge (1:20230101~dfsg-1.1) unstable; urgency=high

  * Non-maintainer upload.
  * CVE-2024-25081: Spline Font command injection via crafted filenames
  * CVE-2024-25082: Spline Font command injection via crafted archives
    or compressed files
  * Closes: #1064967

[dgit import unpatched fontforge 1:20230101~dfsg-1.1]

21 months agoImport fontforge_20230101~dfsg-1.1.debian.tar.xz
Adrian Bunk [Thu, 7 Mar 2024 23:15:58 +0000 (01:15 +0200)]
Import fontforge_20230101~dfsg-1.1.debian.tar.xz

[dgit import tarball fontforge 1:20230101~dfsg-1.1 fontforge_20230101~dfsg-1.1.debian.tar.xz]

2 years agoImport fontforge_20230101~dfsg.orig.tar.xz
Anthony Fok [Wed, 18 Jan 2023 18:05:41 +0000 (11:05 -0700)]
Import fontforge_20230101~dfsg.orig.tar.xz

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

2 years agoMerge fontforge (1:20230101~dfsg-1) import into refs/heads/workingbranch
Anthony Fok [Wed, 18 Jan 2023 18:05:41 +0000 (18:05 +0000)]
Merge fontforge (1:20230101~dfsg-1) import into refs/heads/workingbranch

2 years agoRemove link to remote SourceForge logo from Japanese documentation
Anthony Fok [Wed, 18 Jan 2023 18:05:41 +0000 (18:05 +0000)]
Remove link to remote SourceForge logo from Japanese documentation

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

Also image link to upstream author George Williams’s now defunct old website,
and image link to thunbmail of « Fontes & codages » on Amazon.
Fixes Lintian privacy-breach-logo error.
Last-Update: 2020-11-23
Gbp-Pq: Name 2004-fix-privacy-breach-logo.patch

2 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

2 years agoUse packaged copy of MathJax from libjs-mathjax
Anthony Fok [Wed, 18 Jan 2023 18:05:41 +0000 (18:05 +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

2 years agoRemove custom library search path (RPATH/RUNPATH)
Anthony Fok [Wed, 18 Jan 2023 18:05:41 +0000 (18:05 +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

2 years agofontforge (1:20230101~dfsg-1) unstable; urgency=medium
Anthony Fok [Wed, 18 Jan 2023 18:05:41 +0000 (18:05 +0000)]
fontforge (1:20230101~dfsg-1) unstable; urgency=medium

  * New upstream version 20230101~dfsg
    which incidentally fixes a FTFBS bug with fonts-ocr-a, see #1015092
    and https://github.com/fontforge/fontforge/issues/5070
  * Remove build-dependency on libuninameslist-dev, as upstream has switched
    from libuninameslist to internal nameslist functions since April 2021
  * Bump Standards-Version to 4.6.2 (no change)
  * Remove Debian patches that have been merged upstream.
    Special thanks to Jan Tojnar who contributed an enhanced version of
    0001-add-extra-cmake-install-rules.patch upstream;
    see https://github.com/fontforge/fontforge/pull/4941
  * Drop /usr/share/fontforge/python/simple/ from python3-fontforge.
    Jeremy Tan explained in https://github.com/fontforge/fontforge/pull/4941:
        It's a bunch of toy scripts, but they're basic/half-broken and are not
        easily discoverable, so yeah, no reason to bundle it
    I must have inadvertently reverted Jonas Smedegaard’s 2020-06-02 fix
    "stop ship python simple/* scripts: No longer installed upstream"
    in commit 4a44d9a38025f7b610292cfb1c6c3502cd315158 (Sorry!)
  * Fix Lintian build-depends-on-obsolete-package warning on libtiff5-dev
    by build-depending on libtiff-dev instead
  * Fix miscellaneous errors and warnings detected by Lintian

[dgit import unpatched fontforge 1:20230101~dfsg-1]

2 years agoImport fontforge_20230101~dfsg.orig.tar.xz
Anthony Fok [Wed, 18 Jan 2023 18:05:41 +0000 (18:05 +0000)]
Import fontforge_20230101~dfsg.orig.tar.xz

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

2 years agoImport fontforge_20230101~dfsg-1.debian.tar.xz
Anthony Fok [Wed, 18 Jan 2023 18:05:41 +0000 (18:05 +0000)]
Import fontforge_20230101~dfsg-1.debian.tar.xz

[dgit import tarball fontforge 1:20230101~dfsg-1 fontforge_20230101~dfsg-1.debian.tar.xz]

3 years agoMerge fontforge (1:20220308~dfsg-1) import into refs/heads/workingbranch
Anthony Fok [Thu, 16 Jun 2022 10:08:43 +0000 (11:08 +0100)]
Merge fontforge (1:20220308~dfsg-1) import into refs/heads/workingbranch

3 years agoRemove link to remote SourceForge logo from Japanese documentation
Anthony Fok [Thu, 16 Jun 2022 10:08:43 +0000 (11:08 +0100)]
Remove link to remote SourceForge logo from Japanese documentation

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

Also image link to upstream author George Williams’s now defunct old website,
and image link to thunbmail of « Fontes & codages » on Amazon.
Fixes Lintian privacy-breach-logo error.
Last-Update: 2020-11-23
Gbp-Pq: Name 2004-fix-privacy-breach-logo.patch

3 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

3 years ago"#undef extended" temporarily to avoid conflict on GNU Hurd
Anthony Fok [Thu, 16 Jun 2022 10:08:43 +0000 (11:08 +0100)]
"#undef extended" temporarily to avoid conflict on GNU Hurd

Origin: vendor
Forwarded: https://github.com/fontforge/fontforge/pull/5047
Last-Update: 2022-06-16

GNU Mach microkernel header files (gnumach-dev 1.8+git20201129) added to
struct i386_xfp_save in /usr/include/i386-gnu/include/mach/i386/fp_reg.h
a new "extended" field which happens to collide with the macro definition
"#define extended double" in FontForge, leading to FTBFS on GNU 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 temporarily undefines the "extended" macro before loading
<gio/gio.h> and friends, and redefines the "extended" macro right after.
and redefines it afterwards.
Last-Update: 2022-06-16
Gbp-Pq: Name 0005-hurd-undef-extended-temporarily.patch

3 years agoDefine PATH_MAX and MAXPATHLEN for GNU/Hurd compatibility
Anthony Fok [Thu, 16 Jun 2022 10:08:43 +0000 (11:08 +0100)]
Define PATH_MAX and MAXPATHLEN for GNU/Hurd compatibility

Origin: vendor
Bug-Debian: https://bugs.debian.org/877795
Forwarded: https://github.com/fontforge/fontforge/pull/5046
Last-Update: 2021-01-14, 2022-06-16

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

3 years agoUse packaged copy of MathJax from libjs-mathjax
Anthony Fok [Thu, 16 Jun 2022 10:08:43 +0000 (11:08 +0100)]
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

3 years agoRemove custom library search path (RPATH/RUNPATH)
Anthony Fok [Thu, 16 Jun 2022 10:08:43 +0000 (11:08 +0100)]
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

3 years agoAdd extra CMake install rules
Anthony Fok [Thu, 16 Jun 2022 10:08:43 +0000 (11:08 +0100)]
Add extra CMake install rules

Origin: vendor
Forwarded: not-needed
Last-Update: 2020-11-18, 2022-06-15

for 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, 2022-06-15
Gbp-Pq: Name 0001-add-extra-cmake-install-rules.patch

3 years agofontforge (1:20220308~dfsg-1) unstable; urgency=medium
Anthony Fok [Thu, 16 Jun 2022 10:08:43 +0000 (11:08 +0100)]
fontforge (1:20220308~dfsg-1) unstable; urgency=medium

  [ Boyuan Yang ]
  * debian/control: Drop Rogério Brito from uploaders list. (Closes: #994659)

  [ Anthony Fok ]
  * New upstream version 20220308~dfsg
  * Add 20120731.b-{6,7,7.1,7.2} changelog entries
    from Nov 2015 to Apr 2016 that were missing partly due to the failed
    (forgotten? ignored?) switch from master to debian/sid branch
  * Add Jonas Smedegaard’s copyright file contributions (which I overlooked)
    to the 1:20201107~dfsg-2 changelog entry
  * Refresh Debian patches:
    - 0001-add-extra-cmake-install-rules.patch: Upstream now installs
      cidmaps by default (Thanks to Fredrick Brennan for the fix!)
    - 0004-hurd-PATH_MAX-and-MAXPATHLEN.patch: Finally forwarded upstream
      at https://github.com/fontforge/fontforge/pull/5046
    - 0005-hurd-rename-extended-to-avoid-conflict-with-gnumach-dev.patch:
      Resolve conflicts and rename more "extended" to "extendeddbl"
  * Replace 0005-hurd-rename-extended-to-avoid-conflict-with-gnumach-dev.patch
    with a much simpler 0005-hurd-undef-extended-temporarily.patch
    that "#undef extended" temporarily to circumvent the name collision
    issue on Hurd.  See https://github.com/fontforge/fontforge/pull/5047
  * Update fontforge-common.install and fontforge-extras.install
    - Stop installing app icon in legacy /usr/share/pixmaps location
      (see upstream commit 6b4ab5a)
    - cidmaps have been moved from /usr/share/fontforge/ to
      /usr/share/fontforge/cidmap/ (see commit f97a2cd)
  * Bump Standards-Version to 4.6.1 (no change)

[dgit import unpatched fontforge 1:20220308~dfsg-1]

3 years agoImport fontforge_20220308~dfsg.orig.tar.xz
Anthony Fok [Thu, 16 Jun 2022 10:08:43 +0000 (11:08 +0100)]
Import fontforge_20220308~dfsg.orig.tar.xz

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

3 years agoImport fontforge_20220308~dfsg-1.debian.tar.xz
Anthony Fok [Thu, 16 Jun 2022 10:08:43 +0000 (11:08 +0100)]
Import fontforge_20220308~dfsg-1.debian.tar.xz

[dgit import tarball fontforge 1:20220308~dfsg-1 fontforge_20220308~dfsg-1.debian.tar.xz]

4 years agoMerge fontforge (1:20201107~dfsg-4) import into refs/heads/workingbranch
Anthony Fok [Fri, 15 Jan 2021 15:55:46 +0000 (15:55 +0000)]
Merge fontforge (1:20201107~dfsg-4) import into refs/heads/workingbranch

4 years agoRemove link to remote SourceForge logo from Japanese documentation
Anthony Fok [Fri, 15 Jan 2021 15:55:46 +0000 (15:55 +0000)]
Remove link to remote SourceForge logo from Japanese documentation

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

Also image link to upstream author George Williams’s now defunct old website,
and image link to thunbmail of « Fontes & codages » on Amazon.
Fixes Lintian privacy-breach-logo error.
Last-Update: 2020-11-23
Gbp-Pq: Name 2004-fix-privacy-breach-logo.patch

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 agoMerge fontforge (1:20201107~dfsg-2) import into refs/heads/workingbranch
Anthony Fok [Wed, 25 Nov 2020 01:21:25 +0000 (01:21 +0000)]
Merge fontforge (1:20201107~dfsg-2) import into refs/heads/workingbranch

5 years agoRemove link to remote SourceForge logo from Japanese documentation
Anthony Fok [Wed, 25 Nov 2020 01:21:25 +0000 (01:21 +0000)]
Remove link to remote SourceForge logo from Japanese documentation

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

Also image link to upstream author George Williams’s now defunct old website,
and image link to thunbmail of « Fontes & codages » on Amazon.
Fixes Lintian privacy-breach-logo error.
Last-Update: 2020-11-23
Gbp-Pq: Name 2004-fix-privacy-breach-logo.patch

5 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

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

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.
Last-Update: 2017-09-23

Gbp-Pq: Name 2003_avoid_privacy_breach.patch

5 years agoUse packaged copy of MathJax from libjs-mathjax
Anthony Fok [Wed, 25 Nov 2020 01:21:25 +0000 (01:21 +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

5 years agoRemove custom library search path (RPATH/RUNPATH)
Anthony Fok [Wed, 25 Nov 2020 01:21:25 +0000 (01:21 +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

5 years agoAdd extra CMake install rules
Anthony Fok [Wed, 25 Nov 2020 01:21:25 +0000 (01:21 +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

5 years agofontforge (1:20201107~dfsg-2) unstable; urgency=medium
Anthony Fok [Wed, 25 Nov 2020 01:21:25 +0000 (01:21 +0000)]
fontforge (1:20201107~dfsg-2) unstable; urgency=medium

  * debian/libfontforge4.install: Fix incorrect path.  For example, on i386,
    /usr/bin/${DEB_HOST_GNU_TYPE} resolves to /usr/bin/i686-linux-gnu which
    does not exist on Debian, whereas /usr/bin/${DEB_HOST_MULTIARCH} correctly
    resolves to /usr/bin/i386-linux-gnu that we need (Closes: #975460)
  * debian/rules: Fix binary-indep build by adding override_dh_missing-indep
  * Add debian/python3-fontforge.lintian-overrides
    as Lintian fails to find libfontforge.so.4 (from libfontforge4 package)
    and thus raises false library-not-linked-against-libc errors
  * Update debian/libfontforge4.lintian-overrides
    to point the new location of libfontforge.so.4
  * Remove obsolete debian/libfontforge-dev.links
  * Add debian/patches/2004-fix-privacy-breach-logo.patch
    to fix Lintian privacy-breach-logo errors in the Japanese translation
    of old FontForge documentation
  * Add 0003-use-local-libjs-mathjax.patch and fontforge-doc.links
    to fix Lintian privacy-breach-generic warnings
  * Fix Lintian link-to-shared-library-in-wrong-package warning by removing
    unused usr/lib/*/libfontforge.so symlink from libfontforge4 package
  * Mark libfontforge4 and python3-fontforge "Multi-Arch: same"
    as suggested by Multiarch hinter

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

5 years agoImport fontforge_20201107~dfsg-2.debian.tar.xz
Anthony Fok [Wed, 25 Nov 2020 01:21:25 +0000 (01:21 +0000)]
Import fontforge_20201107~dfsg-2.debian.tar.xz

[dgit import tarball fontforge 1:20201107~dfsg-2 fontforge_20201107~dfsg-2.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]

5 years agoMerge fontforge (1:20190801~dfsg-4) import into refs/heads/workingbranch
Boyuan Yang [Fri, 6 Mar 2020 03:10:07 +0000 (03:10 +0000)]
Merge fontforge (1:20190801~dfsg-4) import into refs/heads/workingbranch

5 years ago[PATCH] Deref gui initialization to after options parsing
Niclas Zeising [Mon, 9 Sep 2019 15:46:35 +0000 (17:46 +0200)]
[PATCH] Deref gui initialization to after options parsing

Move GUI initialisation when running with GDK until after options
parsing.  This way, help messages, version information and so on can be
printed even when no gui is around, such as running fontforge -version
from a configure script.

Forwarded: https://github.com/fontforge/fontforge/pull/3922
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952408
Applied-Upstream: https://github.com/fontforge/fontforge/commit/ee87536a63534bddc6535d18be793bc19294e274

Gbp-Pq: Name 3000-debian-bug-952408.patch

5 years agofix wrong xml tag
Hideki Yamane [Tue, 5 Nov 2019 11:42:22 +0000 (20:42 +0900)]
fix wrong xml tag

Gbp-Pq: Name 0004-fix-wrong-xml-tag.patch

5 years agoignore osx files
Hideki Yamane [Tue, 29 Oct 2019 13:28:35 +0000 (22:28 +0900)]
ignore osx files

Gbp-Pq: Name 0003-ignore-osx-files.patch

5 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

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

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.
Last-Update: 2017-09-23

Gbp-Pq: Name 2003_avoid_privacy_breach.patch

5 years agoAvoid build tools messing with VCS or packaging
Jonas Smedegaard [Tue, 5 Nov 2019 10:48:04 +0000 (19:48 +0900)]
Avoid build tools messing with VCS or packaging

Last-Update: 2016-05-25

Last-Update: 2016-05-25

Gbp-Pq: Name 2002_avoid_upstream_git_or_pkg.patch

5 years agofontforge (1:20190801~dfsg-4) unstable; urgency=high
Boyuan Yang [Fri, 6 Mar 2020 03:10:07 +0000 (03:10 +0000)]
fontforge (1:20190801~dfsg-4) unstable; urgency=high

  * Team upload.
  * debian/control: Set maintainer email to new mailing list.
  * debian/control.in: Also reflect some changes in the .in file.
  * debian/rules: Fix broken dev-dep list for cdbs.
  * debian/copyright:
    + Properly set Upstream-Name and Upstream-Contact.
    + Update license information for AppStream metadata file.

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

5 years agoImport fontforge_20190801~dfsg-4.debian.tar.xz
Boyuan Yang [Fri, 6 Mar 2020 03:10:07 +0000 (03:10 +0000)]
Import fontforge_20190801~dfsg-4.debian.tar.xz

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

6 years agoImport fontforge_20190801~dfsg.orig.tar.xz
Hideki Yamane [Tue, 5 Nov 2019 13:38:57 +0000 (13:38 +0000)]
Import fontforge_20190801~dfsg.orig.tar.xz

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

8 years agoAvoid links in html documents potentially breaching privacy
Vasudev Kamath [Sun, 24 Sep 2017 11:21:28 +0000 (12:21 +0100)]
Avoid links in html documents potentially breaching privacy

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

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.
Last-Update: 2017-09-23
Gbp-Pq: Name 2003_avoid_privacy_breach.patch

8 years agoAvoid build tools messing with VCS or packaging
Jonas Smedegaard [Sun, 24 Sep 2017 11:21:28 +0000 (12:21 +0100)]
Avoid build tools messing with VCS or packaging

Last-Update: 2016-05-25

Last-Update: 2016-05-25
Gbp-Pq: Name 2002_avoid_upstream_git_or_pkg.patch

8 years agoAdjust build tools for repackaged upstream source
Jonas Smedegaard [Sun, 24 Sep 2017 11:21:28 +0000 (12:21 +0100)]
Adjust build tools for repackaged upstream source

Last-Update: 2016-05-25

Last-Update: 2016-05-25
Gbp-Pq: Name 2001_repackaging_fixup.patch

8 years agofontforge (1:20170731~dfsg-1) unstable; urgency=high
Jonas Smedegaard [Sun, 24 Sep 2017 11:21:28 +0000 (12:21 +0100)]
fontforge (1:20170731~dfsg-1) unstable; urgency=high

  [upstream]
  * New release with number of adjustments and fixes.
    + Fixes multiple CVE's listed below.
     CVE-2017-11577, CVE-2017-11576, CVE-2017-11575, CVE-2017-11574,
     CVE-2017-11572, CVE-2017-11571, CVE-2017-11569, CVE-2017-11568.
Closes: bug#869614. Thanks to Salvatore Bonaccorso.
  [ Vasudev Kamath ]
  * Add fontforge-doc package to fontforge source.
Closes: bug#855710, bug#853040. Thanks to Hideki Yamane.
  * Simplify d-shlibs handling. Tighten to build-depend on recent d-hlibs.
  * debian/patches:
    + Drop patch 1001, merged upstream.
    + Refresh patch 2002 with new upstream files.
    + Add patch 2003 for removing SourceForge logo from documentation.
  * Update libfontforge2.symbols file for new release.
    There a lot of refactoring done by upstream without bumping major
    version.
  * Drop unused lintian-override from debian/source/lintian-override.
  * Drop wild card debian-old/* from debian/copyright. It is no longer
    available in upstream source.
  * Do not disable PIE.
Closes: bug#865601. Thanks to Adrian Bunk.
  [ Jonas Smedegaard ]
  * Add myself as uploader.
  * Update watch file: Use substitution strings.
  * Drop superfluous dh_installdirs hint files.
  * Advertise DEP-3 format in patch headers.
  * Tighten lintian overrides regarding License-Reference.
  * Tighten lintian overrides regarding long code lines.
  * Add lintian override for obsolete-url-in-packaging false positive.
  * Drop obsolete maintainer script make-clean-tarball.
  * Avoid mentioning Debian in doc-base title.
  * Update homepage.
  * Modernize Vcs-* fields:
    + Consistently use git (not cgit) in path.
    + Consistently include .git suffix in path.
  * Update copyright info:
    + Extend coverage for myself. Relince packaging to GPL-3+.
    + Merge same-licensed Files sections.
    + List graphicore code, licensed as BSD-2-clause.
    + Fix drop duplicate entries.
    + Fix list fontforge/fvimportbdf.c (same as gdraw/fontP.h) as
      licensed BSD-3-clause and X11~TOG (not BSD-3-clause).
    + Fix list files licensed BSD-3-clause in initial wildcard section.
    + Fix list files by a non-main copyright holder licensed GPL-3+.
    + Fix list files by a non-main copyright holders licensed GPL-3+
      with font exception.
    + Fix list font files.
    + Fix list files licensed GPL-2+.
    + Fix add License section for LGPL-2.1+.
    + Exclude non-DFSG free fonts from repackaged tarball.
  * Update package relations:
    + Stop conflict with defoma: Dropped before oldstable.
  * Drop breaks+replaces unneeded since oldstable.
  * Generalize and extend patch 2003 to cover more potential breaches.

[dgit import unpatched fontforge 1:20170731~dfsg-1]

8 years agoImport fontforge_20170731~dfsg.orig.tar.gz
Jonas Smedegaard [Sun, 24 Sep 2017 11:21:28 +0000 (12:21 +0100)]
Import fontforge_20170731~dfsg.orig.tar.gz

[dgit import orig fontforge_20170731~dfsg.orig.tar.gz]

8 years agoImport fontforge_20170731~dfsg-1.debian.tar.xz
Jonas Smedegaard [Sun, 24 Sep 2017 11:21:28 +0000 (12:21 +0100)]
Import fontforge_20170731~dfsg-1.debian.tar.xz

[dgit import tarball fontforge 1:20170731~dfsg-1 fontforge_20170731~dfsg-1.debian.tar.xz]