diff --git a/xfig.changes b/xfig.changes index e6f891b..11e05ab 100644 --- a/xfig.changes +++ b/xfig.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Sep 25 06:55:31 UTC 2023 - Dr. Werner Fink + +- Allow more uptodate urw-base35-fonts instead ghostscript-fonts-std-converted +- Require uptodate fig2dev aka transfig package to see multi byte characters +- Remove not used xfig.sh + ------------------------------------------------------------------- Thu Sep 14 07:30:23 UTC 2023 - Dr. Werner Fink diff --git a/xfig.sh b/xfig.sh deleted file mode 100644 index b972949..0000000 --- a/xfig.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -# -# Reset UTF-8 charmaping to a more xfig compatible one -# -for lc in LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE \ - LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME \ - LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT \ - LC_IDENTIFICATION LC_ALL -do - eval val="\$$lc" - test -n "$val" || continue - case "$val" in - *.UTF-8) eval $lc=\${val%[.@]*} ;; - esac -done -unset ret val -exec -a $0 @@BINDIR@@/xfig.bin ${1+"$@"} diff --git a/xfig.spec b/xfig.spec index 7aea03f..08dda56 100644 --- a/xfig.spec +++ b/xfig.spec @@ -32,7 +32,6 @@ URL: https://sourceforge.net/projects/mcj/ #Source: https://sourceforge.net/projects/mcj/files/xfig-%{version}.tar.xz/download#/xfig-%{version}.tar.xz Source: xfig-%{version}.tar.xz Source1: font-test.fig -Source3: xfig.sh Source4: xfig.desktop Patch0: xfig-3.2.6.dif Patch1: xfig-3.2.9-dingbats.dif @@ -63,10 +62,14 @@ BuildRequires: pkgconfig(xpm) BuildRequires: pkgconfig(xt) Requires: efont-unicode Requires: fontconfig +%if 0%{?suse_version} >= 1699 +Requires: (ghostscript-fonts-std or urw-base35-fonts) +%else Requires: ghostscript-fonts-std +%endif Requires: ifnteuro Requires: netpbm -Requires: transfig +Requires: transfig >= %{version} Requires: xorg-x11-fonts Requires: xorg-x11-fonts-core Provides: xfig.3.2.3d