[arch-commits] Commit in transfig/trunk (6 files)

Eric Bélanger eric at archlinux.org
Tue Dec 16 05:56:41 UTC 2008


    Date: Tuesday, December 16, 2008 @ 00:56:41
  Author: eric
Revision: 21753

upgpkg: transfig 3.2.5-1
    Upstream update, Added arch tag, Added license, Added imake makedepends, Added man pages, Added ChangeLog, Removed old patches

Added:
  transfig/trunk/ChangeLog
  transfig/trunk/LICENSE
Modified:
  transfig/trunk/PKGBUILD
Deleted:
  transfig/trunk/Imakefile.fig2dev
  transfig/trunk/Imakefile.transfig
  transfig/trunk/transfig-3.2.4-gcc-3.3.patch

------------------------------+
 ChangeLog                    |   10 +
 Imakefile.fig2dev            |  264 -----------------------------------------
 Imakefile.transfig           |   56 --------
 LICENSE                      |   23 +++
 PKGBUILD                     |   47 ++-----
 transfig-3.2.4-gcc-3.3.patch |   37 -----
 6 files changed, 52 insertions(+), 385 deletions(-)

Added: ChangeLog
===================================================================
--- ChangeLog	                        (rev 0)
+++ ChangeLog	2008-12-16 05:56:41 UTC (rev 21753)
@@ -0,0 +1,10 @@
+2008-12-14  Eric Belanger  <eric at archlinux.org>
+
+	* transfig 3.2.5-1
+	* Upstream update
+	* Added arch tag
+	* Added license
+	* Added imake makedepends
+	* Added man pages
+	* Removed old patches
+	* Added ChangeLog

Deleted: Imakefile.fig2dev
===================================================================
--- Imakefile.fig2dev	2008-12-16 05:43:07 UTC (rev 21752)
+++ Imakefile.fig2dev	2008-12-16 05:56:41 UTC (rev 21753)
@@ -1,264 +0,0 @@
-#ifndef XCOMM
-#define XCOMM #
-#endif
-
-XCOMM Fig2dev : General Fig code translation program
-XCOMM Copyright (c) 1991 Micah Beck
-XCOMM Parts Copyright (c) 1995-2002 by Brian V. Smith
-XCOMM Parts Copyright (c) 1999 by T. Sato
-
-XCOMM Any party obtaining a copy of these files is granted, free of charge, a
-XCOMM full and unrestricted irrevocable, world-wide, paid up, royalty-free,
-XCOMM nonexclusive right and license to deal in this software and
-XCOMM documentation files (the "Software"), including without limitation the
-XCOMM rights to use, copy, modify, merge, publish and/or distribute copies of
-XCOMM the Software, and to permit persons who receive copies from any such 
-XCOMM party to do so, with the only requirement being that this copyright 
-XCOMM notice remain intact.
-
-XCOMM ******
-XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled
-XCOMM and installed xfig.
-
-XCOMM XFIGLIBDIR =	/usr/local/lib/X11/xfig
-XFIGLIBDIR =	$(LIBDIR)/xfig
-
-XCOMM ******
-XCOMM If your system has the strerror() function (doesn't have sys_errlist) then
-XCOMM comment out NEED_STRERROR with an XCOMM comment.
-
-XCOMM NEED_STRERROR = -DNEED_STRERROR
-
-XCOMM The following probably only applies to Windows 9x/NT:
-XCOMM If your system can open files in text and binary modes and has the
-XCOMM setmode() function, uncomment HAVE_SETMODE
-
-XCOMM HAVE_SETMODE = -DHAVE_SETMODE
-
-XCOMM ****************
-XCOMM Uncomment the following line if your compiler supports
-XCOMM inline functions. With the "INLINE" keyword, you should notice that
-XCOMM the display will be a bit faster in complex figures
-
-USEINLINE = -DUSE_INLINE
-
-XCOMM ****************
-XCOMM Change RGB if necessary, to point to your rgb.txt color database
-XCOMM file (for X11).  This is needed for the -g (background color) option.
-XCOMM Note that this changed slightly from the previous versions - you need
-XCOMM the full name (rgb.txt) now.
-XCOMM
-
-RGB = $(LIBDIR)/rgb.txt
-
-XCOMM Comment out the following #define USEPNG if you don't want PNG support
-XCOMM Uncomment the #define for USEPNG if you want to be able to import
-XCOMM PNG (Portable Network Graphics) files.
-
-#define USEPNG
-
-XCOMM Redefine the following if your PNG library and/or include file
-XCOMM are in different places
-
-#ifdef USEPNG
-PNGLIBDIR = $(SYSTEMUSRLIBDIR)
-PNGINC = -I$(SYSTEMUSRINCDIR)/libpng
-#endif
-
-XCOMM ****************
-XCOMM Unomment the #define for USEXPM if you want to use the XPM
-XCOMM (color pixmap) package.
-XCOMM You need version 3.4c or newer of the XPM package.
-XCOMM
-XCOMM Change XPMLIBDIR if necessary to point to the xpm library (libXpm)
-XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h)
-XCOMM
-
-#define USEXPM
-
-#ifdef USEXPM
-XPMLIBDIR = $(USRLIBDIR)
-XCOMM XPMINC = -I/usr/include/X11
-XPMINC = -I$(INCDIR)/X11
-#endif
-
-XCOMM ****************
-XCOMM Uncomment the following to set default paper size to A4
-XCOMM DDA4 = -DA4
-
-XCOMM ****************
-XCOMM Uncomment the following to set IBM Graphics Enhancement Cartridge
-XCOMM DDIBMGEC = -DIBMGEC
-
-XCOMM ****************
-XCOMM Comment out the DDNFSS = ... line if you don't want NFSS2 font selection
-XCOMM	for LaTeX texts
-XCOMM Comment out the DDLATEX2E_GRAPHICS = ... line if you don't want to use the
-XCOMM	standard graphics package distributed w/ LaTeX2e
-XCOMM UNcomment the DDEPSFIG = ... line if you want to use the deprecated epsfig macros
-XCOMM	distributed w/ LaTeX2e (DDLATEX2E_GRAPHICS must also be defined)
-XCOMM
-XCOMM     Hint: Users of LaTeX2e will probably want to include both DDNFSS
-XCOMM		and DDLATEX2E_GRAPHICS options; users of LaTeX 2.09 will
-XCOMM		probably want to include neither.
-
-DDNFSS = -DNFSS
-DDLATEX2E_GRAPHICS = -DLATEX2E_GRAPHICS
-XCOMM DDEPSFIG = -DEPSFIG
-
-XCOMM ****************
-XCOMM Comment out the DDDVIPS to NOT use dvips for the DVI-to-PostScript driver
-DDDVIPS = -DDVIPS
-
-XCOMM ****************
-XCOMM If your system doesn't have strcasecmp and/or strncasecmp
-XCOMM uncomment the following two definitions
-
-XCOMM HAVE_NO_STRCASECMP = -DHAVE_NO_STRCASECMP
-XCOMM HAVE_NO_STRNCASECMP = -DHAVE_NO_STRNCASECMP
-
-XCOMM ****************
-XCOMM If your system doesn't have strstr() then uncomment the following line
-XCOMM #define NOSTRSTR
-
-XCOMM ****************
-XCOMM Comment out the next line if you have any problems with locale not being found
-
-#define I18N
-
-#ifdef I18N
-I18N_DEFS = -DI18N 
-XCOMM FIG2DEV_LIBDIR = /usr/local/lib/fig2dev
-FIG2DEV_LIBDIR = $(LIBDIR)/fig2dev
-I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR=\\\"$(FIG2DEV_LIBDIR)\\\"
-
-install::
-	[ -d $(DESTDIR)$(FIG2DEV_LIBDIR) ] || mkdir $(DESTDIR)$(FIG2DEV_LIBDIR)
-	$(INSTALL) -c dev/japanese.ps $(DESTDIR)$(FIG2DEV_LIBDIR)
-	( cd $(DESTDIR)$(FIG2DEV_LIBDIR); \
-	  rm -f ja.ps ja_JP.ps ja_JP.ujis.ps ja_JP.eucJP.ps ja_JP.EUC.ps; \
-	  $(LN) japanese.ps ja.ps; $(LN) japanese.ps ja_JP.ps; \
-	  $(LN) japanese.ps ja_JP.ujis.ps; $(LN) japanese.ps ja_JP.eucJP.ps; \
-	  $(LN) japanese.ps ja_JP.EUC.ps )
-	$(INSTALL) -c  dev/korean.ps $(DESTDIR)$(FIG2DEV_LIBDIR)
-	( cd $(DESTDIR)$(FIG2DEV_LIBDIR); \
-	  rm -f ko.ps ko_KR.ps ko_KR.eucKR.ps ko_KR.EUC.ps; \
-	  $(LN) korean.ps ko.ps; $(LN) korean.ps ko_KR.ps; \
-	  $(LN) korean.ps ko_KR.eucKR.ps; $(LN) korean.ps ko_KR.EUC.ps )
-	$(INSTALL) -c  dev/cs_CZ.ps $(DESTDIR)$(FIG2DEV_LIBDIR)
-	( cd $(DESTDIR)$(FIG2DEV_LIBDIR); \
-	  rm -f hr_HR.ps hu_HU.ps pl_PL.ps ro_RO.ps sk_SK.ps sl_SI.ps; \
-	  $(LN) cs_CZ.ps hr_HR.ps; $(LN) cs_CZ.ps hu_HU.ps; \
-	  $(LN) cs_CZ.ps ro_RO.ps; $(LN) cs_CZ.ps pl_PL.ps; \
-	  $(LN) cs_CZ.ps sk_SK.ps; $(LN) cs_CZ.ps sl_SI.ps )
-#endif /* I18N */
-
-XCOMM **************************************************************
-XCOMM *** You shouldn't have to change anything below this point ***
-XCOMM **************************************************************
-
-DIR_DEFS=	-DBITMAPDIR=\\\"$(DESTDIR)$(XFIGLIBDIR)/bitmaps\\\"
-
-#ifdef USEPNG
-DUSEPNG = -DUSE_PNG
-PNGLIBS = -L$(PNGLIBDIR) -lpng -lz
-#endif /* USEPNG */
-
-#ifdef USEXPM
-DUSEXPM = -DUSE_XPM
-XPMLIBS = -L$(XPMLIBDIR) -lXpm -lX11
-#endif /* USEXPM */
-
-#if defined(NOSTRSTR) 
-STRSTRC=	strstr.c
-STRSTRO=	strstr.o
-#endif /* defined(NOSTRSTR) */
-
-DEFINES = $(NEED_STRERROR) $(HAVE_NO_STRCASECMP) $(HAVE_NO_STRNCASECMP) $(DDNFSS) $(USEINLINE) \
-	$(I18N_DEFS) $(HAVE_SETMODE) $(DUSEPNG) $(DUSEXPM) $(PNGINC) $(XPMINC)
-
-
-IMAKE_DEFINES = $(DUSEPNG) $(DUSEXPM)
-
-DEVDEFINES = $(DUSEPNG) $(DUSEXPM) $(XPMINC) $(DDNFSS) $(DDA4) \
-		$(DDLATEX2E_GRAPHICS) $(DDEPSFIG) $(DDIBMGEC) $(DDDVIPS) $(I18N_DEV_DEFS)
-
-#define IHaveSubdirs
-#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
-
-DEVDIR = dev
-
-SUBDIRS = $(DEVDIR)
-
-LIBTRANSFIG = $(DEVDIR)/libtransfig.a
-
-INCLUDES = -I..
-
-LOCAL_LIBRARIES = $(LIBTRANSFIG)
-#if defined(NetBSDArchitecture) || defined(FreeBSDArchitecture)
-SYS_LIBRARIES = $(PNGLIBS) $(XPMLIBS) -lm -lcompat
-#else
-SYS_LIBRARIES = $(PNGLIBS) $(XPMLIBS) -lm
-#endif
-DEPLIBS = $(LIBTRANSFIG)
-
-#if !(defined(SunOSPlatform) && (OSMajorVersion>=5))
-GETOPTC=   getopt.c
-GETOPTO=   getopt.o
-#endif
-
-SRCS = fig2dev.c psfonts.c iso2tex.c arrow.c bound.c colors.c trans_spline.c \
-	free.c read.c read1_3.c latex_line.c $(STRSTRC) $(GETOPTC)
-OBJS = fig2dev.o psfonts.o iso2tex.o arrow.o bound.o colors.o trans_spline.o \
-	free.o read.o read1_3.o latex_line.o $(STRSTRO) $(GETOPTO)
-
-fig2dev: $(DEPLIBS)
-
-RGBFILE = -DRGB_FILE=\"$(RGB)\"
-SpecialObjectRule(colors.o, Imakefile , $(RGBFILE))
-SpecialObjectRule(fig2dev.o, fig2dev.c drivers.h ../patchlevel.h, )
-
-XCOMM only compile our jpeg if the use doesn't have one installed
-
-$(LIBTRANSFIG)::
-	cd $(DEVDIR); $(MAKE) DEFINES="$(DEVDEFINES) $(DIR_DEFS)" libtransfig.a
-
-DependSubdirs($(SUBDIRS))
-
-ComplexProgramTarget(fig2dev)
-
-all:: fig2dev.man fig2ps2tex.man pic2tpic.man
-
-XCOMM Install the tk bitmaps here
-install::
-	@(cd bitmaps ; \
-	if [ -d $(DESTDIR)$(XFIGLIBDIR)/bitmaps ]; then set +x; \
-	else (set -x; $(MKDIRHIER) $(DESTDIR)$(XFIGLIBDIR)/bitmaps ); fi ; \
-	echo Copying bitmap files for tk to $(DESTDIR)$(XFIGLIBDIR)/bitmaps ; \
-	for f in * ; do \
-	      $(INSTALL) -c $$f $(DESTDIR)$(XFIGLIBDIR)/bitmaps ; \
-	done) ; 
-
-install.all::
-	$(MAKE) install
-	$(MAKE) install.man
-
-InstallScript(fig2ps2tex,$(BINDIR))
-InstallScript(fig2ps2tex.sh,$(BINDIR))
-InstallScript(pic2tpic,$(BINDIR))
-
-InstallManPage(fig2ps2tex,$(MANDIR))
-InstallManPage(pic2tpic,$(MANDIR))
-
-fig2dev.man:: ../doc/fig2dev.1
-	$(RM) fig2dev.man
-	-$(LN) ../doc/fig2dev.1 fig2dev.man
-
-fig2ps2tex.man:: ../doc/fig2ps2tex.1
-	$(RM) fig2ps2tex.man
-	-$(LN) ../doc/fig2ps2tex.1 fig2ps2tex.man
-
-pic2tpic.man:: ../doc/pic2tpic.1
-	$(RM) pic2tpic.man
-	-$(LN) ../doc/pic2tpic.1 pic2tpic.man
-

Deleted: Imakefile.transfig
===================================================================
--- Imakefile.transfig	2008-12-16 05:43:07 UTC (rev 21752)
+++ Imakefile.transfig	2008-12-16 05:56:41 UTC (rev 21753)
@@ -1,56 +0,0 @@
-#ifndef XCOMM
-#define XCOMM #
-#endif
-
-XCOMM TransFig: Facility for Translating Fig code
-XCOMM Copyright (c) 1991 Micah Beck
-
-XCOMM Any party obtaining a copy of these files is granted, free of charge, a
-XCOMM full and unrestricted irrevocable, world-wide, paid up, royalty-free,
-XCOMM nonexclusive right and license to deal in this software and
-XCOMM documentation files (the "Software"), including without limitation the
-XCOMM rights to use, copy, modify, merge, publish and/or distribute copies of
-XCOMM the Software, and to permit persons who receive copies from any such 
-XCOMM party to do so, with the only requirement being that this copyright 
-XCOMM notice remain intact.
-
-XCOMM Uncomment the USELATEX2E flag in the transfig/Imakefile file to use the
-XCOMM \\usepackage{} command for LaTeX2e. 
-XCOMM The default is to use \\documentstyle{} for LaTeX209.
-
-USELATEX2E = -DLATEX2E
-
-XCOMM ******* DON'T CHANGE ANYTHIN BELOW THIS POINT *******
-
-DEFINES = $(USELATEX2E)
-DEPLIBS =
-INCLUDES = -I..
-
-SRCS = transfig.c txfile.c mkfile.c sys.c
-OBJS = transfig.o txfile.o mkfile.o sys.o
-
-ComplexProgramTarget(transfig)
-
-all:: transfig.man fig2dev.man fig2ps2tex.man pic2tpic.man
-
-transfig.man:: ../doc/transfig.1
-	$(RM) transfig.man
-	-ln -s ../doc/transfig.1 transfig.man
-
-InstallManPage(fig2ps2tex,$(MANDIR))
-InstallManPage(pic2tpic,$(MANDIR))
-
-fig2dev.man:: ../doc/fig2dev.1
-	$(RM) fig2dev.man
-	-ln -s ../doc/fig2dev.1 fig2dev.man
-
-fig2ps2tex.man:: ../doc/fig2ps2tex.1
-	$(RM) fig2ps2tex.man
-	-ln -s ../doc/fig2ps2tex.1 fig2ps2tex.man
-
-pic2tpic.man:: ../doc/pic2tpic.1
-	$(RM) pic2tpic.man
-	-ln -s ../doc/pic2tpic.1 pic2tpic.man
-
-clean::
-	rm -f *.man

Added: LICENSE
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2008-12-16 05:56:41 UTC (rev 21753)
@@ -0,0 +1,23 @@
+/*
+ * TransFig: Facility for Translating Fig code
+ * Copyright (c) 1991 by Micah Beck
+ * Parts Copyright (c) 1985-1988 by Supoj Sutanthavibul
+ *
+ * Any party obtaining a copy of these files is granted, free of charge, a
+ * full and unrestricted irrevocable, world-wide, paid up, royalty-free,
+ * nonexclusive right and license to deal in this software and
+ * documentation files (the "Software"), including without limitation the
+ * rights to use, copy, modify, merge, publish and/or distribute copies of
+ * the Software, and to permit persons who receive copies from any such 
+ * party to do so, with the only requirement being that this copyright 
+ * notice remain intact.
+ *
+ */
+
+THE LAWRENCE BERKELEY NATIONAL LABORATORY DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL,
+INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-12-16 05:43:07 UTC (rev 21752)
+++ PKGBUILD	2008-12-16 05:56:41 UTC (rev 21753)
@@ -1,37 +1,28 @@
 # $Id$
-# Maintainer: damir <damir at archlinux.org>
+# Maintainer: Eric Belanger <eric at archlinux.org>
 # Contributor: J. Santiago Hirschfeld <jsantiagoh at yahoo.com.ar>
+
 pkgname=transfig
-pkgver=3.2.4
-pkgrel=2
-pkgdesc="Format conversion utitity to be used with xfig"
+pkgver=3.2.5
+pkgrel=1
+pkgdesc="Format conversion utility that can be used with xfig"
+arch=('i686' 'x86_64')
 url="http://www.xfig.org"
+license=('custom')
 depends=('libpng' 'libxpm')
-source=("http://xfig.org/software/xfig/$pkgver/$pkgname.$pkgver.tar.gz"\
-        'transfig-3.2.4-gcc-3.3.patch'\
-        'Imakefile.fig2dev'\
-        'Imakefile.transfig'\
-        )
-md5sums=('742de0f7a3cae74d247bbd0c70dd9dd7' \
-        '71a0fff063c73b598780da48ef56b943'\
-        'a31fa4aac9aeacc6b8f044becd789a33'\
-        'aa7fc14281a2bdcad3a62496778b1547'\
-        )
+makedepends=('imake')
+source=(http://downloads.sourceforge.net/mcj/${pkgname}.${pkgver}.tar.gz LICENSE)
+md5sums=('3b2cffdd25529ae5877e305f29aae6d1' 'a0b2ea903821c46dbc77afefc06d1aa4')
+sha1sums=('2657c104d0099dcb4565a8762a9543310e55e767' 'b8b712871615308b8b6add92f86d218437d652f2')
 
 build() {
-        cd $startdir/src/$pkgname.$pkgver
+  cd ${srcdir}/${pkgname}.${pkgver}
+  sed -i 's/XCOMM USELATEX2E = -DLATEX2E/USELATEX2E = -DLATEX2E/' transfig/Imakefile || return 1
+  sed -i 's/XCOMM USEINLINE = -DUSE_INLINE/USEINLINE = -DUSE_INLINE/' fig2dev/Imakefile || return 1
 
-        cp ../../Imakefile.fig2dev fig2dev/Imakefile
-        cp ../../Imakefile.transfig transfig/Imakefile
-
-        # Patch for gcc 3.3 taken from the Gentoo Linux ebuild ;)
-        patch -Np1 -i ../../$pkgname-$pkgver-gcc-3.3.patch
-
-        xmkmf || return 1
-        make Makefiles || return 1
-        make || return 1
-
-        mkdir -p $startdir/pkg/usr/lib/X11
-
-        make DESTDIR=$startdir/pkg install  || return 1
+  xmkmf || return 1
+  make FIG2DEV_LIBDIR=/usr/share/fig2dev Makefiles || return 1
+  make FIG2DEV_LIBDIR=/usr/share/fig2dev XFIGLIBDIR=/usr/share/xfig || return 1
+  make DESTDIR=${pkgdir} XFIGLIBDIR=/usr/share/xfig FIG2DEV_LIBDIR=/usr/share/fig2dev MANPATH=/usr/share/man install install.man || return 1
+  install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
 }

Deleted: transfig-3.2.4-gcc-3.3.patch
===================================================================
--- transfig-3.2.4-gcc-3.3.patch	2008-12-16 05:43:07 UTC (rev 21752)
+++ transfig-3.2.4-gcc-3.3.patch	2008-12-16 05:56:41 UTC (rev 21753)
@@ -1,37 +0,0 @@
-diff -ruN transfig.3.2.4.orig/fig2dev/dev/gensvg.c transfig.3.2.4/fig2dev/dev/gensvg.c
---- transfig.3.2.4.orig/fig2dev/dev/gensvg.c	2003-06-24 23:13:43.000000000 +0200
-+++ transfig.3.2.4/fig2dev/dev/gensvg.c	2003-06-24 23:18:55.000000000 +0200
-@@ -692,16 +692,17 @@
-     if (t->angle != 0) {
- 	fprintf (tfp, "<g transform=\"translate(%d,%d) rotate(%d)\" >\n",
- 		 (int) (t->base_x * mag), (int) (t->base_y * mag), degrees (t->angle));
--	fprintf (tfp, "<text x=\"0\" y=\"0\" fill=\"#%6.6x\"  font-family=\"%s\" 
--		 font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
-+	fprintf (tfp, "<text x=\"0\" y=\"0\" fill=\"#%6.6x\" "
-+		"font-family=\"%s\" font-style=\"%s\" font-weight=\"%s\" "
-+		"font-size=\"%d\" text-anchor=\"%s\" >\n",
- 		 rgbColorVal (t->color), family[(int) ceil ((t->font + 1) / 4)],
- 		 (t->font % 2 == 0 ? "normal" : "italic"),
- 		 (t->font % 4 < 2 ? "normal" : "bold"), (int) (ceil (t->size * 12 * mag)),
- 		 anchor[t->type]);
-     }
-     else
--	fprintf (tfp, "<text x=\"%d\" y=\"%d\" fill=\"#%6.6x\"  font-family=\"%s\" 
--		 font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
-+	fprintf (tfp, "<text x=\"%d\" y=\"%d\" fill=\"#%6.6x\"  font-family=\"%s\" "
-+	"font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
- 		 (int) (t->base_x * mag), (int) (t->base_y * mag), rgbColorVal (t->color),
- 		 family[(int) ceil ((t->font + 1) / 4)],
- 		 (t->font % 2 == 0 ? "normal" : "italic"),
-diff -ruN transfig.3.2.4.orig/fig2dev/fig2dev.h transfig.3.2.4/fig2dev/fig2dev.h
---- transfig.3.2.4.orig/fig2dev/fig2dev.h	2003-06-24 23:13:43.000000000 +0200
-+++ transfig.3.2.4/fig2dev/fig2dev.h	2003-06-24 23:14:31.000000000 +0200
-@@ -22,7 +22,7 @@
- #include <sys/file.h>
- #include <signal.h>
- #include <string.h>
--#include <varargs.h>
-+#include <stdarg.h>
- #include <pwd.h>
- #include <errno.h>
- #include <time.h>




More information about the arch-commits mailing list