diff --git a/harfbuzz-1.7.4.tar.bz2 b/harfbuzz-1.7.4.tar.bz2 deleted file mode 100644 index c8489fa..0000000 --- a/harfbuzz-1.7.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b5d6ac8415f97f3540d73f3f91c41c5c10f8a4d76350f11a7184062aae88ac0b -size 1718260 diff --git a/harfbuzz-1.7.5.tar.bz2 b/harfbuzz-1.7.5.tar.bz2 new file mode 100644 index 0000000..6c8a93a --- /dev/null +++ b/harfbuzz-1.7.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84574e1b1f65ca694cb8fb6905309665c0368af18a312357f8ff886ee2f29563 +size 2350389 diff --git a/harfbuzz.changes b/harfbuzz.changes index 1160d2d..7f43c19 100644 --- a/harfbuzz.changes +++ b/harfbuzz.changes @@ -1,9 +1,28 @@ +------------------------------------------------------------------- +Fri Feb 9 21:00:57 UTC 2018 - bjorn.lie@gmail.com + +- Update to version 1.7.5: + + Separate Khmer shaper from Indic. + + First stab at AAT morx. Not hooked up. + + Misc bug fixes. + ------------------------------------------------------------------- Wed Jan 10 21:34:23 UTC 2018 - crrodriguez@opensuse.org - harfbuzz-devel hb-ft.h requires pkgconfig(freetype2) but it is not automatically added by the dependency generator. +------------------------------------------------------------------- +Tue Jan 9 19:33:26 UTC 2018 - zaitor@opensuse.org + +- Add pkgconfig(gobject-2.0) and + pkgconfig(gobject-introspection-1.0) BuildRequires, and pass + with-gobject=yes to configure, build GObject and Introspection + support. +- Following this, package the new sub-packages libharfbuzz-gobject0 + and typelib-1_0-HarfBuzz-0_0. +- Clean up spec, use autosetup and make_build macros. + ------------------------------------------------------------------- Wed Dec 20 17:56:08 UTC 2017 - zaitor@opensuse.org diff --git a/harfbuzz.spec b/harfbuzz.spec index f624e03..ebc7c22 100644 --- a/harfbuzz.spec +++ b/harfbuzz.spec @@ -17,7 +17,7 @@ Name: harfbuzz -Version: 1.7.4 +Version: 1.7.5 Release: 0 Summary: An OpenType text shaping engine License: MIT @@ -25,12 +25,14 @@ Group: Productivity/Text/Utilities Url: https://www.freedesktop.org/wiki/Software/HarfBuzz Source: https://www.freedesktop.org/software/harfbuzz/release/%{name}-%{version}.tar.bz2 Source99: baselibs.conf + BuildRequires: gcc-c++ -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkgconfig(cairo) >= 1.8.0 BuildRequires: pkgconfig(cairo-ft) BuildRequires: pkgconfig(freetype2) >= 12.0.6 BuildRequires: pkgconfig(glib-2.0) >= 2.19.1 +BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(graphite2) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(icu-uc) @@ -54,6 +56,14 @@ Group: System/Libraries HarfBuzz is an OpenType text shaping engine. This package contains the ICU library. +%package -n libharfbuzz-gobject0 +Summary: An OpenType text shaping engine - GObject library +Group: System/Libraries + +%description -n libharfbuzz-gobject0 +HarfBuzz is an OpenType text shaping engine. +This package contains the GObject library. + %package tools Summary: An OpenType text shaping engine -- Tools Group: Productivity/Text/Utilities @@ -72,8 +82,16 @@ Requires: pkgconfig(freetype2) >= 12.0.6 HarfBuzz is an OpenType text shaping engine. This package contains the development files. +%package -n typelib-1_0-HarfBuzz-0_0 +Summary: An OpenType text shaping engine - Introspection bindings +Group: System/Libraries + +%description -n typelib-1_0-HarfBuzz-0_0 +HarfBuzz is an OpenType text shaping engine. +This package provides the GObject Introspection bindings for HarfBuzz + %prep -%setup -q -n harfbuzz-%{version} +%autosetup %build %configure \ @@ -82,44 +100,52 @@ This package contains the development files. --with-freetype \ --with-cairo \ --with-icu \ - --with-graphite2 -make %{?_smp_mflags} + --with-graphite2 \ + --with-gobject=yes \ + %{nil} +%make_build %install %make_install - find %{buildroot} -type f -name "*.la" -delete -print %post -n libharfbuzz0 -p /sbin/ldconfig - -%post -n libharfbuzz-icu0 -p /sbin/ldconfig - %postun -n libharfbuzz0 -p /sbin/ldconfig +%post -n libharfbuzz-icu0 -p /sbin/ldconfig %postun -n libharfbuzz-icu0 -p /sbin/ldconfig +%post -n libharfbuzz-gobject0 -p /sbin/ldconfig +%postun -n libharfbuzz-gobject0 -p /sbin/ldconfig + %files -n libharfbuzz0 -%defattr(-,root,root) -%doc AUTHORS COPYING NEWS README THANKS +%license COPYING +%doc NEWS %{_libdir}/libharfbuzz.so.0* %files -n libharfbuzz-icu0 -%defattr(-,root,root) %{_libdir}/libharfbuzz-icu.so.0* +%files -n libharfbuzz-gobject0 +%{_libdir}/libharfbuzz-gobject.so.0* + %files tools -%defattr(-,root,root) %{_bindir}/hb-ot-shape-closure %{_bindir}/hb-shape %{_bindir}/hb-view %files devel -%defattr(-,root,root) +%doc AUTHORS README THANKS +%docdir %{_datadir}/gtk-doc +%{_datadir}/gtk-doc/html/harfbuzz/ %{_includedir}/harfbuzz/ %{_libdir}/*.so %{_libdir}/pkgconfig/harfbuzz.pc -%docdir %{_datadir}/gtk-doc -%{_datadir}/gtk-doc/html/harfbuzz/ %{_libdir}/pkgconfig/harfbuzz-icu.pc +%{_libdir}/pkgconfig/harfbuzz-gobject.pc +%{_datadir}/gir-1.0/HarfBuzz-0.0.gir + +%files -n typelib-1_0-HarfBuzz-0_0 +%{_libdir}/girepository-1.0/HarfBuzz-0.0.typelib %changelog