gtk: add library references.
parent
9442bbb738
commit
a022352951
|
@ -13,7 +13,8 @@ LIBRARY: atk
|
|||
<<
|
||||
"atk" {
|
||||
{ [ os windows? ] [ "libatk-1.0-0.dll" cdecl add-library ] }
|
||||
{ [ os unix? ] [ drop ] }
|
||||
{ [ os macosx? ] [ "libatk-1.0.dylib" cdecl add-library ] }
|
||||
{ [ os unix? ] [ "libatk-1.0.so" cdecl add-library ] }
|
||||
} cond
|
||||
>>
|
||||
|
||||
|
|
|
@ -8,10 +8,10 @@ IN: cairo.ffi
|
|||
|
||||
! Adapted from cairo.h, version 1.8.10
|
||||
|
||||
<< {
|
||||
{ [ os windows? ] [ "cairo" "libcairo-2.dll" cdecl add-library ] }
|
||||
{ [ os macosx? ] [ "cairo" "libcairo.dylib" cdecl add-library ] }
|
||||
{ [ os unix? ] [ ] }
|
||||
<< "cairo" {
|
||||
{ [ os windows? ] [ "libcairo-2.dll" cdecl add-library ] }
|
||||
{ [ os macosx? ] [ "libcairo.dylib" cdecl add-library ] }
|
||||
{ [ os unix? ] [ "libcairo.so" cdecl add-library ] }
|
||||
} cond >>
|
||||
|
||||
LIBRARY: cairo
|
||||
|
|
|
@ -16,7 +16,8 @@ LIBRARY: gdk
|
|||
<<
|
||||
"gdk" {
|
||||
{ [ os windows? ] [ "libgdk-win32-2.0-0.dll" cdecl add-library ] }
|
||||
{ [ os unix? ] [ drop ] }
|
||||
{ [ os macosx? ] [ drop ] }
|
||||
{ [ os unix? ] [ "libgdk-x11-2.0.so" cdecl add-library ] }
|
||||
} cond
|
||||
>>
|
||||
|
||||
|
|
|
@ -10,4 +10,12 @@ IN: gdk.gl.ffi
|
|||
|
||||
LIBRARY: gdk.gl
|
||||
|
||||
<<
|
||||
"gdk.gl" {
|
||||
{ [ os windows? ] [ "libgdkglext-win32-1.0-0.dll" cdecl add-library ] }
|
||||
{ [ os macosx? ] [ drop ] }
|
||||
{ [ os unix? ] [ "libgdkglext-x11-1.0.so" cdecl add-library ] }
|
||||
} cond
|
||||
>>
|
||||
|
||||
GIR: vocab:gdk/gl/GdkGLExt-1.0.gir
|
||||
|
|
|
@ -15,7 +15,8 @@ LIBRARY: gdk.pixbuf
|
|||
<<
|
||||
"gdk.pixbuf" {
|
||||
{ [ os windows? ] [ "libgdk_pixbuf-2.0-0.dll" cdecl add-library ] }
|
||||
{ [ os unix? ] [ drop ] }
|
||||
{ [ os macosx? ] [ "libgdk_pixbuf-2.0.dylib" cdecl add-library ] }
|
||||
{ [ os unix? ] [ "libgdk_pixbuf-2.0.so" cdecl add-library ] }
|
||||
} cond
|
||||
>>
|
||||
|
||||
|
|
|
@ -13,7 +13,8 @@ LIBRARY: gio
|
|||
<<
|
||||
"gio" {
|
||||
{ [ os windows? ] [ "libgio-2.0-0.dll" cdecl add-library ] }
|
||||
{ [ os unix? ] [ drop ] }
|
||||
{ [ os macosx? ] [ "libgio-2.0.dylib" cdecl add-library ] }
|
||||
{ [ os unix? ] [ "libgio-2.0.so" cdecl add-library ] }
|
||||
} cond
|
||||
>>
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ LIBRARY: glib
|
|||
"glib" {
|
||||
{ [ os windows? ] [ "libglib-2.0-0.dll" cdecl add-library ] }
|
||||
{ [ os macosx? ] [ "libglib-2.0.0.dylib" cdecl add-library ] }
|
||||
{ [ os unix? ] [ drop ] }
|
||||
{ [ os unix? ] [ "libglib-2.0.so" cdecl add-library ] }
|
||||
} cond
|
||||
>>
|
||||
|
||||
|
|
|
@ -16,7 +16,8 @@ LIBRARY: gobject
|
|||
<<
|
||||
"gobject" {
|
||||
{ [ os windows? ] [ "libobject-2.0-0.dll" cdecl add-library ] }
|
||||
{ [ os unix? ] [ drop ] }
|
||||
{ [ os macosx? ] [ "libgobject-2.0.dylib" cdecl add-library ] }
|
||||
{ [ os unix? ] [ "libgobject-2.0.so" cdecl add-library ] }
|
||||
} cond
|
||||
>>
|
||||
|
||||
|
|
|
@ -16,7 +16,8 @@ LIBRARY: gtk
|
|||
<<
|
||||
"gtk" {
|
||||
{ [ os windows? ] [ "libgtk-win32-2.0-0.dll" cdecl add-library ] }
|
||||
{ [ os unix? ] [ drop ] }
|
||||
{ [ os macosx? ] [ drop ] }
|
||||
{ [ os unix? ] [ "libgtk-x11-2.0.so" cdecl add-library ] }
|
||||
} cond
|
||||
>>
|
||||
|
||||
|
|
|
@ -3,8 +3,9 @@
|
|||
|
||||
! This file is based on the gl.h that comes with xorg-x11 6.8.2
|
||||
|
||||
USING: alien alien.c-types alien.syntax combinators kernel parser
|
||||
sequences system words opengl.gl.extensions io.encodings.ascii ;
|
||||
USING: alien alien.c-types alien.libraries alien.syntax
|
||||
combinators kernel parser sequences system words
|
||||
opengl.gl.extensions io.encodings.ascii ;
|
||||
FROM: alien.c-types => short ;
|
||||
IN: opengl.gl
|
||||
|
||||
|
@ -628,6 +629,13 @@ CONSTANT: GL_CLIENT_ALL_ATTRIB_BITS 0xFFFFFFFF
|
|||
|
||||
LIBRARY: gl
|
||||
|
||||
<<
|
||||
"gl" {
|
||||
{ [ os macosx? ] [ drop ] }
|
||||
{ [ os unix? ] [ "libGL.so" cdecl add-library ] }
|
||||
} cond
|
||||
>>
|
||||
|
||||
! Miscellaneous
|
||||
|
||||
FUNCTION: void glClearIndex ( GLfloat c ) ;
|
||||
|
|
|
@ -14,7 +14,7 @@ LIBRARY: pango.cairo
|
|||
"pango.cairo" {
|
||||
{ [ os windows? ] [ "libpangocairo-1.0-0.dll" cdecl add-library ] }
|
||||
{ [ os macosx? ] [ drop ] }
|
||||
{ [ os unix? ] [ drop ] }
|
||||
{ [ os unix? ] [ "libpangocairo-1.0.so" cdecl add-library ] }
|
||||
} cond
|
||||
>>
|
||||
|
||||
|
|
|
@ -14,8 +14,9 @@ LIBRARY: pango
|
|||
<<
|
||||
"pango" {
|
||||
{ [ os windows? ] [ "libpango-1.0-0.dll" cdecl add-library ] }
|
||||
{ [ os unix? ] [ drop ] }
|
||||
} cond
|
||||
{ [ os macosx? ] [ drop ] }
|
||||
{ [ os unix? ] [ "libpango-1.0.so" cdecl add-library ] }
|
||||
} cond
|
||||
>>
|
||||
|
||||
IMPLEMENT-STRUCTS: PangoRectangle ;
|
||||
|
|
Loading…
Reference in New Issue