Hello community, here is the log from the commit of package freetype2 for openSUSE:Factory checked in at 2018-03-08 10:55:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/freetype2 (Old) and /work/SRC/openSUSE:Factory/.freetype2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "freetype2" Thu Mar 8 10:55:29 2018 rev:80 rq:583313 version:2.9 Changes: -------- --- /work/SRC/openSUSE:Factory/freetype2/freetype2.changes 2018-02-10 17:56:08.424534419 +0100 +++ /work/SRC/openSUSE:Factory/.freetype2.new/freetype2.changes 2018-03-08 10:55:29.489674235 +0100 @@ -1,0 +2,8 @@ +Tue Mar 6 10:47:29 UTC 2018 - [email protected] + +- Refresh spec-file via spec-cleaner. +- Add shell script freetype2.sh in separate package + freetype2-profile-tti35 in order to be able to set TrueType + interpreter version 35 (boo#1084085). + +------------------------------------------------------------------- New: ---- freetype2.sh ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ freetype2.spec ++++++ --- /var/tmp/diff_new_pack.pooi4w/_old 2018-03-08 10:55:32.369570564 +0100 +++ /var/tmp/diff_new_pack.pooi4w/_new 2018-03-08 10:55:32.369570564 +0100 @@ -16,17 +16,17 @@ # -# %define doc_version 2.9 Name: freetype2 Version: 2.9 Release: 0 Summary: A TrueType Font Library -License: SUSE-Freetype or GPL-2.0+ +License: SUSE-Freetype OR GPL-2.0-or-later Group: System/Libraries Url: https://www.freetype.org Source0: https://download.savannah.gnu.org/releases/freetype/freetype-%{version}.tar.bz2 Source1: https://download.savannah.gnu.org/releases/freetype/freetype-doc-%{doc_version}.tar.bz2 +Source2: %{name}.sh Source3: baselibs.conf Patch0: bugzilla-308961-cmex-workaround.patch # PATCH-FIX-OPENSUSE don-t-mark-libpng-as-required-library.patch -- it is private in .pc @@ -39,9 +39,8 @@ BuildRequires: gawk BuildRequires: libbz2-devel BuildRequires: libpng-devel -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: zlib-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build # bug437293 %ifarch ppc64 Obsoletes: freetype2-64bit @@ -61,6 +60,20 @@ This library features TrueType fonts for open source projects. This version also contains an autohinter for producing improved output. +%package profile-tti35 +Summary: Set TrueType interpreter to version 35 +Group: System/Shells +Requires: bash +Requires: freetype2 +BuildArch: noarch + +%description profile-tti35 +System environment for set TrueType interpreter to version 35. +In release 2.6.4, a new hinting mode for TrueType fonts was added, +which enabled by default to activate sub-pixel hinting for TrueType. +This broke the work of full hinting. This optional package with a bash profile +that will switch the TrueType Interpreter to the old version 35. + %package devel Summary: Development environment for the freetype2 TrueType font library Group: Development/Libraries/C and C++ @@ -102,23 +115,24 @@ make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install +install -Dm 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh # remove documentation that does not belong in an rpm rm docs/INSTALL* %post -n libfreetype6 -p /sbin/ldconfig - %postun -n libfreetype6 -p /sbin/ldconfig %files -n libfreetype6 -%defattr(-,root,root) %{_libdir}/libfreetype.so.* %doc ChangeLog README %doc docs/{CHANGES,CUSTOMIZE,DEBUG,MAKEPP,PROBLEMS,TODO,*.txt} +%files profile-tti35 +%config %{_sysconfdir}/profile.d/%{name}.sh + %files devel -%defattr(-,root,root) %doc docs/reference/* %{_includedir}/* %if 0%{?suse_version} >= 1140 ++++++ ft2demos.spec ++++++ --- /var/tmp/diff_new_pack.pooi4w/_old 2018-03-08 10:55:32.389569844 +0100 +++ /var/tmp/diff_new_pack.pooi4w/_new 2018-03-08 10:55:32.393569700 +0100 @@ -21,7 +21,7 @@ Version: 2.9 Release: 0 Summary: Freetype2 Utilities and Demo Programs -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Publishing/Other Url: https://www.freetype.org Source0: https://savannah.nongnu.org/download/freetype/freetype-%{freetype_version}.tar.bz2 ++++++ freetype2.sh ++++++ export FREETYPE_PROPERTIES="truetype:interpreter-version=35"
