Displaying 18 results from an estimated 18 matches for "gi_typelib_path".
2016 Oct 27
1
[PATCH] run.in: Quote contents of @VAR@ substitutions
...ng.
-export GOLANG=@GOLANG@
+export GOLANG="@GOLANG@"
prepend GOPATH "$b/golang"
export GOPATH
if [ -z "$CGO_CFLAGS" ]; then
@@ -198,7 +198,7 @@ fi
export CGO_LDFLAGS
# For GObject, Javascript and friends.
-export GJS=@GJS@
+export GJS="@GJS@"
prepend GI_TYPELIB_PATH "$b/gobject"
export GI_TYPELIB_PATH
# Be friendly to valgrind (https://live.gnome.org/Valgrind)
--
2.10.1
2015 Feb 13
2
[PATCH] ./run: Use 'prepend' function to build paths.
...-else
- GOPATH="$b/golang:$GOPATH"
-fi
+prepend GOPATH "$b/golang"
export GOPATH
if [ -z "$CGO_CFLAGS" ]; then
CGO_CFLAGS="-I$s/src"
@@ -188,11 +199,7 @@ export CGO_LDFLAGS
# For GObject, Javascript and friends.
export GJS=@GJS@
-if [ -z "$GI_TYPELIB_PATH" ]; then
- GI_TYPELIB_PATH="$b/gobject"
-else
- GI_TYPELIB_PATH="$b/gobject:$GI_TYPELIB_PATH"
-fi
+prepend GI_TYPELIB_PATH "$b/gobject"
export GI_TYPELIB_PATH
# Be friendly to valgrind (https://live.gnome.org/Valgrind)
export G_SLICE=always-malloc
--
2.1...
2012 Jan 17
3
GObject bindings
This is the first iteration of the GObject bindings. I have 'kicked the tyres'
on these, meaning I have ensured that a bunch of basic manual tests work as
expected. I'm in the process of adding more comprehensive tests.
Here's an example simple javascript program which uses these bindings:
===
const Guestfs = imports.gi.Guestfs;
print('Starting');
var g = new
2019 Jun 27
2
Re: [PATCH 3/9] Rust bindings: Add 4 bindings tests
...$RUSTFLAGS" ]; then
> + RUSTFLAGS="-C link-args=-L$b/lib/.libs"
> +else
> + RUSTFLAGS="$RUSTFLAGS -C link-args=-L$b/lib/.libs"
> +fi
> +export RUSTFLAGS
> +
> # For GObject, Javascript and friends.
> export GJS="@GJS@"
> prepend GI_TYPELIB_PATH "$b/gobject"
> diff --git a/rust/Cargo.lock b/rust/Cargo.lock
> new file mode 100644
> index 000000000..c03586e3f
> --- /dev/null
> +++ b/rust/Cargo.lock
> @@ -0,0 +1,6 @@
> +# This file is automatically @generated by Cargo.
> +# It is not intended for manual editi...
2019 Jun 27
1
Re: [PATCH 3/9] Rust bindings: Add 4 bindings tests
...uot;
> > > +else
> > > + RUSTFLAGS="$RUSTFLAGS -C link-args=-L$b/lib/.libs"
> > > +fi
> > > +export RUSTFLAGS
> > > +
> > > # For GObject, Javascript and friends.
> > > export GJS="@GJS@"
> > > prepend GI_TYPELIB_PATH "$b/gobject"
> > > diff --git a/rust/Cargo.lock b/rust/Cargo.lock
> > > new file mode 100644
> > > index 000000000..c03586e3f
> > > --- /dev/null
> > > +++ b/rust/Cargo.lock
> > > @@ -0,0 +1,6 @@
> > > +# This file is automati...
2019 Jun 27
0
[PATCH 3/9] Rust bindings: Add 4 bindings tests
...xport RUST="@RUST@"
+if [ -z "$RUSTFLAGS" ]; then
+ RUSTFLAGS="-C link-args=-L$b/lib/.libs"
+else
+ RUSTFLAGS="$RUSTFLAGS -C link-args=-L$b/lib/.libs"
+fi
+export RUSTFLAGS
+
# For GObject, Javascript and friends.
export GJS="@GJS@"
prepend GI_TYPELIB_PATH "$b/gobject"
diff --git a/rust/Cargo.lock b/rust/Cargo.lock
new file mode 100644
index 000000000..c03586e3f
--- /dev/null
+++ b/rust/Cargo.lock
@@ -0,0 +1,6 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+[[package]]
+name = "guestfs&q...
2012 Jan 20
11
[PATCH 01/10] Revert "Revert "generator: Add CamelName flag""
This reverts commit 3f6ca541c7b24d4c86688a509582cb41a7e0078c.
The original commit was reverted prematurely.
---
generator/generator_actions.ml | 10 +++++-----
generator/generator_checks.ml | 5 +++++
generator/generator_types.ml | 3 +++
3 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml
index
2019 Jun 27
0
Re: [PATCH 3/9] Rust bindings: Add 4 bindings tests
...LAGS="-C link-args=-L$b/lib/.libs"
> > +else
> > + RUSTFLAGS="$RUSTFLAGS -C link-args=-L$b/lib/.libs"
> > +fi
> > +export RUSTFLAGS
> > +
> > # For GObject, Javascript and friends.
> > export GJS="@GJS@"
> > prepend GI_TYPELIB_PATH "$b/gobject"
> > diff --git a/rust/Cargo.lock b/rust/Cargo.lock
> > new file mode 100644
> > index 000000000..c03586e3f
> > --- /dev/null
> > +++ b/rust/Cargo.lock
> > @@ -0,0 +1,6 @@
> > +# This file is automatically @generated by Cargo.
> >...
2019 Jul 20
0
[PATCH] Rust bindings: Add Rust bindings
...xport RUST="@RUST@"
+if [ -z "$RUSTFLAGS" ]; then
+ RUSTFLAGS="-C link-args=-L$b/lib/.libs"
+else
+ RUSTFLAGS="$RUSTFLAGS -C link-args=-L$b/lib/.libs"
+fi
+export RUSTFLAGS
+
# For GObject, Javascript and friends.
export GJS="@GJS@"
prepend GI_TYPELIB_PATH "$b/gobject"
diff --git a/rust/.gitignore b/rust/.gitignore
new file mode 100644
index 000000000..693699042
--- /dev/null
+++ b/rust/.gitignore
@@ -0,0 +1,3 @@
+/target
+**/*.rs.bk
+Cargo.lock
diff --git a/rust/Cargo.toml.in b/rust/Cargo.toml.in
new file mode 100644
index 000000000..e25df...
2019 Jul 23
2
Re: [PATCH] Rust bindings: Add Rust bindings
...$RUSTFLAGS" ]; then
> + RUSTFLAGS="-C link-args=-L$b/lib/.libs"
> +else
> + RUSTFLAGS="$RUSTFLAGS -C link-args=-L$b/lib/.libs"
> +fi
> +export RUSTFLAGS
> +
> # For GObject, Javascript and friends.
> export GJS="@GJS@"
> prepend GI_TYPELIB_PATH "$b/gobject"
> diff --git a/rust/.gitignore b/rust/.gitignore
> new file mode 100644
> index 000000000..693699042
> --- /dev/null
> +++ b/rust/.gitignore
> @@ -0,0 +1,3 @@
> +/target
> +**/*.rs.bk
> +Cargo.lock
> diff --git a/rust/Cargo.toml.in b/rust/Cargo.t...
2019 Jul 23
0
Re: [PATCH] Rust bindings: Add Rust bindings
...xport RUST="@RUST@"
+if [ -z "$RUSTFLAGS" ]; then
+ RUSTFLAGS="-C link-args=-L$b/lib/.libs"
+else
+ RUSTFLAGS="$RUSTFLAGS -C link-args=-L$b/lib/.libs"
+fi
+export RUSTFLAGS
+
# For GObject, Javascript and friends.
export GJS="@GJS@"
prepend GI_TYPELIB_PATH "$b/gobject"
diff --git a/rust/.gitignore b/rust/.gitignore
new file mode 100644
index 000000000..693699042
--- /dev/null
+++ b/rust/.gitignore
@@ -0,0 +1,3 @@
+/target
+**/*.rs.bk
+Cargo.lock
diff --git a/rust/Cargo.toml.in b/rust/Cargo.toml.in
new file mode 100644
index 000000000..e25df...
2019 Jul 20
2
Re: [PATCH] Rust bindings: Add Rust bindings
> Is this just trying if the guestfs can be linked with?
Yes. In OCaml bindings, there is the corresponding test(
https://github.com/libguestfs/libguestfs/blob/master/ocaml/t/guestfs_010_load.ml).
I just mimicked it. If it is not required, I will remove it.
divided the generated files and handmade files in rust/src/ directory. I'll
send this fixed patch to this mailing list.
I'm not
2019 Jun 27
16
[PATCH 1/9] Rust bindings: Add Rust bindings
From: Hiroyuki_Katsura <hiroyuki.katsura.0513@gmail.com>
---
Makefile.am | 4 ++++
configure.ac | 3 +++
generator/Makefile.am | 3 +++
generator/bindtests.ml | 3 +++
generator/bindtests.mli | 1 +
generator/main.ml | 5 +++++
generator/rust.ml | 34 ++++++++++++++++++++++++++++++++++
generator/rust.mli | 19 +++++++++++++++++++
2019 Jul 08
2
Re: [PATCH] Add Rust bindings
On Mon, Jul 08, 2019 at 10:04:57AM +0100, Richard W.M. Jones wrote:
>On Mon, Jul 08, 2019 at 10:49:55AM +0200, Martin Kletzander wrote:
>> On Mon, Jul 08, 2019 at 10:10:10AM +0200, Pino Toscano wrote:
>> >On Saturday, 6 July 2019 13:03:24 CEST Martin Kletzander wrote:
>> >>Just one thing, the Cargo.toml includes a version under which the crate would be
>>
2019 Jul 29
1
Re: [PATCH] Rust bindings: Add Rust bindings
...ort CARGO="@CARGO@"
+if [ -z "$RUSTFLAGS" ]; then
+ RUSTFLAGS="-C link-args=-L$b/lib/.libs"
+else
+ RUSTFLAGS="$RUSTFLAGS -C link-args=-L$b/lib/.libs"
+fi
+export RUSTFLAGS
+
# For GObject, Javascript and friends.
export GJS="@GJS@"
prepend GI_TYPELIB_PATH "$b/gobject"
diff --git a/rust/.gitignore b/rust/.gitignore
new file mode 100644
index 000000000..693699042
--- /dev/null
+++ b/rust/.gitignore
@@ -0,0 +1,3 @@
+/target
+**/*.rs.bk
+Cargo.lock
diff --git a/rust/Cargo.toml.in b/rust/Cargo.toml.in
new file mode 100644
index 000000000..b61e3...
2019 Jul 17
2
[PATCH] Rust bindings: Add Rust bindings
...xport RUST="@RUST@"
+if [ -z "$RUSTFLAGS" ]; then
+ RUSTFLAGS="-C link-args=-L$b/lib/.libs"
+else
+ RUSTFLAGS="$RUSTFLAGS -C link-args=-L$b/lib/.libs"
+fi
+export RUSTFLAGS
+
# For GObject, Javascript and friends.
export GJS="@GJS@"
prepend GI_TYPELIB_PATH "$b/gobject"
diff --git a/rust/.gitignore b/rust/.gitignore
new file mode 100644
index 000000000..693699042
--- /dev/null
+++ b/rust/.gitignore
@@ -0,0 +1,3 @@
+/target
+**/*.rs.bk
+Cargo.lock
diff --git a/rust/Cargo.toml.in b/rust/Cargo.toml.in
new file mode 100644
index 000000000..e25df...
2019 Jul 26
4
Re: [PATCH] Rust bindings: Add Rust bindings
Hi Hiroyuki,
sorry for the late reply.
Most of the work is definitely nice! There are few notes below,
although they are not big issues. I will check this patch once more
on monday, especially the rust parts.
Otherwise, I'd say that we are close to merging this :)
On Tuesday, 23 July 2019 10:37:17 CEST Hiroyuki Katsura wrote:
> From: Hiroyuki_Katsura
2019 Jul 02
16
[PATCH] Add Rust bindings
I fixed the patch I submitted before based on comments, and there are some
commits which are merged or divided. So, I will re-send all the patches.
Regards,
Hiroyuki Katsura