Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package texlive-cjk-latex-extras for
openSUSE:Factory checked in at 2023-10-12 23:41:49
Comparing /work/SRC/openSUSE:Factory/texlive-cjk-latex-extras (Old)
and /work/SRC/openSUSE:Factory/.texlive-cjk-latex-extras.new.1807 (New)
Package is "texlive-cjk-latex-extras"
Thu Oct 12 23:41:49 2023 rev:20 rq:1117166 version:20070515
Changes:
---
/work/SRC/openSUSE:Factory/texlive-cjk-latex-extras/texlive-cjk-latex-extras.changes
2022-10-28 19:30:26.738906738 +0200
+++
/work/SRC/openSUSE:Factory/.texlive-cjk-latex-extras.new.1807/texlive-cjk-latex-extras.changes
2023-10-12 23:43:10.651217958 +0200
@@ -1,0 +2,12 @@
+Wed Oct 11 12:48:52 UTC 2023 - Dominique Leuenberger
+
+- Do not rely on deprecated freetype1:
+ + Add texlive-no-freetype.patch: change cjk-latex-config to
+verify the presence of /usr/bin/ttf2tfm instead of the
+freetype-tools package. ttf2tfm has ot actually been part of
+freetype-tools since Feb 2012 anymore.
+ + Drop freetype-tools BuildRequires and Requires and add
+texlive-ttfutils-bin BuildRequires, resp. /usr/bin/ttf2tfm
+requires.
+
+---
New:
texlive-no-freetype.patch
Other differences:
--
++ texlive-cjk-latex-extras.spec ++
--- /var/tmp/diff_new_pack.HqxteE/_old 2023-10-12 23:43:11.311241849 +0200
+++ /var/tmp/diff_new_pack.HqxteE/_new 2023-10-12 23:43:11.311241849 +0200
@@ -1,7 +1,7 @@
#
# spec file for package texlive-cjk-latex-extras
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,6 @@
Name: texlive-cjk-latex-extras
-BuildRequires: freetype-tools
BuildRequires: texlive
%if 0%{?suse_version} < 1300
BuildRequires: texlive-bin
@@ -26,7 +25,8 @@
PreReq: /bin/rm
PreReq: /usr/bin/touch
PreReq: /usr/bin/updmap
-Requires: freetype-tools
+BuildRequires: texlive-ttfutils-bin
+Requires: /usr/bin/ttf2tfm
Requires: texlive-cjk
Requires: texlive-latex
Obsoletes: cjk-latex
@@ -70,6 +70,8 @@
Source0:texlive-cjk-latex-extras-%{version}.tar.bz2
#PATCH-FIX-OPENSUSE
texlive-cjk-latex-extras-bsc1159111-avoid-usage-safe-rm.patch bsc#1159111
qz...@suse.com -- replace safe-rm to avoid security risks.
Patch0: texlive-cjk-latex-extras-bsc1159111-avoid-usage-safe-rm.patch
+# PATCH-FIX-OPENSUSE texlive-no-freetype.patch -- do not rely on freetype1;
the needed tools have moved out of there in 2012 already
+Patch1: texlive-no-freetype.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary:Extra fonts and scripts for CJK LaTeX
@@ -83,6 +85,7 @@
%prep
%setup0
%patch0 -p1
+%patch1 -p1
mv README.SuSE README.SUSE
find . -name CVS -type d | xargs rm -rf
++ texlive-no-freetype.patch ++
Index: texlive-cjk-latex-extras-20070515/README.SUSE
===
--- texlive-cjk-latex-extras-20070515.orig/README.SuSE
+++ texlive-cjk-latex-extras-20070515/README.SuSE
@@ -10,7 +10,7 @@ changed it a little bit, because I added
To fully utilize CJK-LaTeX, please also install:
- * freetype-tools to use TrueType fonts with CJK (ttf2pk and ttf2tfm).
+ * texlive-ttfutils to use TrueType fonts with CJK (ttf2pk and ttf2tfm).
To use a CJK-TrueType font with CJK-LaTeX you need:
Index: texlive-cjk-latex-extras-20070515/cjk-latex-config
===
--- texlive-cjk-latex-extras-20070515.orig/cjk-latex-config
+++ texlive-cjk-latex-extras-20070515/cjk-latex-config
@@ -16,8 +16,8 @@ if ($UID != 0 && $ENV{USER} !~ /root/) {
exit 1;
}
-if (system ("rpm -q freetype-tools >/dev/null 2>&1") != 0) {
- print "freetype-tools package missing, exiting.\n";
+if (system ("stat /usr/bin/ttf2tfm >/dev/null 2>&1") != 0) {
+ print "/usr/bin/ttf2tfm (package texlive-ttfutils-bin) missing, exiting.\n";
exit 1;
}