Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Black Dragon Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Logue
Black Dragon Viewer
Commits
0c94c3bb
Commit
0c94c3bb
authored
9 years ago
by
Oz Linden
Browse files
Options
Downloads
Patches
Plain Diff
MAINT-5360: restore builds for the EDU package
parent
5a5c023e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
BuildParams
+3
-6
3 additions, 6 deletions
BuildParams
autobuild.xml
+4
-4
4 additions, 4 deletions
autobuild.xml
indra/media_plugins/cef/CMakeLists.txt
+8
-0
8 additions, 0 deletions
indra/media_plugins/cef/CMakeLists.txt
indra/newview/viewer_manifest.py
+31
-10
31 additions, 10 deletions
indra/newview/viewer_manifest.py
with
46 additions
and
20 deletions
BuildParams
+
3
−
6
View file @
0c94c3bb
...
...
@@ -70,15 +70,12 @@ additional_packages = ""
# the viewer_channel_suffix is prefixed by a blank and then appended to the viewer_channel
# for the package in a setting that overrides the compiled-in value
################################################################
## Removed 2015-07-02 (MAINT-5360) until we fix packaging step in Team City
## additional_packages = "EDU"
additional_packages = "EDU"
# The EDU package allows us to create a separate release channel whose expirations
# are synchronized as much as possible with the academic year
## Removed 2015-07-02 (MAINT-5360) until we fix packaging step in Team City
## EDU_sourceid = ""
## Removed 2015-07-02 (MAINT-5360) until we fix packaging step in Team City
## EDU_viewer_channel_suffix = "edu"
EDU_sourceid = ""
EDU_viewer_channel_suffix = "edu"
# Notifications - to configure email notices, add a setting like this:
# <username>_<reponame>.email = <email-address>
...
...
This diff is collapsed.
Click to expand it.
autobuild.xml
+
4
−
4
View file @
0c94c3bb
...
...
@@ -1536,11 +1536,11 @@
<key>
archive
</key>
<map>
<key>
hash
</key>
<string>
6b9eaaf83fcf8bfd4bb6966c24df7f29
</string>
<string>
29a1f64df46094eda0d681821a98d17e
</string>
<key>
hash_algorithm
</key>
<string>
md5
</string>
<key>
url
</key>
<string>
http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/3p-llceflib_3p-llceflib/rev/31
0043
/arch/Darwin/installer/llceflib-1.5.
1
.31
0043
-darwin-31
0043
.tar.bz2
</string>
<string>
http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/3p-llceflib_3p-llceflib/rev/31
1349
/arch/Darwin/installer/llceflib-1.5.
3
.31
1349
-darwin-31
1349
.tar.bz2
</string>
</map>
<key>
name
</key>
<string>
darwin
</string>
...
...
@@ -1550,11 +1550,11 @@
<key>
archive
</key>
<map>
<key>
hash
</key>
<string>
578f21be02efc98bbf426529f916fce8
</string>
<string>
827b7c339a2cd401d9d23f9ee02cb83f
</string>
<key>
hash_algorithm
</key>
<string>
md5
</string>
<key>
url
</key>
<string>
http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/3p-llceflib_3p-llceflib/rev/31
0043
/arch/CYGWIN/installer/llceflib-1.5.
1
.31
0043
-windows-31
0043
.tar.bz2
</string>
<string>
http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/3p-llceflib_3p-llceflib/rev/31
1349
/arch/CYGWIN/installer/llceflib-1.5.
3
.31
1349
-windows-31
1349
.tar.bz2
</string>
</map>
<key>
name
</key>
<string>
windows
</string>
...
...
This diff is collapsed.
Click to expand it.
indra/media_plugins/cef/CMakeLists.txt
+
8
−
0
View file @
0c94c3bb
...
...
@@ -114,4 +114,12 @@ if (DARWIN)
LINK_FLAGS
"-exported_symbols_list
${
CMAKE_CURRENT_SOURCE_DIR
}
/../base/media_plugin_base.exp"
)
add_custom_command
(
TARGET media_plugin_cef
POST_BUILD COMMAND
${
CMAKE_INSTALL_NAME_TOOL
}
-change
"@executable_path/Chromium Embedded Framework"
"@executable_path/../../../../Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework"
"$<TARGET_FILE:media_plugin_cef>"
VERBATIM
COMMENT
"Fixing path to CEF Framework"
)
endif
(
DARWIN
)
This diff is collapsed.
Click to expand it.
indra/newview/viewer_manifest.py
+
31
−
10
View file @
0c94c3bb
...
...
@@ -28,6 +28,7 @@
"""
import
sys
import
os.path
import
shutil
import
errno
import
re
import
tarfile
...
...
@@ -855,14 +856,17 @@ def path_optional(src, dst):
# This code constructs a relative path from the
# target framework folder back to the location of the symlink.
# It needs to be relative so that the symlink still works when
# (as is normal) the user moves the app bun
l
de out of the DMG
# (as is normal) the user moves the app bund
l
e out of the DMG
# and into the /Applications folder. Note we also call 'raise'
# to terminate the process if we get an error since without
# this symlink, Second Life web media can't possibly work.
# Real Framework folder:
# Second Life.app/Contents/Frameworks/Chromium Embedded Framework.framework/
# Location of symlink and why it'ds relav
i
e
# Location of symlink and why it'ds rela
ti
ve
# Second Life.app/Contents/Resources/SLPlugin.app/Contents/Frameworks/Chromium Embedded Framework.framework/
# Real Frameworks folder, with the symlink inside the bundled SLPlugin.app (and why it's relative)
# <top level>.app/Contents/Frameworks/Chromium Embedded Framework.framework/
# <top level>.app/Contents/Resources/SLPlugin.app/Contents/Frameworks/Chromium Embedded Framework.framework ->
frameworkpath
=
os
.
path
.
join
(
os
.
pardir
,
os
.
pardir
,
os
.
pardir
,
os
.
pardir
,
"
Frameworks
"
,
"
Chromium Embedded Framework.framework
"
)
try
:
symlinkf
(
frameworkpath
,
pluginframeworkpath
)
...
...
@@ -872,10 +876,6 @@ def path_optional(src, dst):
self
.
end_prefix
(
"
Contents
"
)
# fix up media_plugin.dylib so it knows where to look for CEF files it needs
self
.
run_command
(
'
install_name_tool -change
"
@executable_path/Chromium Embedded Framework
"
"
@executable_path/../Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework
"
"
%(config)s/Second Life.app/Contents/Resources/llplugin/media_plugin_cef.dylib
"'
%
{
'
config
'
:
self
.
args
[
'
configuration
'
]
})
# NOTE: the -S argument to strip causes it to keep enough info for
# annotated backtraces (i.e. function names in the crash log). 'strip' with no
# arguments yields a slightly smaller binary but makes crash logs mostly useless.
...
...
@@ -1247,12 +1247,33 @@ def symlinkf(src, dst):
# file, but that strategy doesn't work so well if we don't have
# permissions to remove it. Check to see if it's already the
# symlink we want, which is the usual reason for EEXIST.
if
not
(
os
.
path
.
islink
(
dst
)
and
os
.
readlink
(
dst
)
==
src
):
# Here either dst isn't a symlink or it's the wrong symlink.
# Remove and recreate. Caller will just have to deal with any
# exceptions at this stage.
elif
os
.
path
.
islink
(
dst
):
if
os
.
readlink
(
dst
)
==
src
:
# the requested link already exists
pass
else
:
# dst is the wrong symlink; attempt to remove and recreate it
os
.
remove
(
dst
)
os
.
symlink
(
src
,
dst
)
elif
os
.
path
.
isdir
(
dst
):
print
"
Requested symlink (%s) exists but is a directory; replacing
"
%
dst
shutil
.
rmtree
(
dst
)
os
.
symlink
(
src
,
dst
)
elif
os
.
path
.
exists
(
dst
):
print
"
Requested symlink (%s) exists but is a file; replacing
"
%
dst
os
.
remove
(
dst
)
os
.
symlink
(
src
,
dst
)
else
:
# see if the problem is that the parent directory does not exist
# and try to explain what is missing
(
parent
,
tail
)
=
os
.
path
.
split
(
dst
)
while
not
os
.
path
.
exists
(
parent
):
(
parent
,
tail
)
=
os
.
path
.
split
(
parent
)
if
tail
:
raise
Exception
(
"
Requested symlink (%s) cannot be created because %s does not exist
"
%
os
.
path
.
join
(
parent
,
tail
))
else
:
raise
if
__name__
==
"
__main__
"
:
main
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment