[Gtk-sharp-list] Re: GTK# GL widget

C.J. Collier cjcollier at colliertech.org
Sun Nov 20 00:49:06 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Heya Emilio,

I've been working with alp on #monodevelop to get something up and
running.  So far, we've gotten a poorly-lit teapot displaying using
his ngtkext package here:

http://www.ndesk.org/nbind/

We're looking to build a gtkglarea widget.  I'll keep y'all posted.

Cheers,

C.J.


Emilio Jesús Gallego Arias wrote:
> Sorry as always I forgot the attachments!
>
>
> ----------------------------------------------------------------------
>
> MONODIR=/usr/lib/mono/gtk-sharp-2.0
> L_DEPS=-r:$(MONODIR)/glib-sharp.dll -r:$(MONODIR)/gdk-sharp.dll
-r:$(MONODIR)/pango-sharp.dll -r:$(MONODIR)/gtk-sharp.dll
>
> ASSEMBLIES= \
>     $(L_DEPS) \
>     -r:/usr/lib/mono/1.0/System.Drawing.dll \
>     -r ../gdkgl/gdkgl-sharp.dll
> #    -r System.Drawing.dll
> LIBRARY = gtkgl-sharp.dll
>
> MCS = mcs
>
> all: $(LIBRARY)
>
> $(LIBRARY): *.cs
>     $(MCS) --target library $(ASSEMBLIES) '*.cs' -o $(LIBRARY)
>
> PREFIX= /usr/local
>
> install:
>     install -o root -g root -m 644 $(LIBRARY) $(PREFIX)/lib
>
> clean:
>     rm -f $(LIBRARY)
>
> ----------------------------------------------------------------------
>
> APIS = gdkgl-api.xml
> GAPI_DIR=/usr/share/gapi-2.0/
> GTK_SHARP_DIR = ../../gtk-sharp
> INCLUDE_APIS =     $(GAPI_DIR)/gdk-api.xml \
>             $(GAPI_DIR)/pango-api.xml
> MONODIR=/usr/lib/mono/gtk-sharp-2.0
> L_DEPS=-r:$(MONODIR)/glib-sharp.dll -r:$(MONODIR)/gdk-sharp.dll
-r:$(MONODIR)/pango-sharp.dll
>
> RUNTIME = mono
> MCS = mcs
> ASSEMBLY = gdkgl-sharp.dll
>
> all: $(ASSEMBLY)
>
> generated-stamp: $(APIS) *.custom GdkGL.metadata
>     gapi2-fixup --api=gdkgl-api.xml --metadata=GdkGL.metadata
>     gapi2-codegen --generate $(APIS) --include $(INCLUDE_APIS) \
>         --outdir=generated --customdir=. --assembly-name=gdkgl-sharp
>     touch generated-stamp
>
> $(ASSEMBLY): *.cs generated-stamp
>     $(MCS) -unsafe -nowarn:0660,0661 -target:library     \
>         $(L_DEPS) \
>         -out:$(ASSEMBLY) -recurse:'*.cs'
>
> clean:
>     rm -f generated-stamp
>     rm -f $(ASSEMBLY)
>     rm -rf generated
>
> DESTDIR = /usr/local
> apidir = $(DESTDIR)/share/gapi
> libdir = $(DESTDIR)/lib
>
> install: all
>     $(GTK_SHARP_DIR)/mkinstalldirs $(libdir) &&        \
>     $(GTK_SHARP_DIR)/mkinstalldirs $(apidir) &&        \
>     for i in $(APIS); do                    \
>         cp $$i $(apidir) || true;       \
>     done &&                 \
>     cp $(ASSEMBLY) $(libdir)


- --
<cjcollier at colliertech.org>
http://cjcollier.livejournal.com/
+1 206 226 5809
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDgA5SbS8rWWzCfqgRAoRaAJ0bghqqDKQUmT3570nIE0wJU9CclQCeIvxQ
CwbcgX5rbxPLfIh8m/UQ1oQ=
=+u+4
-----END PGP SIGNATURE-----



More information about the Gtk-sharp-list mailing list