From fc3e3aee07b5d83c2d59781b3466ef81f7b17ac740a3a83c781a950d1cd205fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 23 Nov 2015 08:03:57 +0000 Subject: [PATCH] Accepting request 345792 from home:pluskalm:branches:multimedia:libs - Update to 0.13.0 OBS-URL: https://build.opensuse.org/request/show/345792 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libass?expand=0&rev=31 --- libass-0.12.3.tar.xz | 3 --- libass-0.13.0.tar.xz | 3 +++ libass.changes | 37 +++++++++++++++++++++++++++++++++++++ libass.spec | 13 +++++++------ 4 files changed, 47 insertions(+), 9 deletions(-) delete mode 100644 libass-0.12.3.tar.xz create mode 100644 libass-0.13.0.tar.xz diff --git a/libass-0.12.3.tar.xz b/libass-0.12.3.tar.xz deleted file mode 100644 index 3c072b0..0000000 --- a/libass-0.12.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a67c54ebaf5ec19ae72e86259ee6ab6adfe2e64ed9f9149db03dc863360ea38c -size 313852 diff --git a/libass-0.13.0.tar.xz b/libass-0.13.0.tar.xz new file mode 100644 index 0000000..a186511 --- /dev/null +++ b/libass-0.13.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0071a3b2e95411c8d474014678368e3f0b852f7d663e0564b344e7335eb0671 +size 336128 diff --git a/libass.changes b/libass.changes index 0a75b83..0b0e731 100644 --- a/libass.changes +++ b/libass.changes @@ -1,3 +1,40 @@ +------------------------------------------------------------------- +Sun Nov 22 22:00:00 UTC 2015 - mpluskal@suse.com + +- Update to 0.13.0 + * Add native font selection backends for OSX (CoreText) and + Windows (DirectWrite). You can now run libass without + fontconfig on these platforms. This fixes problems with + fontconfig behaving badly on these platforms (it could take + minutes to scan all system fonts). Even on Linux, this speeds + up loading of embedded fonts (such as provided by + ass_add_font()). The DirectWrite backend only works on Windows + Vista and later. On XP, fontconfig is still needed. libass can + be compiled with both DirectWrite and fontconfig, and then it + will fallback to fontconfig automatically if DirectWrite is not + available at runtime. + * Add ass_get_available_font_providers() API function. + * Change the 4th parameter of ass_set_fonts(). This now selects + the font provider. This is somewhat backwards compatible with + the old behavior, but if you ever passed values other than 0 + or 1, your application might break with this libass release. + * The ass_fonts_update() function now does nothing. It's kept + for backward compatibility only. + * Much faster gaussian blur. This can bring a large speedup with + big blurred signs and such. + * Drop ENCA support + * Bug fixes + + Fix compilation of the freetype rasterizer (disabled by + default) + + Fix rendering with some cases of consecutive line breaks + (\N\N). + + Fix some memory allocation failure checks + + Avoid system locale dependent behavior by reinventing some + standard C functions + + Fix rendering errors with strikes (GH #193) + + MSVC compilation fixes +- Enable harfbuzz and yasm build requires + ------------------------------------------------------------------- Tue Jul 14 11:20:05 UTC 2015 - mpluskal@suse.com diff --git a/libass.spec b/libass.spec index aaf6495..fe55087 100644 --- a/libass.spec +++ b/libass.spec @@ -17,9 +17,8 @@ %define soname 5 - Name: libass -Version: 0.12.3 +Version: 0.13.0 Release: 0 Summary: Portable Library for SSA/ASS Subtitles Rendering License: ISC @@ -29,10 +28,11 @@ Source: https://github.com/libass/libass/releases/download/%{version}/%{ Source99: baselibs.conf BuildRequires: pkg-config BuildRequires: xz -BuildRequires: pkgconfig(enca) +BuildRequires: yasm BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) >= 9.10.3 BuildRequires: pkgconfig(fribidi) >= 0.19.0 +BuildRequires: pkgconfig(harfbuzz) %description libass is a portable subtitle renderer for the ASS/SSA @@ -65,16 +65,17 @@ This package is needed if you want to develop / compile against libASS. %setup -q %build -%configure --disable-silent-rules \ +%configure \ + --disable-silent-rules \ --disable-static make %{?_smp_mflags} %install make DESTDIR='%{buildroot}' install -rm -f %{buildroot}%{_libdir}/*.la +find %{buildroot} -type f -name "*.la" -delete -print %check -make check +make %{?_smp_mflags} check %post -n libass%{soname} -p /sbin/ldconfig