RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/fontforge#7c8685957603b3bd7490489d3abd86b4e1a44548
This commit is contained in:
parent
d6b8d85d12
commit
c68d42e334
24
.gitignore
vendored
24
.gitignore
vendored
@ -0,0 +1,24 @@
|
||||
fontforge_htdocs-20100429.tar.bz2
|
||||
fontforge_full-20100501.tar.bz2
|
||||
/fontforge_full-20110222.tar.bz2
|
||||
/fontforge_htdocs-20110221.tar.bz2
|
||||
/fontforge_full-20120731-b.tar.bz2
|
||||
/fontforge_htdocs-20120731-b.tar.bz2
|
||||
/20140813.tar.gz
|
||||
/gnulib-2bf7326.tar.gz
|
||||
/20141230.tar.gz
|
||||
/20150228.tar.gz
|
||||
/20150330.tar.gz
|
||||
/20150430.tar.gz
|
||||
/20150612.tar.gz
|
||||
/fontforge-20150824.tar.gz
|
||||
/fontforge-20160404.tar.gz
|
||||
/fontforge-20161001.tar.gz
|
||||
/fontforge-20161004.tar.gz
|
||||
/fontforge-20161005.tar.gz
|
||||
/fontforge-20161012.tar.gz
|
||||
/fontforge-20170731.tar.gz
|
||||
/gnulib-b324052.tar.gz
|
||||
/fontforge-20190317.tar.gz
|
||||
/fontforge-20190413.tar.gz
|
||||
/fontforge-20200314.tar.gz
|
@ -0,0 +1,27 @@
|
||||
From ee14a6389d19e2f45219134058e07f10585fa6d3 Mon Sep 17 00:00:00 2001
|
||||
From: Jeremy Tan <jtanx@outlook.com>
|
||||
Date: Thu, 2 Apr 2020 18:03:47 +0800
|
||||
Subject: [PATCH] Call gdk_set_allowed_backends before gdk_init
|
||||
|
||||
Fixes #4247
|
||||
---
|
||||
fontforgeexe/startui.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/fontforgeexe/startui.c b/fontforgeexe/startui.c
|
||||
index 06f5200a4..114bb7fb6 100644
|
||||
--- a/fontforgeexe/startui.c
|
||||
+++ b/fontforgeexe/startui.c
|
||||
@@ -1182,8 +1182,8 @@ int fontforge_main( int argc, char **argv ) {
|
||||
#endif
|
||||
}
|
||||
#ifdef FONTFORGE_CAN_USE_GDK
|
||||
- gdk_init(&argc, &argv);
|
||||
gdk_set_allowed_backends("win32,quartz,x11");
|
||||
+ gdk_init(&argc, &argv);
|
||||
#endif
|
||||
ensureDotFontForgeIsSetup();
|
||||
#if defined(__MINGW32__) && !defined(_NO_LIBCAIRO)
|
||||
--
|
||||
2.26.0
|
||||
|
284
fontforge-20200314-fix-glossary.rst-file.patch
Normal file
284
fontforge-20200314-fix-glossary.rst-file.patch
Normal file
@ -0,0 +1,284 @@
|
||||
--- doc/sphinx/glossary.rst.old 2020-03-14 09:06:49.000000000 +0530
|
||||
+++ doc/sphinx/glossary.rst 2020-08-05 12:06:45.574903248 +0530
|
||||
@@ -23,13 +23,13 @@
|
||||
Both Hebrew and Arabic have optional vowel marks and are called "impure"
|
||||
abjads. Ancient Phoenician had nothing but consonants and is a "pure" abjad.
|
||||
|
||||
- See Also: :term:`alphabet`,
|
||||
- :term:`abugida`, :term:`syllabary` and
|
||||
+ See Also: :term:`Alphabet`,
|
||||
+ :term:`Abugida`, :term:`Syllabary` and
|
||||
the relevant `Wikipedia article <http://en.wikipedia.org/wiki/Abjad>`__.
|
||||
|
||||
Abugida
|
||||
- An abugida is somewhere in between an :term:`alphabet` and
|
||||
- a :term:`syllabary`. The Indic writing systems are
|
||||
+ An abugida is somewhere in between an :term:`alphabet <Alphabet>` and
|
||||
+ a :term:`syllabary <Syllabary>`. The Indic writing systems are
|
||||
probably the best known abugidas.
|
||||
|
||||
In most abugidas there are independant glyphs for the consonants, and each
|
||||
@@ -45,8 +45,8 @@
|
||||
An abugida differs from an abjad in that vowels (other than the default) must
|
||||
be marked in the abugida.
|
||||
|
||||
- See Also: :term:`alphabet`, :term:`abjad`,
|
||||
- :term:`syllabary` and the relevant
|
||||
+ See Also: :term:`Alphabet`, :term:`Abjad`,
|
||||
+ :term:`Syllabary` and the relevant
|
||||
`Wikipedia article <http://en.wikipedia.org/wiki/Abugida>`__.
|
||||
|
||||
Advance Width
|
||||
@@ -62,8 +62,8 @@
|
||||
vowels alike -- and (in theory anyway) all phonemes in a word will be marked
|
||||
by an appropriate glyph.
|
||||
|
||||
- See Also: :term:`abjad`, :term:`abugida`,
|
||||
- :term:`syllabary` and the relevant
|
||||
+ See Also: :term:`Abjad`, :term:`Abugida`,
|
||||
+ :term:`Syllabary` and the relevant
|
||||
`Wikipedia article <http://en.wikipedia.org/wiki/Alphabet>`__.
|
||||
|
||||
Apple Advanced Typography
|
||||
@@ -83,7 +83,7 @@
|
||||
|
||||
Ascent
|
||||
In traditional typography the ascent of a font was the distance from the top
|
||||
- of a block of type to the :term:`baseline`.
|
||||
+ of a block of type to the :term:`baseline <Baseline>`.
|
||||
|
||||
Its precise meaning in modern typography seems to vary with different
|
||||
definers.
|
||||
@@ -127,7 +127,7 @@
|
||||
Black letter
|
||||
Any of various type families based on medieval handwriting.
|
||||
|
||||
- See also :term:`gothic`.
|
||||
+ See also :term:`Gothic`.
|
||||
|
||||
BMP
|
||||
Basic Multilingual Plane
|
||||
@@ -142,13 +142,13 @@
|
||||
(0xE0000-0xEFFFF)
|
||||
|
||||
Bold
|
||||
- A common font :term:`style`. The stems of the glyphs are
|
||||
+ A common font :term:`style <Style>`. The stems of the glyphs are
|
||||
wider than in the normal font, giving the letters a darker impression. Bold
|
||||
is one of the few :term:`LGC` styles that translate readily to
|
||||
other scripts.
|
||||
|
||||
Bopomofo
|
||||
- A (modern~1911) Chinese (Mandarin) :term:`alphabet` used
|
||||
+ A (modern~1911) Chinese (Mandarin) :term:`alphabet <Alphabet>` used
|
||||
to provide phonetic transliteration of Han ideographs in dictionaries.
|
||||
|
||||
Boustrophedon
|
||||
@@ -158,7 +158,7 @@
|
||||
Writing "as the ox plows", that is alternating between left to right and
|
||||
right to left writing directions. Early alphabets (Old Canaanite, and the
|
||||
very early greek writings (and, surprisingly,
|
||||
- :term:`fuþark`)) used this. Often the right to left glyphs
|
||||
+ :term:`Fuþark`)) used this. Often the right to left glyphs
|
||||
would be mirrors of the left to right ones. As far as I know, no modern
|
||||
writing system uses this method (nor does OpenType have any support for it).
|
||||
See Also :term:`Bidi`.
|
||||
@@ -181,7 +181,7 @@
|
||||
|
||||
Character
|
||||
A character is a Platonic ideal reified into at least one
|
||||
- :term:`glyph`. For example the letter "s" is a character
|
||||
+ :term:`glyph <Glyph>`. For example the letter "s" is a character
|
||||
which is reified into several different glyphs: "S", "s", "*s*", long-s, etc.
|
||||
Note that these glyphs can look fairly different from each other, however
|
||||
although the glyph for an integral sign might be the same as the long-s
|
||||
@@ -232,7 +232,7 @@
|
||||
|
||||
Descent
|
||||
In traditional typography the descent of a font was the distance from the
|
||||
- bottom of a block of type to the :term:`baseline`.
|
||||
+ bottom of a block of type to the :term:`baseline <Baseline>`.
|
||||
|
||||
Its precise meaning in modern typography seems to vary with different
|
||||
definers.
|
||||
@@ -248,7 +248,7 @@
|
||||
:ref:`anchored marks <anchorcontrol.DeviceTable>`.
|
||||
|
||||
Didot point
|
||||
- The European :term:`point`. 62 :sup:`2`/:small:`3` points per
|
||||
+ The European :term:`point <Point>`. 62 :sup:`2`/:small:`3` points per
|
||||
23.566mm ( 2.66pt/mm or 67.55pt/inch ). There is also a "metric" didiot
|
||||
point: .4mm.
|
||||
|
||||
@@ -275,7 +275,7 @@
|
||||
|
||||
Encoding
|
||||
An encoding is a mapping from a set of bytes onto a
|
||||
- :term:`character set`. It is what determines which
|
||||
+ :term:`character set <Character set>`. It is what determines which
|
||||
byte sequence represents which character. The words "encoding" and "character
|
||||
set" are often used synonymously. The specification for ASCII specifies both
|
||||
a character set and an encoding. But CJK character sets often have multiple
|
||||
@@ -293,7 +293,7 @@
|
||||
two sounds associated with it, but it does, see also
|
||||
:term:`Thorn`)
|
||||
|
||||
- Even-Odd Fill rule
|
||||
+ Even-Odd Fill Rule
|
||||
To determine if a pixel should be
|
||||
:ref:`filled using this rule <editexample2.even-odd-non-zero>`, draw a line from the
|
||||
pixel to infinity (in any direction) then count the number of times contours
|
||||
@@ -332,7 +332,7 @@
|
||||
Font
|
||||
A collection of :term:`glyphs <Glyph>`, generally with at least one
|
||||
glyph associated with each character in the font's
|
||||
- :term:`character set`, often with an encoding.
|
||||
+ :term:`character set <Character set>`, often with an encoding.
|
||||
|
||||
A font contains much of the information needed to turn a sequence of bytes
|
||||
into a set of pictures representing the characters specified by those bytes.
|
||||
@@ -342,8 +342,8 @@
|
||||
different font for each point-size.
|
||||
|
||||
Font Family, or just Family
|
||||
- A collection of related :term:`font`\ s. Often including plain,
|
||||
- italic and bold :term:`style`\ s.
|
||||
+ A collection of related :term:`font <Font>`\ s. Often including plain,
|
||||
+ italic and bold :term:`style <Style>`\ s.
|
||||
|
||||
FontForge
|
||||
This.
|
||||
@@ -356,7 +356,7 @@
|
||||
Fractur
|
||||
The old black letter writing style used in Germany up until world war II.
|
||||
|
||||
- See also :term:`gothic`.
|
||||
+ See also :term:`Gothic`.
|
||||
|
||||
Fuþark
|
||||
Futhark
|
||||
@@ -430,7 +430,7 @@
|
||||
China.
|
||||
|
||||
Hangul
|
||||
- The Korean :term:`syllabary`. The only syllabary (that
|
||||
+ The Korean :term:`Syllabary`. The only syllabary (that
|
||||
I'm aware of anway) based on an alphabet -- the letters of the alphabet never
|
||||
appear alone, but only as groups of two or three making up a syllable.
|
||||
|
||||
@@ -439,11 +439,11 @@
|
||||
|
||||
Hints
|
||||
These are described in detail in :ref:`the main manual <overview.Hints>`.
|
||||
- They help the rasterizer to draw a :term:`glyph` well at
|
||||
+ They help the rasterizer to draw a :term:`glyph <Glyph>` well at
|
||||
small pointsizes.
|
||||
|
||||
Hint Masks
|
||||
- At any given point on a contour :term:`hints` may not
|
||||
+ At any given point on a contour :term:`hints <Hints>` may not
|
||||
:term:`conflict <Conflicting hints>`. However different points in a
|
||||
glyph may need conflicting hints. So every now and then a contour will change
|
||||
which hints are active. Each list of active hints is called a hint mask.
|
||||
@@ -457,7 +457,7 @@
|
||||
Generally used to mean Han (Chinese) characters.
|
||||
|
||||
Italic
|
||||
- A slanted :term:`style` of a font, generally used for
|
||||
+ A slanted :term:`style <Style>` of a font, generally used for
|
||||
emphasis.
|
||||
|
||||
Italic differs from :term:`Oblique` in that the
|
||||
@@ -498,7 +498,7 @@
|
||||
to it.
|
||||
|
||||
Kern pair
|
||||
- A pair of glyphs for which :term:`kerning` information has
|
||||
+ A pair of glyphs for which :term:`kerning <Kerning>` information has
|
||||
been specified.
|
||||
|
||||
Kerning by classes
|
||||
@@ -541,9 +541,9 @@
|
||||
|
||||
Manyogana
|
||||
An early Japanese script, ancestral to both
|
||||
- :term:`hiragana` and :term:`katakana`.
|
||||
+ :term:`Hiragana` and :term:`Katakana`.
|
||||
`Manyogana <http://en.wikipedia.org/wiki/Manyogana>`__ used
|
||||
- :term:`kanji` for their phontic sounds, and over the years
|
||||
+ :term:`Kanji` for their phontic sounds, and over the years
|
||||
these kanji were simplified into hiragana and katahana.
|
||||
|
||||
Metal Type
|
||||
@@ -622,7 +622,7 @@
|
||||
:doc:`here for the tables used by FontForge </techref/TrueOpenTables>`.
|
||||
|
||||
Oblique
|
||||
- A slanted :term:`style` of a font, generally used for
|
||||
+ A slanted :term:`style <Style>` of a font, generally used for
|
||||
emphasis.
|
||||
|
||||
Oblique differs from :term:`Italic` in that the
|
||||
@@ -695,7 +695,7 @@
|
||||
`See Caslon's type specimen sheet on Wikipedia. <http://en.wikipedia.org/wiki/Alphabet>`__
|
||||
|
||||
Pica point
|
||||
- The Anglo-American :term:`point`. With 72.27 points per inch
|
||||
+ The Anglo-American :term:`point <Point>`. With 72.27 points per inch
|
||||
( 2.85pt /mm ).
|
||||
|
||||
Point
|
||||
@@ -708,7 +708,7 @@
|
||||
points per inch, 2.86pt/mm).
|
||||
|
||||
The didiot and pica points were so arranged that text at a given point-size
|
||||
- would have approximately the same :term:`cap-height` in
|
||||
+ would have approximately the same :term:`cap-height <Cap-height>` in
|
||||
both systems, the didot point would have extra white-space above the capitals
|
||||
to contain the accents present in most non-English Latin based scripts.
|
||||
|
||||
@@ -757,7 +757,7 @@
|
||||
again only allows a 1 byte encoding, but the OpenType wrapper extends this to
|
||||
provide more complex encoding types.
|
||||
* Type 3 -- This format allows full postscript within the font, but it means
|
||||
- that no :term:`hints` are allowed, so these fonts will not
|
||||
+ that no :term:`hints <Hints>` are allowed, so these fonts will not
|
||||
look as nice at small point-sizes. Also most (screen) rasterizers are
|
||||
incapable of dealing with them. A type 3 font is limited to a one byte
|
||||
encoding (ie. only 256 glyphs may be encoded).
|
||||
@@ -922,13 +922,13 @@
|
||||
Style
|
||||
There are various conventional variants of a font. In probably any writing
|
||||
system the thickness of the stems of the glyphs may be varied, this is called
|
||||
- the :term:`weight` of a font. Common weights are normal and
|
||||
+ the :term:`weight <Weight>` of a font. Common weights are normal and
|
||||
bold.
|
||||
|
||||
- In :term:`LGC` alphabets an :term:`italic` (or
|
||||
- :term:`oblique`) style has arisen and is used for emphasis.
|
||||
+ In :term:`LGC` alphabets an :term:`italic <Italic>` (or
|
||||
+ :term:`oblique <Oblique>`) style has arisen and is used for emphasis.
|
||||
|
||||
- Fonts are often compressed into a :term:`condensed`
|
||||
+ Fonts are often compressed into a :term:`condensed <Condensed>`
|
||||
style, or expanded out into an :term:`extended style <Extended>`.
|
||||
|
||||
Various other styles are in occasional use: underline, overstrike, outline,
|
||||
@@ -945,7 +945,7 @@
|
||||
tend to be bigger than alphabets (Japanese KataKana requires about 60
|
||||
different characters, while the Korean Hangul requires tens of thousands).
|
||||
|
||||
- See Also: :term:`abjad`, :term:`abugida`, :term:`alphabet` and the relevant
|
||||
+ See Also: :term:`Abjad`, :term:`Abugida`, :term:`Alphabet` and the relevant
|
||||
`Wikipedia article <http://en.wikipedia.org/wiki/S%20yllabary>`__.
|
||||
|
||||
TeX
|
||||
@@ -1061,7 +1061,7 @@
|
||||
|
||||
Width
|
||||
This is a slightly ambiguous term and is sometimes used to mean the
|
||||
- :term:`advance width` (the distance from the start of
|
||||
+ :term:`advance width <Advance Width>` (the distance from the start of
|
||||
this glyph to the start of the next glyph), and sometimes used to mean the
|
||||
distance from the left side bearing to the right side bearing.
|
||||
|
@ -0,0 +1,62 @@
|
||||
From 36b52b9902a9e3858ef34ec006b6ad5da6374de1 Mon Sep 17 00:00:00 2001
|
||||
From: Jeremy Tan <jtanx@outlook.com>
|
||||
Date: Mon, 6 Apr 2020 20:57:14 +1000
|
||||
Subject: [PATCH] sphinx: make changes to support Sphinx 3
|
||||
|
||||
---
|
||||
doc/sphinx/scripting/python/fontforge.rst | 18 +++---------------
|
||||
1 file changed, 3 insertions(+), 15 deletions(-)
|
||||
|
||||
diff --git a/doc/sphinx/scripting/python/fontforge.rst b/doc/sphinx/scripting/python/fontforge.rst
|
||||
index b97332229..f726b1ed4 100644
|
||||
--- a/doc/sphinx/scripting/python/fontforge.rst
|
||||
+++ b/doc/sphinx/scripting/python/fontforge.rst
|
||||
@@ -1365,6 +1365,7 @@ Layers may be compared to see if their contours are similar.
|
||||
layer.stroke("calligraphic", width, height, angle[, FLAGS])
|
||||
layer.stroke("polygon", contour[, FLAGS])
|
||||
(Legacy interface)
|
||||
+ :noindex:
|
||||
|
||||
.. method:: layer.stroke("circular", width [, CAP, JOIN, ANGLE, KEYWORD])
|
||||
layer.stroke("elliptical", width, minor_width [, ANGLE, CAP, JOIN, KEYWORD])
|
||||
@@ -2458,6 +2459,7 @@ must be created through the font.
|
||||
glyph.stroke("calligraphic", width, height, angle[, FLAGS])
|
||||
glyph.stroke("polygon", contour[, FLAGS])
|
||||
(Legacy interface)
|
||||
+ :noindex:
|
||||
|
||||
.. method:: glyph.stroke("circular", width[, CAP, JOIN, ANGLE, KEYWORD])
|
||||
glyph.stroke("elliptical", width, minor_width[, ANGLE, CAP, JOIN, KEYWORD])
|
||||
@@ -4786,21 +4788,6 @@ See the :class:`selection` type for how to alter the selection.
|
||||
Extrema should be marked by on-curve points. If a curve in any selected
|
||||
glyph lacks a point at a significant extremum this command will add one.
|
||||
|
||||
-.. method:: font.addSmallCaps()
|
||||
-
|
||||
- For all selected upper or lower case letters in the latin, greek and
|
||||
- cyrillic scripts this will try to create a small caps version of that glyph
|
||||
- in a new glyph slot.
|
||||
-
|
||||
- So if you select "A" (or "a") then a glyph "a.sc" will be created (if "a.sc"
|
||||
- already exists, it will be reused, and its current contents cleared).
|
||||
-
|
||||
- The contents of "a.sc" will be based on the upper case variant of this glyph
|
||||
- (and that variant must be present for the command to work). FontForge will
|
||||
- also create two lookups (unless appropriate ones already exist) one, bound
|
||||
- to the feature 'c2sc' will map upper case letters to small caps, the other,
|
||||
- bound to feature 'smcp' will map lower case letters to small caps.
|
||||
-
|
||||
.. method:: font.autoHint()
|
||||
|
||||
Generates PostScript hints for all selected glyphs.
|
||||
@@ -4993,6 +4980,7 @@ See the :class:`selection` type for how to alter the selection.
|
||||
font.stroke("calligraphic", width, height, angle[, FLAGS])
|
||||
font.stroke("polygon", contour[, FLAGS])
|
||||
(Legacy interface)
|
||||
+ :noindex:
|
||||
|
||||
.. method:: font.stroke("circular", width[, CAP, JOIN, ANGLE, KEYWORD])
|
||||
font.stroke("elliptical", width, minor_width[, ANGLE, CAP, JOIN, KEYWORD])
|
||||
--
|
||||
2.26.0
|
||||
|
696
fontforge.spec
Normal file
696
fontforge.spec
Normal file
@ -0,0 +1,696 @@
|
||||
%global gettext_package FontForge
|
||||
%global gittag0 20200314
|
||||
|
||||
Name: fontforge
|
||||
Version: 20200314
|
||||
Release: 9%{?dist}
|
||||
Summary: Outline and bitmap font editor
|
||||
|
||||
License: GPLv3+
|
||||
URL: http://fontforge.github.io/
|
||||
Source0: https://github.com/fontforge/%{name}/archive/%{gittag0}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
|
||||
# https://github.com/fontforge/fontforge/pull/4253
|
||||
Patch0: fontforge-20200314-Call-gdk_set_allowed_backends-before-gdk_init.patch
|
||||
# https://github.com/fontforge/fontforge/pull/4269
|
||||
Patch1: fontforge-20200314-sphinx-make-changes-to-support-Sphinx-3.patch
|
||||
Patch2: fontforge-20200314-fix-glossary.rst-file.patch
|
||||
|
||||
Requires: xdg-utils
|
||||
Requires: autotrace
|
||||
Requires: hicolor-icon-theme
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: giflib-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: freetype-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: libuninameslist-devel
|
||||
BuildRequires: libXt-devel
|
||||
BuildRequires: xorg-x11-proto-devel
|
||||
BuildRequires: gettext
|
||||
BuildRequires: pango-devel
|
||||
BuildRequires: cairo-devel
|
||||
BuildRequires: libspiro-devel
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: woff2-devel
|
||||
# F25 build is failing add following to fix
|
||||
BuildRequires: shared-mime-info
|
||||
# F33 onward need now
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: python3-sphinx
|
||||
|
||||
%description
|
||||
FontForge (former PfaEdit) is a font editor for outline and bitmap
|
||||
fonts. It supports a range of font formats, including PostScript
|
||||
(ASCII and binary Type 1, some Type 3 and Type 0), TrueType, OpenType
|
||||
(Type2) and CID-keyed fonts.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for fontforge
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-doc = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package includes the library files you will need to compile
|
||||
applications against fontforge.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation files for %{name}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
This package contains documentation files for %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p0
|
||||
|
||||
# Remove tests that requires Internet access
|
||||
sed -i '45d;83d;101d;102d;114d;115d;125d' tests/CMakeLists.txt
|
||||
rm tests/test003.pe tests/test130.pe tests/test0101.py tests/test929.py
|
||||
# Remove tests for s390x
|
||||
rm tests/test0004.py tests/test1009.py tests/test1010.py
|
||||
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%cmake -DCMAKE_BUILD_TYPE=Release \
|
||||
-DENABLE_WOFF2=ON
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
desktop-file-install \
|
||||
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
||||
--add-category X-Fedora \
|
||||
desktop/org.fontforge.FontForge.desktop
|
||||
|
||||
# remove unneeded .la and .a files
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
|
||||
|
||||
rm -f %{buildroot}%{_datadir}/doc/fontforge/{.buildinfo,.nojekyll}
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
|
||||
|
||||
%check
|
||||
pushd %{__cmake_builddir}
|
||||
make check
|
||||
popd
|
||||
|
||||
# Find translations
|
||||
%find_lang %{gettext_package}
|
||||
|
||||
%files -f %{gettext_package}.lang
|
||||
%doc AUTHORS
|
||||
%license LICENSE COPYING.gplv3
|
||||
%{_bindir}/*
|
||||
%{_libdir}/lib*.so.*
|
||||
%{_datadir}/applications/*FontForge.desktop
|
||||
%{_datadir}/fontforge
|
||||
%{_datadir}/icons/hicolor/*/apps/org.fontforge.FontForge*
|
||||
%{_mandir}/man1/*.1*
|
||||
%{_datadir}/pixmaps/org.fontforge.FontForge*
|
||||
%{_datadir}/mime/packages/fontforge.xml
|
||||
%{_metainfodir}/org.fontforge.FontForge.appdata.xml
|
||||
%{python3_sitearch}/fontforge.so
|
||||
%{python3_sitearch}/psMat.so
|
||||
|
||||
%files devel
|
||||
%{_libdir}/lib*.so
|
||||
|
||||
%files doc
|
||||
%doc %{_pkgdocdir}
|
||||
|
||||
%changelog
|
||||
* Wed Aug 05 2020 Parag Nemade <pnemade AT redhat DOT com> - 20200314-9
|
||||
- Fix FTBFS bug by fixing glossary.rst and using new CMake macros
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20200314-8
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20200314-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 20200314-6
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Sat May 02 2020 Parag Nemade <pnemade AT redhat DOT com> - 20200314-5
|
||||
- Resolves:rhbz#1830502 - Add missing WOFF2 support
|
||||
|
||||
* Wed Apr 15 2020 Parag Nemade <pnemade AT redhat DOT com> - 20200314-4
|
||||
- Resolves:rhbz#1823525 - fontforge fails to build with Sphinx 3.0.0
|
||||
|
||||
* Thu Apr 02 2020 Parag Nemade <pnemade AT redhat DOT com> - 20200314-3
|
||||
- Fix the GDK backend UI issues
|
||||
- Move back to using GDK backend
|
||||
|
||||
* Fri Mar 27 2020 Parag Nemade <pnemade AT redhat DOT com> - 20200314-2
|
||||
- Enabled X11 and 2012 theme
|
||||
|
||||
* Wed Mar 25 2020 Parag Nemade <pnemade AT redhat DOT com> - 20200314-1
|
||||
- Update to 20200314 version (#1813578)
|
||||
|
||||
* Sun Feb 16 2020 Parag Nemade <pnemade AT redhat DOT com> - 20190801-6
|
||||
- another fix for rh#1790042 - CVE-2020-5395:out-of-bounds write in sfd.c
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20190801-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jan 16 2020 Parag Nemade <pnemade AT redhat DOT com> - 20190801-4
|
||||
- Resolves:rh#1790042 - CVE-2020-5395:out-of-bounds write in sfd.c
|
||||
|
||||
* Tue Aug 27 2019 Kevin Fenzi <kevin@scrye.com> - 20190801-3
|
||||
- Rebuild for new libspiro
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 20190801-2
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Thu Aug 15 2019 Parag Nemade <pnemade AT redhat DOT com> - 20190801-1
|
||||
- Update to 20190801 version (#1739819)
|
||||
- Upstream moved to use Glib's GHashTable over uthash
|
||||
- Upstream dropped requiring bundling copy of gnulib
|
||||
|
||||
* Fri Aug 02 2019 Parag Nemade <pnemade AT redhat DOT com> - 20190413-4
|
||||
- Fix the conditional for rh#1728058
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20190413-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Tue Jul 23 2019 Parag Nemade <pnemade AT redhat DOT com> - 20190413-2
|
||||
- make the code compatible with python-3.8 (rh#1728058)
|
||||
|
||||
* Sat Apr 13 2019 Parag Nemade <pnemade AT redhat DOT com> - 20190413-1
|
||||
- Update to 20190413 version (#1689629)
|
||||
|
||||
* Mon Mar 25 2019 Parag Nemade <pnemade AT redhat DOT com> - 20190317-1
|
||||
- Update to 20190317 release (#1689629)
|
||||
|
||||
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 20170731-12
|
||||
- Rebuild for readline 8.0
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20170731-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Mon Jul 23 2018 Miro Hrončok <mhroncok@redhat.com> - 20170731-10
|
||||
- Rebuilt for #1595421
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20170731-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Jul 04 2018 Kevin Fenzi <kevin@scrye.com> - -8
|
||||
- Update bundled gnulib. Fixes bug #1596037
|
||||
|
||||
* Thu Jun 28 2018 Miro Hrončok <mhroncok@redhat.com> - 20170731-7
|
||||
- Rebuilt for Python 3.7.0 final (#1595421)
|
||||
|
||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 20170731-6
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Sun Feb 11 2018 Sandro Mani <manisandro@gmail.com> - 20170731-5
|
||||
- Rebuild (giflib)
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20170731-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jan 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 20170731-3
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170731-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Mon Jul 31 2017 Parag Nemade <pnemade AT redhat DOT com> - 20170731-1
|
||||
- Update to 20170731
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20161012-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Thu Mar 09 2017 Parag Nemade <pnemade AT redhat DOT com> - 20161012-6
|
||||
- Resolves:rh#1429574 - [abrt] fontforge: PyFF_OpenFont(): fontforge killed by signal 6
|
||||
- Added patch to fix python module for python3.6
|
||||
|
||||
* Sat Feb 18 2017 Parag Nemade <pnemade AT redhat DOT com> - 20161012-5
|
||||
- Add missing BR: git
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20161012-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 20161012-3
|
||||
- Rebuild for readline 7.x
|
||||
|
||||
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 20161012-2
|
||||
- Rebuild for Python 3.6
|
||||
|
||||
* Thu Oct 13 2016 Parag Nemade <pnemade AT redhat DOT com> - 20161012-1
|
||||
- Update to 20161012
|
||||
|
||||
* Thu Oct 06 2016 Parag Nemade <pnemade AT redhat DOT com> - 20161005-1
|
||||
- Update to 20161005
|
||||
|
||||
* Wed Oct 05 2016 Parag Nemade <pnemade AT redhat DOT com> - 20161004-1
|
||||
- Update to 20161004
|
||||
|
||||
* Mon Oct 03 2016 Parag Nemade <pnemade AT redhat DOT com> - 20161001-1
|
||||
- Update to 20161001
|
||||
|
||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20160404-4
|
||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||
|
||||
* Thu Jul 07 2016 Parag Nemade <pnemade AT redhat DOT com> - 20160404-3
|
||||
- Rebuild for new libuninameslist-20160701 build
|
||||
- Add BuildRequires: shared-mime-info
|
||||
- Add BuildRequires: gcc
|
||||
|
||||
* Wed Apr 06 2016 Parag Nemade <pnemade AT redhat DOT com> - 20160404-2
|
||||
- Move from python2 to python3 support
|
||||
|
||||
* Tue Apr 05 2016 Parag Nemade <pnemade AT redhat DOT com> - 20160404-1
|
||||
- Update to 20160404
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20150824-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Aug 26 2015 Parag Nemade <pnemade AT redhat DOT com> - 20150824-1
|
||||
- Update to 20150824
|
||||
- Follow https://fedoraproject.org/wiki/Packaging:SourceURL#Git_Tags
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20150612-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat Jun 13 2015 Parag Nemade <pnemade AT redhat DOT com> - 20150612-1
|
||||
- Update to 20150612
|
||||
|
||||
* Fri May 01 2015 Parag Nemade <pnemade AT redhat DOT com> - 20150430-1
|
||||
- Update to 20150430
|
||||
|
||||
* Mon Mar 30 2015 Parag Nemade <pnemade AT redhat DOT com> - 20150330-1
|
||||
- Update to 20150330
|
||||
- use %%license macro for LICENSE file
|
||||
|
||||
* Thu Mar 12 2015 Parag Nemade <pnemade AT redhat DOT com> - 20150228-1
|
||||
- Update to 20150228
|
||||
|
||||
* Sun Feb 01 2015 Kevin Fenzi <kevin@scrye.com> 20141230-2
|
||||
- Rebuild for new libspiro
|
||||
|
||||
* Sun Jan 04 2015 Kevin Fenzi <kevin@scrye.com> 20141230-1
|
||||
- Update to 20141230
|
||||
|
||||
* Tue Sep 09 2014 Parag Nemade <pnemade AT redhat DOT com> - 20140813-3
|
||||
- drop BR: python-ipython for aarch64 builds (rh#1139508)
|
||||
|
||||
* Mon Sep 08 2014 Parag Nemade <pnemade AT redhat DOT com> - 20140813-2
|
||||
- Add gnulib source for bootstrap as koji don't have network
|
||||
- Patch Makefile.am to use system uthash-devel
|
||||
- We also need gnulib-devel
|
||||
|
||||
* Mon Sep 08 2014 Parag Nemade <pnemade AT redhat DOT com> - 20140813-1
|
||||
- Update to fontforge 2.0 snapshot 20140813
|
||||
- corrected some scriptlets as per packaging guidelines
|
||||
- Added new subpackage -doc
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120731b-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sat Aug 09 2014 Rex Dieter <rdieter@fedoraproject.org> 20120731b-12
|
||||
- update mime scriptlet
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120731b-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Mon Sep 02 2013 Parag Nemade <pnemade AT redhat DOT com> - 20120731b-10
|
||||
- Revert previously added -Wstrict-aliasing cflags
|
||||
- We actaully need -fno-strict-aliasing (rh#903288)
|
||||
- Remove %%defattr() (rh#1003518)
|
||||
- fontforge.xml should not be executable (rh#1003518)
|
||||
|
||||
* Thu Aug 22 2013 Parag Nemade <pnemade AT redhat DOT com> - 20120731b-9
|
||||
- Added cflags -Wstrict-aliasing
|
||||
- Fixed some compile-time errors from invalid Makefile rules
|
||||
- Fixed bogus date in changelog
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120731b-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Mon Apr 15 2013 Paul Flo Williams <paul@frixxon.co.uk> - 20120731b-7
|
||||
- Don't crash on PDFs with filters we can't understand. Fixes bug #906492
|
||||
|
||||
* Sat Mar 23 2013 Kevin Fenzi <kevin@scrye.com> 20120731b-6
|
||||
- Add fix for aarch64 support. Fixes bug #925354
|
||||
|
||||
* Mon Feb 11 2013 Paul Flo Williams <paul@frixxon.co.uk> - 20120731b-5
|
||||
- De-vendorize desktop installation
|
||||
|
||||
* Thu Feb 07 2013 Paul Flo Williams <paul@frixxon.co.uk> - 20120731b-4
|
||||
- Patch for bug #902089, out-of-bounds errors while reading PDFs
|
||||
|
||||
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 20120731b-3
|
||||
- rebuild due to "jpeg8-ABI" feature drop
|
||||
|
||||
* Tue Nov 27 2012 Kevin Fenzi <kevin@scrye.com> 20120731b-2
|
||||
- Cosmetic cleanups for bug 880472
|
||||
|
||||
* Thu Aug 02 2012 Paul Flo Williams <paul@frixxon.co.uk> - 20120731b-1
|
||||
- Update to 20120731b (problem with 64-bit builds in first release)
|
||||
|
||||
* Thu Aug 02 2012 Paul Flo Williams <paul@frixxon.co.uk> - 20120731-1
|
||||
- Update to 20120731
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20110222-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Sun May 06 2012 Kevin Fenzi <kevin@scrye.com> - 20110222-8
|
||||
- Rebuild for new libtiff.
|
||||
|
||||
* Sat Jan 28 2012 Parag Nemade <paragn AT fedoraproject.org> - 2011022-7
|
||||
- Add patch for libpng15
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20110222-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 20110222-5
|
||||
- Rebuild for new libpng
|
||||
|
||||
* Thu Apr 07 2011 Parag Nemade <paragn AT fedoraproject.org> - 2011022-4
|
||||
- Add patch for multilib. Fixes bug #694409
|
||||
|
||||
* Thu Mar 31 2011 Paul Flo Williams <paul@frixxon.co.uk> - 20110222-3
|
||||
- Add patch for charview crash. Fixes bug #660376
|
||||
|
||||
* Thu Mar 17 2011 Kevin Fenzi <kevin@tummy.com> - 20110222-2
|
||||
- Drop sources that are now upstream. Fixes bug #688470
|
||||
|
||||
* Tue Feb 22 2011 Kevin Fenzi <kevin@tummy.com> - 20110222-1
|
||||
- Update to 20110222
|
||||
|
||||
* Wed Feb 16 2011 Kevin Fenzi <kevin@tummy.com> - 20100501-7
|
||||
- Fix patch for python. Fixes bug #677917
|
||||
- Add patch for unicode glyph crash. Fixes bug #631172
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20100501-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Sat Dec 04 2010 Kevin Fenzi <kevin@tummy.com> - 20100501-5
|
||||
- Add patch for CVE-2010-4259
|
||||
|
||||
* Wed Jul 28 2010 Kevin Fenzi <kevin@tummy.com> - 20100501-4
|
||||
- Add patch to build with python 2.7
|
||||
|
||||
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 20100501-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
||||
|
||||
* Fri Jul 16 2010 Kevin Fenzi <kevin@tummy.com> - 20100501-2
|
||||
- Add patch for bug 536920
|
||||
|
||||
* Wed May 19 2010 Kevin Fenzi <kevin@tummy.com> - 20100501-1
|
||||
- Update to 20100501
|
||||
|
||||
* Fri Apr 30 2010 Kevin Fenzi <kevin@tummy.com> - 20100429-1
|
||||
- Update to 20100429
|
||||
|
||||
* Sat Mar 20 2010 Kevin Fenzi <kevin@tummy.com> - 20090923-3
|
||||
- Fix patch to fix python module (fixes #560277)
|
||||
|
||||
* Wed Dec 30 2009 Kevin Fenzi <kevin@tummy.com> - 20090923-2
|
||||
- Add patch to fix relative paths for fontlint (fixes #530760)
|
||||
|
||||
* Sun Nov 01 2009 Kevin Fenzi <kevin@tummy.com> - 20090923-1
|
||||
- Upgrade to 20090923
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090622-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Thu Jul 16 2009 Kevin Fenzi <kevin@tummy.com> - 20090622-1
|
||||
- Upgrade to 20090622
|
||||
|
||||
* Thu Apr 16 2009 Kevin Fenzi <kevin@tummy.com> - 20090408-1
|
||||
- Upgrade to 20090408
|
||||
|
||||
* Thu Apr 02 2009 Kevin Fenzi <kevin@tummy.com> - 20090224-2
|
||||
- Apply patch for python modules loading (fixes #489109)
|
||||
- use install -p to fix multiarch issue (fixes #480685)
|
||||
|
||||
* Thu Feb 26 2009 Kevin Fenzi <kevin@tummy.com> - 20090224-1
|
||||
- Upgrade to 20090224
|
||||
|
||||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20081224-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Mon Feb 23 2009 Nicolas Mailhot <nim at fedoraproject dot org>
|
||||
- 20081224-2
|
||||
— global-ization
|
||||
|
||||
* Fri Feb 20 2009 Kevin Fenzi <kevin@tummy.com> - 20081224-1
|
||||
- Upgrade to 20081224
|
||||
- Enable python bindings
|
||||
|
||||
* Wed Jan 21 2009 Kevin Fenzi <kevin@tummy.com> - 20081215-4
|
||||
- Add python-devel to BuildRequires
|
||||
|
||||
* Tue Dec 23 2008 Kevin Fenzi <kevin@tummy.com> - 20081215-3
|
||||
- Add patch to fix buffer overflow. Fixes 471538
|
||||
|
||||
* Wed Dec 17 2008 Kevin Fenzi <kevin@tummy.com> - 20081215-2
|
||||
- Add libspiro-devel to build with spiro
|
||||
|
||||
* Tue Dec 16 2008 Kevin Fenzi <kevin@tummy.com> - 20081215-1
|
||||
- Upgrade to 20081215
|
||||
- Build with cairo and pango
|
||||
|
||||
* Mon Dec 01 2008 Kevin Fenzi <kevin@tummy.com> - 20081117-1
|
||||
- Upgrade to 20081117
|
||||
|
||||
* Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 20080927-2
|
||||
- Rebuild for Python 2.6
|
||||
|
||||
* Sat Nov 08 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 20080927-1
|
||||
☢ quick & dirty version bump to start working on F11 font packages
|
||||
⟲ time to forget about pfaedit
|
||||
⤑ take care of rpmlint warnings
|
||||
|
||||
* Wed Sep 03 2008 Kevin Fenzi <kevin@tummy.com> - 20080828-1
|
||||
- Upgrade to 20080828
|
||||
- Add Requires on autotrace. Fixes 460668
|
||||
- Confirm patch from 459451 is upstream here.
|
||||
|
||||
* Fri May 16 2008 Kevin Fenzi <kevin@tummy.com> - 20080429-1
|
||||
- Upgrade to 20080429
|
||||
|
||||
* Mon Mar 24 2008 Kevin Fenzi <kevin@tummy.com> - 20080309-2
|
||||
- Add mime info for .sfd files. Fixes 240669
|
||||
|
||||
* Mon Mar 17 2008 Kevin Fenzi <kevin@tummy.com> - 20080309-1
|
||||
- Upgrade to 20080309
|
||||
- Fixes bug 437833
|
||||
|
||||
* Mon Mar 03 2008 Kevin Fenzi <kevin@tummy.com> - 20080302-2
|
||||
- Commit new sources
|
||||
|
||||
* Mon Mar 03 2008 Kevin Fenzi <kevin@tummy.com> - 20080302-1
|
||||
- Update to upstream 20080302
|
||||
|
||||
* Sun Mar 02 2008 Kevin Fenzi <kevin@tummy.com> - 20080203-2
|
||||
- Change Requires from htmlview to xdg-utils (bz 312691)
|
||||
|
||||
* Sat Mar 01 2008 Kevin Fenzi <kevin@tummy.com> - 20080203-1
|
||||
- Update to upstream 20080203
|
||||
- Add new devel subpackage
|
||||
|
||||
* Sun Dec 02 2007 Roozbeh Pournader <roozbeh@farsiweb.info> - 20071110-1
|
||||
- Update to upstream 20071110
|
||||
|
||||
* Sun Oct 21 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
☢ 20071002-1
|
||||
⚠ quick & dirty version bump to start working on F9 font packages
|
||||
|
||||
* Sun Aug 26 2007 Kevin Fenzi <kevin@tummy.com> - 20070511-2
|
||||
- Rebuild for BuildID
|
||||
|
||||
* Thu Jun 7 2007 Kevin Fenzi <kevin@tummy.com> - 20070511-1
|
||||
- Update to upstream 20070511
|
||||
- Remove some leftover CVS bits
|
||||
- Remove useless .pc file.
|
||||
|
||||
* Fri Dec 22 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 20061220-1
|
||||
- Update to upstream 20061220
|
||||
|
||||
* Sat Dec 09 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 20061025-2
|
||||
- Add patch to fix fsSelection problem with DejaVu ExtraLight
|
||||
|
||||
* Sat Nov 25 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 20061025-1
|
||||
- Update to 20061025
|
||||
- Patch to correct usFirstCharIndex (George Williams)
|
||||
|
||||
* Fri Oct 20 2006 Kevin Fenzi <kevin@tummy.com> - 20061019-1
|
||||
- Update to 20061019
|
||||
|
||||
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 20060822-2
|
||||
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
||||
|
||||
* Thu Sep 21 2006 Kevin Fenzi <kevin@tummy.com> - 20060822-1
|
||||
- Update to 20060822
|
||||
- Remove unneeded patch
|
||||
- Add flag to compile right with giflib
|
||||
|
||||
* Sun Jun 18 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 20060125-7
|
||||
- Add BuildRequires on gettext, to make sure the package builds in minimal
|
||||
mock environments
|
||||
|
||||
* Mon Feb 13 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 20060125-6
|
||||
- Rebuild for Fedora Extras 5
|
||||
|
||||
* Sun Feb 12 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 20060125-5
|
||||
- Add patch to fix crash (#181052, George Williams)
|
||||
|
||||
* Wed Feb 01 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 20060125-4
|
||||
- Add "BuildRequires:" on libXt-devel and xorg-x11-proto-devel
|
||||
|
||||
* Wed Feb 01 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 20060125-3
|
||||
- Really remove XFree86-devel BuildReq
|
||||
|
||||
* Wed Feb 01 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 20060125-2
|
||||
- Remove XFree86-devel BuildReq
|
||||
|
||||
* Wed Feb 01 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 20060125-1
|
||||
- Update to 20060125 (bug #170177)
|
||||
- Update docs to 20060114
|
||||
- Change versioning to reflect upstream and follow packaging guidelines
|
||||
- Provide pfaedit (bug #176548)
|
||||
- Use %%{?dist} tag (bug #176472)
|
||||
- Add localizations
|
||||
- No need to remove CVS subdir: fixed upstream
|
||||
- No need to covert man pages to UTF-8: fixed upstream
|
||||
- Fixed DOS line terminators
|
||||
- Use parallel build
|
||||
|
||||
* Sat Jul 30 2005 Owen Taylor <otaylor@redhat.com> - 0.0-2.20050729.fc4
|
||||
- Update to 20050729
|
||||
- Remove .docview patch, looking for HTMLview is upstream so no longer needed
|
||||
|
||||
* Tue May 10 2005 Owen Taylor <otaylor@redhat.com> - 0.0-2.20050502.fc4
|
||||
- Update to 20050502
|
||||
- Fix the build to look for the docs where we install them
|
||||
|
||||
* Sat Mar 19 2005 Owen Taylor <otaylor@redhat.com> - 0.0-2.20050310
|
||||
- Update to 20050310
|
||||
|
||||
* Sat Jan 29 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.0-2.20041231
|
||||
- Avoid RPATH.
|
||||
- Convert man pages to UTF-8.
|
||||
- Fix pkgconfig and doc file permissions.
|
||||
- Use updated upstream icon.
|
||||
- Don't include installation documentation.
|
||||
|
||||
* Mon Jan 17 2005 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.0-1.20041231
|
||||
- Updated to 20041231.
|
||||
|
||||
* Thu Oct 28 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.0-0.fdr.1.20041014
|
||||
- Updated to 20041014.
|
||||
|
||||
* Sun Sep 19 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.0-0.fdr.1.20040824
|
||||
- Updated to 20040824.
|
||||
|
||||
* Wed Jun 30 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.0-0.fdr.1.20040618
|
||||
- Updated to 20040618.
|
||||
|
||||
* Wed Jun 2 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.0-0.fdr.1.20040601
|
||||
- Updated to 20040601.
|
||||
|
||||
* Tue May 11 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.0-0.fdr.1.20040509
|
||||
- Updated to 20040509.
|
||||
|
||||
* Thu Apr 15 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.0-0.fdr.1.20040410
|
||||
- Updated to 20040410.
|
||||
|
||||
* Sun Mar 28 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.0-0.fdr.1.20040321
|
||||
- Updated to 20040321.
|
||||
- Changed package name from pfaedit to fontforge.
|
||||
- Added Obsoletes: pfaedit.
|
||||
|
||||
* Mon Mar 15 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.0-0.fdr.8.040310
|
||||
- Updated to 040310.
|
||||
|
||||
* Sat Feb 7 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:0.0-0.fdr.8.040204
|
||||
- Updated to 040204.
|
||||
- Removed some unnecessary directory ownerships (bug 1061).
|
||||
|
||||
* Sun Jan 25 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:0.0-0.fdr.8.040111
|
||||
- Updated documentation to 040111.
|
||||
|
||||
* Sun Jan 11 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:0.0-0.fdr.7.040111
|
||||
- Updated to 040111.
|
||||
- Converted spec file to UTF-8.
|
||||
|
||||
* Wed Jan 7 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:0.0-0.fdr.7.040102
|
||||
- Updated to 040102.
|
||||
|
||||
* Sat Dec 13 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:0.0-0.fdr.7.031210
|
||||
- Updated to 031210.
|
||||
|
||||
* Sat Dec 13 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:0.0-0.fdr.7.031205
|
||||
- Updated to 031205.
|
||||
|
||||
* Fri Nov 28 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:0.0-0.fdr.7.031123
|
||||
- Updated to 031123.
|
||||
|
||||
* Wed Nov 12 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:0.0-0.fdr.6.031110
|
||||
- Updated to 031110.
|
||||
- Eliminated build patch; incorporated in upstream tarball.
|
||||
- Re-added documentation tarball since no longer included in source tarball.
|
||||
- Added pfaicon.gif as Packaging directory disappeared from tarball.
|
||||
|
||||
* Mon Oct 13 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:0.0-0.fdr.5.031012
|
||||
- Refetched sources since upstream suddenly decided to change them (bug 497).
|
||||
|
||||
* Mon Oct 13 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:0.0-0.fdr.4.031012
|
||||
- Build req libuninameslist-devel instead of libuninameslist.
|
||||
|
||||
* Mon Oct 13 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:0.0-0.fdr.3.031012
|
||||
- Fixed non-standard value in desktop file (bug 497).
|
||||
- Added libuninameslist support.
|
||||
- Removed separate documentation tarball; mostly identical to those in source (bug 497).
|
||||
|
||||
* Mon Oct 13 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:0.0-0.fdr.2.031012
|
||||
- Patched to use dynamic linking instead of dlopen'ing (bug 497).
|
||||
- Patched to use htmlview and use installed documentation (bug 497).
|
||||
- Added build req libxml2-devel (bug 497).
|
||||
- Disabled parallell make (bug 497).
|
||||
- Added desktop entry (bug 497).
|
||||
|
||||
* Mon Oct 13 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:0.0-0.fdr.1.031012
|
||||
- Updated to 031012.
|
||||
- Removed .so links.
|
||||
- Removed empty AUTHORS file.
|
||||
- Removed the samples subpackage.
|
||||
|
||||
* Mon Sep 22 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:0.0-0.fdr.1.030904
|
||||
- Updated to 030904.
|
||||
|
||||
* Wed Sep 3 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:0.0-0.fdr.1.030831
|
||||
- Updated to 030831.
|
||||
|
||||
* Tue Aug 12 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:0.0-0.fdr.1.030803
|
||||
- Updated to 030803.
|
||||
|
||||
* Mon Jul 21 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:0.0-0.fdr.3.030702
|
||||
- Added font samples.
|
||||
- Added ldconfig to post and postun.
|
||||
- Added samples subpackage.
|
||||
|
||||
* Sun Jul 6 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:0.0-0.fdr.2.030702
|
||||
- Removed README-MS and README-MacOSX from documentation.
|
||||
|
||||
* Thu Jul 3 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:0.0-0.fdr.1.030512
|
||||
- Initial RPM release based on Mandrake's PfaEdit-030512 RPM.
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
||||
SHA512 (fontforge-20200314.tar.gz) = 9eecee6162d5d160c9fe5d3e229763edb0b52f53529659f0fa8b41cf3edf0685509f51d3993da0e6e2c36fecde867af60062e131e10d7fdfbaac16323855818f
|
14
tests/scripts/generate-font.py
Normal file
14
tests/scripts/generate-font.py
Normal file
@ -0,0 +1,14 @@
|
||||
import fontforge
|
||||
import os
|
||||
|
||||
myFont = fontforge.open("Cantarell-Regular.ttf")
|
||||
myFont.generate("Cantarell-Regular.sfd")
|
||||
myFont.close()
|
||||
|
||||
myFont = fontforge.open("Cantarell-Regular.sfd")
|
||||
myFont.generate("Cantarell-Regular.ttf")
|
||||
myFont.close()
|
||||
|
||||
os.remove("Cantarell-Regular.ttf")
|
||||
os.remove("Cantarell-Regular.sfd")
|
||||
|
7
tests/scripts/generate-sfd.pe
Executable file
7
tests/scripts/generate-sfd.pe
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/fontforge
|
||||
i=1
|
||||
Open($argv[i], 1)
|
||||
#Use gen_flags=Defualt fmflags value as -1
|
||||
gen_flags = -1
|
||||
Generate("" + $fontname + ".sfd", "", gen_flags)
|
||||
|
10
tests/scripts/generate-ttf.pe
Executable file
10
tests/scripts/generate-ttf.pe
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/fontforge
|
||||
i=1
|
||||
Open($argv[i], 1)
|
||||
#Use gen_flags=Defualt fmflags value as -1
|
||||
gen_flags = -1
|
||||
Generate("" + $fontname + ".ttf", "", gen_flags)
|
||||
Generate("" + $fontname + ".otf", "", gen_flags)
|
||||
PrintSetup (5)
|
||||
PrintFont (0, 0, "", $fontname + "-sample.pdf")
|
||||
|
31
tests/scripts/get-font-metadata.py
Normal file
31
tests/scripts/get-font-metadata.py
Normal file
@ -0,0 +1,31 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
import fontforge
|
||||
import sys
|
||||
|
||||
if len(sys.argv) > 1:
|
||||
f = fontforge.open(sys.argv[1])
|
||||
else:
|
||||
print("provide fontfile path as an argument")
|
||||
sys.exit(1)
|
||||
|
||||
if f.fullname:
|
||||
print("Fontname is {0}".format(f.fullname))
|
||||
else:
|
||||
print("fontname not set")
|
||||
if f.weight:
|
||||
print("Given font weight is {0}".format(f.weight))
|
||||
else:
|
||||
print("Given font weight not set")
|
||||
if f.version:
|
||||
print("Given font version is {0}".format(f.version))
|
||||
else:
|
||||
print("Given font version not set")
|
||||
if f.copyright:
|
||||
print("Given font Copyright text is => {0}".format(f.copyright))
|
||||
else:
|
||||
print("Given font copyright information not set")
|
||||
|
||||
ver = fontforge.UnicodeNamesListVersion()
|
||||
print("Libuninameslist version is : %s" % ver)
|
||||
|
23
tests/scripts/run_tests.sh
Normal file
23
tests/scripts/run_tests.sh
Normal file
@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
cp /usr/share/fontforge/pixmaps/Cantarell-Regular.ttf .
|
||||
|
||||
echo "----------------------------------------------------------"
|
||||
echo "Executing get-font-metadata.py on Cantarell-Regular.ttf =>"
|
||||
/usr/bin/python3 get-font-metadata.py ./Cantarell-Regular.ttf
|
||||
|
||||
echo "----------------------------------------------------------"
|
||||
echo "Executing generate-font.py on Cantarell-Regular.ttf =>"
|
||||
/usr/bin/python3 generate-font.py ./Cantarell-Regular.ttf
|
||||
|
||||
echo "----------------------------------------------------------"
|
||||
cp /usr/share/fontforge/pixmaps/Cantarell-Regular.ttf .
|
||||
echo "Executing generate-sfd.pe on Cantarell-Regular.ttf =>"
|
||||
/usr/bin/fontforge -script generate-sfd.pe ./Cantarell-Regular.ttf
|
||||
rm Cantarell-Regular.ttf
|
||||
|
||||
echo "----------------------------------------------------------"
|
||||
echo "Executing generate-ttf.pe on Cantarell-Regular.sfd =>"
|
||||
/usr/bin/fontforge -script generate-ttf.pe ./Cantarell-Regular.sfd
|
||||
echo "----------------------------------------------------------"
|
||||
|
9
tests/tests.yml
Normal file
9
tests/tests.yml
Normal file
@ -0,0 +1,9 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
tests:
|
||||
- simple:
|
||||
dir: scripts/
|
||||
run: ./run_tests.sh
|
Loading…
Reference in New Issue
Block a user