# HG changeset patch # User Hans-G?nter Theisgen # Date 1633512369 -3600 # Node ID 271622a4c4d75aea7877379ec51baffb506d7495 # Parent 97db34801d31cf0e9e12653891bd6803cd197b44 updated transfig (3.2.5d -> 3.2.8b) diff -r 97db34801d31 -r 271622a4c4d7 transfig/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/transfig/description.txt Wed Oct 06 10:26:09 2021 +0100 @@ -0,0 +1,6 @@ +fig2dev from transfig package is needed to export or print a Fig file. +The post-processor fig2dev converts the Fig file to the desired output language. +For printing, this is PostScript. For exporting, there are a dozen or so languages, +including PostScript, EPS, LaTeX, MetaFont, and bitmap formats such as GIF, JPEG, +PPM and several others. See the Language description of the Exporting section. +This means that you must have transfig installed on your system along with xfig. diff -r 97db34801d31 -r 271622a4c4d7 transfig/receipt --- a/transfig/receipt Wed Oct 06 08:15:26 2021 +0000 +++ b/transfig/receipt Wed Oct 06 10:26:09 2021 +0100 @@ -1,24 +1,25 @@ # SliTaz package receipt. PACKAGE="transfig" -VERSION="3.2.5d" +VERSION="3.2.8b" CATEGORY="x-window" SHORT_DESC="Utilities for converting XFig figure files." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -TARBALL="$PACKAGE.$VERSION.tar.gz" WEB_SITE="https://www.xfig.org/" -WGET_URL="http://downloads.sourceforge.net/mcj/$TARBALL" +SOURCE="fig2dev" +TARBALL="$SOURCE-$VERSION.tar.xz" +WGET_URL="$SF_MIRROR/mcj/$TARBALL" -DEPENDS="xorg xorg-libXpm libpng zlib" -BUILD_DEPENDS="xorg-imake xorg-libXpm-dev libpng-dev zlib-dev" +DEPENDS="libjpeg libpng xorg xorg-libXaw3d xorg-libXpm zlib" +BUILD_DEPENDS="jpeg-dev libpng-dev xorg-libXaw3d-dev xorg-libXpm-dev zlib-dev" # Rules to configure and make the package. compile_rules() { - sed -i 's|/usr/local|/usr|' */*akefile - xmkmf && - make Makefiles && + ./configure \ + --prefix=/usr \ + --enable-transfig && make && make DESTDIR=$DESTDIR install } @@ -26,5 +27,8 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/* $fs + mkdir -p $fs/usr/share + + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/fig2dev $fs/usr/share } diff -r 97db34801d31 -r 271622a4c4d7 xfig/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xfig/description.txt Wed Oct 06 10:26:09 2021 +0100 @@ -0,0 +1,9 @@ +Xfig is an interactive drawing tool which runs under X Window System Version 11 Release 4 (X11R4) or later, +on most UNIX-compatible platforms, and e.g. under Darwin on the MacIntosh and any X server under Microsoft Windows. +It is freeware, and can be downloaded freely. + +In xfig, figures may be drawn using objects such as circles, boxes, lines, spline curves, text, etc. +Those objects can be created, deleted, moved or modified. +Attributes such as colors or line styles can be selected in various ways. +For text, 35 fonts are available. Text can also include Latin-1 characters such as "ä" or "ç". +It is also possible to embed images in formats such as GIF, JPEG, EPS (PostScript), etc. diff -r 97db34801d31 -r 271622a4c4d7 xfig/receipt --- a/xfig/receipt Wed Oct 06 08:15:26 2021 +0000 +++ b/xfig/receipt Wed Oct 06 10:26:09 2021 +0100 @@ -9,12 +9,11 @@ WEB_SITE="https://www.xfig.org/" TARBALL="$PACKAGE-$VERSION.tar.xz" -WGET_URL="$SF_MIRROR/sourceforge/mcj/$TARBALL" +WGET_URL="$SF_MIRROR/mcj/$TARBALL" + SUGGESTED="transfig" - DEPENDS="jpeg libpng xorg xorg-libXaw3d xorg-libXp" -BUILD_DEPENDS="spl-src xorg-imake xorg-cf-files xorg-gccmakedep jpeg-dev \ - libpng-dev xorg-libXaw3d-dev xorg-libXp" +BUILD_DEPENDS="jpeg-dev libpng-dev xorg-libXaw3d-dev xorg-libXp" # Rules to configure and make the package. compile_rules() @@ -32,8 +31,14 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/* $fs - # many examples in /usr/share/xfig/Libraries appr. 16 MiB + mkdir -p $fs/usr/share/xfig + mkdir -p $fs/usr/share/X11 + + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/applications $fs/usr/share + cp -a $install/usr/share/pixmaps $fs/usr/share + cp -a $install/usr/share/xfig/CompKeyDB $fs/usr/share/xfig + cp -a $install/usr/share/X11/app-defaults $fs/usr/share/X11 sed -i 's/^Fig\*Font:.*/Fig*Font:\t\t\tfixed/' \ $fs/usr/share/X11/app-defaults/Fig