From 13523c2c5c04cbaabd3b3bccb6ae570ceaf32572150da5255ec388f3688ff761 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Fri, 2 Aug 2024 08:43:05 +0000 Subject: [PATCH] - Update to version 2.0.7 * This release cleans out remnants of support for archiac platforms, improves handling of font server reconnection, fixes several issues found by static analysis, and updates some build checks. OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXfont2?expand=0&rev=17 --- .gitattributes | 23 +++++++++ .gitignore | 1 + baselibs.conf | 4 ++ libXfont2-2.0.6.tar.xz | 3 ++ libXfont2-2.0.7.tar.xz | 3 ++ libXfont2.changes | 68 +++++++++++++++++++++++++ libXfont2.spec | 109 +++++++++++++++++++++++++++++++++++++++++ 7 files changed, 211 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 libXfont2-2.0.6.tar.xz create mode 100644 libXfont2-2.0.7.tar.xz create mode 100644 libXfont2.changes create mode 100644 libXfont2.spec 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..44c5438 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,4 @@ +libXfont2-2 +libXfont2-devel + requires -libXfont2-2- + requires "libXfont2-2- = " diff --git a/libXfont2-2.0.6.tar.xz b/libXfont2-2.0.6.tar.xz new file mode 100644 index 0000000..a6f7f8f --- /dev/null +++ b/libXfont2-2.0.6.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74ca20017eb0fb3f56d8d5e60685f560fc85e5ff3d84c61c4cb891e40c27aef4 +size 446848 diff --git a/libXfont2-2.0.7.tar.xz b/libXfont2-2.0.7.tar.xz new file mode 100644 index 0000000..65193bc --- /dev/null +++ b/libXfont2-2.0.7.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8b7b82fdeba48769b69433e8e3fbb984a5f6bf368b0d5f47abeec49de3e58efb +size 453012 diff --git a/libXfont2.changes b/libXfont2.changes new file mode 100644 index 0000000..7b5ccef --- /dev/null +++ b/libXfont2.changes @@ -0,0 +1,68 @@ +------------------------------------------------------------------- +Fri Aug 2 08:40:47 UTC 2024 - Stefan Dirsch + +- Update to version 2.0.7 + * This release cleans out remnants of support for archiac platforms, + improves handling of font server reconnection, fixes several issues + found by static analysis, and updates some build checks. + +------------------------------------------------------------------- +Sat Aug 27 09:04:20 UTC 2022 - Stefan Dirsch + +- Update to version 2.0.6 + * gitlab CI: add a basic build test + * Fix spelling/wording issues + * configure: Use pkg-config to handle zlib dependency if possible + * Fix comments to reflect removal of OS/2 support + +------------------------------------------------------------------- +Mon Aug 2 09:57:36 UTC 2021 - Stefan Dirsch + +- Update to version 2.0.5 + * README: Remove mention of libXfont 1.5 + * Fix out-of-bounds read in FontFileMakeDir() + * configure: define HAVE_LIBBSD when libbsd was found + * Fix Win32 build since c4ed2e06 "Add some unit testing utilities" + * Fix crash when font server connection lost + * Fix use after free when font server connection lost + +------------------------------------------------------------------- +Mon Sep 16 17:41:07 UTC 2019 - Stefan Dirsch + +- Update to version 2.0.4 + * This minor maintenance release cleans up issues found by + Coverity and gcc, as well as additional hardening through + the use of APIs with stronger bounds checking. +- tag COPYING as license + +------------------------------------------------------------------- +Tue Nov 28 19:17:03 UTC 2017 - sndirsch@suse.com + +- Update to version 2.0.3 + * Open files with O_NOFOLLOW. (CVE-2017-16611, bsc#1050459) + +------------------------------------------------------------------- +Wed Oct 11 22:57:54 UTC 2017 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 2.0.2: + A collection of minor fixes since 2.0.1, including fixes for CVE 2017-13720 + and CVE 2017-13722. + +------------------------------------------------------------------- +Fri Sep 23 10:04:47 UTC 2016 - zaitor@opensuse.org + +- Include COPYING in binary. + +------------------------------------------------------------------- +Thu Sep 22 08:12:21 UTC 2016 - jengelh@inai.de + +- RPM group correction + +------------------------------------------------------------------- +Tue Dec 22 18:19:01 UTC 2015 - tobias.johannes.klausmann@mni.thm.de + +- Initial package version 2.0.1: + Here's the first version of a new libXfont2 library; it's the same as + the old libXfont libary, but has a shiny new API/ABI that avoids + referencing symbols in the X server directly. The code for the X server + to use this version is awaiting review and merging still. diff --git a/libXfont2.spec b/libXfont2.spec new file mode 100644 index 0000000..330eda2 --- /dev/null +++ b/libXfont2.spec @@ -0,0 +1,109 @@ +# +# spec file for package libXfont2 +# +# Copyright (c) 2024 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: libXfont2 +%define lname libXfont2-2 +Version: 2.0.7 +Release: 0 +Summary: X font handling library for server and utilities +License: MIT +Group: Development/Libraries/C and C++ +URL: http://xorg.freedesktop.org/ + +#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXfont +#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXfont/ +Source: %{name}-%{version}.tar.xz +Source1: baselibs.conf +BuildRoot: %{_tmppath}/%{name}-%{version}-build +#git#BuildRequires: autoconf >= 2.60, automake, libtool +BuildRequires: pkgconfig +BuildRequires: pkgconfig(fontenc) +BuildRequires: pkgconfig(fontsproto) +BuildRequires: pkgconfig(freetype2) +BuildRequires: pkgconfig(xorg-macros) >= 1.10 +BuildRequires: pkgconfig(xproto) +BuildRequires: pkgconfig(xtrans) +BuildRequires: pkgconfig(zlib) +#optional#BuildRequires: pkgconfig(bzip2), + --with-bzip2 + +%description +libXfont provides the core of the legacy X11 font system, handling +the index files (fonts.dir, fonts.alias, fonts.scale), the various +font file formats, and rasterizing them. It is used by the X servers, +the X Font Server (xfs), and some font utilities (bdftopcf for +instance), but should not be used by normal X11 clients. X11 clients +access fonts via either the new APIs in libXft, or the legacy APIs in +libX11. + +%package -n %lname +Summary: X font handling library for server and utilities +Group: System/Libraries + +%description -n %lname +libXfont provides the core of the legacy X11 font system, handling +the index files (fonts.dir, fonts.alias, fonts.scale), the various +font file formats, and rasterizing them. It is used by the X servers, +the X Font Server (xfs), and some font utilities (bdftopcf for +instance), but should not be used by normal X11 clients. X11 clients +access fonts via either the new APIs in libXft, or the legacy APIs in +libX11. + +%package devel +Summary: Development files for the X font handling library +Group: Development/Libraries/C and C++ +Requires: %lname = %version + +%description devel +libXfont provides the core of the legacy X11 font system, handling +the index files (fonts.dir, fonts.alias, fonts.scale), the various +font file formats, and rasterizing them. It is used by the X servers, +the X Font Server (xfs), and some font utilities (bdftopcf for +instance), but should not be used by normal X11 clients. X11 clients +access fonts via either the new APIs in libXft, or the legacy APIs in +libX11. + +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) +%license COPYING +%_libdir/libXfont2.so.2* + +%files devel +%defattr(-,root,root) +%_includedir/X11/* +%_libdir/libXfont2.so +%_libdir/pkgconfig/xfont2.pc + +%changelog