SHA256
1
0
forked from pool/xfig

urw-base35-fonts

OBS-URL: https://build.opensuse.org/package/show/graphics/xfig?expand=0&rev=82
This commit is contained in:
Dr. Werner Fink 2023-09-25 06:58:26 +00:00 committed by Git OBS Bridge
parent dc8948a3c4
commit 018684d903
3 changed files with 12 additions and 19 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Sep 25 06:55:31 UTC 2023 - Dr. Werner Fink <werner@suse.de>
- 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 <werner@suse.de>

17
xfig.sh
View File

@ -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+"$@"}

View File

@ -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