<<
"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
>>
! 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
<<
"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
>>
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
<<
"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
>>
<<
"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
>>
"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
>>
<<
"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
>>
<<
"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
>>
! 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
LIBRARY: gl
+<<
+"gl" {
+ { [ os macosx? ] [ drop ] }
+ { [ os unix? ] [ "libGL.so" cdecl add-library ] }
+} cond
+>>
+
! Miscellaneous
FUNCTION: void glClearIndex ( GLfloat c ) ;
"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
>>
<<
"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 ;