Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/graphics
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8481
Added Files:
transfig-3.2.4-6.info transfig-3.2.4-6.patch
Removed Files:
transfig.info transfig.patch
Log Message:
using %f instead of %n, to help keep an unstable version in sync with this
--- NEW FILE: transfig-3.2.4-6.patch ---
diff -ruN transfig.3.2.4/fig2dev/Imakefile
transfig.3.2.4-patched/fig2dev/Imakefile
--- transfig.3.2.4/fig2dev/Imakefile Thu Dec 19 12:33:44 2002
+++ transfig.3.2.4-patched/fig2dev/Imakefile Sat Apr 2 15:43:28 2005
@@ -20,13 +20,13 @@
XCOMM You should point XFIGLIBDIR to the same directory you did when you
compiled
XCOMM and installed xfig.
-XFIGLIBDIR = /usr/local/lib/X11/xfig
+XFIGLIBDIR = $(PREFIX)/share/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.
-NEED_STRERROR = -DNEED_STRERROR
+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
@@ -60,8 +60,8 @@
XCOMM are in different places
#ifdef USEPNG
-PNGLIBDIR = $(USRLIBDIR)
-PNGINC = -I/usr/include/X11
+PNGLIBDIR = $(PREFIX)/lib
+PNGINC = -I$(PREFIX)/include
#endif
XCOMM ****************
@@ -73,11 +73,11 @@
XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h)
XCOMM
-XCOMM #define USEXPM
+#define USEXPM
#ifdef USEXPM
-XPMLIBDIR = $(USRLIBDIR)
-XPMINC = -I/usr/include/X11
+XPMLIBDIR = /usr/X11R6/lib
+XPMINC = -I/usr/X11R6/include/X11
#endif
XCOMM ****************
@@ -102,7 +102,7 @@
DDNFSS = -DNFSS
DDLATEX2E_GRAPHICS = -DLATEX2E_GRAPHICS
-XCOMM DDEPSFIG = -DEPSFIG
+DDEPSFIG = -DEPSFIG
XCOMM ****************
XCOMM Comment out the DDDVIPS to NOT use dvips for the DVI-to-PostScript driver
@@ -126,11 +126,11 @@
#ifdef I18N
I18N_DEFS = -DI18N
-FIG2DEV_LIBDIR = /usr/local/lib/fig2dev
+FIG2DEV_LIBDIR = $(PREFIX)/lib/fig2dev
I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR=\\\"$(FIG2DEV_LIBDIR)\\\"
install::
- [ -d $(DESTDIR)$(FIG2DEV_LIBDIR) ] || mkdir $(DESTDIR)$(FIG2DEV_LIBDIR)
+ [ -d $(DESTDIR)$(FIG2DEV_LIBDIR) ] || mkdir -p
$(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; \
diff -ruN transfig.3.2.4/fig2dev/fig2dev.h
transfig.3.2.4-patched/fig2dev/fig2dev.h
--- transfig.3.2.4/fig2dev/fig2dev.h Wed Dec 18 17:45:28 2002
+++ transfig.3.2.4-patched/fig2dev/fig2dev.h Sat Apr 2 15:45:20 2005
@@ -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>
diff -ruN transfig.3.2.4/transfig/Imakefile
transfig.3.2.4-patched/transfig/Imakefile
--- transfig.3.2.4/transfig/Imakefile Wed Dec 18 17:44:03 2002
+++ transfig.3.2.4-patched/transfig/Imakefile Sat Apr 2 15:43:28 2005
@@ -18,7 +18,7 @@
XCOMM \\usepackage{} command for LaTeX2e.
XCOMM The default is to use \\documentstyle{} for LaTeX209.
-XCOMM USELATEX2E = -DLATEX2E
+USELATEX2E = -DLATEX2E
XCOMM ******* DON'T CHANGE ANYTHIN BELOW THIS POINT *******
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"),
--- transfig.info DELETED ---
--- NEW FILE: transfig-3.2.4-6.info ---
Package: transfig
Version: 3.2.4
Revision: 6
Depends: x11, xaw3d-shlibs (>= 1.5-11), libjpeg-bin, libpng3-shlibs,
libtiff-bin, netpbm-bin
BuildDepends: libjpeg (>= 6b-3), xaw3d (>= 1.5-11), libpng3, libtiff (>=
3.5.7-5), netpbm (>= 9.24-2), x11-dev
Source: http://www.xfig.org/xfigdist/%n.%v.tar.gz
Source-MD5: 742de0f7a3cae74d247bbd0c70dd9dd7
# keeping this as %f.info so that a copy can be easily kept in unstable
Patch: %f.patch
CompileScript: <<
xmkmf
make Makefiles
make CCOPTIONS=-no-cpp-precomp PREFIX=%p
<<
InstallScript: <<
make install PREFIX=%p DESTDIR=%d BINDIR=%p/bin INSTALLFLAGS=-c
make install.man PREFIX=%p DESTDIR=%d MANPATH=%p/share/man
DOCDIR=%p/share/doc/transfig INSTALLFLAGS=-c
<<
DocFiles: CHANGES LATEX.AND.XFIG NOTES README
License: BSD
Description: Converts xfig objects to various graphics formats
DescPort: <<
We don't need xpm since it is already in XFree86 4.1.
Patch for gcc3.3 borrowed from gentoo.
<<
DescPackaging: <<
Compiled with LaTeX 2e options chosen rather than LaTeX
2.09. XFIGLIBDIR was set to %p/share/xfig (as in xfig).
<<
DescUsage: <<
This package is automatically called by xfig, although it is
also possible to invoke "fig2dev" directly from the command line.
<<
Homepage: http://www.xfig.org/
Maintainer: Dave Morrison <[EMAIL PROTECTED]>
--- transfig.patch DELETED ---
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits