nerdfonts: fix wrong attribute name in error message (#364463)
[NixPkgs.git] / pkgs / development / libraries / gtkd / paths.d
blob8793da44069099c101912bcb4f22f23da567a10e
1 /*
2 * gtkD is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU Lesser General Public License
4 * as published by the Free Software Foundation; either version 3
5 * of the License, or (at your option) any later version, with
6 * some exceptions, please read the COPYING file.
8 * gtkD is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with gtkD; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
17 * paths.d -- list of libraries that will be dynamically linked with gtkD
19 * Added: John Reimer -- 2004-12-20
20 * Updated: 2005-02-21 changed names; added version(linux)
21 * Updated: 2005-05-05 updated Linux support
22 * Updated: 2008-02-16 Tango support
25 module gtkd.paths;
28 * Define the Libraries that gtkD will be using.
29 * This is a growable list, as long as the programmer
30 * also adds to the importLibs list.
33 enum LIBRARY
35 ATK,
36 CAIRO,
37 GDK,
38 GDKPIXBUF,
39 GLIB,
40 GMODULE,
41 GOBJECT,
42 GIO,
43 GTHREAD,
44 GTK,
45 PANGO,
46 PANGOCAIRO,
47 GLGDK,
48 GLGTK,
49 GDA,
50 GSV,
51 GSV1,
52 GSTREAMER,
53 GSTINTERFACES,
54 VTE,
55 PEAS,
56 RSVG,
59 version (Windows)
61 const string[LIBRARY.max+1] importLibs =
63 LIBRARY.ATK: "libatk-1.0-0.dll",
64 LIBRARY.CAIRO: "libcairo-2.dll",
65 LIBRARY.GDK: "libgdk-3-0.dll",
66 LIBRARY.GDKPIXBUF: "libgdk_pixbuf-2.0-0.dll",
67 LIBRARY.GLIB: "libglib-2.0-0.dll",
68 LIBRARY.GMODULE: "libgmodule-2.0-0.dll",
69 LIBRARY.GOBJECT: "libgobject-2.0-0.dll",
70 LIBRARY.GIO: "libgio-2.0-0.dll",
71 LIBRARY.GTHREAD: "libgthread-2.0-0.dll",
72 LIBRARY.GTK: "libgtk-3-0.dll",
73 LIBRARY.PANGO: "libpango-1.0-0.dll",
74 LIBRARY.PANGOCAIRO: "libpangocairo-1.0-0.dll",
75 LIBRARY.GLGDK: "libgdkglext-3.0-0.dll",
76 LIBRARY.GLGTK: "libgtkglext-3.0-0.dll",
77 LIBRARY.GDA: "libgda-4.0-4.dll",
78 LIBRARY.GSV: "libgtksourceview-3.0-0.dll",
79 LIBRARY.GSV1: "libgtksourceview-3.0-1.dll",
80 LIBRARY.GSTREAMER: "libgstreamer-1.0.dll",
81 LIBRARY.GSTINTERFACES: "libgstvideo-1.0.dll",
82 LIBRARY.VTE: "libvte-2.91.dll",
83 LIBRARY.PEAS: "libpeas-1.0.dll",
84 LIBRARY.RSVG: "librsvg-2-2.dll",
87 else version(darwin)
89 const string[LIBRARY.max+1] importLibs =
91 LIBRARY.ATK: "@atk@/lib/libatk-1.0.dylib",
92 LIBRARY.CAIRO: "@cairo@/lib/libcairo.dylib",
93 LIBRARY.GDK: "@gtk3@/lib/libgdk-3.0.dylib",
94 LIBRARY.GDKPIXBUF: "@gdk_pixbuf@/lib/libgdk_pixbuf-2.0.dylib",
95 LIBRARY.GLIB: "@glib@/lib/libglib-2.0.dylib",
96 LIBRARY.GMODULE: "@glib@/lib/libgmodule-2.0.dylib",
97 LIBRARY.GOBJECT: "@glib@/lib/libgobject-2.0.dylib",
98 LIBRARY.GIO: "@glib@/lib/libgio-2.0.dylib",
99 LIBRARY.GTHREAD: "@glib@/lib/libgthread-2.0.dylib",
100 LIBRARY.GTK: "@gtk3@/lib/libgtk-3.0.dylib",
101 LIBRARY.PANGO: "@pango@/lib/libpango-1.0.dylib",
102 LIBRARY.PANGOCAIRO: "@pango@/lib/libpangocairo-1.0.dylib",
103 LIBRARY.GLGDK: "libgdkglext-3.0.dylib",
104 LIBRARY.GLGTK: "libgtkglext-3.0.dylib",
105 LIBRARY.GDA: "@libgda@/lib/libgda-2.dylib",
106 LIBRARY.GSV: "@gtksourceview4@/lib/libgtksourceview-4.0.dylib",
107 LIBRARY.GSV1: "@gtksourceview4@/lib/libgtksourceview-4.0.dylib",
108 LIBRARY.GSTREAMER: "@gstreamer@/lib/libgstreamer-1.0.dylib",
109 LIBRARY.GSTINTERFACES: "@gst_plugins_base@/lib/libgstvideo-1.0.dylib",
110 LIBRARY.VTE: "@vte@/lib/libvte-2.91.dylib",
111 LIBRARY.PEAS: "@libpeas@/lib/libpeas-1.0.dylib",
112 LIBRARY.RSVG: "@librsvg@/lib/librsvg-2.dylib",
115 else
117 const string[LIBRARY.max+1] importLibs =
119 LIBRARY.ATK: "@atk@/lib/libatk-1.0.so.0",
120 LIBRARY.CAIRO: "@cairo@/lib/libcairo.so.2",
121 LIBRARY.GDK: "@gtk3@/lib/libgdk-3.so.0",
122 LIBRARY.GDKPIXBUF: "@gdk_pixbuf@/lib/libgdk_pixbuf-2.0.so.0",
123 LIBRARY.GLIB: "@glib@/lib/libglib-2.0.so.0",
124 LIBRARY.GMODULE: "@glib@/lib/libgmodule-2.0.so.0",
125 LIBRARY.GOBJECT: "@glib@/lib/libgobject-2.0.so.0",
126 LIBRARY.GIO: "@glib@/lib/libgio-2.0.so.0",
127 LIBRARY.GTHREAD: "@glib@/lib/libgthread-2.0.so.0",
128 LIBRARY.GTK: "@gtk3@/lib/libgtk-3.so.0",
129 LIBRARY.PANGO: "@pango@/lib/libpango-1.0.so.0",
130 LIBRARY.PANGOCAIRO: "@pango@/lib/libpangocairo-1.0.so.0",
131 LIBRARY.GLGDK: "libgdkglext-3.0.so.0",
132 LIBRARY.GLGTK: "libgtkglext-3.0.so.0",
133 LIBRARY.GDA: "@libgda@/lib/libgda-4.0.so.4",
134 LIBRARY.GSV: "@gtksourceview4@/lib/libgtksourceview-4.so.0",
135 LIBRARY.GSV1: "@gtksourceview4@/lib/libgtksourceview-4.so.0",
136 LIBRARY.GSTREAMER: "@gstreamer@/lib/libgstreamer-1.0.so.0",
137 LIBRARY.GSTINTERFACES: "@gst_plugins_base@/lib/libgstvideo-1.0.so.0",
138 LIBRARY.VTE: "@vte@/lib/libvte-2.91.so.0",
139 LIBRARY.PEAS: "@libpeas@/lib/libpeas-1.0.so.0",
140 LIBRARY.RSVG: "@librsvg@/lib/librsvg-2.so.2",