Hello community,
here is the log from the commit of package efont-unicode-bitmap-fonts for
openSUSE:Factory checked in at 2019-12-02 11:25:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/efont-unicode-bitmap-fonts (Old)
and /work/SRC/openSUSE:Factory/.efont-unicode-bitmap-fonts.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "efont-unicode-bitmap-fonts"
Mon Dec 2 11:25:48 2019 rev:9 rq:752331 version:0.4.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/efont-unicode-bitmap-fonts/efont-unicode-bitmap-fonts.changes
2017-06-21 13:52:38.385895222 +0200
+++
/work/SRC/openSUSE:Factory/.efont-unicode-bitmap-fonts.new.4691/efont-unicode-bitmap-fonts.changes
2019-12-02 11:26:09.458698530 +0100
@@ -1,0 +2,6 @@
+Thu Nov 21 18:54:57 UTC 2019 - Stefan BrĂ¼ns <[email protected]>
+
+- Fix use of deprecated one-based array index, removed in perl 5.30.
+ Add remove_deprecated_one_based_array_index.diff
+
+-------------------------------------------------------------------
New:
----
remove_deprecated_one_based_array_index.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ efont-unicode-bitmap-fonts.spec ++++++
--- /var/tmp/diff_new_pack.xDTQwr/_old 2019-12-02 11:26:11.142697893 +0100
+++ /var/tmp/diff_new_pack.xDTQwr/_new 2019-12-02 11:26:11.142697893 +0100
@@ -1,7 +1,7 @@
#
# spec file for package efont-unicode-bitmap-fonts
#
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -21,9 +21,9 @@
Release: 0
%define _miscfontsdir /usr/share/fonts/misc
Summary: Unicode Font by /efont/
-License: SUSE-Public-Domain and BSD-3-Clause
+License: SUSE-Public-Domain AND BSD-3-Clause
Group: System/X11/Fonts
-Url: http://openlab.ring.gr.jp/efont/
+URL: http://openlab.ring.gr.jp/efont/
Source0:
http://openlab.ring.gr.jp/efont/dist/unicode-bdf/efont-unicode-bdf-0.4.2-src.tar.bz2
# PATCH-MISSING-TAG -- See
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch0: baseline-offset.diff
@@ -31,15 +31,15 @@
Patch1: bugzilla-199997-some-glyphs-for-yast.patch
# PATCH-FIX-UPSTREAM -- ToDo
Patch2: reproducible.patch
+# PATCH-FIX-OPENSUSE
+Patch3: remove_deprecated_one_based_array_index.diff
BuildRequires: bdfresize
-BuildRequires: fontpackages-devel
-%if 0%{?suse_version} >= 1220
BuildRequires: bdftopcf
-BuildRequires: mkfontdir
-%else
-BuildRequires: xorg-x11
-%endif
+BuildRequires: fontpackages-devel
%reconfigure_fonts_prereq
+Requires(post): mkfontdir
+Requires(postun): mkfontdir
+Requires(posttrans): mkfontdir
Provides: efont-unicode = %{version}
Obsoletes: efont-unicode <= 0.4.2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -54,6 +54,7 @@
%patch0
%patch1 -p1
%patch2 -p1
+%patch3 -p1
iconv -f ISO-8859-1 -t UTF-8 < README.etl-unicode > README.etl-unicode.tmp
mv README.etl-unicode.tmp README.etl-unicode
for i in README.shinonome README.naga10
@@ -74,7 +75,8 @@
%files
%defattr(-, root,root)
-%doc README* COPYRIGHT ChangeLog
+%license COPYRIGHT
+%doc README* ChangeLog
%dir %{_miscfontsdir}/
%{_miscfontsdir}/*.pcf.gz
++++++ remove_deprecated_one_based_array_index.diff ++++++
--- efont-unicode-bdf-0.4.2-src/tools/hex2bdf.in_orig 2019-11-21
19:52:54.341747143 +0100
+++ efont-unicode-bdf-0.4.2-src/tools/hex2bdf.in 2019-11-21
19:53:57.469747085 +0100
@@ -14,7 +14,7 @@
while (<>) { $glyph{$1} = $2 if /(.{4,}):(.+)\n/; }
-@chars = sort keys %glyph; $[ = 1;
+@chars = sort keys %glyph;
#dbmopen (%charname, "/usr/share/unicode/unidata/charname.db", 0);
print "STARTFONT 2.1\n";
@@ -55,7 +55,7 @@
FONT_DESCENT 2
DEFAULT_CHAR $default_char
ENDPROPERTIES
-CHARS $#chars\n";
+CHARS " . scalar(@chars) . "\n";
foreach $character (@chars) {
$encoding = hex($character); $glyph = $glyph{$character};