aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorAleric Inglewood2010-10-08 22:43:56 +0200
committerJacek Antonelli2011-01-17 00:21:35 -0600
commit4f81ce3e43058ba71ff48e5f692cf0e48587b273 (patch)
tree867bcf685f1c17046f2dfe081618524eb459d45c /linden
parentBetter format for channel/version string. (diff)
downloadmeta-impy-4f81ce3e43058ba71ff48e5f692cf0e48587b273.zip
meta-impy-4f81ce3e43058ba71ff48e5f692cf0e48587b273.tar.gz
meta-impy-4f81ce3e43058ba71ff48e5f692cf0e48587b273.tar.bz2
meta-impy-4f81ce3e43058ba71ff48e5f692cf0e48587b273.tar.xz
IMP-429: Link against prebuilt libraries / always use gtk-related system libs (linux)
(cherry picked from commit a3cffd06a0e7aa92e1b6c28e7bad655b7085296c)
Diffstat (limited to 'linden')
-rw-r--r--linden/doc/contributions.txt22
-rw-r--r--linden/indra/cmake/GStreamer.cmake2
-rw-r--r--linden/indra/cmake/UI.cmake2
-rwxr-xr-xlinden/indra/newview/viewer_manifest.py30
-rwxr-xr-xlinden/install.xml4
-rwxr-xr-xlinden/scripts/install.py24
6 files changed, 65 insertions, 19 deletions
diff --git a/linden/doc/contributions.txt b/linden/doc/contributions.txt
index a1e46fd..57745e2 100644
--- a/linden/doc/contributions.txt
+++ b/linden/doc/contributions.txt
@@ -46,6 +46,25 @@ Aleric Inglewood
46 VWR-10759 46 VWR-10759
47 VWR-10837 47 VWR-10837
48 IMP-581 48 IMP-581
49 SNOW-800
50 RED-429
51 RED-552
52 RED-553
53 RED-554
54 RED-556
55 RED-560
56 RED-561
57 RED-562
58 RED-565
59 RED-566
60 RED-567
61 RED-573
62 RED-575
63 RED-576
64 RED-577
65 RED-578
66 RED-579
67 RED-581
49Alissa Sabre 68Alissa Sabre
50 VWR-81 69 VWR-81
51 VWR-83 70 VWR-83
@@ -87,11 +106,8 @@ Alissa Sabre
87 VWR-7087 106 VWR-7087
88 VWR-7153 107 VWR-7153
89 VWR-7168 108 VWR-7168
90<<<<<<< HEAD
91=======
92 VWR-7087 109 VWR-7087
93 VWR-7086 110 VWR-7086
94>>>>>>> origin/next
95 VWR-9190 111 VWR-9190
96 VWR-10728 112 VWR-10728
97 VWR-12620 113 VWR-12620
diff --git a/linden/indra/cmake/GStreamer.cmake b/linden/indra/cmake/GStreamer.cmake
index f5f9c03..19349ca 100644
--- a/linden/indra/cmake/GStreamer.cmake
+++ b/linden/indra/cmake/GStreamer.cmake
@@ -80,6 +80,7 @@ else (WINDOWS)
80 gmodule-2.0 80 gmodule-2.0
81 gthread-2.0 81 gthread-2.0
82 glib-2.0 82 glib-2.0
83 gio-2.0
83 xml2.2 84 xml2.2
84 ) 85 )
85 86
@@ -99,6 +100,7 @@ else (WINDOWS)
99 gthread-2.0 100 gthread-2.0
100 rt 101 rt
101 glib-2.0 102 glib-2.0
103 gio-2.0
102 ) 104 )
103 105
104 endif (DARWIN) 106 endif (DARWIN)
diff --git a/linden/indra/cmake/UI.cmake b/linden/indra/cmake/UI.cmake
index b70a531..9d068c4 100644
--- a/linden/indra/cmake/UI.cmake
+++ b/linden/indra/cmake/UI.cmake
@@ -39,6 +39,7 @@ else (STANDALONE)
39 gdk-x11-2.0 39 gdk-x11-2.0
40 gdk_pixbuf-2.0 40 gdk_pixbuf-2.0
41 glib-2.0 41 glib-2.0
42 gio-2.0
42 gmodule-2.0 43 gmodule-2.0
43 gobject-2.0 44 gobject-2.0
44 gthread-2.0 45 gthread-2.0
@@ -48,6 +49,7 @@ else (STANDALONE)
48 pangox-1.0 49 pangox-1.0
49 pangoxft-1.0 50 pangoxft-1.0
50 pixman-1 51 pixman-1
52 pangocairo-1.0
51 ) 53 )
52 endif (LINUX) 54 endif (LINUX)
53 55
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py
index b16226a..c5a4e98 100755
--- a/linden/indra/newview/viewer_manifest.py
+++ b/linden/indra/newview/viewer_manifest.py
@@ -931,18 +931,19 @@ class Linux_i686Manifest(LinuxManifest):
931 self.path("libalut.so.0") 931 self.path("libalut.so.0")
932 932
933 # GTK+ and dependencies 933 # GTK+ and dependencies
934 self.path("libatk-1.0.so.0") 934 ## Lets just use the system libraries for all of these:
935 self.path("libcairo.so.2") 935 ##self.path("libatk-1.0.so.0")
936 self.path("libfontconfig.so.1") 936 ##self.path("libcairo.so.2")
937 self.path("libfreetype.so.6") 937 ##self.path("libfontconfig.so.1")
938 ##self.path("libfreetype.so.6")
938 # self.path("libgdk_pixbuf-2.0.so.0") # see linux64 why 939 # self.path("libgdk_pixbuf-2.0.so.0") # see linux64 why
939 self.path("libgdk-x11-2.0.so.0") 940 ##self.path("libgdk-x11-2.0.so.0")
940 self.path("libgtk-x11-2.0.so.0") 941 ##self.path("libgtk-x11-2.0.so.0")
941 # self.path("libpango-1.0.so.0") # dto. 942 # self.path("libpango-1.0.so.0") # dto.
942 # self.path("libpangoft2-1.0.so.0") 943 # self.path("libpangoft2-1.0.so.0")
943 # self.path("libpangox-1.0.so.0") 944 # self.path("libpangox-1.0.so.0")
944 # self.path("libpangoxft-1.0.so.0") 945 # self.path("libpangoxft-1.0.so.0")
945 self.path("libpixman-1.so.0") 946 ##self.path("libpixman-1.so.0")
946 947
947 # Gstreamer libs 948 # Gstreamer libs
948 self.path("libgstbase-0.10.so.0") 949 self.path("libgstbase-0.10.so.0")
@@ -1058,18 +1059,19 @@ class Linux_x86_64Manifest(LinuxManifest):
1058 self.path("libalut.so.0") 1059 self.path("libalut.so.0")
1059 1060
1060 # GTK+ and dependencies 1061 # GTK+ and dependencies
1061 self.path("libatk-1.0.so.0") 1062 ## Lets just use the system libraries for all of these:
1062 self.path("libcairo.so.2") 1063 ##self.path("libatk-1.0.so.0")
1063 self.path("libfontconfig.so.1") 1064 ##self.path("libcairo.so.2")
1064 self.path("libfreetype.so.6") 1065 ##self.path("libfontconfig.so.1")
1066 ##self.path("libfreetype.so.6")
1065# self.path("libgdk_pixbuf-2.0.so.0") # use systems gdk pixbufs instead 1067# self.path("libgdk_pixbuf-2.0.so.0") # use systems gdk pixbufs instead
1066 self.path("libgdk-x11-2.0.so.0") 1068 ##self.path("libgdk-x11-2.0.so.0")
1067 self.path("libgtk-x11-2.0.so.0") 1069 ##self.path("libgtk-x11-2.0.so.0")
1068# self.path("libpango-1.0.so.0") # use systems pango instead 1070# self.path("libpango-1.0.so.0") # use systems pango instead
1069# self.path("libpangoft2-1.0.so.0") # Both gdk pixbufs and pango would load systems modules 1071# self.path("libpangoft2-1.0.so.0") # Both gdk pixbufs and pango would load systems modules
1070# self.path("libpangox-1.0.so.0") # and crash if not compatible or present. 1072# self.path("libpangox-1.0.so.0") # and crash if not compatible or present.
1071# self.path("libpangoxft-1.0.so.0") # So we depend system gdk pixbufs and pango anyway. 1073# self.path("libpangoxft-1.0.so.0") # So we depend system gdk pixbufs and pango anyway.
1072 self.path("libpixman-1.so.0") 1074 ##self.path("libpixman-1.so.0")
1073 1075
1074 # Gstreamer libs 1076 # Gstreamer libs
1075 self.path("libgstbase-0.10.so.0") 1077 self.path("libgstbase-0.10.so.0")
diff --git a/linden/install.xml b/linden/install.xml
index e5f42b6..332a49b 100755
--- a/linden/install.xml
+++ b/linden/install.xml
@@ -334,9 +334,9 @@
334 <key>linux64</key> 334 <key>linux64</key>
335 <map> 335 <map>
336 <key>md5sum</key> 336 <key>md5sum</key>
337 <string>9738472b94191fae2b0fe3fce8df17b0</string> 337 <string>09be41e3145e1a960e50f2f9ce0a5e7d</string>
338 <key>url</key> 338 <key>url</key>
339 <uri>http://imprudenceviewer.org/download/libs/dbusglib-linux64-20091129.tar.bz2</uri> 339 <uri>http://imprudenceviewer.org/download/libs/dbusglib-linux64-20101007.tar.bz2</uri>
340 </map> 340 </map>
341 </map> 341 </map>
342 </map> 342 </map>
diff --git a/linden/scripts/install.py b/linden/scripts/install.py
index 1db9bb3..931968a 100755
--- a/linden/scripts/install.py
+++ b/linden/scripts/install.py
@@ -35,6 +35,7 @@ $/LicenseInfo$
35 35
36import sys 36import sys
37import os.path 37import os.path
38import re
38 39
39# Look for indra/lib/python in all possible parent directories ... 40# Look for indra/lib/python in all possible parent directories ...
40# This is an improvement over the setup-path.py method used previously: 41# This is an improvement over the setup-path.py method used previously:
@@ -563,6 +564,29 @@ windows/i686/vs/2003 -- specify a windows visual studio 2003 package"""
563 tar.extractall(path=install_dir) 564 tar.extractall(path=install_dir)
564 except AttributeError: 565 except AttributeError:
565 _extractall(tar, path=install_dir) 566 _extractall(tar, path=install_dir)
567 if _get_platform() == 'linux' or _get_platform() == 'linux64':
568 first = 1
569 for tfile in tar.getnames():
570 if tfile.find('.so.') > 0:
571 LINK = re.sub(r'\.so\.[0-9.]*$', '.so', tfile)
572 link_name = "../" + LINK
573 if not os.path.exists(link_name):
574 if first == 1:
575 first = 0
576 print "Adding missing symlink(s) for package %s:" % ifile.filename
577 target = os.path.basename(tfile)
578 soname = os.popen("readelf -d \"../%(tfile)s\" "
579 " | grep SONAME "
580 " | sed -e 's/.*\[//;s/\].*//'" % {"tfile": tfile}).read()
581 soname = soname.strip()
582 if soname: # not empty
583 tmpfname = os.path.dirname(LINK) + "/" + soname
584 if os.path.exists("../" + tmpfname):
585 target = soname
586 else:
587 print "WARNING: SONAME %s doesn't exist!" % tmpfname
588 os.symlink(target, link_name)
589 print " %s --> %s" % (LINK, target)
566 if ifile.pkgname in self._installed: 590 if ifile.pkgname in self._installed:
567 self._installed[ifile.pkgname].add_files( 591 self._installed[ifile.pkgname].add_files(
568 ifile.url, 592 ifile.url,