File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# -*- cmake -*-
22include (Prebuilt )
33
4- if (STANDALONE )
4+ if (LINUX )
55 include (FindPkgConfig )
66 pkg_check_modules (OGG REQUIRED ogg )
77 pkg_check_modules (VORBIS REQUIRED vorbis )
88 pkg_check_modules (VORBISENC REQUIRED vorbisenc )
99 pkg_check_modules (VORBISFILE REQUIRED vorbisfile )
10- else (STANDALONE )
10+ else (LINUX )
1111 use_prebuilt_binary (ogg_vorbis )
1212 set (VORBIS_INCLUDE_DIRS ${LIBS_PREBUILT_DIR} /include)
1313 set (VORBISENC_INCLUDE_DIRS ${VORBIS_INCLUDE_DIRS} )
@@ -32,7 +32,7 @@ else (STANDALONE)
3232 set (VORBISENC_LIBRARIES vorbisenc)
3333 set (VORBISFILE_LIBRARIES vorbisfile)
3434 endif (WINDOWS )
35- endif (STANDALONE )
35+ endif (LINUX )
3636
3737link_directories (
3838 ${VORBIS_LIBRARY_DIRS}
Original file line number Diff line number Diff line change @@ -124,10 +124,10 @@ elseif(DARWIN)
124124 libndofdev.dylib
125125 )
126126
127- if (FMODSTUDIO )
127+ if (USE_FMODSTUDIO )
128128 list (APPEND debug_files libfmodL.dylib)
129129 list (APPEND release_files libfmod.dylib)
130- endif (FMODSTUDIO )
130+ endif (USE_FMODSTUDIO )
131131
132132elseif (LINUX )
133133 # linux is weird, multiple side by side configurations aren't supported
@@ -157,12 +157,9 @@ elseif(LINUX)
157157 set (release_files
158158 libapr-1.so.0
159159 libaprutil-1.so.0
160- libatk-1.0.so
161160 libexpat.so
162161 libexpat.so.1
163162 libGLOD.so
164- libgmodule-2.0.so
165- libgobject-2.0.so
166163 libopenal.so
167164 )
168165
Original file line number Diff line number Diff line change 11# -*- cmake -*-
2- include (Prebuilt )
32
4- if (STANDALONE )
3+ if (LINUX )
54 include (FindPkgConfig )
65
76 pkg_check_modules (DBUSGLIB REQUIRED dbus-glib-1 )
87
9- elseif (LINUX )
10- use_prebuilt_binary (dbus-glib )
11- set (DBUSGLIB_FOUND ON FORCE BOOL )
12- set (DBUSGLIB_INCLUDE_DIRS
13- ${LIBS_PREBUILT_DIR} /include/dbus
14- )
15- # We don't need to explicitly link against dbus-glib itself, because
16- # the viewer probes for the system's copy at runtime.
17- set (DBUSGLIB_LIBRARIES
18- gobject-2.0
19- glib-2.0
20- )
21- endif (STANDALONE )
8+ endif (LINUX )
229
2310if (DBUSGLIB_FOUND)
2411 set (DBUSGLIB ON CACHE BOOL "Build with dbus-glib message bus support." )
Original file line number Diff line number Diff line change @@ -7,6 +7,6 @@ set(LLAUDIO_INCLUDE_DIRS
77 ${LIBS_OPEN_DIR} /llaudio
88 )
99
10- add_definitions (-DOV_EXCLUDE_STATIC_CALLBACKS )
10+ # add_definitions(-DOV_EXCLUDE_STATIC_CALLBACKS)
1111
1212set (LLAUDIO_LIBRARIES llaudio ${OPENAL_LIBRARIES} )
Original file line number Diff line number Diff line change 11# -*- cmake -*-
2- include (Prebuilt )
32include (FreeType )
43
5- if (STANDALONE )
4+ if (LINUX )
65 include (FindPkgConfig )
7-
8- if (LINUX )
6+
97 set (PKGCONFIG_PACKAGES
108 atk
119 cairo
@@ -21,8 +19,8 @@ if (STANDALONE)
2119 pangox
2220 pangoxft
2321 sdl
22+ x11
2423 )
25- endif (LINUX )
2624
2725 foreach (pkg ${PKGCONFIG_PACKAGES} )
2826 pkg_check_modules (${pkg} REQUIRED ${pkg} )
@@ -31,39 +29,6 @@ if (STANDALONE)
3129 list (APPEND UI_LIBRARIES ${${pkg} _LIBRARIES})
3230 add_definitions (${${pkg} _CFLAGS_OTHERS} )
3331 endforeach (pkg )
34- else (STANDALONE )
35- if (LINUX )
36- use_prebuilt_binary (gtk-atk-pango-glib )
37- set (UI_LIBRARIES
38- atk-1.0
39- cairo
40- gdk-x11-2.0
41- gdk_pixbuf-2.0
42- Xinerama
43- glib-2.0
44- gio-2.0
45- gmodule-2.0
46- gobject-2.0
47- gthread-2.0
48- gtk-x11-2.0
49- pango-1.0
50- pangoft2-1.0
51- pangoxft-1.0
52- pangocairo-1.0
53- pixman-1
54- X11
55- ${FREETYPE_LIBRARIES}
56- )
57- endif (LINUX )
5832
59- include_directories (
60- ${LIBS_PREBUILT_DIR} /include
61- )
62- foreach (include ${${LL_ARCH} _INCLUDES})
63- include_directories (${LIBS_PREBUILT_DIR} /include/${include} )
64- endforeach (include )
65- endif (STANDALONE )
66-
67- if (LINUX )
6833 add_definitions (-DLL_GTK=1 -DLL_X11=1 )
6934endif (LINUX )
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ include_directories(
1919set (llplugin_SOURCE_FILES
2020 llpluginclassbasic.cpp
2121 llpluginclassmedia.cpp
22- llplugincookiestore.cpp
22+ # llplugincookiestore.cpp
2323 llplugininstance.cpp
2424 llpluginmessage.cpp
2525 llpluginmessagepipe.cpp
@@ -34,7 +34,7 @@ set(llplugin_HEADER_FILES
3434 llpluginclassbasic.h
3535 llpluginclassmedia.h
3636 llpluginclassmediaowner.h
37- llplugincookiestore.h
37+ # llplugincookiestore.h
3838 llplugininstance.h
3939 llpluginmessage.h
4040 llpluginmessageclasses.h
Original file line number Diff line number Diff line change 3232#include " llbufferstream.h"
3333#include " llhttpclient.h"
3434#include " llimagepng.h"
35- #include " llplugincookiestore.h"
35+ // #include "llplugincookiestore.h"
3636
3737// newview
3838#include " llpanelprofile.h" // <edit>getProfileURL (this is the original location LL put it).</edit>
You can’t perform that action at this time.
0 commit comments