Upgrade to 20081224 Enable python bindings
This commit is contained in:
parent
418b44d33c
commit
eb4631ef08
@ -1,2 +1,2 @@
|
|||||||
fontforge_full-20081215.tar.bz2
|
fontforge_full-20081224.tar.bz2
|
||||||
fontforge_htdocs-20081215.tar.bz2
|
fontforge_htdocs-20081224.tar.bz2
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
diff -Nur fontforge-20081215.orig/gdraw/gxcdraw.c fontforge-20081215/gdraw/gxcdraw.c
|
|
||||||
--- fontforge-20081215.orig/gdraw/gxcdraw.c 2008-11-17 09:19:44.000000000 -0700
|
|
||||||
+++ fontforge-20081215/gdraw/gxcdraw.c 2008-12-16 13:59:58.000000000 -0700
|
|
||||||
@@ -1782,9 +1782,10 @@
|
|
||||||
# if !defined(_NO_LIBCAIRO) && PANGO_VERSION_MINOR>=10
|
|
||||||
# include <pango/pangocairo.h>
|
|
||||||
# define _pango_cairo_layout_path pango_cairo_layout_path
|
|
||||||
-# define _pango_font_map_create_context pango_font_map_create_context
|
|
||||||
+# define _pango_cairo_font_map_create_context pango_cairo_font_map_create_context
|
|
||||||
# define _pango_cairo_font_map_get_default pango_cairo_font_map_get_default
|
|
||||||
-# define _pango_cairo_context_set_resolution _pango_cairo_context_set_resolution
|
|
||||||
+# define _pango_cairo_context_set_resolution pango_cairo_context_set_resolution
|
|
||||||
+# define _pango_cairo_show_glyph_string pango_cairo_show_glyph_string
|
|
||||||
# endif
|
|
||||||
# undef GTimer
|
|
||||||
# if PANGO_VERSION_MINOR>=8
|
|
@ -1,9 +1,11 @@
|
|||||||
%define docs_version 20081215
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
|
%define docs_version 20081224
|
||||||
%define gettext_package FontForge
|
%define gettext_package FontForge
|
||||||
|
|
||||||
Name: fontforge
|
Name: fontforge
|
||||||
Version: 20081215
|
Version: 20081224
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Outline and bitmap font editor
|
Summary: Outline and bitmap font editor
|
||||||
|
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
@ -13,7 +15,6 @@ Source0: http://downloads.sourceforge.net/fontforge/fontforge_full-%{vers
|
|||||||
Source1: fontforge.desktop
|
Source1: fontforge.desktop
|
||||||
Source2: http://downloads.sourceforge.net/fontforge/fontforge_htdocs-%{docs_version}.tar.bz2
|
Source2: http://downloads.sourceforge.net/fontforge/fontforge_htdocs-%{docs_version}.tar.bz2
|
||||||
Source3: fontforge.xml
|
Source3: fontforge.xml
|
||||||
Patch1: fontforge-20081215-pangocairo.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
Requires: xdg-utils
|
Requires: xdg-utils
|
||||||
@ -33,6 +34,7 @@ BuildRequires: gettext
|
|||||||
BuildRequires: pango-devel
|
BuildRequires: pango-devel
|
||||||
BuildRequires: cairo-devel
|
BuildRequires: cairo-devel
|
||||||
BuildRequires: libspiro-devel
|
BuildRequires: libspiro-devel
|
||||||
|
BuildRequires: python-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
FontForge (former PfaEdit) is a font editor for outline and bitmap
|
FontForge (former PfaEdit) is a font editor for outline and bitmap
|
||||||
@ -53,8 +55,6 @@ to compile applications against fontforge.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
mkdir htdocs
|
mkdir htdocs
|
||||||
tar xjf %{SOURCE2} -C htdocs
|
tar xjf %{SOURCE2} -C htdocs
|
||||||
rm -rf htdocs/scripts
|
rm -rf htdocs/scripts
|
||||||
@ -68,7 +68,7 @@ rm -rf htdocs/flags/CVS
|
|||||||
%{__sed} -i 's/\r//' htdocs/corpchar.txt
|
%{__sed} -i 's/\r//' htdocs/corpchar.txt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-freetype-bytecode=no --with-regular-link
|
%configure --with-freetype-bytecode=no --with-regular-link --enable-pyextension
|
||||||
|
|
||||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
@ -131,6 +131,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
|
|||||||
%{_datadir}/pixmaps/fontforge.png
|
%{_datadir}/pixmaps/fontforge.png
|
||||||
%{_mandir}/man1/*.1*
|
%{_mandir}/man1/*.1*
|
||||||
%{_datadir}/mime/packages/fontforge.xml
|
%{_datadir}/mime/packages/fontforge.xml
|
||||||
|
%{python_sitearch}/fontforge-1.0-py2.6.egg-info
|
||||||
|
%{python_sitearch}/fontforge.so
|
||||||
|
%{python_sitearch}/psMat.so
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
@ -139,6 +142,16 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
|
|||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Wed Dec 17 2008 Kevin Fenzi <kevin@tummy.com> - 20081215-2
|
||||||
- Add libspiro-devel to build with spiro
|
- Add libspiro-devel to build with spiro
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user