wok rev 24124
updated transfig (3.2.5d -> 3.2.8b)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 06 10:26:09 2021 +0100 (2021-10-06) |
parents | 97db34801d31 |
children | 5765a85d3efd |
files | transfig/description.txt transfig/receipt xfig/description.txt xfig/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/transfig/description.txt Wed Oct 06 10:26:09 2021 +0100 1.3 @@ -0,0 +1,6 @@ 1.4 +fig2dev from transfig package is needed to export or print a Fig file. 1.5 +The post-processor fig2dev converts the Fig file to the desired output language. 1.6 +For printing, this is PostScript. For exporting, there are a dozen or so languages, 1.7 +including PostScript, EPS, LaTeX, MetaFont, and bitmap formats such as GIF, JPEG, 1.8 +PPM and several others. See the Language description of the Exporting section. 1.9 +This means that you must have transfig installed on your system along with xfig.
2.1 --- a/transfig/receipt Wed Oct 06 08:15:26 2021 +0000 2.2 +++ b/transfig/receipt Wed Oct 06 10:26:09 2021 +0100 2.3 @@ -1,24 +1,25 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="transfig" 2.7 -VERSION="3.2.5d" 2.8 +VERSION="3.2.8b" 2.9 CATEGORY="x-window" 2.10 SHORT_DESC="Utilities for converting XFig figure files." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 LICENSE="BSD" 2.13 -TARBALL="$PACKAGE.$VERSION.tar.gz" 2.14 WEB_SITE="https://www.xfig.org/" 2.15 -WGET_URL="http://downloads.sourceforge.net/mcj/$TARBALL" 2.16 +SOURCE="fig2dev" 2.17 +TARBALL="$SOURCE-$VERSION.tar.xz" 2.18 +WGET_URL="$SF_MIRROR/mcj/$TARBALL" 2.19 2.20 -DEPENDS="xorg xorg-libXpm libpng zlib" 2.21 -BUILD_DEPENDS="xorg-imake xorg-libXpm-dev libpng-dev zlib-dev" 2.22 +DEPENDS="libjpeg libpng xorg xorg-libXaw3d xorg-libXpm zlib" 2.23 +BUILD_DEPENDS="jpeg-dev libpng-dev xorg-libXaw3d-dev xorg-libXpm-dev zlib-dev" 2.24 2.25 # Rules to configure and make the package. 2.26 compile_rules() 2.27 { 2.28 - sed -i 's|/usr/local|/usr|' */*akefile 2.29 - xmkmf && 2.30 - make Makefiles && 2.31 + ./configure \ 2.32 + --prefix=/usr \ 2.33 + --enable-transfig && 2.34 make && 2.35 make DESTDIR=$DESTDIR install 2.36 } 2.37 @@ -26,5 +27,8 @@ 2.38 # Rules to gen a SliTaz package suitable for Tazpkg. 2.39 genpkg_rules() 2.40 { 2.41 - cp -a $install/* $fs 2.42 + mkdir -p $fs/usr/share 2.43 + 2.44 + cp -a $install/usr/bin $fs/usr 2.45 + cp -a $install/usr/share/fig2dev $fs/usr/share 2.46 }
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/xfig/description.txt Wed Oct 06 10:26:09 2021 +0100 3.3 @@ -0,0 +1,9 @@ 3.4 +Xfig is an interactive drawing tool which runs under X Window System Version 11 Release 4 (X11R4) or later, 3.5 +on most UNIX-compatible platforms, and e.g. under Darwin on the MacIntosh and any X server under Microsoft Windows. 3.6 +It is freeware, and can be downloaded freely. 3.7 + 3.8 +In xfig, figures may be drawn using objects such as circles, boxes, lines, spline curves, text, etc. 3.9 +Those objects can be created, deleted, moved or modified. 3.10 +Attributes such as colors or line styles can be selected in various ways. 3.11 +For text, 35 fonts are available. Text can also include Latin-1 characters such as "ä" or "ç". 3.12 +It is also possible to embed images in formats such as GIF, JPEG, EPS (PostScript), etc.
4.1 --- a/xfig/receipt Wed Oct 06 08:15:26 2021 +0000 4.2 +++ b/xfig/receipt Wed Oct 06 10:26:09 2021 +0100 4.3 @@ -9,12 +9,11 @@ 4.4 WEB_SITE="https://www.xfig.org/" 4.5 4.6 TARBALL="$PACKAGE-$VERSION.tar.xz" 4.7 -WGET_URL="$SF_MIRROR/sourceforge/mcj/$TARBALL" 4.8 +WGET_URL="$SF_MIRROR/mcj/$TARBALL" 4.9 + 4.10 SUGGESTED="transfig" 4.11 - 4.12 DEPENDS="jpeg libpng xorg xorg-libXaw3d xorg-libXp" 4.13 -BUILD_DEPENDS="spl-src xorg-imake xorg-cf-files xorg-gccmakedep jpeg-dev \ 4.14 - libpng-dev xorg-libXaw3d-dev xorg-libXp" 4.15 +BUILD_DEPENDS="jpeg-dev libpng-dev xorg-libXaw3d-dev xorg-libXp" 4.16 4.17 # Rules to configure and make the package. 4.18 compile_rules() 4.19 @@ -32,8 +31,14 @@ 4.20 # Rules to gen a SliTaz package suitable for Tazpkg. 4.21 genpkg_rules() 4.22 { 4.23 - cp -a $install/* $fs 4.24 - # many examples in /usr/share/xfig/Libraries appr. 16 MiB 4.25 + mkdir -p $fs/usr/share/xfig 4.26 + mkdir -p $fs/usr/share/X11 4.27 + 4.28 + cp -a $install/usr/bin $fs/usr 4.29 + cp -a $install/usr/share/applications $fs/usr/share 4.30 + cp -a $install/usr/share/pixmaps $fs/usr/share 4.31 + cp -a $install/usr/share/xfig/CompKeyDB $fs/usr/share/xfig 4.32 + cp -a $install/usr/share/X11/app-defaults $fs/usr/share/X11 4.33 4.34 sed -i 's/^Fig\*Font:.*/Fig*Font:\t\t\tfixed/' \ 4.35 $fs/usr/share/X11/app-defaults/Fig