summaryrefslogtreecommitdiff
path: root/media-gfx/fontforge
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /media-gfx/fontforge
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'media-gfx/fontforge')
-rw-r--r--media-gfx/fontforge/Manifest9
-rw-r--r--media-gfx/fontforge/files/20200314-MacServiceReadFDs.patch38
-rw-r--r--media-gfx/fontforge/files/20200314-big-endian.patch298
-rw-r--r--media-gfx/fontforge/files/20200314-stylemap.patch30
-rw-r--r--media-gfx/fontforge/files/20200314-tilepath.patch31
-rw-r--r--media-gfx/fontforge/files/fontforge-20200314-freetype-2.10.3.patch60
-rw-r--r--media-gfx/fontforge/fontforge-20200314.ebuild117
-rw-r--r--media-gfx/fontforge/fontforge-20201107.ebuild2
8 files changed, 2 insertions, 583 deletions
diff --git a/media-gfx/fontforge/Manifest b/media-gfx/fontforge/Manifest
index a32eb57ace5b..bff3d56416fa 100644
--- a/media-gfx/fontforge/Manifest
+++ b/media-gfx/fontforge/Manifest
@@ -1,11 +1,4 @@
-AUX 20200314-MacServiceReadFDs.patch 1053 BLAKE2B 733c1e217681b7f5f6cf776835f142d93224bc240928c2b37101f71a19f31f240ac6c1f28931e544b5e277b82e6f0baceb0634fb92a74009b0c3b93d49262824 SHA512 cd8bf4bdf1e792ec4a9c7177cfd2e0cae42d0fa4ad016bb5372826e776170c6d4c53cdd2013784410fac9e4fd674afe3030b64577b2ac9f4b019d84510425614
-AUX 20200314-big-endian.patch 11856 BLAKE2B ae107bec5156a60605d19588b61ce9b7869a41ce148f3da16b7f69a3c298667c224d0cd22796aa447ef71118ee0b6c0cb8682f71d483de4806cd4640cefcb86f SHA512 d15dd1dcc5d3ca6d798954b31ce2dbc943536bbbcd158eb3ac95c9643fa0dee4c0357aa954298ef8d270be13c0f012d424d9c5f34d865dd9dd33ff7f189d257f
-AUX 20200314-stylemap.patch 869 BLAKE2B a5907efaa1357f5b445eadfa951d9558de78eb1f8eb271cac15318a6d1e7d95c4d56918ca41307c9ff74ab05bf3cc373a5189ccaa5c76282b2c0c5d6834bfaba SHA512 1f0e363d42606fb506dd6f747ac250cce6ab4b5bf49400095cab9fd48b68232a8d58325147d2e1f7ca223093d36edf020f70f383bb0bf24f3a2f2fc3b35fb747
-AUX 20200314-tilepath.patch 1142 BLAKE2B 61aa804682a5e486c2f131fd9d81fc5d29ca946f18d9d11a323d4c49cfa8c9404b846e2afb6ac4dbf00af78133f27819f72f678298c3abfaeecd576877ac1ed4 SHA512 2cbd0ac47c211ceda2e2e4d6b62a69432e084ec664d58ff5e259f2d1eee9b70b64610d4a428d5f86305c8427c21dd6a00944a86a995c8cc5f9aed63df4aa5a31
-AUX fontforge-20200314-freetype-2.10.3.patch 2000 BLAKE2B 384f524e4f7bf633169c8d59ab3e7bae0a967f48365e3699301d548225d63feb1e0195f06371d5b39169b16b5ace6ea474de0eaca9c1cc5fe957da0e74322697 SHA512 b4881fbaf6ac5f2099fa11e6b537697b4493a129d2f21d58387303326d079e7b21a515e0f1efb0bf50311b811f640847c69d29b64e2bdea3d56b7975b31836ab
AUX fontforge-doc-no-warn-error.patch 834 BLAKE2B c8bd1cfcf320b7831cc64d67d8de52b37e2f37bbac91d5df709d23e144ae33ec02907606348185eac7030f5151719e0023c0d9fda5395334a15c56f7174151c4 SHA512 6055f1696f1910e81ab1b84b48d336c1a097b53618a3a960e8ce2aeb57e05ad364848d48082b792cd4d5cc85fc95947cddd2e04e7a98c5ceb6f9ced14bd4e674
-DIST fontforge-20200314.tar.xz 13850076 BLAKE2B 5e6ae3b7940a5b3b08811abdfc9d151f231e6d457b219eb0c666e1b831db815b696f345eda0d4d423b7e340f56fca67205734ae19903b3815381080d34b5e95c SHA512 09f5dc93f87ca63668d72d108690604489d6b3cec7eedff1c07ad6d1ce5eae442ab60e79e71ae8b99e9808f3551011788025a86ffc3a9738518d99761d849975
DIST fontforge-20201107.tar.xz 14163424 BLAKE2B 8ce9148eef6e5b7206ab5c70310ff36fac67c392117e3c0b28060803a54306bf21c179b62b98734e11253739eac29e2ea8bcf3014c09432bb3a0b2b0f3ec631a SHA512 cf9666395405ab02943f0160959f04251bd2a80e279a8f60431089ad19a4c5a232efd42097050ed9f6c1fb39d01488176262949fd81f5f0960fe853b497437dc
-EBUILD fontforge-20200314.ebuild 3058 BLAKE2B 94968a4ca991a47bb10ed96bd636fe0930df065c5d8d18348b50cfcf7b5710b8aea7f4b981410b3f041bd942a7544002c1c1100fb75bf94945b6893dc2948437 SHA512 3a7af2adbee535f5589145d7e41e1fe627558bb672da9979842d5917ff0c59496c7ec5c4f1d56b0f82553d3bf83bac0fee526674da017875b49e07aae2f7bd7a
-EBUILD fontforge-20201107.ebuild 2858 BLAKE2B ab21f8e1d9bf605cd3676130da35a0afc3ec9faf2c1fa34614b50c5eb6b0c291621041d3e5c91079834cc8b71dc044c6c004020d217db5e517d3ce0432292ed4 SHA512 c13614e750bde83c367c3491a1b10411b6df77767fb1aea42e0c274311b47cc9d41189f83cc6103f8ce9fd6e429c769748ac2b6f276e3435f8df2aac51f78d03
+EBUILD fontforge-20201107.ebuild 2857 BLAKE2B 67a11f7c1544d54ac4e7afaf17eefa768fd9f4f281980330fa67dfeb60d66881cc8c5d2ade1482df452c8b46bf062e81207ff613a8394c5fc2d3124b8065d42a SHA512 c7c60fee29aa677ef934ce39c37fefee838ac31bc08b32a55338cb74df45ec341ebdf08c20f63a1917aa7254705a619f00be28aa9a0e7294910a652ae8a3e505
MISC metadata.xml 861 BLAKE2B 124399e55210b51cd13640775c816694e8ac20aa897984124bb6b62491494bf754e8ad772f0c322044853c8000ba882491193213a749dc696bf0d63d781cd8df SHA512 cde1be6966688ea55af73b02cf4fbffae5141bdfebf45211ca84c0f3651e39916b9abeb6bab652663ff5a68ed0b359df35e0420447a5f1c9a0ab16368f74e479
diff --git a/media-gfx/fontforge/files/20200314-MacServiceReadFDs.patch b/media-gfx/fontforge/files/20200314-MacServiceReadFDs.patch
deleted file mode 100644
index d6beff7984c9..000000000000
--- a/media-gfx/fontforge/files/20200314-MacServiceReadFDs.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 5a3d2ce60aeefd706c36a8325721b0c8c818c742 Mon Sep 17 00:00:00 2001
-From: Mike Gilbert <floppym@gentoo.org>
-Date: Fri, 1 May 2020 05:06:07 -0400
-Subject: [PATCH] Stub-out MacServiceReadFDs() on non-Mac platforms (#4246)
-
-This should fix a build failure on Linux with musl libc due to the
-missing sys/select.h include.
-
-MacServiceReadFDs seems to only be called in startui.c, also behind the
-__Mac macro.
-
-Bug: https://bugs.gentoo.org/706792
----
- gdraw/gdraw.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/gdraw/gdraw.c b/gdraw/gdraw.c
-index 1fb3354b1d..6bac57b92a 100644
---- a/gdraw/gdraw.c
-+++ b/gdraw/gdraw.c
-@@ -32,7 +32,7 @@
- #include "gkeysym.h"
- #include "ustring.h"
-
--#if __Mac || __FreeBSD__ || __NetBSD__ || __OpenBSD__ || __DragonFly__
-+#if __Mac
- # include <sys/select.h>
- #endif
-
-@@ -1076,7 +1076,7 @@ GDrawRemoveReadFD( GDisplay *gdisp,
-
- void MacServiceReadFDs()
- {
--#if (!defined(__MINGW32__))&&(!defined(__CYGWIN__))
-+#if __Mac
- int ret = 0;
-
- GDisplay *gdisp = GDrawGetDisplayOfWindow(0);
diff --git a/media-gfx/fontforge/files/20200314-big-endian.patch b/media-gfx/fontforge/files/20200314-big-endian.patch
deleted file mode 100644
index f9581ad35f42..000000000000
--- a/media-gfx/fontforge/files/20200314-big-endian.patch
+++ /dev/null
@@ -1,298 +0,0 @@
-From 65619185a42bd52bb4a4894c1714d78d96ed4175 Mon Sep 17 00:00:00 2001
-From: Jeremy Tan <jtanx@outlook.com>
-Date: Sun, 26 Apr 2020 18:57:58 +1000
-Subject: [PATCH 1/2] tottfgpos.c: fix incorrect sizing of the scripts array
-
-latn contains 58 entries (29 pairs), meaning the size was too small
-to fit the 0 marker at the end of the array
----
- fontforge/tottfgpos.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/fontforge/tottfgpos.c b/fontforge/tottfgpos.c
-index 5de5164ed1..e12a0b8a79 100644
---- a/fontforge/tottfgpos.c
-+++ b/fontforge/tottfgpos.c
-@@ -60,7 +60,7 @@ int use_second_indic_scripts = false;
- /* scripts (for opentype) that I understand */
- /* see also list in lookups.c mapping script tags to friendly names */
-
--static uint32 scripts[][59] = {
-+static uint32 scripts[][61] = {
- /* Adlam */ { CHR('a','d','l','m'), 0x1e900, 0x1e95f },
- /* Ahom */ { CHR('a','h','o','m'), 0x11700, 0x1173f },
- /* Anatolian */ { CHR('h','l','u','w'), 0x14400, 0x1467f },
-
-From fde85b13382595cb3ab889e38570b4944edad808 Mon Sep 17 00:00:00 2001
-From: Jeremy Tan <jtanx@outlook.com>
-Date: Sun, 26 Apr 2020 19:00:04 +1000
-Subject: [PATCH 2/2] python.c: fix type specifier on long input/return values
-
-int is guaranteed to be at least 16 bits, while long is at least
-32 bits. So for uint32/int32 values, parse longs with the "l"/"k"
-specifier and cast return values to long.
-
-The cast is necessary as on amd64 a long is 64 bits
----
- fontforge/python.c | 68 +++++++++++++++++++++++-----------------------
- 1 file changed, 34 insertions(+), 34 deletions(-)
-
-diff --git a/fontforge/python.c b/fontforge/python.c
-index 5344b0f60f..6c9675fa4e 100644
---- a/fontforge/python.c
-+++ b/fontforge/python.c
-@@ -760,7 +760,7 @@ static PyObject *PyFF_UnicodeAnnotationFromLib(PyObject *UNUSED(self), PyObject
- char *temp;
- long val;
-
-- if ( !PyArg_ParseTuple(args,"|i",&val) )
-+ if ( !PyArg_ParseTuple(args,"|l",&val) )
- return( NULL );
-
- if ( (temp=unicode_annot(val))==NULL ) {
-@@ -777,7 +777,7 @@ static PyObject *PyFF_UnicodeNameFromLib(PyObject *UNUSED(self), PyObject *args)
- char *temp;
- long val;
-
-- if ( !PyArg_ParseTuple(args,"|i",&val) )
-+ if ( !PyArg_ParseTuple(args,"|l",&val) )
- return( NULL );
-
- if ( (temp=unicode_name(val))==NULL ) {
-@@ -798,10 +798,10 @@ static PyObject *PyFF_UnicodeBlockStartFromLib(PyObject *UNUSED(self), PyObject
- /* Use this function with UnicodeBlockNameFromLib(n) & UnicodeBlockEndFromLib(n). */
- long val;
-
-- if ( !PyArg_ParseTuple(args,"|i",&val) )
-+ if ( !PyArg_ParseTuple(args,"|l",&val) )
- return( NULL );
-
-- return( Py_BuildValue("i", unicode_block_start(val)) );
-+ return( Py_BuildValue("l", (long)unicode_block_start(val)) );
- }
-
- static PyObject *PyFF_UnicodeBlockEndFromLib(PyObject *UNUSED(self), PyObject *args) {
-@@ -809,10 +809,10 @@ static PyObject *PyFF_UnicodeBlockEndFromLib(PyObject *UNUSED(self), PyObject *a
- /* Use this function with UnicodeBlockStartFromLib(n), UnicodeBlockNameFromLib(n) */
- long val;
-
-- if ( !PyArg_ParseTuple(args,"|i",&val) )
-+ if ( !PyArg_ParseTuple(args,"|l",&val) )
- return( NULL );
-
-- return( Py_BuildValue("i", unicode_block_end(val)) );
-+ return( Py_BuildValue("l", (long)unicode_block_end(val)) );
- }
-
- static PyObject *PyFF_UnicodeBlockNameFromLib(PyObject *UNUSED(self), PyObject *args) {
-@@ -822,7 +822,7 @@ static PyObject *PyFF_UnicodeBlockNameFromLib(PyObject *UNUSED(self), PyObject *
- char *temp;
- long val;
-
-- if ( !PyArg_ParseTuple(args,"|i",&val) )
-+ if ( !PyArg_ParseTuple(args,"|l",&val) )
- return( NULL );
-
- if ( (temp=unicode_block_name(val))==NULL ) {
-@@ -853,24 +853,24 @@ static PyObject *PyFF_UnicodeNames2GetCntFromLib(PyObject *UNUSED(self), PyObjec
- static PyObject *PyFF_UnicodeNames2GetNxtFromLib(PyObject *UNUSED(self), PyObject *args) {
- long val;
-
-- if ( !PyArg_ParseTuple(args,"|i",&val) )
-+ if ( !PyArg_ParseTuple(args,"|l",&val) )
- return( NULL );
-- return( Py_BuildValue("i", unicode_names2getUtabLoc(val)) );
-+ return( Py_BuildValue("l", (long)unicode_names2getUtabLoc(val)) );
- }
-
- static PyObject *PyFF_UnicodeNames2NxtUniFromLib(PyObject *UNUSED(self), PyObject *args) {
- long val;
-
-- if ( !PyArg_ParseTuple(args,"|i",&val) )
-+ if ( !PyArg_ParseTuple(args,"|l",&val) )
- return( NULL );
-- return( Py_BuildValue("i", unicode_names2valFrmTab(val)) );
-+ return( Py_BuildValue("l", (long)unicode_names2valFrmTab(val)) );
- }
-
- static PyObject *PyFF_UnicodeNames2FrmTabFromLib(PyObject *UNUSED(self), PyObject *args) {
- long val;
- char *temp;
-
-- if ( !PyArg_ParseTuple(args,"|i",&val) )
-+ if ( !PyArg_ParseTuple(args,"|l",&val) )
- return( NULL );
- if ( (temp=unicode_name2FrmTab(val))==NULL ) {
- return Py_BuildValue("s", "");
-@@ -883,7 +883,7 @@ static PyObject *PyFF_UnicodeNames2FromLib(PyObject *UNUSED(self), PyObject *arg
- long val;
- char *temp;
-
-- if ( !PyArg_ParseTuple(args,"|i",&val) )
-+ if ( !PyArg_ParseTuple(args,"|l",&val) )
- return( NULL );
- if ( (temp=unicode_name2(val))==NULL ) {
- return Py_BuildValue("s", "");
-@@ -899,7 +899,7 @@ static PyObject *PyFF_UnicodeNames2FromLib(PyObject *UNUSED(self), PyObject *arg
- static PyObject *PyFF_isligature(PyObject *UNUSED(self), PyObject *args) {
- long codepoint;
-
-- if ( !PyArg_ParseTuple(args,"|i",&codepoint) )
-+ if ( !PyArg_ParseTuple(args,"|l",&codepoint) )
- return( NULL );
-
- return( Py_BuildValue("i", is_LIGATURE(codepoint)==0?1:0) );
-@@ -908,7 +908,7 @@ static PyObject *PyFF_isligature(PyObject *UNUSED(self), PyObject *args) {
- static PyObject *PyFF_isvulgarfraction(PyObject *UNUSED(self), PyObject *args) {
- long codepoint;
-
-- if ( !PyArg_ParseTuple(args,"|i",&codepoint) )
-+ if ( !PyArg_ParseTuple(args,"|l",&codepoint) )
- return( NULL );
-
- return( Py_BuildValue("i", is_VULGAR_FRACTION(codepoint)==0?1:0) );
-@@ -917,7 +917,7 @@ static PyObject *PyFF_isvulgarfraction(PyObject *UNUSED(self), PyObject *args) {
- static PyObject *PyFF_isotherfraction(PyObject *UNUSED(self), PyObject *args) {
- long codepoint;
-
-- if ( !PyArg_ParseTuple(args,"|i",&codepoint) )
-+ if ( !PyArg_ParseTuple(args,"|l",&codepoint) )
- return( NULL );
-
- return( Py_BuildValue("i", is_OTHER_FRACTION(codepoint)==0?1:0) );
-@@ -926,7 +926,7 @@ static PyObject *PyFF_isotherfraction(PyObject *UNUSED(self), PyObject *args) {
- static PyObject *PyFF_isfraction(PyObject *UNUSED(self), PyObject *args) {
- long codepoint;
-
-- if ( !PyArg_ParseTuple(args,"|i",&codepoint) )
-+ if ( !PyArg_ParseTuple(args,"|l",&codepoint) )
- return( NULL );
-
- return( Py_BuildValue("i", (is_VULGAR_FRACTION(codepoint)==0 || \
-@@ -957,28 +957,28 @@ static PyObject *PyFF_FracChartGetCnt(PyObject *UNUSED(self), PyObject *UNUSED(a
- static PyObject *PyFF_LigChartGetNxt(PyObject *UNUSED(self), PyObject *args) {
- long val;
-
-- if ( !PyArg_ParseTuple(args,"|i",&val) )
-+ if ( !PyArg_ParseTuple(args,"|l",&val) )
- return( NULL );
-
-- return( Py_BuildValue("i", Ligature_get_U(val)) );
-+ return( Py_BuildValue("l", (long)Ligature_get_U(val)) );
- }
-
- static PyObject *PyFF_VulChartGetNxt(PyObject *UNUSED(self), PyObject *args) {
- long val;
-
-- if ( !PyArg_ParseTuple(args,"|i",&val) )
-+ if ( !PyArg_ParseTuple(args,"|l",&val) )
- return( NULL );
-
-- return( Py_BuildValue("i", VulgFrac_get_U(val)) );
-+ return( Py_BuildValue("l", (long)VulgFrac_get_U(val)) );
- }
-
- static PyObject *PyFF_OFracChartGetNxt(PyObject *UNUSED(self), PyObject *args) {
- long val;
-
-- if ( !PyArg_ParseTuple(args,"|i",&val) )
-+ if ( !PyArg_ParseTuple(args,"|l",&val) )
- return( NULL );
-
-- return( Py_BuildValue("i", Fraction_get_U(val)) );
-+ return( Py_BuildValue("l", (long)Fraction_get_U(val)) );
- }
-
- /* If you have a unicode ligature, or fraction, these routines return loc n. */
-@@ -987,7 +987,7 @@ static PyObject *PyFF_OFracChartGetNxt(PyObject *UNUSED(self), PyObject *args) {
- static PyObject *PyFF_LigChartGetLoc(PyObject *UNUSED(self), PyObject *args) {
- long codepoint;
-
-- if ( !PyArg_ParseTuple(args,"|i",&codepoint) )
-+ if ( !PyArg_ParseTuple(args,"|l",&codepoint) )
- return( NULL );
-
- return( Py_BuildValue("i", Ligature_find_N(codepoint)) );
-@@ -996,7 +996,7 @@ static PyObject *PyFF_LigChartGetLoc(PyObject *UNUSED(self), PyObject *args) {
- static PyObject *PyFF_VulChartGetLoc(PyObject *UNUSED(self), PyObject *args) {
- long codepoint;
-
-- if ( !PyArg_ParseTuple(args,"|i",&codepoint) )
-+ if ( !PyArg_ParseTuple(args,"|l",&codepoint) )
- return( NULL );
-
- return( Py_BuildValue("i", VulgFrac_find_N(codepoint)) );
-@@ -1005,7 +1005,7 @@ static PyObject *PyFF_VulChartGetLoc(PyObject *UNUSED(self), PyObject *args) {
- static PyObject *PyFF_OFracChartGetLoc(PyObject *UNUSED(self), PyObject *args) {
- long codepoint;
-
-- if ( !PyArg_ParseTuple(args,"|i",&codepoint) )
-+ if ( !PyArg_ParseTuple(args,"|l",&codepoint) )
- return( NULL );
-
- return( Py_BuildValue("i", Fraction_find_N(codepoint)) );
-@@ -1066,7 +1066,7 @@ static PyObject *PyFF_LigChartGetAltVal(PyObject *UNUSED(self), PyObject *args)
-
- if ( !PyArg_ParseTuple(args,"ll",&nthCode, &altN) )
- return( NULL );
-- return( Py_BuildValue("i", Ligature_alt_getV(nthCode,altN)) );
-+ return( Py_BuildValue("l", (long)Ligature_alt_getV(nthCode,altN)) );
- }
-
- static PyObject *PyFF_LigChartUGetAltVal(PyObject *UNUSED(self), PyObject *args) {
-@@ -1074,7 +1074,7 @@ static PyObject *PyFF_LigChartUGetAltVal(PyObject *UNUSED(self), PyObject *args)
-
- if ( !PyArg_ParseTuple(args,"ll",&nthCode, &altN) )
- return( NULL );
-- return( Py_BuildValue("i", LigatureU_alt_getV(nthCode,altN)) );
-+ return( Py_BuildValue("l", (long)LigatureU_alt_getV(nthCode,altN)) );
- }
-
- static PyObject *PyFF_VulChartGetAltVal(PyObject *UNUSED(self), PyObject *args) {
-@@ -1082,7 +1082,7 @@ static PyObject *PyFF_VulChartGetAltVal(PyObject *UNUSED(self), PyObject *args)
-
- if ( !PyArg_ParseTuple(args,"ll",&nthCode, &altN) )
- return( NULL );
-- return( Py_BuildValue("i", VulgFrac_alt_getV(nthCode,altN)) );
-+ return( Py_BuildValue("l", (long)VulgFrac_alt_getV(nthCode,altN)) );
- }
-
- static PyObject *PyFF_VulChartUGetAltVal(PyObject *UNUSED(self), PyObject *args) {
-@@ -1090,7 +1090,7 @@ static PyObject *PyFF_VulChartUGetAltVal(PyObject *UNUSED(self), PyObject *args)
-
- if ( !PyArg_ParseTuple(args,"ll",&nthCode, &altN) )
- return( NULL );
-- return( Py_BuildValue("i", VulgFracU_alt_getV(nthCode,altN)) );
-+ return( Py_BuildValue("l", (long)VulgFracU_alt_getV(nthCode,altN)) );
- }
-
- static PyObject *PyFF_OFracChartGetAltVal(PyObject *UNUSED(self), PyObject *args) {
-@@ -1098,7 +1098,7 @@ static PyObject *PyFF_OFracChartGetAltVal(PyObject *UNUSED(self), PyObject *args
-
- if ( !PyArg_ParseTuple(args,"ll",&nthCode, &altN) )
- return( NULL );
-- return( Py_BuildValue("i", Fraction_alt_getV(nthCode,altN)) );
-+ return( Py_BuildValue("l", (long)Fraction_alt_getV(nthCode,altN)) );
- }
-
- static PyObject *PyFF_OFracChartUGetAltVal(PyObject *UNUSED(self), PyObject *args) {
-@@ -1106,7 +1106,7 @@ static PyObject *PyFF_OFracChartUGetAltVal(PyObject *UNUSED(self), PyObject *arg
-
- if ( !PyArg_ParseTuple(args,"ll",&nthCode, &altN) )
- return( NULL );
-- return( Py_BuildValue("i", FractionU_alt_getV(nthCode,altN)) );
-+ return( Py_BuildValue("l", (long)FractionU_alt_getV(nthCode,altN)) );
- }
-
- static PyObject *PyFF_Version(PyObject *UNUSED(self), PyObject *UNUSED(args)) {
-@@ -1542,8 +1542,8 @@ return( ret );
- }
-
- static PyObject *PyFF_scriptFromUnicode(PyObject *UNUSED(self), PyObject *args) {
-- long u;
-- if ( !PyArg_ParseTuple(args,"i",&u) )
-+ unsigned long u;
-+ if ( !PyArg_ParseTuple(args,"k",&u) )
- return( NULL );
-
- uint32 script = ScriptFromUnicode(u, NULL);
diff --git a/media-gfx/fontforge/files/20200314-stylemap.patch b/media-gfx/fontforge/files/20200314-stylemap.patch
deleted file mode 100644
index d3311cab02d2..000000000000
--- a/media-gfx/fontforge/files/20200314-stylemap.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 3b83adc89771000eb95fcd87bb675f771ba85aaf Mon Sep 17 00:00:00 2001
-From: Mike Gilbert <floppym@gentoo.org>
-Date: Sun, 29 Mar 2020 16:36:14 -0400
-Subject: [PATCH] Avoid integer size conflict when setting stylemap
-
-stylemap is a 16-bit integer, but hexmap writes 32-bits.
-
-Bug: https://bugs.gentoo.org/642756
----
- fontforge/sfd.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/fontforge/sfd.c b/fontforge/sfd.c
-index 9517d8cb1..b638fe447 100644
---- a/fontforge/sfd.c
-+++ b/fontforge/sfd.c
-@@ -8104,7 +8104,9 @@ bool SFD_GetFontMetaData( FILE *sfd,
- }
- else if ( strmatch(tok,"StyleMap:")==0 )
- {
-- gethex(sfd,(uint32 *)&sf->pfminfo.stylemap);
-+ uint32 u;
-+ gethex(sfd,&u);
-+ sf->pfminfo.stylemap = u;
- }
- /* Legacy attribute for StyleMap. Deprecated. */
- else if ( strmatch(tok,"OS2StyleName:")==0 )
---
-2.26.0.rc2
-
diff --git a/media-gfx/fontforge/files/20200314-tilepath.patch b/media-gfx/fontforge/files/20200314-tilepath.patch
deleted file mode 100644
index 1e0d077532a4..000000000000
--- a/media-gfx/fontforge/files/20200314-tilepath.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 43e6087ec9bdbb23b8bb61c07efe6490fab23d73 Mon Sep 17 00:00:00 2001
-From: skef <6175836+skef@users.noreply.github.com>
-Date: Thu, 19 Mar 2020 17:16:20 -0700
-Subject: [PATCH] Tilepath fix (#4231)
-
----
- fontforgeexe/tilepath.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/fontforgeexe/tilepath.c b/fontforgeexe/tilepath.c
-index b329b54098..2575058eb4 100644
---- a/fontforgeexe/tilepath.c
-+++ b/fontforgeexe/tilepath.c
-@@ -571,7 +571,7 @@ static void AdjustPoint(TD *td,Spline *spline,bigreal t, FitPoint *to) {
- } else {
- bigreal s=(dy1*dx2/dy2-dx1);
- if ( s>-.00001 && s<.00001 ) { /* essentially parallel */
-- to->p.x = x1; to->y = y1;
-+ to->p.x = x1; to->p.y = y1;
- } else {
- bigreal t1 = (x1-x2- dx2/dy2*(y1-y2))/s;
- to->p.x = x1 + dx1*t1;
-@@ -610,7 +610,7 @@ static SplinePoint *TDMakePoint(TD *td,Spline *old,real t) {
-
- AdjustPoint(td,old,t,&fp);
- new = chunkalloc(sizeof(SplinePoint));
-- new->me.x = tp.p.x; new->me.y = tp.p.y;
-+ new->me.x = fp.p.x; new->me.y = fp.p.y;
- new->nextcp = new->me;
- new->prevcp = new->me;
- new->nonextcp = new->noprevcp = true;
diff --git a/media-gfx/fontforge/files/fontforge-20200314-freetype-2.10.3.patch b/media-gfx/fontforge/files/fontforge-20200314-freetype-2.10.3.patch
deleted file mode 100644
index 0a07423ab626..000000000000
--- a/media-gfx/fontforge/files/fontforge-20200314-freetype-2.10.3.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-https://bugs.gentoo.org/753788
-https://github.com/fontforge/fontforge/commit/7837530190a3b666109ba4eb9b3b76f09799057c
-----
-From 7837530190a3b666109ba4eb9b3b76f09799057c Mon Sep 17 00:00:00 2001
-From: Jeremy Tan <jtanx@outlook.com>
-Date: Tue, 3 Nov 2020 21:27:26 +1100
-Subject: [PATCH] Fix FreeType debugger compilation with FreeType >= 2.10.3
-
-Fixes #4477
----
- fontforge/fffreetype.h | 4 +++-
- fontforgeexe/cvdebug.c | 4 +++-
- fontforgeexe/cvdgloss.c | 4 +++-
- 3 files changed, 9 insertions(+), 3 deletions(-)
-
-diff --git a/fontforge/fffreetype.h b/fontforge/fffreetype.h
-index 7757b7bf3b..11070fc916 100644
---- a/fontforge/fffreetype.h
-+++ b/fontforge/fffreetype.h
-@@ -39,7 +39,9 @@
- #endif
-
- #if defined(FREETYPE_HAS_DEBUGGER)
--# include <internal/internal.h>
-+#if FREETYPE_MAJOR == 2 && (FREETYPE_MINOR < 10 || (FREETYPE_MINOR == 10 && FREETYPE_PATCH < 3))
-+# include <internal/internal.h>
-+# endif
- # include <ttdriver.h>
- # include <ttinterp.h>
- # include <ttobjs.h>
-diff --git a/fontforgeexe/cvdebug.c b/fontforgeexe/cvdebug.c
-index 9fb7db6112..a891902a06 100644
---- a/fontforgeexe/cvdebug.c
-+++ b/fontforgeexe/cvdebug.c
-@@ -59,7 +59,9 @@ void CVDebugPointPopup(CharView *cv) {
- #include <ft2build.h>
- #include FT_FREETYPE_H
-
--#include <internal/internal.h>
-+#if FREETYPE_MAJOR == 2 && (FREETYPE_MINOR < 10 || (FREETYPE_MINOR == 10 && FREETYPE_PATCH < 3))
-+# include <internal/internal.h>
-+#endif
- #include <ttinterp.h>
-
- # define PPEMX(exc) ((exc)->size->root.metrics.x_ppem)
-diff --git a/fontforgeexe/cvdgloss.c b/fontforgeexe/cvdgloss.c
-index 33cc5c71e1..c1ad97790b 100644
---- a/fontforgeexe/cvdgloss.c
-+++ b/fontforgeexe/cvdgloss.c
-@@ -42,7 +42,9 @@ extern GBox _ggadget_Default_Box;
- #include <ft2build.h>
- #include FT_FREETYPE_H
-
--#include <internal/internal.h>
-+#if FREETYPE_MAJOR == 2 && (FREETYPE_MINOR < 10 || (FREETYPE_MINOR == 10 && FREETYPE_PATCH < 3))
-+# include <internal/internal.h>
-+#endif
- #include <ttinterp.h>
-
- #define PPEMX(exc) ((exc)->size->root.metrics.x_ppem)
diff --git a/media-gfx/fontforge/fontforge-20200314.ebuild b/media-gfx/fontforge/fontforge-20200314.ebuild
deleted file mode 100644
index 3572b345a24f..000000000000
--- a/media-gfx/fontforge/fontforge-20200314.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 2004-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit python-single-r1 xdg cmake
-
-DESCRIPTION="postscript font editor and converter"
-HOMEPAGE="https://fontforge.org/"
-SRC_URI="https://github.com/fontforge/fontforge/releases/download/${PV}/fontforge-${PV}.tar.xz"
-
-LICENSE="BSD GPL-3+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="doc truetype-debugger gif gtk jpeg png +python readline test tiff svg unicode woff2 X"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- dev-libs/glib:2
- dev-libs/libltdl:0
- dev-libs/libxml2:2=
- >=media-libs/freetype-2.3.7:2=
- gif? ( media-libs/giflib:0= )
- jpeg? ( virtual/jpeg:0 )
- png? ( media-libs/libpng:0= )
- tiff? ( media-libs/tiff:0= )
- truetype-debugger? ( >=media-libs/freetype-2.3.8:2[fontforge,-bindist(-)] )
- gtk? ( >=x11-libs/gtk+-3.10:3 )
- !gtk? (
- X? (
- >=x11-libs/cairo-1.6:0=
- >=x11-libs/pango-1.10:0=[X]
- x11-libs/libX11:0=
- x11-libs/libXi:0=
- )
- )
- python? ( ${PYTHON_DEPS} )
- readline? ( sys-libs/readline:0= )
- unicode? ( media-libs/libuninameslist:0= )
- woff2? ( media-libs/woff2:0= )
-"
-DEPEND="${RDEPEND}
- !gtk? ( X? ( x11-base/xorg-proto ) )
-"
-BDEPEND="
- sys-devel/gettext
- doc? ( >=dev-python/sphinx-2 )
- python? ( ${PYTHON_DEPS} )
- test? ( ${RDEPEND} )
-"
-
-PATCHES=(
- "${FILESDIR}"/20200314-stylemap.patch
- "${FILESDIR}"/20200314-tilepath.patch
- "${FILESDIR}"/20200314-big-endian.patch
- "${FILESDIR}"/fontforge-doc-no-warn-error.patch
- "${FILESDIR}"/20200314-MacServiceReadFDs.patch
- "${FILESDIR}"/${P}-freetype-2.10.3.patch
-)
-
-pkg_setup() {
- :
-}
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_DOCS=$(usex doc ON OFF)
- -DENABLE_LIBGIF=$(usex gif ON OFF)
- -DENABLE_LIBJPEG=$(usex jpeg ON OFF)
- -DENABLE_LIBPNG=$(usex png ON OFF)
- -DENABLE_LIBREADLINE=$(usex readline ON OFF)
- -DENABLE_LIBSPIRO=OFF # No package in Gentoo
- -DENABLE_LIBTIFF=$(usex tiff ON OFF)
- -DENABLE_LIBUNINAMESLIST=$(usex unicode ON OFF)
- -DENABLE_MAINTAINER_TOOLS=OFF
- -DENABLE_PYTHON_EXTENSION=$(usex python ON OFF)
- -DENABLE_PYTHON_SCRIPTING=$(usex python ON OFF)
- -DENABLE_TILE_PATH=ON
- -DENABLE_WOFF2=$(usex woff2 ON OFF)
- )
-
- if use gtk || use X; then
- mycmakeargs+=(
- -DENABLE_GUI=ON
- # Prefer GTK over X11 if both USE flage are enabled
- -DENABLE_X11=$(usex gtk OFF ON)
- )
- else
- mycmakeargs+=( -DENABLE_GUI=OFF )
- fi
-
- if use python; then
- python_setup
- mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" )
- fi
-
- if use truetype-debugger ; then
- local ft2="${ESYSROOT}/usr/include/freetype2"
- local ft2i="${ft2}/internal4fontforge"
- mycmakeargs+=(
- -DENABLE_FREETYPE_DEBUGGER="${ft2}"
- -DFreeTypeSource_INCLUDE_DIRS="${ft2};${ft2i}/include;${ft2i}/include/freetype;${ft2i}/src/truetype"
- )
- fi
-
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- docompress -x /usr/share/doc/${PF}/html
- einstalldocs
- find "${ED}" -name '*.la' -type f -delete || die
-}
diff --git a/media-gfx/fontforge/fontforge-20201107.ebuild b/media-gfx/fontforge/fontforge-20201107.ebuild
index 47fd33f66d96..f7295ecb2741 100644
--- a/media-gfx/fontforge/fontforge-20201107.ebuild
+++ b/media-gfx/fontforge/fontforge-20201107.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/fontforge/fontforge/releases/download/${PV}/fontforg
LICENSE="BSD GPL-3+"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc truetype-debugger gif gtk jpeg png +python readline test tiff svg unicode woff2 X"
RESTRICT="!test? ( test )"