]> git.lyx.org Git - features.git/commitdiff
get rid of more xtl
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 5 Jun 2002 15:23:19 +0000 (15:23 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 5 Jun 2002 15:23:19 +0000 (15:23 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4341 a592a061-630c-0410-9148-cb99ea01b6c8

development/ChangeLog
development/tools/lxtl.sh [deleted file]
src/support/ChangeLog
src/support/Makefile.am
src/support/lxtl.h [deleted file]

index 168e8d9e0ede56485ce4a51d839232018dc162e2..015ea0082bb00c959b1ddb25505f98837688e9e9 100644 (file)
@@ -1,3 +1,7 @@
+2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * tools/lxtl.sh: remove unused file
+
 2002-05-25  John Levon  <moz@compsoc.man.ac.uk>
 
        * Code_rules/Rules: mention enums should be lower-case
diff --git a/development/tools/lxtl.sh b/development/tools/lxtl.sh
deleted file mode 100755 (executable)
index 88edfa8..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/sh
-#
-# Author:  Allan Rae <rae@lyx.org>
-#
-# Copy xtl files ready for internal use.
-
-usage () {
-       echo "usage:  lxtl.sh <version-number>">&2
-       echo "        <version-number> is required and should be of the form" >&2
-       echo "        'XTL-x.y.pl.z' where x, y and z are digits." >&2
-       echo "" >&2
-       echo "Run this from the root of the xtl source tree." >&2
-       echo "Everything LyX needs will be moved into lxtl/" >&2
-       echo "you then 'cp lxtl/* /path-to-lyx/src/xtl/'" >&2
-       exit 0
-}
-
-
-if [ ! -d ./include/xtl ] ; then
-       usage
-fi
-
-if [ -d ./lxtl ]; then
-       echo "Uh oh!  There's a directory called lxtl here already." >&2
-        echo "I'm going to delete it unless you press <Ctrl><C> right now!" >&2
-        read aline
-        rm -rf lxtl
-fi
-
-if [ $# -lt 1 ]; then
-       usage
-fi
-
-mkdir lxtl
-
-cp COPYING.LIB lxtl
-cat > lxtl/README <<EOF
-$1
-This directory contains the subset of XTL required by LyX.
-The full distribution includes extensive tests and documentation.
-If you encounter compiler errors in xtl code when compiling LyX please
-get a copy of the full distribution and run the regression tests on your
-system. Report any problems found to the xtl mailing list.
-
-See:  http://gsd.di.uminho.pt/jop/xtl/
-
--------------------------===========================----------------------
-
-EOF
-
-cat README >> lxtl/README
-
-cat > lxtl/Makefile.am <<\EOF
-AUTOMAKE_OPTIONS = foreign 1.4
-DISTCLEANFILES= *.orig *.rej *~ *.bak core 
-MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
-EXTRA_DIST = README COPYING.LIB
-ETAGS_ARGS = --lang=c++
-SOURCES = \
-       autobuf.h \
-       autoio.h \
-       config.h \
-       giop.h \
-       graphio.h \
-       macros.h \
-       objio.h \
-       text.h \
-       vobjio.h \
-       xdr.h
-EOF
-
-cat > lxtl/.cvsignore <<EOF
-Makefile
-Makefile.in
-EOF
-
-# strip the Id info otherwise it gets replaced with the CVS version instead
-# making it even more confusing.
-#
-(
-    cd include/xtl;
-    for hfile in `ls`; do
-            sed < $hfile > ../../lxtl/$hfile \
-                -e '/Id:/s/\$//g'
-    done
-)
-
index ff57a9e43bf439428f9202813819dd373997e0e0..58fc224a97c510def18e2d5fdfe92433f1969845 100644 (file)
@@ -1,3 +1,7 @@
+2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * lxtl.h: remove unused file
+
 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
  
        * Makefile.am:
index 579a8e106f60fea62b9d9af1e0aecd03fe2549d5..2d03e52cfc59120c0b8a68d2a25875123000d130 100644 (file)
@@ -38,7 +38,6 @@ libsupport_la_SOURCES = \
        limited_stack.h \
        lstrings.C \
        lstrings.h \
-       lxtl.h \
        lyxalgo.h \
        lyxfunctional.h \
        lyxlib.h \
diff --git a/src/support/lxtl.h b/src/support/lxtl.h
deleted file mode 100644 (file)
index 4581a54..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-// -*- C++ -*-
-/* lxtl.h
- * LyX eXternalization Template Library
- * This file is part of
- * ======================================================
- *
- *           LyX, The Document Processor
- *
- *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2001 The LyX Team.
- *
- *           This file Copyright 2000
- *           Allan Rae
- * ======================================================
- */
-
-#ifndef LXTL_H
-#define LXTL_H
-#include <xtl/autobuf.h>
-#include <xtl/objio.h>
-#include <xtl/giop.h>
-#include <xtl/xdr.h>
-
-// XDR_format causes an abort that's hard to track down.  GDB says the abort
-// occurs in code from a different function to the one being run before the
-// abort!  (XTL-1.3.pl.11)
-///
-typedef GIOP_format<auto_mem_buffer> gui_format;
-
-/*  Simplify the use of the XTL.  The caller is responsible for creating their
-    own memory buffer.  The buffer type isn't a template parameter because I
-    need/want the forward declared buffer class in some other header files
-    thereby avoiding an extra file dependency.
-    ARRae 20000423
- */
-
-/// Externalize a structure into a buffer.
-template<class Input>
-void getInMem(Input const & in, auto_mem_buffer & mb) {
-       gui_format gf(mb);
-       obj_output<gui_format> output(gf);
-       output.simple(in);
-       mb.rewind();
-}
-
-/// Internalize a structure from a buffer.
-template<class Input>
-void setFromMem(Input & in, auto_mem_buffer & mb) {
-       gui_format gf(mb);
-       obj_input<gui_format> input(gf);
-       input.simple(in);
-}
-
-
-#endif