commit texlive-cjk-latex-extras for openSUSE:Factory

2023-10-13 Thread Source-Sync
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;
 }
 


commit texlive-cjk-latex-extras for openSUSE:Factory

2022-10-28 Thread Source-Sync
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 2022-10-28 19:29:59

Comparing /work/SRC/openSUSE:Factory/texlive-cjk-latex-extras (Old)
 and  /work/SRC/openSUSE:Factory/.texlive-cjk-latex-extras.new.2275 (New)


Package is "texlive-cjk-latex-extras"

Fri Oct 28 19:29:59 2022 rev:19 rq:1031544 version:20070515

Changes:

--- 
/work/SRC/openSUSE:Factory/texlive-cjk-latex-extras/texlive-cjk-latex-extras.changes
2018-10-15 10:49:34.150997407 +0200
+++ 
/work/SRC/openSUSE:Factory/.texlive-cjk-latex-extras.new.2275/texlive-cjk-latex-extras.changes
  2022-10-28 19:30:26.738906738 +0200
@@ -1,0 +2,6 @@
+Wed Oct 19 06:41:44 UTC 2022 - Cliff Zhao 
+
+- Add texlive-cjk-latex-extras-bsc1159111-avoid-usage-safe-rm.patch
+  replace safe-rm to avoid security risks(bsc#1159111).
+
+---

New:

  texlive-cjk-latex-extras-bsc1159111-avoid-usage-safe-rm.patch



Other differences:
--
++ texlive-cjk-latex-extras.spec ++
--- /var/tmp/diff_new_pack.cw4t1b/_old  2022-10-28 19:30:27.274909426 +0200
+++ /var/tmp/diff_new_pack.cw4t1b/_new  2022-10-28 19:30:27.278909446 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package texlive-cjk-latex-extras
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -22,7 +22,10 @@
 %if 0%{?suse_version} < 1300
 BuildRequires:  texlive-bin
 %endif
-PreReq: /bin/mkdir /bin/rm /usr/bin/touch /usr/bin/updmap
+PreReq: /bin/mkdir
+PreReq: /bin/rm
+PreReq: /usr/bin/touch
+PreReq: /usr/bin/updmap
 Requires:   freetype-tools
 Requires:   texlive-cjk
 Requires:   texlive-latex
@@ -63,8 +66,10 @@
 Provides:   locale(texlive-cjk:ja;ko;zh)
 Version:20070515
 Release:0
-Url:http://cjk.ffii.org/
+URL:http://cjk.ffii.org/
 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
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Summary:Extra fonts and scripts for CJK LaTeX
@@ -77,6 +82,7 @@
 
 %prep
 %setup0
+%patch0 -p1
 mv README.SuSE README.SUSE
 find . -name CVS -type d | xargs rm -rf
 

++ texlive-cjk-latex-extras-bsc1159111-avoid-usage-safe-rm.patch ++
diff -Nura texlive-cjk-latex-extras-20070515/cjk-latex-t1mapgen 
texlive-cjk-latex-extras-20070515_new/cjk-latex-t1mapgen
--- texlive-cjk-latex-extras-20070515/cjk-latex-t1mapgen2005-02-28 
21:31:03.0 +0800
+++ texlive-cjk-latex-extras-20070515_new/cjk-latex-t1mapgen2022-10-26 
14:15:30.064864270 +0800
@@ -45,4 +45,4 @@
 # Therefore, deleting /var/cache/fonts/pk/* makes sure that all available pfb
 # fonts are used:
 
-find /var/cache/fonts/pk/ -type f -print0 | xargs -r -l100 -0 -- 
/usr/bin/safe-rm
+find /var/cache/fonts/pk/ -type f -print0 | xargs -r -l100 -0 -- /usr/bin/rm