commit 41a65b3aa75c3b7811c3852d0679c8cf76240e132641c23a58bb88981df84f26 Author: Adrian Schröter Date: Fri May 3 15:26:51 2024 +0200 Sync from SUSE:SLFO:Main libotf revision f81a1db0565a5d717a4fbfc636e35648 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..1d275dc --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,6 @@ +libotf1 + provides "libotf- = " + obsoletes "libotf- < 0.9.13" +libotf-devel + requires -libotf- + +.*/lib(64)?/pkgconfig/.*.pc$ diff --git a/libotf-0.9.16.tar.gz b/libotf-0.9.16.tar.gz new file mode 100644 index 0000000..c95e266 --- /dev/null +++ b/libotf-0.9.16.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:68db0ca3cda2d46a663a92ec26e6eb5adc392ea5191bcda74268f0aefa78066b +size 423979 diff --git a/libotf-0.9.16.tar.gz.sig b/libotf-0.9.16.tar.gz.sig new file mode 100644 index 0000000..6282109 Binary files /dev/null and b/libotf-0.9.16.tar.gz.sig differ diff --git a/libotf-warning-fixes.diff b/libotf-warning-fixes.diff new file mode 100644 index 0000000..8c92a19 --- /dev/null +++ b/libotf-warning-fixes.diff @@ -0,0 +1,14 @@ +--- + src/otfdrive.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/src/otfdrive.c ++++ b/src/otfdrive.c +@@ -1664,6 +1664,7 @@ + else + gstring->glyphs[i].glyph_id = lookupper (c, &enc->subtable); + } ++ return 0; + } + + diff --git a/libotf.changes b/libotf.changes new file mode 100644 index 0000000..6af2b8a --- /dev/null +++ b/libotf.changes @@ -0,0 +1,175 @@ +------------------------------------------------------------------- +Sun Aug 16 02:47:35 UTC 2020 - Dirk Mueller + +- update to 0.9.16: + ** This is a bug fix release. +- remove libotf-automake-1.13.diff (upstream) + +------------------------------------------------------------------- +Wed Jul 19 11:59:46 UTC 2017 - tchvatal@suse.com + +- Add sig file, no keyring can't find the public key +- Remove some obsolete syntax parts + +------------------------------------------------------------------- +Wed Oct 1 20:51:46 UTC 2014 - crrodriguez@opensuse.org + + Cleanup buildRequires, removing use of xorg-x11-devel. + +------------------------------------------------------------------- +Mon Jun 16 16:30:13 CEST 2014 - tiwai@suse.de + +- provides/obsoletes libotf-32bit (bnc#881556) + +------------------------------------------------------------------- +Mon Jul 1 04:07:57 UTC 2013 - i@marguerite.su + +- update version 0.9.13 + * configure.ac: Add AM_CONDITIONAL for X11_UNAVAILABLE. + * example/Makefile.am (bin_PROGRAMS): Add otfview conditionally. + * example/otfdump.c (indent_spaces): Delete it. + (IPRINT): Do not use indent_spaces. + (dump_anchor): Do nothing if anchor->offset is zero. + * src/otfopen.c (read_anchor_array): Do not read an anchor if its + offset is zero. + (read_ligature_attach): Fix return code on error. + (read_ligature_array): Do not read an anchor if its offset is + zero. + (read_lookup_subtable_gpos): Fix typo. + * src/otfdrive.c (get_class_def_auto): Return 0 if C is negative. + +------------------------------------------------------------------- +Tue Mar 5 07:19:38 UTC 2013 - pgajdos@suse.com + +- fix build with automake + +------------------------------------------------------------------- +Mon Feb 13 10:49:07 UTC 2012 - coolo@suse.com + +- patch license to follow spdx.org standard + +------------------------------------------------------------------- +Sun Nov 20 06:12:37 UTC 2011 - coolo@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Tue Oct 4 20:13:05 UTC 2011 - coolo@suse.com + +- remove default requires from baselibs.conf + +------------------------------------------------------------------- +Thu Aug 4 12:47:30 CEST 2011 - tiwai@suse.de + +- Fix baselibs.conf to pick up libotf0 instead of libotf + +------------------------------------------------------------------- +Wed Oct 27 20:35:42 UTC 2010 - mrdocs@opensuse.org + +-fix some rpmlint warnings and run spec cleaner on the spec + +------------------------------------------------------------------- +Wed Oct 27 20:17:53 UTC 2010 - mrdocs@opensuse.org + +- updated to version 0.9.12 + *Bug fixes: + * src/otfopen.c (OTF_check_features): If language is specified but + not found, return 0 instead of using the default langsys. + * src/internal.h: Include alloca.h if available. + * example/otftobdf.c: Include alloca.h if available. + * example/otfview.c: Include alloca.h if available. + * example/otflist.c: Include alloca.h if available. + * src/otfopen.c (OTF_check_features): Even if no feature is + specified, check script support. + +------------------------------------------------------------------- +Thu Apr 22 17:11:06 CEST 2010 - tiwai@suse.de + +- updated to version 0.9.11: + * New OTF_* functions required for m17n-lib 1.6.0. + * Bug fixes +- Split libotf0 sub-package to follow shlib policy + +------------------------------------------------------------------- +Thu Dec 17 20:48:50 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Tue Mar 3 22:29:54 CET 2009 - crrodriguez@suse.de + +- remove static libraries and "la" files + +------------------------------------------------------------------- +Fri Oct 31 16:30:36 CET 2008 - schwab@suse.de + +- Don't disable strict aliasing. + +------------------------------------------------------------------- +Fri Apr 18 23:27:52 CEST 2008 - schwab@suse.de + +- Update to libotf 0.9.7. + * src/otfdrive.c (gstring_subst): If a glyph is changed, set the + character code to 0, and update GlyphClass. + * example/otfdump.c (dump_chain_class_set_list): Ignore an element + whose offset is zero. + * src/otfdrive.c (lookup_gpos): Ignore mark glyphs while + processing GPOS_MarkBase1. + * src/otfdrive.c (lookup_gpos): Fix handling of IGNORED_GLYPH. + * src/otfdrive.c (gstring_subst): If otf->cmap is NULL, set + character code of a glyph to 0. + (OTF_drive_gsub): If otf->cmap is NULL, try to load it. +- added baselibs.conf to build biarch compat library + +------------------------------------------------------------------- +Wed Aug 01 20:48:23 CEST 2007 - mfabian@suse.de + +- update to 0.9.6: + • src/otfdrive.c (gstring_subst): Remove a glyph if it is + ignored because of 0 glyph ID. +- added ldconfig to post scripts. + +------------------------------------------------------------------- +Tue Jan 09 23:12:49 CET 2007 - mfabian@suse.de + +- update to 0.9.5.20070109: + make it possible to link with C++ programs + (Ed Trager, Kenichi Handa). + +------------------------------------------------------------------- +Tue Jan 09 22:35:47 CET 2007 - mfabian@suse.de + +- update to 0.9.5: + • New function OTF_open_ft_face() can be used to process a font + already opened by FreeType library. + • The example program `otfview' accept the second argument + INDEX. + +------------------------------------------------------------------- +Mon Oct 30 16:40:14 CET 2006 - meissner@suse.de + +- use RPM_OPT_FLAGS correctly, require freetype2-devel in -devel. + +------------------------------------------------------------------- +Fri Mar 03 14:33:02 CET 2006 - mfabian@suse.de + +- Bugzilla #154974: update to 0.9.4. + We have updated m17n-lib to 1.3.0.20060113. This version can + only use libotf >= 0.9.4. It won't link against libotf 0.9.3. + In order not to loose the OpenType support in m17n-lib, we + should update libotf as well. + +------------------------------------------------------------------- +Wed Jan 25 21:37:39 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Tue Dec 28 12:09:22 CET 2004 - mfabian@suse.de + +- update to 0.9.3. + +------------------------------------------------------------------- +Mon Aug 16 15:37:04 CEST 2004 - mfabian@suse.de + +- new package: libotf, version 0.9.2. diff --git a/libotf.spec b/libotf.spec new file mode 100644 index 0000000..e7117f8 --- /dev/null +++ b/libotf.spec @@ -0,0 +1,90 @@ +# +# spec file for package libotf +# +# Copyright (c) 2020 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +Name: libotf +Version: 0.9.16 +Release: 0 +Summary: Library for Handling OpenType Fonts +License: LGPL-2.1-or-later +Group: System/I18n/Japanese +URL: http://www.m17n.org/libotf/ +Source0: http://download.savannah.gnu.org/releases/m17n/%{name}-%{version}.tar.gz +Source1: http://download.savannah.gnu.org/releases/m17n/%{name}-%{version}.tar.gz.sig +Source99: baselibs.conf +Patch0: libotf-warning-fixes.diff +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: pkgconfig(freetype2) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xaw7) +BuildRequires: pkgconfig(xt) + +%description +Library for handling OpenType fonts,especially those needed for CJK and other non-Latin +languages. + +%package -n libotf1 +Summary: Shared library for libotf +Group: System/I18n/Japanese + +%description -n libotf1 +Library for handling OpenType fonts,especially those needed for CJK and other non-Latin +languages. + +%package devel +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/Other +Requires: %{name} = %{version} + +%description devel +This package contains all necessary include files and libraries needed +to develop applications that require %{name}. + +%prep +%setup -q +%patch0 -p1 + +%build +autoreconf -fvi +%configure \ + --disable-static \ + --disable-silent-rules +make %{?_smp_mflags} +chmod a-x NEWS README ChangeLog + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print + +%post -n libotf1 -p /sbin/ldconfig +%postun -n libotf1 -p /sbin/ldconfig + +%files +%license COPYING +%doc NEWS README ChangeLog +%{_bindir}/* + +%files -n libotf1 +%{_libdir}/libotf.so.* + +%files devel +%{_includedir}/* +%{_libdir}/libotf.so +%{_libdir}/pkgconfig/libotf.pc + +%changelog