• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

build-aux/H07-May-2022-25,04620,876

doc/H03-May-2022-3,3332,724

g-wrap/H24-Jul-2015-3,0352,227

guile/H24-Jul-2015-9,7807,497

lib/H24-Jul-2015-4,7283,485

m4/H24-Jul-2015-10,3199,268

scheme48/H24-Jul-2015-3,0592,582

test/H24-Jul-2015-1,7481,328

AUTHORSH A D22-Sep-2014172 85

ChangeLogH A D20-Jul-201555 21

INSTALLH A D22-Sep-20149 KiB230175

Makefile.amH A D22-Sep-2014440 2112

Makefile.inH A D24-Jul-201536.4 KiB1,100994

NEWSH A D20-Jul-201515.6 KiB473325

READMEH A D20-Jul-20153.2 KiB11377

THANKSH A D22-Sep-2014921 2723

TODOH A D22-Sep-2014363 2110

aclocal.m4H A D24-Jul-2015106.3 KiB2,8592,670

common.mkH A D22-Sep-2014538 1311

config.h.inH A D24-Jul-20158.1 KiB294212

configureH A D24-Jul-2015503.8 KiB17,75114,791

configure.acH A D20-Jul-20154.1 KiB167136

g-wrap-configH A D24-Jul-2015462 3126

g-wrap-config.1H A D22-Sep-20141.5 KiB4443

g-wrap-config.inH A D22-Sep-2014473 3126

g-wrap.scmH A D22-Sep-201432.5 KiB995698

README

1G-Wrap -- A tool for exporting C libraries into Scheme interpreters
2===================================================================
3
4G-Wrap is a tool (and guile library) for generating function wrappers
5for inter-language calls. It currently only supports generating Guile
6wrappers for C functions. Other languages may be supported in the
7future, possibly on both sides.
8
9Installing
10==========
11
12Prerequisites
13-------------
14
15    - Autoconf >= 2.61
16    - Automake >= 1.12
17    - libffi
18    - Guile-2.0 or Guile-2.2
19    - Guile-Lib >= 0.2.2	http://www.nongnu.org/guile-lib/
20
21In addition, if you build G-Wrap for Guile-Gnome and/or Guile-Clutter,
22which is most probably the case, you also need:
23
24    - Glib-2.0
25
26Instructions
27------------
28
29For detailed, general instructions, see the file INSTALL.
30
31
32* Building from a tarball
33
34Once all dependencies are statisfied, open a terminal and:
35
36    cd <download-path>
37    tar zxf g-wrap-<version>.tar.gz
38    cd g-wrap-<version>
39    ./configure [--prefix=/your/prefix]
40    make
41    make install
42
43Notes:
44
45(1) In the above configure step, --prefix=/your/prefix is
46    optional. The default value is /usr/local.
47
48(2) To install G-Wrap, you must have write permissions to the $prefix
49    dir and its subdirs.
50
51(3) G-Wrap's modules will be installed in $prefix/share/guile/site. If
52    it differs from Guile's global site directory, then this path must
53    be aded to Guile's load paths before to use G-Wrap and compile
54    Guile-Gnome or Guile-Clutter. You may check Guile's values using:
55
56    guile -c "(display (%global-site-dir)) (newline)"
57    guile -c "(display %load-path) (newline)"
58
59    To augment Guile's load paths, you can: (a) create/update your
60    personnal ~/.guile file, (b) update Guile's global site located
61    init.scm file or (c) define/update your GUILE_LOAD_PATH shell
62    environment variable.
63
64(4) Like for any other GNU Tool Chain compatible software, you may
65    install the documentation locally using make install-info, make
66    install-html and/or make install-pdf.
67
68
69* Building from Arch working copy
70
71Run ./autogen.sh. You can pass configure arguments to autogen.sh, or
72--noconfigure to disable the configure run, e.g. for out-of-tree
73builds (which are recommended). Then run "make" and "make install".
74
75Note that during the build of the included libffi, there is might be a
76warning about runtest not beeing found. This can be safely ignored.
77
78Notes about this branch
79=======================
80
81This is G-Wrap-TNG (G-Wrap - The Next Generation), a rewrite of
82G-Wrap. It's goals are:
83
84* Use GOOPS, for enhanced flexibility and (hopefully) clearer design.
85
86* Be target-language agnostic; i.e. clean separation of the core and
87  e.g. the Guile-specific code. New languages (perhaps even
88  non-Schemes) should be easy to add.
89
90* Offer the current (1.3.4+) wrapping API as a compatibility layer.
91
92Status
93------
94
95Currently, the features from 1.3.4 are present and superceded. It
96should be considered "ready for testing". An 1.3.4 compatibility layer
97is in place, as far as needed by GnuCash, which is apparently the only
98user of that API.
99
100Authors
101======
102
103Maintainer:
104 Andreas Rottmann  <a.rottmann@gmx.at>
105
106Co-Maintainer:
107 Rob Browning <rlb@defaultvalue.org>
108
109
110Originally written by:
111  Christopher Lee <chrislee@ri.cmu.edu>
112  http://www.cs.cmu.edu/~chrislee
113