|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| build-aux/ | H | 07-May-2022 | - | 25,046 | 20,876 |
| doc/ | H | 03-May-2022 | - | 3,333 | 2,724 |
| g-wrap/ | H | 24-Jul-2015 | - | 3,035 | 2,227 |
| guile/ | H | 24-Jul-2015 | - | 9,780 | 7,497 |
| lib/ | H | 24-Jul-2015 | - | 4,728 | 3,485 |
| m4/ | H | 24-Jul-2015 | - | 10,319 | 9,268 |
| scheme48/ | H | 24-Jul-2015 | - | 3,059 | 2,582 |
| test/ | H | 24-Jul-2015 | - | 1,748 | 1,328 |
| AUTHORS | H A D | 22-Sep-2014 | 172 | 8 | 5 |
| ChangeLog | H A D | 20-Jul-2015 | 55 | 2 | 1 |
| INSTALL | H A D | 22-Sep-2014 | 9 KiB | 230 | 175 |
| Makefile.am | H A D | 22-Sep-2014 | 440 | 21 | 12 |
| Makefile.in | H A D | 24-Jul-2015 | 36.4 KiB | 1,100 | 994 |
| NEWS | H A D | 20-Jul-2015 | 15.6 KiB | 473 | 325 |
| README | H A D | 20-Jul-2015 | 3.2 KiB | 113 | 77 |
| THANKS | H A D | 22-Sep-2014 | 921 | 27 | 23 |
| TODO | H A D | 22-Sep-2014 | 363 | 21 | 10 |
| aclocal.m4 | H A D | 24-Jul-2015 | 106.3 KiB | 2,859 | 2,670 |
| common.mk | H A D | 22-Sep-2014 | 538 | 13 | 11 |
| config.h.in | H A D | 24-Jul-2015 | 8.1 KiB | 294 | 212 |
| configure | H A D | 24-Jul-2015 | 503.8 KiB | 17,751 | 14,791 |
| configure.ac | H A D | 20-Jul-2015 | 4.1 KiB | 167 | 136 |
| g-wrap-config | H A D | 24-Jul-2015 | 462 | 31 | 26 |
| g-wrap-config.1 | H A D | 22-Sep-2014 | 1.5 KiB | 44 | 43 |
| g-wrap-config.in | H A D | 22-Sep-2014 | 473 | 31 | 26 |
| g-wrap.scm | H A D | 22-Sep-2014 | 32.5 KiB | 995 | 698 |
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