Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/editors
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6231

Added Files:
        texmacs.info texmacs.patch 
Log Message:
GCC: 4.0 version


--- NEW FILE: texmacs.patch ---
--- TeXmacs-1.0.5.11-src/src/makefile.in.ori    2005-11-05 00:14:01.000000000 
+0100
+++ TeXmacs-1.0.5.11-src/src/makefile.in        2005-11-05 00:14:36.000000000 
+0100
@@ -118,7 +118,7 @@
 deps_incl = $(call incl_flags,System System/Boot System/Classes System/Files 
System/Link System/Misc Classes/Abstract Classes/Atomic Classes/Compound 
Data/Drd Data/String Data/Tree Data/Convert Resource Plugins Window Typeset 
Edit Texmacs Guile)
 
 deps_flags = $(deps_incl)\
- $(CPPFLAGS) $(CXXIMLIB2) $(CXXFREETYPE) $(CXXICONV) $(CXXGUILE) \
+ $(CPPFLAGS) $(CXXFREETYPE) $(CXXIMLIB2) $(CXXICONV) $(CXXGUILE) \
  -I$(tmsrc)/include $(CXXXWINDOW)
 # we should use -I- to separate local includes from system includes, but
 # headers of guile 1.6.0 use includes in quotes with names relative to the
@@ -171,7 +171,7 @@
 %.o: %.cpp # Disable implicit compilation rule
 
 cxx_flags    = $(strip $(CXX) $(1) -c $< -o $@)
-cxx_incl     = $(call cxx_flags,$(1) $(CXXIMLIB2) $(CXXFREETYPE) $(CXXICONV) \
+cxx_incl     = $(call cxx_flags,$(1) $(CXXFREETYPE) $(CXXIMLIB2) $(CXXICONV) \
   $(CXXGUILE) $(CPPFLAGS) $(CXXFLAGS)) 
 
 $(system_obj): Objects/%.o: %.cpp
@@ -251,8 +251,8 @@
 TEXMACS_objects := $(strip $(call uses,system classes data resource plugins\
  window typeset edit glue texmacs))
 
-link_options:=-L$(tmsrc)/lib -lm $(LDPATH) $(LDXWINDOW) \
-  $(LDGUILE) $(LDIMLIB2) $(LDFREETYPE) $(LDICONV) $(LDDL)
+link_options:=-L$(tmsrc)/lib -lm $(LDPATH) $(LDFREETYPE) $(LDXWINDOW) \
+  $(LDGUILE) $(LDIMLIB2) $(LDICONV) $(LDDL)
 
 $(tmsrc)/bin/texmacs.bin: Objects/texmacs-$(link).bin
        $(CP) $^ $@
--- TeXmacs-1.0.6-src/plugins/shell/src/tm_shell.cpp    2005-12-02 
19:08:07.000000000 +0100
+++ TeXmacs-1.0.6-src.corr/plugins/shell/src/tm_shell.cpp       2005-12-23 
19:04:18.000000000 +0100
@@ -19,6 +19,7 @@
 #include <unistd.h>
 #include <sys/time.h>
 #include <sys/wait.h>
+#include <sys/socket.h>
 using namespace std;
 
 typedef char* charp;
@@ -158,8 +159,10 @@
   setenv ("PS1", "tmshell$ ", true);
   cout << DATA_BEGIN << "verbatim:";
   cout << "Shell session inside TeXmacs";
-  pipe (tochild);
-  pipe (fromchild);
+//  pipe (tochild);
+//  pipe (fromchild);
+  socketpair (AF_UNIX, SOCK_STREAM, PF_UNSPEC, tochild);
+  socketpair (AF_UNIX, SOCK_STREAM, PF_UNSPEC, fromchild);
   pid= fork ();
   if (pid==0) { // the child
     dup2 (tochild [IN], STDIN);

--- NEW FILE: texmacs.info ---
Package: texmacs
Version: 1.0.6
Revision: 1011
GCC: 4.0
Source: mirror:custom:TeXmacs-%v-src.tar.gz
CustomMirror: <<
 Primary: http://www.texmacs.org/Download/ftp/targz/
 Secondary: ftp://ftp.texmacs.org/pub/TeXmacs/targz/
<<
Source-MD5: 7b0a3896fd17cf2e993aa77d15bb6240
License: GPL
Depends: x11-shlibs, tetex-base, guile16 (>= 1.6.7-1010), ispell, wget, 
imlib2-shlibs, libiconv, freetype219-shlibs
BuildDepends: x11, guile16-dev (>= 1.6.7-1010), x11-dev, imlib2, libiconv-dev, 
freetype219
Replaces: texmacs-extra-fonts, texmacs-type1-fonts
BuildConflicts: freetype
Recommends: ghostscript, netpbm, xfig, macaulay2, maxima, pari-gp, scilab
Suggests: texmacs-extra-fonts
ConfigureParams: --libexecdir=%p/lib --mandir=%p/share/man --with-iconv=/usr 
--with-freetype=linked --with-imlib2
Patch: %n.patch
PatchScript: <<
#!/bin/sh -ev
# increase the stacksize to something reasonable before starting 
 perl -pi -e 's|bin/sh\n|bin/sh\n\nulimit -s 8192\n|' misc/scripts/texmacs.in
# change hardwired paths for ispell and aspell 
 perl -pi -e 's|/usr/lib/ispell/|%p/lib/|g' src/Plugins/Ispell/ispell.cpp
 perl -pi -e 's|/usr/lib/aspell/|%p/share/aspell/|g' 
src/Plugins/Ispell/ispell.cpp
# make place for Apple's resize brick in quartz-wm 
 perl -pi -e 's|(set_right_footer )\(s\)|$1 (s * "   ")|g' 
src/Edit/Interface/edit_footer.cpp
# make the R plugin compile
 perl -pi -e 's|\-lutil||g' plugins/r/Makefile 
 perl -pi -e 's|pty.h|util.h|g' plugins/r/src/tm_r.c 
# temporary hack to make the graphviz plugin work: 
# Instead of allocating successive pieces of 1kB, we allocate one chunk 
# of 1MB which should be sufficient for most postscript figures from graphviz 
 perl -pi -e '
    s,malloc\(1025\),malloc\(1024\*1000\+1\),g ;
    s,(fread.*) 1024,$1 1024\*1000,g
 ' plugins/graphviz/src/tm_graphviz.c
<<
CompileScript: <<
#!/bin/sh -ev
 export PATH=%p/share/guile/1.6/scripts/binoverride:%p/lib/freetype219/bin:$PATH
 ./configure %c
 export GUILE_LOAD_PATH=%p/share/guile/1.6
 make
<<
InstallScript: make install DESTDIR=%d
DocFiles: COPYING LICENSE TeXmacs/README TeXmacs/TEX_FONTS
Description: TeX-based WYSIWYG editor
DescDetail: <<
 GNU TeXmacs is a free scientific text editor, which was both inspired
 by TeX and GNU Emacs. The editor allows you to write structured
 documents via a wysiwyg (what-you-see-is-what-you-get) and user
 friendly interface. New styles may be created by the user. The program
 implements high-quality typesetting algorithms and TeX fonts, which
 help you to produce professionally looking documents.

 The high typesetting quality still goes through for automatically
 generated formulas, which makes TeXmacs suitable as an interface for
 computer algebra systems. TeXmacs also supports the Guile/Scheme
 extension language, so that you may customize the interface and write
 your own extensions to the editor.
<<
DescPort:<<
 TeXmacs uses wget for getting online help files; the package depends
 therefore on wget. 
 
 For font-intensive documents, the default OS X stacksize of 512 kB
 is insufficient (segmentation fault!), so we set it to 8 MB.
 
 This version does some static linking stuff that doesn't work
 on darwin, so we don't build STATIC_TEXMACS any more.

 Uses guile-1.6 now. Apparently we need to
 set the PATH for guile-1.6 only at compile time. The runtime is OK,
 even though guile-1.4 may be installed and `which guile` points to it.

 The hack to make the graphviz plugin work is still needed.

 The shell plugin is now patched to use socketpair() instead of pipe().
 This works around a bug of bash(?) and makes it work on Tiger. 
<<
DescUsage:<<
 Provides a unified GUI for clisp, macaulay2, maxima, octave, pari-gp, scilab 
 if they are installed. No configuration necessary, they are auto-detected 
 at program startup.
 
 The clisp plugin should work with clisp version 2.32 or later.

 Ghostscript is needed for importing images. Since even the TeXmacs 
 documentation contains images, ghostscript is strongly recommended. 
 
 For importing non-postscript images, the netpbm package is recommended.
 
 If you want to avoid having to create the standard bitmap fonts
 on the fly, consider installing the texmacs-fonts package.
 From version 1.0.5.10 on, PostScript Type1 fonts are used by default.
 TeXmacs uses the Type1 fonts from tetex, and an additional set of
 fonts is contained in the texmacs-extra-fonts package. 
 If you want a complete set of Type1 fonts, consider installing
 the texmacs-type1-fonts package.
<<
Maintainer: Martin Costabel <[EMAIL PROTECTED]>
Homepage: http://www.texmacs.org




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to