Skip to content

Commit 4a237de

Browse files
committed
2 parents e91aac1 + 7cab44a commit 4a237de

85 files changed

Lines changed: 1739 additions & 1999 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

indra/cmake/Audio.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# -*- cmake -*-
22
include(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

3737
link_directories(
3838
${VORBIS_LIBRARY_DIRS}

indra/cmake/Copy3rdPartyLibs.cmake

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff 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

132132
elseif(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

indra/cmake/DBusGlib.cmake

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,11 @@
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

2310
if (DBUSGLIB_FOUND)
2411
set(DBUSGLIB ON CACHE BOOL "Build with dbus-glib message bus support.")

indra/cmake/LLAudio.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

1212
set(LLAUDIO_LIBRARIES llaudio ${OPENAL_LIBRARIES})

indra/cmake/UI.cmake

Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
# -*- cmake -*-
2-
include(Prebuilt)
32
include(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)
6934
endif (LINUX)

indra/llcommon/indra_constants.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ const U8 SIM_ACCESS_DOWN = 254;
244244
const U8 SIM_ACCESS_MAX = SIM_ACCESS_ADULT;
245245

246246
// attachment constants
247-
const U32 MAX_AGENT_ATTACHMENTS = 38;
248247
const U8 ATTACHMENT_ADD = 0x80;
249248

250249
// god levels

indra/llinventory/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ include_directories(
1717

1818
set(llinventory_SOURCE_FILES
1919
llcategory.cpp
20-
lleconomy.cpp
2120
llfoldertype.cpp
2221
llinventory.cpp
2322
llinventorydefines.cpp
@@ -40,7 +39,6 @@ set(llinventory_HEADER_FILES
4039
CMakeLists.txt
4140

4241
llcategory.h
43-
lleconomy.h
4442
llfoldertype.h
4543
llinventory.h
4644
llinventorydefines.h

0 commit comments

Comments
 (0)