xfig: update to 3.2.9.

This commit is contained in:
Leah Neukirchen 2023-09-23 17:02:33 +02:00
parent bf958a1127
commit 726496d0d6
2 changed files with 6 additions and 84 deletions

View File

@ -1,79 +0,0 @@
--- a/src/u_fonts.c
+++ b/src/u_fonts.c
@@ -22,41 +22,41 @@
/* X11 font names */
struct _xfstruct x_fontinfo[NUM_FONTS] = {
- {"-*-times-medium-r-normal--", (struct xfont*) NULL},
- {"-*-times-medium-i-normal--", (struct xfont*) NULL},
- {"-*-times-bold-r-normal--", (struct xfont*) NULL},
- {"-*-times-bold-i-normal--", (struct xfont*) NULL},
- {"-*-avantgarde-book-r-normal--", (struct xfont*) NULL},
- {"-*-avantgarde-book-o-normal--", (struct xfont*) NULL},
- {"-*-avantgarde-demi-r-normal--", (struct xfont*) NULL},
- {"-*-avantgarde-demi-o-normal--", (struct xfont*) NULL},
- {"-*-bookman-light-r-normal--", (struct xfont*) NULL},
- {"-*-bookman-light-i-normal--", (struct xfont*) NULL},
- {"-*-bookman-demi-r-normal--", (struct xfont*) NULL},
- {"-*-bookman-demi-i-normal--", (struct xfont*) NULL},
- {"-*-courier-medium-r-normal--", (struct xfont*) NULL},
- {"-*-courier-medium-o-normal--", (struct xfont*) NULL},
- {"-*-courier-bold-r-normal--", (struct xfont*) NULL},
- {"-*-courier-bold-o-normal--", (struct xfont*) NULL},
- {"-*-helvetica-medium-r-normal--", (struct xfont*) NULL},
- {"-*-helvetica-medium-o-normal--", (struct xfont*) NULL},
- {"-*-helvetica-bold-r-normal--", (struct xfont*) NULL},
- {"-*-helvetica-bold-o-normal--", (struct xfont*) NULL},
- {"-*-helvetica-medium-r-narrow--", (struct xfont*) NULL},
- {"-*-helvetica-medium-o-narrow--", (struct xfont*) NULL},
- {"-*-helvetica-bold-r-narrow--", (struct xfont*) NULL},
- {"-*-helvetica-bold-o-narrow--", (struct xfont*) NULL},
- {"-*-new century schoolbook-medium-r-normal--", (struct xfont*) NULL},
- {"-*-new century schoolbook-medium-i-normal--", (struct xfont*) NULL},
- {"-*-new century schoolbook-bold-r-normal--", (struct xfont*) NULL},
- {"-*-new century schoolbook-bold-i-normal--", (struct xfont*) NULL},
- {"-*-palatino-medium-r-normal--", (struct xfont*) NULL},
- {"-*-palatino-medium-i-normal--", (struct xfont*) NULL},
- {"-*-palatino-bold-r-normal--", (struct xfont*) NULL},
- {"-*-palatino-bold-i-normal--", (struct xfont*) NULL},
- {"-*-symbol-medium-r-normal--", (struct xfont*) NULL},
- {"-*-itc zapf chancery-medium-i-normal--", (struct xfont*) NULL},
- {"-*-itc zapf dingbats-*-*-*--", (struct xfont*) NULL},
+ {"-urw-nimbus roman no9 l-medium-r-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus roman no9 l-medium-i-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus roman no9 l-bold-r-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus roman no9 l-bold-i-normal--", (struct xfont*) NULL},
+ {"-urw-urw gothic l-medium-r-normal--", (struct xfont*) NULL},
+ {"-urw-urw gothic l-medium-o-normal--", (struct xfont*) NULL},
+ {"-urw-urw gothic l-semibold-r-normal--", (struct xfont*) NULL},
+ {"-urw-urw gothic l-semibold-o-normal--", (struct xfont*) NULL},
+ {"-urw-urw bookman l-medium-r-normal--", (struct xfont*) NULL},
+ {"-urw-urw bookman l-medium-i-normal--", (struct xfont*) NULL},
+ {"-urw-urw bookman l-bold-r-normal--", (struct xfont*) NULL},
+ {"-urw-urw bookman l-bold-i-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus mono l-medium-r-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus mono l-medium-o-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus mono l-bold-r-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus mono l-bold-o-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus sans l-medium-r-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus sans l-medium-i-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus sans l-bold-r-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus sans l-bold-i-normal--", (struct xfont*) NULL},
+ {"-urw-nimbus sans l condensed-medium-r-condensed--", (struct xfont*) NULL},
+ {"-urw-nimbus sans l condensed-medium-i-condensed--", (struct xfont*) NULL},
+ {"-urw-nimbus sans l condensed-bold-r-condensed--", (struct xfont*) NULL},
+ {"-urw-nimbus sans l condensed-bold-i-condensed--", (struct xfont*) NULL},
+ {"-urw-century schoolbook l-medium-r-normal--", (struct xfont*) NULL},
+ {"-urw-century schoolbook l-medium-i-normal--", (struct xfont*) NULL},
+ {"-urw-century schoolbook l-bold-r-normal--", (struct xfont*) NULL},
+ {"-urw-century schoolbook l-bold-i-normal--", (struct xfont*) NULL},
+ {"-urw-urw palladio l-medium-r-normal--", (struct xfont*) NULL},
+ {"-urw-urw palladio l-medium-i-normal--", (struct xfont*) NULL},
+ {"-urw-urw palladio l-bold-r-normal--", (struct xfont*) NULL},
+ {"-urw-urw palladio l-bold-i-normal--", (struct xfont*) NULL},
+ {"-urw-standard symbols l-medium-r-normal--", (struct xfont*) NULL},
+ {"-urw-urw chancery l-medium-i-normal--", (struct xfont*) NULL},
+ {"-urw-dingbats-medium-r-normal--", (struct xfont*) NULL},
};
/* Use the following font names for any font that doesn't exist in the table above.

View File

@ -1,21 +1,22 @@
# Template file for 'xfig'
pkgname=xfig
version=3.2.8b
version=3.2.9
revision=1
build_style="gnu-configure"
hostmakedepends="fig2dev ghostscript netpbm"
makedepends="libXaw-devel libXaw3d-devel libXi-devel libXmu-devel libXpm-devel
libXt-devel libjpeg-turbo-devel libpng-devel"
makedepends="freetype-devel libXaw-devel libXaw3d-devel libXft-devel
libXi-devel libXmu-devel libXpm-devel libXt-devel
libjpeg-turbo-devel libpng-devel"
depends="gsfonts fig2dev"
short_desc="Interactive drawing tool"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="custom:xfig"
homepage="http://mcj.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/mcj/${pkgname}-${version}.tar.xz"
checksum=b2cc8181cfb356f6b75cc28771970447f69aba1d728a2dac0e0bcf1aea7acd3a
checksum=13ed9d04d1bbc2dec09da7ef49ceec278382d290f6cd926474c2f2d016fec2f7
post_extract() {
vsed -i 's/spell/aspell/' app-defaults/Fig.in
vsed -i 's/spell %f/aspell list %f/' app-defaults/Fig
}
post_install() {