Sync from SUSE:SLFO:Main libfontenc revision 5470ea1654ae2b1e8658895d897494ea

This commit is contained in:
Adrian Schröter 2024-05-03 14:58:13 +02:00
commit 77d6d7d326
5 changed files with 308 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

8
baselibs.conf Normal file
View File

@ -0,0 +1,8 @@
libfontenc1
provides "xorg-x11-libfontenc-<targettype> = 7.6_<version>"
obsoletes "xorg-x11-libfontenc-<targettype> < 7.6_<version>"
libfontenc-devel
requires -libfontenc-<targettype>
requires "libfontenc1-<targettype> = <version>"
provides "xorg-x11-libfontenc-devel-<targettype> = 7.6_<version>"
obsoletes "xorg-x11-libfontenc-devel-<targettype> < 7.6_<version>"

BIN
libfontenc-1.1.7.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

178
libfontenc.changes Normal file
View File

@ -0,0 +1,178 @@
-------------------------------------------------------------------
Fri Dec 9 22:35:13 UTC 2022 - Dirk Müller <dmueller@suse.com>
- 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 <sndirsch@suse.com>
- 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 <sndirsch@suse.com>
- 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=<pathname>
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

96
libfontenc.spec Normal file
View File

@ -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