Hello community,
here is the log from the commit of package fontforge.4580 for openSUSE:13.2:Update checked in at 2016-02-04 12:43:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.2:Update/fontforge.4580 (Old)
and /work/SRC/openSUSE:13.2:Update/.fontforge.4580.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fontforge.4580"
Changes:
--------
New Changes file:
--- /dev/null 2016-01-27 19:41:03.648095915 +0100
+++ /work/SRC/openSUSE:13.2:Update/.fontforge.4580.new/fontforge.changes 2016-02-04 12:43:45.000000000 +0100
@@ -0,0 +1,399 @@
+-------------------------------------------------------------------
+Tue Jan 26 08:17:49 UTC 2016 - pgajdos@suse.com
+
+- do not crash on invalid input data (when eof reached) [bsc#963023]
+ + fontforge-eof-crash.patch
+
+-------------------------------------------------------------------
+Sat May 31 16:12:53 UTC 2014 - jengelh@inai.de
+
+- Update fontforge-fixgiflib.patch to support giflib7-5.1
+
+-------------------------------------------------------------------
+Mon Mar 17 07:21:51 UTC 2014 - pgajdos@suse.com
+
+- fixed linking against libpng (1.5, 1.6) [bnc#867041]
+ * added fontforge-libpng.diff
+ * removed libpng14-dynamic.diff
+- spec file cleanup
+ * call spec-cleaner
+ * fontforge-20090622-fdleak.patch renamed to fontforge-fdleak.patch
+ * docdir.patch renamed to fontforge-docdir.patch
+
+-------------------------------------------------------------------
+Sun Mar 9 13:40:08 UTC 2014 - schwab@linux-m68k.org
+
+- fontforge-arraysubscript.patch: Fix invalid array subscript
+
+-------------------------------------------------------------------
+Thu Nov 14 06:59:13 UTC 2013 - jengelh@inai.de
+
+- Put documentation into a separate subpackage
+- Spruce of description of fontforge-devel a bit
+- File list simplification/exactness
+
+-------------------------------------------------------------------
+Mon Sep 9 08:48:04 UTC 2013 - coolo@suse.com
+
+- add fontforge-fixgiflib.patch to fix build with giflib 5.0.5
+
+-------------------------------------------------------------------
+Tue Apr 16 12:17:30 UTC 2013 - pgajdos@suse.com
+
+- use %requires_eq rather than %requires_ge (exact version)
+
+-------------------------------------------------------------------
+Tue Apr 16 12:05:41 UTC 2013 - pgajdos@suse.com
+
+- %requires_ge libpng16-16 to avoid
+ 'Application built with libpng-1.5.14 but running with 1.6.1'
+ warning when running fontforge
+
+-------------------------------------------------------------------
+Fri Jan 4 12:44:05 UTC 2013 - dmitry_r@opensuse.org
+
+- Build with cairo and pango support
+
+-------------------------------------------------------------------
+Sun Dec 30 06:44:35 UTC 2012 - dmitry_r@opensuse.org
+
+- Update to 20120731b
+ * see included changelog.html for details
+ * removed obsolete fontforge.py27.diff
+ * removed obsolete fontforge-missing-closedir.diff
+ * removed obsolete libpng14.diff
+
+-------------------------------------------------------------------
+Tue Dec 20 20:25:40 UTC 2011 - coolo@suse.com
+
+- remove call to suse_update_config (very old work around)
+
+-------------------------------------------------------------------
+Mon Oct 3 07:55:35 UTC 2011 - pgajdos@suse.com
+
+- Make rpmlint more happy.
+
+-------------------------------------------------------------------
+Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
+
+- Apply packaging guidelines (remove redundant/obsolete
+ tags/sections from specfile, etc.)
+
+-------------------------------------------------------------------
+Mon May 16 14:38:39 CEST 2011 - pgajdos@suse.cz
+
+- updated to 20110222:
+ * Did a lot of work to improve the accuracy in remove overlap.
+ * Fix various error messages.
+ * Remove some obsolete documentation.
+ * Technical fixes to stroking code.
+ * Add a miterlimit to stroking code.
+ * FontForge was using the wrong MIME type for svg files.
+ W3C has changed it and it's now "image/svg+xml" not
+ "image/svg-xml" or "image/svg".
+ * etc. on
+ http://fontforge.sourceforge.net/changelog.html
+ * libpng14.diff and fontforge.py27.diff kept but not needed yet
+
+-------------------------------------------------------------------
+Mon Sep 6 08:54:57 UTC 2010 - coolo@novell.com
+
+- adapt to python 2.7
+
+-------------------------------------------------------------------
+Thu Apr 8 10:56:13 CEST 2010 - tiwai@suse.de
+
+- fix build with older distros before libpng 1.4
+
+-------------------------------------------------------------------
+Thu Apr 8 08:12:59 UTC 2010 - coolo@novell.com
+
+- compile with libpng 1.4
+
+-------------------------------------------------------------------
+Mon Apr 5 12:00:54 UTC 2010 - toms@suse.de
+
+- Updated to 20090923
+- Enabled Python bindings
+
+-------------------------------------------------------------------
+Sat Oct 3 12:16:21 UTC 2009 - crrodriguez@opensuse.org
+
+- fontforge-20090622-1.6: missing call to closedir [bnc#543458]
+- fix -devel package dependencies
+
+-------------------------------------------------------------------
+Mon Jul 27 16:57:52 CEST 2009 - tiwai@suse.de
+
+- fix missing closedir() (bnc#525022)
+
+-------------------------------------------------------------------
+Mon Jul 27 15:29:55 CEST 2009 - tiwai@suse.de
+
+- updated to version 20090622
+ lots of changes. See changelog.html for details
+
+-------------------------------------------------------------------
+Thu Jan 22 00:51:12 CET 2009 - crrodriguez@suse.de
+
+- remove "la" files and static libraries
+- add missing freetype2-devel dependency to -devel package
+
+-------------------------------------------------------------------
+Mon May 26 12:58:18 CEST 2008 - mfabian@suse.de
+
+- bnc#246804: update to 20080429 (needed to build recent versions
+ of the DejaVu fonts and freefont).
+
+-------------------------------------------------------------------
+Fri Feb 29 10:03:29 CET 2008 - coolo@suse.de
+
+- fix typo
+
+-------------------------------------------------------------------
+Thu Feb 21 17:47:55 CET 2008 - mfabian@suse.de
+
+- update to 20080203 (bugfix release, fixes also bnc#363014).
+- create -devel sub-package.
+
+-------------------------------------------------------------------
+Thu Aug 02 16:33:43 CEST 2007 - mfabian@suse.de
+
+- update to 20070723 (user interace redesigned, many bugfixes).
+- add ldconfig post scripts.
+- remove executable flags from documentation.
+- remove DOS line-endings from documentation.
+
+-------------------------------------------------------------------
+Tue Jul 24 12:49:54 CEST 2007 - coolo@suse.de
+
+- remove BuildPreRequires
+
+-------------------------------------------------------------------
+Tue Feb 06 17:06:16 CET 2007 - mfabian@suse.de
+
+- Bugzilla #242363: uninitialized variable.
+
+-------------------------------------------------------------------
+Wed Jan 03 11:43:21 CET 2007 - mfabian@suse.de
+
+- update to 20061220.
+- remove fontforge-strncat.patch,
+ bugzilla-221210-locale-variable-used-before-set.patch,
+ bugzilla-225616-local-variable-used-before-set.patch
+ (included upstream).
+- fix bugzilla #231126: "array subscript out of range".
+
+-------------------------------------------------------------------
+Tue Dec 19 18:40:01 CET 2006 - mfabian@suse.de
+
+- update to 20061025.
+ • fontimage program has been added.
+- fix bugzilla #225616 ("local variable used before set").
+
+-------------------------------------------------------------------
+Fri Nov 17 19:54:59 CET 2006 - mfabian@suse.de
+
+- Bugzilla #221210: "local variable used before set"
++++ 202 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:13.2:Update/.fontforge.4580.new/fontforge.changes
New:
----
fontforge-arraysubscript.patch
fontforge-docdir.patch
fontforge-eof-crash.patch
fontforge-fdleak.patch
fontforge-fixgiflib.patch
fontforge-libpng.diff
fontforge-python-module-name.diff
fontforge.changes
fontforge.spec
fontforge_full-20120731-b.tar.bz2
fontforge_htdocs-20120731-b.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ fontforge.spec ++++++
#
# spec file for package fontforge
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define src_version %{version}-b
Name: fontforge
Version: 20120731
Release: 0
Summary: A Font Editor
License: BSD-3-Clause
Group: Productivity/Graphics/Vector Editors
Url: http://fontforge.org/
Source0: http://downloads.sourceforge.net/%{name}/%{name}_full-%{src_version}.tar.bz2
Source1: http://downloads.sourceforge.net/%{name}/%{name}_htdocs-%{src_version}.tar.bz2
# PATCH-FIX-OPENSUSE -- set path to documentation
Patch0: fontforge-docdir.patch
Patch1: fontforge-fdleak.patch
# workaround, this should be resolved upstream (use pkg-config) bnc#867041
Patch2: fontforge-libpng.diff
# PATCH-FIX-OPENSUSE fontforge-python-module-name.diff -- change python module name according to naming policy
Patch3: fontforge-python-module-name.diff
Patch4: fontforge-fixgiflib.patch
# PATCH-FIX-UPSTREAM http://sourceforge.net/p/fontforge/git/ci/9ae25e0
Patch5: fontforge-arraysubscript.patch
Patch6: fontforge-eof-crash.patch
BuildRequires: cairo-devel
BuildRequires: fdupes
BuildRequires: freetype2-devel
BuildRequires: gettext-tools
BuildRequires: giflib-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: libuninameslist-devel
BuildRequires: libxml2-devel
BuildRequires: pango-devel
BuildRequires: python-devel
BuildRequires: update-desktop-files
BuildRequires: xorg-x11-devel
# following to avoid warning
# 'Application built with libpng-1.5.14 but running with 1.6.1'
%requires_eq libpng16-16
Obsoletes: PfaEdit < 20110222
Provides: PfaEdit = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} > 1210
BuildRequires: libspiro-devel
%endif
%description
FontForge allows editing of outline and bitmap fonts. With it, you can
create new fonts or modify old ones. It also converts font formats and
can convert among PostScript (ASCII & binary Type 1, some Type 3s, and
some Type 0s), TrueType, OpenType (Type2), and CID-keyed fonts.
%package doc
Summary: Documentation for FontForge
Group: Documentation/HTML
%if 0%{?suse_version} >= 1230
BuildArch: noarch
%endif
%description doc
FontForge allows editing of outline and bitmap fonts. With it, you can
create new fonts or modify old ones. It also converts font formats and
can convert among PostScript, TrueType, OpenType, and CID-keyed fonts.
This subpackage contains the documentation to FontForge.
%package devel
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: freetype2-devel
%description devel
FontForge allows editing of outline and bitmap fonts. With it, you can
create new fonts or modify old ones. It also converts font formats and
can convert among PostScript, TrueType, OpenType, and CID-keyed fonts.
This subpackage contains all necessary include files and libraries needed
to develop applications that use FontForge libraries.
%prep
%setup -q -T -n fontforge-%{src_version} -b 0
%patch0 -p 1 -b .docdir
%patch1
%patch2
%patch3
%if 0%{?suse_version} > 1230
%patch4 -p1
%endif
%patch5 -p1
%patch6
mkdir docs
tar -jxvf %{SOURCE1} -C docs
chmod 644 docs/quadraticspline.gif
chmod 644 docs/FontForgeSplash.png
chmod 644 docs/*.html
# tar zxvf docs/cidmaps.tgz
find . -name CVS -type d | xargs rm -rf
# fix wrong-file-end-of-line-encoding
sed -i 's/\r$//' docs/{Big5.txt,corpchar.txt}
%build
# workaround, this should be resolved upstream (use pkg-config) bnc#867041
pkg-config --exists 'libpng >= 1.7.0' && echo 'Libpng was updated to 1.7, fontforge-libpng.patch will probably need to be adapted.' && exit 1
export CFLAGS="%{optflags} -fno-strict-aliasing"
%configure \
--disable-static \
--enable-pyextension \
--with-regular-link
make %{?_smp_mflags}
pushd pyhook
python setup.py build
popd
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
# symlink for old FontForge name - PfaEdit
pushd %{buildroot}%{_bindir}
ln -s fontforge pfaedit
popd
# install CMaps to be able to edit CID-keyed fonts:
# install -m 644 Adobe* %{buildroot}%{_datadir}/fontforge
# desktop file and icon
install -Dm 644 Packaging/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
install -Dm 644 Packaging/icons/48x48/apps/%{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
%suse_update_desktop_file -i %{name} VectorGraphics
%find_lang FontForge
find %{buildroot} -type f -name "*.la" -delete -print
pushd pyhook
python setup.py install \
--root=%{buildroot} \
--prefix=%{_prefix} \
--record-rpm=%{name}-python.files
popd
%fdupes -s %{buildroot}%{_datadir}/%{name}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f FontForge.lang
%defattr(-,root,root)
%doc LICENSE
%{_bindir}/*
%{_libdir}/lib*.so.*
%{_datadir}/fontforge/
%{_mandir}/man1/*.1*
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{py_sitedir}/*
%files doc
%defattr(-,root,root)
%doc AUTHORS VERSION LICENSE README-unix docs/
%files devel
%defattr(-, root, root)
%{_includedir}/fontforge/
%{_libdir}/pkgconfig/*.pc
%{_libdir}/lib*.so
%changelog
++++++ fontforge-arraysubscript.patch ++++++
Index: fontforge-20120731-b/fontforge/contextchain.c
===================================================================
--- fontforge-20120731-b.orig/fontforge/contextchain.c
+++ fontforge-20120731-b/fontforge/contextchain.c
@@ -928,7 +928,7 @@ return;
uc_strcpy(ubuf,buf);
} else {
ubuf[0]=' ';
- utf82u_strncpy(ubuf-1,classes[cols*r+0].u.md_str,sizeof(ubuf)/sizeof(ubuf[0])-2 );
+ utf82u_strncpy(ubuf+1,classes[cols*r+0].u.md_str,sizeof(ubuf)/sizeof(ubuf[0])-2 );
ubuf[sizeof(ubuf)/sizeof(ubuf[0])-2] = '\0';
uc_strcat(ubuf," ");
}
++++++ fontforge-docdir.patch ++++++
Index: fontforge-20110222/fontforge/uiutil.c
===================================================================
--- fontforge-20110222.orig/fontforge/uiutil.c
+++ fontforge-20110222/fontforge/uiutil.c
@@ -315,6 +315,7 @@ return;
fullspec[0] = 0;
if ( ! GFileIsAbsolute(file) ) {
if ( helpdir==NULL || *helpdir=='\0' ) {
+#define DOCDIR "/usr/share/doc/packages/fontforge/docs"
#ifdef DOCDIR
strcpy(fullspec,DOCDIR "/");
#elif defined(SHAREDIR)
++++++ fontforge-eof-crash.patch ++++++
Index: fontforge/parsettf.c
===================================================================
--- fontforge/parsettf.c.orig 2016-01-26 09:01:44.025472518 +0100
+++ fontforge/parsettf.c 2016-01-26 09:04:24.853470665 +0100
@@ -5185,7 +5185,10 @@
/* the index table is backwards from the way I want to use it */
gcbig = 0;
for ( i=0; i