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