diff options
author | Armin Weatherwax | 2010-02-27 17:41:47 +0100 |
---|---|---|
committer | Jacek Antonelli | 2010-02-27 13:24:32 -0600 |
commit | 30945b74c3cb64bb11fdb09116c8c8e6e15c94e7 (patch) | |
tree | fb12e3ff2f5209372ea137ea9d1a26547fc32408 | |
parent | Updated llprimitive/llprimitive.cpp to SL 1.23. (diff) | |
download | meta-impy-30945b74c3cb64bb11fdb09116c8c8e6e15c94e7.zip meta-impy-30945b74c3cb64bb11fdb09116c8c8e6e15c94e7.tar.gz meta-impy-30945b74c3cb64bb11fdb09116c8c8e6e15c94e7.tar.bz2 meta-impy-30945b74c3cb64bb11fdb09116c8c8e6e15c94e7.tar.xz |
Some changes to help linux64.
* Don't build with libELFIO (lib not working).
* Use shared libpng12 instead of static library
(fixes mozlib incompat for users with system libpng14).
-rw-r--r-- | ChangeLog.txt | 13 | ||||
-rw-r--r-- | linden/indra/cmake/00-Common.cmake | 31 | ||||
-rw-r--r-- | linden/indra/cmake/ELFIO.cmake | 12 | ||||
-rwxr-xr-x | linden/indra/newview/viewer_manifest.py | 3 | ||||
-rwxr-xr-x[-rw-r--r--] | linden/install.xml | 8 |
5 files changed, 49 insertions, 18 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 46065ce..de0266f 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -1,3 +1,16 @@ | |||
1 | 2010-02-27 Armin Weatherwax <Armin.Weatherwax@gmail.com> | ||
2 | |||
3 | * Some changes to help linux64. | ||
4 | Don't build with libELFIO (lib not working). | ||
5 | Use shared libpng12 instead of static library | ||
6 | (fixes mozlib incompat for users with system libpng14). | ||
7 | |||
8 | modified: linden/indra/cmake/00-Common.cmake | ||
9 | modified: linden/indra/cmake/ELFIO.cmake | ||
10 | modified: linden/indra/newview/viewer_manifest.py | ||
11 | modified: linden/install.xml | ||
12 | |||
13 | |||
1 | 2010-02-26 Jacek Antonelli <jacek.antonelli@gmail.com> | 14 | 2010-02-26 Jacek Antonelli <jacek.antonelli@gmail.com> |
2 | 15 | ||
3 | * Disabled spammy messages about WebFetchInventoryDescendents. | 16 | * Disabled spammy messages about WebFetchInventoryDescendents. |
diff --git a/linden/indra/cmake/00-Common.cmake b/linden/indra/cmake/00-Common.cmake index 355ce45..fdfd587 100644 --- a/linden/indra/cmake/00-Common.cmake +++ b/linden/indra/cmake/00-Common.cmake | |||
@@ -212,15 +212,28 @@ if (STANDALONE) | |||
212 | add_definitions(-march=pentiumpro) | 212 | add_definitions(-march=pentiumpro) |
213 | endif (LINUX AND ${ARCH} STREQUAL "i686") | 213 | endif (LINUX AND ${ARCH} STREQUAL "i686") |
214 | 214 | ||
215 | else (STANDALONE) | 215 | else (STANDALONE) |
216 | set(${ARCH}_linux_INCLUDES | 216 | if (${ARCH} STREQUAL "i686") |
217 | ELFIO | 217 | set(${ARCH}_linux_INCLUDES |
218 | atk-1.0 | 218 | ELFIO |
219 | glib-2.0 | 219 | atk-1.0 |
220 | gstreamer-0.10 | 220 | glib-2.0 |
221 | gtk-2.0 | 221 | gstreamer-0.10 |
222 | pango-1.0 | 222 | gtk-2.0 |
223 | ) | 223 | pango-1.0 |
224 | ) | ||
225 | else(${ARCH} STREQUAL "i686") | ||
226 | if (${ARCH} STREQUAL "x86_64") | ||
227 | set(${ARCH}_linux_INCLUDES | ||
228 | atk-1.0 | ||
229 | glib-2.0 | ||
230 | gstreamer-0.10 | ||
231 | gtk-2.0 | ||
232 | pango-1.0 | ||
233 | ) | ||
234 | endif (${ARCH} STREQUAL "x86_64") | ||
235 | endif (${ARCH} STREQUAL "i686") | ||
236 | |||
224 | endif (STANDALONE) | 237 | endif (STANDALONE) |
225 | 238 | ||
226 | if(SERVER) | 239 | if(SERVER) |
diff --git a/linden/indra/cmake/ELFIO.cmake b/linden/indra/cmake/ELFIO.cmake index e51993b..4f19ecd 100644 --- a/linden/indra/cmake/ELFIO.cmake +++ b/linden/indra/cmake/ELFIO.cmake | |||
@@ -6,10 +6,14 @@ set(ELFIO_FIND_QUIETLY ON) | |||
6 | if (STANDALONE) | 6 | if (STANDALONE) |
7 | include(FindELFIO) | 7 | include(FindELFIO) |
8 | elseif (LINUX) | 8 | elseif (LINUX) |
9 | use_prebuilt_binary(elfio) | 9 | if (${ARCH} STREQUAL "x86_64") |
10 | set(ELFIO_LIBRARIES ELFIO) | 10 | set(ELFIO_FOUND "NO") |
11 | set(ELFIO_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include) | 11 | else (${ARCH} STREQUAL "x86_64") |
12 | set(ELFIO_FOUND "YES") | 12 | use_prebuilt_binary(elfio) |
13 | set(ELFIO_LIBRARIES ELFIO) | ||
14 | set(ELFIO_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include) | ||
15 | set(ELFIO_FOUND "YES") | ||
16 | endif (${ARCH} STREQUAL "x86_64") | ||
13 | endif (STANDALONE) | 17 | endif (STANDALONE) |
14 | 18 | ||
15 | if (ELFIO_FOUND) | 19 | if (ELFIO_FOUND) |
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py index b32d31c..84ecc74 100755 --- a/linden/indra/newview/viewer_manifest.py +++ b/linden/indra/newview/viewer_manifest.py | |||
@@ -1008,8 +1008,9 @@ class Linux_x86_64Manifest(LinuxManifest): | |||
1008 | self.path("libssl.so.0.9.8") | 1008 | self.path("libssl.so.0.9.8") |
1009 | self.path("libuuid.so", "libuuid.so.1") | 1009 | self.path("libuuid.so", "libuuid.so.1") |
1010 | self.path("libSDL-1.2.so.0") | 1010 | self.path("libSDL-1.2.so.0") |
1011 | self.path("libELFIO.so") | 1011 | # self.path("libELFIO.so") |
1012 | self.path("libjpeg.so.7") | 1012 | self.path("libjpeg.so.7") |
1013 | self.path("libpng12.so.0") | ||
1013 | self.path("libopenjpeg.so.2") | 1014 | self.path("libopenjpeg.so.2") |
1014 | self.path("libxml2.so.2") | 1015 | self.path("libxml2.so.2") |
1015 | self.path("libz.so.1") | 1016 | self.path("libz.so.1") |
diff --git a/linden/install.xml b/linden/install.xml index 50cc8a7..c5b8954 100644..100755 --- a/linden/install.xml +++ b/linden/install.xml | |||
@@ -30,9 +30,9 @@ | |||
30 | <key>linux64</key> | 30 | <key>linux64</key> |
31 | <map> | 31 | <map> |
32 | <key>md5sum</key> | 32 | <key>md5sum</key> |
33 | <string>9c3dff3817f1105f9054401fdef1fe50</string> | 33 | <string>fb08eb25cb5a58765e2a33e70e62336d</string> |
34 | <key>url</key> | 34 | <key>url</key> |
35 | <uri>http://s3.amazonaws.com/viewer-source-downloads/install_pkgs/GL-linux64-20080909.tar.bz2</uri> | 35 | <uri>http://imprudenceviewer.org/download/libs/GL-linux64-20100203.tar.bz2</uri> |
36 | </map> | 36 | </map> |
37 | <key>windows</key> | 37 | <key>windows</key> |
38 | <map> | 38 | <map> |
@@ -910,9 +910,9 @@ Portions copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura | |||
910 | <key>linux64</key> | 910 | <key>linux64</key> |
911 | <map> | 911 | <map> |
912 | <key>md5sum</key> | 912 | <key>md5sum</key> |
913 | <string>5ee1e62bde38520c7f134c4afb9ac9b1</string> | 913 | <string>4485dc95183c9441042cabebfa72fbea</string> |
914 | <key>url</key> | 914 | <key>url</key> |
915 | <uri>http://s3.amazonaws.com/viewer-source-downloads/install_pkgs/libpng-1.2.35-linux64-20090304.tar.bz2</uri> | 915 | <uri>http://imprudenceviewer.org/download/libs/libpng-1.2.41-linux64-20100227.tar.bz2</uri> |
916 | </map> | 916 | </map> |
917 | <key>windows</key> | 917 | <key>windows</key> |
918 | <map> | 918 | <map> |