commit 77d6d7d326e0126349b8148648408832d7bbd95fc8f1a6a50d6e22bdf478f3cc Author: Adrian Schröter Date: Fri May 3 14:58:13 2024 +0200 Sync from SUSE:SLFO:Main libfontenc revision 5470ea1654ae2b1e8658895d897494ea 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..9018994 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,8 @@ +libfontenc1 + provides "xorg-x11-libfontenc- = 7.6_" + obsoletes "xorg-x11-libfontenc- < 7.6_" +libfontenc-devel + requires -libfontenc- + requires "libfontenc1- = " + provides "xorg-x11-libfontenc-devel- = 7.6_" + obsoletes "xorg-x11-libfontenc-devel- < 7.6_" diff --git a/libfontenc-1.1.7.tar.xz b/libfontenc-1.1.7.tar.xz new file mode 100644 index 0000000..4c5fc57 --- /dev/null +++ b/libfontenc-1.1.7.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0d36991faee06551ddbaf5d99266e97becdc05edfae87a833c3ff7bf73cfec2 +size 272752 diff --git a/libfontenc.changes b/libfontenc.changes new file mode 100644 index 0000000..8f359e1 --- /dev/null +++ b/libfontenc.changes @@ -0,0 +1,178 @@ +------------------------------------------------------------------- +Fri Dec 9 22:35:13 UTC 2022 - Dirk Müller + +- update to 1.1.7: + * configure: Use AC_SYS_LARGEFILE to enable large file support + +------------------------------------------------------------------- +Wed Aug 31 09:07:03 UTC 2022 - Stefan Dirsch + +- Update to version 1.1.6 + * This quick update fixes build failures in libfontenc 1.1.5 on + platforms that require setting a #define such as _GNU_SOURCE, + _OPENBSD_SOURCE, or __EXTENSIONS__ to expose the reallocarray() + prototype in their headers. + +------------------------------------------------------------------- +Sat Aug 27 08:47:48 UTC 2022 - Stefan Dirsch + +- Update to version 1.1.5 + * Fix spelling/wording issues + * gitlab CI: add a basic build test + * Import reallocarray() from libX11 (originally from OpenBSD) + * Convert code to use Xmallocarray() & Xreallocarray() + * configure: Use AC_USE_SYSTEM_EXTENSIONS to set GNU_SOURCE & other defines + +------------------------------------------------------------------- +Thu Feb 21 11:24:42 UTC 2019 - sndirsch@suse.com + +- Update to version 1.1.4 + * This release fixes a bug that would cause mkfontscale(1) to + fail to produce entries for the iso8859-7 encoding because of + wrong Unicode mappings for the iso8859-7 codepage. + +------------------------------------------------------------------- +Mon May 4 14:06:28 UTC 2015 - sndirsch@suse.com + +- Update to version 1.1.3 + * Initialize both value1 & value2, not value1 twice + * Replace sprintf call with snprintf + * Replace strcpy+strcat calls with snprintf calls + * Reformat code to X.Org standard style + * Initialize aliases array in parseEncodingFile() +- tagged baselibs.conf as sourcefile in spec file + +------------------------------------------------------------------- +Fri Apr 26 12:14:42 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.1.2: +This minor bugfix release corrects mistakes in some of the ISO-8859 to +Unicode mappings, fixes a memory management bug, and updates the build +configuration. + +------------------------------------------------------------------- +Sun Feb 17 17:21:53 UTC 2013 - jengelh@inai.de + +- Use more robust make install call + +------------------------------------------------------------------- +Wed Apr 11 16:19:02 UTC 2012 - vuntz@opensuse.org + +- Update to version 1.1.1: + + Fix compiler warnings + + Build configuration improvements +- Add zlib-devel BuildRequires as there are explicit checks for + zlib. + +------------------------------------------------------------------- +Sun Feb 12 02:04:08 UTC 2012 - jengelh@medozas.de + +- Rename xorg-x11-libfontenc to libfontenc and utilize shlib policy + +------------------------------------------------------------------- +Tue Dec 21 02:49:06 UTC 2010 - sndirsch@novell.com + +- bumped version number to 7.6 + +------------------------------------------------------------------- +Thu Oct 21 20:57:27 UTC 2010 - sndirsch@novell.com + +- libfontenc 1.1.0 + * This release adds support for finding the encoding data-files + in using the standard autoconf macros provided by X.Org's + fontutil.m4. The precedence is now (first found is used): + --with-encodingsdir= + encodings subdirectory of fontrootdir found via: + --with-fontrootdir + pkg-config --variable=fontrootdir fontutil + ${datadir}/fonts/X11 + * It also converts to using standard libc memory allocation + functions, and provides the usual recent build configuration + improvements and janitorial cleanups. + +------------------------------------------------------------------- +Sun Apr 4 16:01:16 CEST 2010 - sndirsch@suse.de + +- libfontenc 1.0.5 +- bumped version number to 7.5 + +------------------------------------------------------------------- +Mon Dec 14 20:14:15 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Sat May 2 14:42:17 CEST 2009 - eich@suse.de + +- revert static library and .la file removal + for SUSE versions <= 11.1. + +------------------------------------------------------------------- +Tue Apr 21 21:45:18 CEST 2009 - crrodriguez@suse.de + +- remove static libraries and "la" files + +------------------------------------------------------------------- +Thu Sep 11 14:22:20 CEST 2008 - sndirsch@suse.de + +- bumped release number to 7.4 + +------------------------------------------------------------------- +Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de + +- added baselibs.conf file to build xxbit packages + for multilib support + +------------------------------------------------------------------- +Tue Jan 1 22:47:20 CET 2008 - crrodriguez@suse.de + +- fix library-without-ldconfig-* error +- add missing PreReq coreutils + +------------------------------------------------------------------- +Sat Sep 29 12:24:06 CEST 2007 - sndirsch@suse.de + +- bumped version to 7.3 + +------------------------------------------------------------------- +Thu Mar 29 22:49:04 CEST 2007 - sndirsch@suse.de + +- added zlib-devel to Buildrequires + +------------------------------------------------------------------- +Mon Dec 18 11:02:59 CET 2006 - sndirsch@suse.de + +- updated to release 1.0.4 + * Makefile.am: make ChangeLog hook safer + +------------------------------------------------------------------- +Sat Oct 14 06:20:16 CEST 2006 - sndirsch@suse.de + +- updated to X.Org 7.2RC1 + +------------------------------------------------------------------- +Tue Aug 15 18:45:55 CEST 2006 - sndirsch@suse.de + +- fixed encodings dir + +------------------------------------------------------------------- +Wed Aug 2 16:12:40 CEST 2006 - sndirsch@suse.de + +- fix setup line + +------------------------------------------------------------------- +Fri Jul 28 14:44:59 CEST 2006 - sndirsch@suse.de + +- use "-fno-strict-aliasing" + +------------------------------------------------------------------- +Thu Jul 27 11:48:29 CEST 2006 - sndirsch@suse.de + +- use $RPM_OPT_FLAGS +- remove existing /usr/include/X11 symlink in %pre + +------------------------------------------------------------------- +Sat Jun 24 06:37:56 CEST 2006 - sndirsch@suse.de + +- created package + diff --git a/libfontenc.spec b/libfontenc.spec new file mode 100644 index 0000000..20dda2a --- /dev/null +++ b/libfontenc.spec @@ -0,0 +1,96 @@ +# +# spec file for package libfontenc +# +# Copyright (c) 2022 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: libfontenc +%define lname libfontenc1 +Version: 1.1.7 +Release: 0 +Summary: X11 font encoding library +License: MIT +Group: Development/Libraries/C and C++ +URL: http://xorg.freedesktop.org/ + +#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libfontenc +#Git-Web: http://cgit.freedesktop.org/xorg/lib/libfontenc/ +Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz +Source1: baselibs.conf +BuildRoot: %{_tmppath}/%{name}-%{version}-build +#git#BuildRequires: autoconf >= 2.60, automake, libtool +BuildRequires: pkgconfig +BuildRequires: zlib-devel +BuildRequires: pkgconfig(fontutil) >= 1.1 +BuildRequires: pkgconfig(xorg-macros) >= 1.8 +BuildRequires: pkgconfig(xproto) +BuildRequires: pkgconfig(zlib) + +%description +The libfontenc library is used by the Xorg server and other X font +tools for handling fonts with different character set encodings. + +%package -n %lname +Summary: X11 font encoding library +# O/P added for 12.2 +Group: System/Libraries +Provides: xorg-x11-libfontenc = 7.6_%version-%release +Obsoletes: xorg-x11-libfontenc < 7.6_%version-%release + +%description -n %lname +The libfontenc library is used by the Xorg server and other X font +tools for handling fonts with different character set encodings. + +%package devel +Summary: Development files for the X11 font encoding library +Group: Development/Libraries/C and C++ +Requires: %lname = %version +# O/P added for 12.2 +Provides: xorg-x11-libfontenc-devel = 7.6_%version-%release +Obsoletes: xorg-x11-libfontenc-devel < 7.6_%version-%release + +%description devel +The libfontenc library is used by the Xorg server and other X font +tools for handling fonts with different character set encodings. + +This package contains the development headers for the library found +in %lname. + +%prep +%setup -q + +%build +%configure --disable-static +make %{?_smp_mflags} + +%install +make install DESTDIR="%buildroot" +rm -f "%buildroot/%_libdir"/*.la + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + +%files -n %lname +%defattr(-,root,root) +%_libdir/libfontenc.so.1* + +%files devel +%defattr(-,root,root) +%_includedir/X11/* +%_libdir/libfontenc.so +%_libdir/pkgconfig/fontenc.pc + +%changelog