Skip to content

Commit 4fd9ca4

Browse files
committed
Update to mono-sil_3.4
* Change environ to /opt/mono-sil. * Needed to upgrade encConverters, Stephen McConnel helped make a new package fieldworks-enc-converters installed in /opt/mono-sil * Add dependency for mono-sil etc. and fieldworks-enc-converters * Deleted old linux encConverters files. * Increased timeout value on xWorksTests, FDOTests, and RootSiteTests Change-Id: I45faa2e3a850713df1d766ad06229e73fd47765e
1 parent 29ebd55 commit 4fd9ca4

Some content is hidden

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

58 files changed

+37
-188
lines changed

Build/Agent/dependencies.config

+6-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@
2020
2121

2222
[common]
23-
any=build-essential automake uuid-dev libenchant-dev xutils-dev libboost-dev libboost-test-dev graphicsmagick-libmagick-dev-compat libxklavier-dev libgraphite-dev libgtkmm-2.4-dev mono-gmcs mono-devel gtk-sharp2 git-gui unzip gawk tofrodos ttf-mscorefonts-installer fonts-sil-charis xvfb xserver-xephyr metacity ibus bison mono-devel libgif-dev libjpeg-dev libexif-dev libhunspell-dev libtool wget xulrunner-geckofx29 geckofx29
23+
any=build-essential automake uuid-dev libenchant-dev xutils-dev libboost-dev libboost-test-dev \
24+
graphicsmagick-libmagick-dev-compat libxklavier-dev libgraphite-dev libgtkmm-2.4-dev mono-gmcs \
25+
mono-sil mono-basic-sil libgdiplus-sil gtk-sharp2-sil git-gui unzip gawk tofrodos \
26+
ttf-mscorefonts-installer fonts-sil-charis xvfb xserver-xephyr metacity ibus bison \
27+
libgif-dev libjpeg-dev libexif-dev libhunspell-dev libtool wget xulrunner-geckofx29 \
28+
geckofx29 fieldworks-enc-converters
2429

2530
[precise]
2631
any=libtiff4-dev openjdk-6-jre

Build/FwBuildTasks.dll

10 KB
Binary file not shown.

Build/Linux.targets

+17-3
Original file line numberDiff line numberDiff line change
@@ -77,28 +77,41 @@
7777
<Exec Command="make externaltargets" WorkingDirectory="$(fwrt)" Condition="'$(action)'!='clean'"/>
7878
<Exec Command="make externaltargets-test" WorkingDirectory="$(fwrt)" Condition="'$(action)'=='test'"/>
7979
<!-- Always copy from Release -->
80+
<CreateProperty Value="" Condition="'$(arch)'!='x86_64'">
81+
<Output TaskParameter="Value" PropertyName="encConverters-ext"/>
82+
</CreateProperty>
83+
<CreateProperty Value="_64" Condition="'$(arch)'=='x86_64'">
84+
<Output TaskParameter="Value" PropertyName="encConverters-ext"/>
85+
</CreateProperty>
8086
<CreateItem Include="$(dir-fwoutputlibPlatform)/Release/*.*">
8187
<Output TaskParameter="Include" ItemName="LinuxReleaseLibs"/>
8288
</CreateItem>
8389
<Copy SourceFiles="@(LinuxReleaseLibs)"
8490
DestinationFolder="$(dir-outputBase)"
8591
SkipUnchangedFiles="true" OverwriteReadOnlyFiles="true"
8692
Condition="'$(action)'!='clean'"/>
87-
<CreateItem Include="$(dir-fwoutputlibPlatformBase)/*.*">
93+
<CreateItem Include="/opt/mono-sil/lib/encConverters/*.dll">
94+
<Output TaskParameter="Include" ItemName="LinuxDebugLibs"/>
95+
</CreateItem>
96+
<Copy SourceFiles="@(LinuxDebugLibs)"
97+
DestinationFolder="$(dir-outputBase)"
98+
SkipUnchangedFiles="true" OverwriteReadOnlyFiles="true"
99+
Condition="'$(action)'!='clean'"/>
100+
<CreateItem Include="/opt/mono-sil/lib/encConverters/*$(encConverters-ext).so">
88101
<Output TaskParameter="Include" ItemName="LinuxDebugLibs"/>
89102
</CreateItem>
90103
<Copy SourceFiles="@(LinuxDebugLibs)"
91104
DestinationFolder="$(dir-outputBase)"
92105
SkipUnchangedFiles="true" OverwriteReadOnlyFiles="true"
93106
Condition="'$(action)'!='clean'"/>
94-
<CreateItem Include="$(dir-fwoutputlibPlatform)/*.config">
107+
<CreateItem Include="/opt/mono-sil/lib/encConverters/*.config">
95108
<Output TaskParameter="Include" ItemName="LinuxLibConfigFiles"/>
96109
</CreateItem>
97110
<Copy SourceFiles="@(LinuxLibConfigFiles)"
98111
DestinationFolder="$(dir-outputBase)"
99112
SkipUnchangedFiles="true" OverwriteReadOnlyFiles="true"
100113
Condition="'$(action)'!='clean'"/>
101-
<CreateItem Include="$(dir-fwoutputlibPlatform)/ECPlugins/*.xml">
114+
<CreateItem Include="/opt/mono-sil/lib/encConverters/EC/Plugins/*.xml">
102115
<Output TaskParameter="Include" ItemName="LinuxLibECPlugins"/>
103116
</CreateItem>
104117
<MakeDir Directories="$(dir-outputBase)/EC/Plugins" Condition="'$(action)'!='clean'"/>
@@ -245,6 +258,7 @@
245258
<Graphite2Sources Include="$(fwrt)/Lib/src/graphite2/src/*.*" Condition="'$(OS)'=='Unix'"/>
246259
</ItemGroup>
247260
<Target Name="graphite2Linux" Inputs="@(Graphite2Sources)" Outputs="$(fwrt)/Lib/linux/$(config-capital)/libgraphite2.a" Condition="'$(OS)'=='Unix'">
261+
<MakeDir Directories="$(fwrt)/Lib/linux/$(config-capital)" />
248262
<Make ToolPath="/usr/bin"
249263
Makefile="$(fwrt)/Lib/src/graphite2/Makefile"
250264
Configuration="$(config-capital)" Target="$(make-target)"

Build/Src/FwBuildTasks/CollectTargets.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -465,9 +465,10 @@ int TimeoutForProject(string project)
465465
{
466466
case "xWorksTests": // ~244 sec (Mono 2/8/2013)
467467
case "FDOTests": // ~143 sec
468-
return 420000;
468+
return 540000;
469469
case "FwCoreDlgsTests": // ~122 sec
470470
case "TeDllTests": // ~122 sec (Mono 2/8/2013)
471+
return 420000;
471472
case "TeImportExportTests": // ~90 sec
472473
return 240000;
473474
case "DiffViewTests": // ~55 sec
@@ -482,8 +483,8 @@ int TimeoutForProject(string project)
482483
case "FwCoreDlgControlsTests": // ~34 sec (overnight build machine 4/1/2013)
483484
case "TeScrInitializerTests": // ~29 sec (overnight build machine 4/23/2013)
484485
case "LexTextControlsTests": // ~only 8 sec on dev windows, but took longer than 40 sec on mono build machine
485-
return 75000;
486486
case "RootSiteTests": // ~11 sec
487+
return 75000;
487488
case "TeDialogsTests": // ~11 sec
488489
case "TePrintLayoutTests": // ~12 sec
489490
case "FwPrintLayoutComponentsTests": // ~13 sec

Lib/linux/CcEC.dll.config

-6
This file was deleted.

Lib/linux/Debug/AIGuesserEC.dll

-116 KB
Binary file not shown.

Lib/linux/Debug/AIGuesserEC.dll.mdb

-31.4 KB
Binary file not shown.

Lib/linux/Debug/CcEC.dll

-19.5 KB
Binary file not shown.

Lib/linux/Debug/CcEC.dll.mdb

-2.99 KB
Binary file not shown.

Lib/linux/Debug/ECInterfaces.dll

-167 KB
Binary file not shown.

Lib/linux/Debug/ECInterfaces.dll.mdb

-51.8 KB
Binary file not shown.

Lib/linux/Debug/IcuEC.dll

-28 KB
Binary file not shown.

Lib/linux/Debug/IcuEC.dll.mdb

-7.28 KB
Binary file not shown.

Lib/linux/Debug/PerlExpressionEC.dll

-24.5 KB
Binary file not shown.
-3.44 KB
Binary file not shown.

Lib/linux/Debug/PyScriptEC.dll

-16 KB
Binary file not shown.

Lib/linux/Debug/PyScriptEC.dll.mdb

-2.28 KB
Binary file not shown.
-224 KB
Binary file not shown.
-57 KB
Binary file not shown.

Lib/linux/Debug/libIcuConvEC.so

-18.4 KB
Binary file not shown.

Lib/linux/Debug/libIcuConvEC_64.so

-20 KB
Binary file not shown.

Lib/linux/Debug/libIcuRegexEC.so

-18.3 KB
Binary file not shown.

Lib/linux/Debug/libIcuRegexEC_64.so

-19.9 KB
Binary file not shown.

Lib/linux/Debug/libIcuTranslitEC.so

-18.8 KB
Binary file not shown.
-20.4 KB
Binary file not shown.
-18.1 KB
Binary file not shown.
-23.4 KB
Binary file not shown.

Lib/linux/Debug/libecdriver.so

-51.6 KB
Binary file not shown.

Lib/linux/Debug/libecdriver_64.so

-62.7 KB
Binary file not shown.

Lib/linux/ECPlugins/AI 4.0.0.0 Plugin Details.xml

-15
This file was deleted.

Lib/linux/ECPlugins/CC 4.0.0.0 Plugin Details.xml

-10
This file was deleted.

Lib/linux/ECPlugins/EC 4.0.0.0 Plugin Details.xml

-38
This file was deleted.

Lib/linux/ECPlugins/IcuEC 4.0.0.0 Plugin Details.xml

-24
This file was deleted.

Lib/linux/ECPlugins/PerlEC 4.0.0.0 Plugin Details.xml

-12
This file was deleted.

Lib/linux/ECPlugins/PythonEC 4.0.0.0 Plugin Details.xml

-12
This file was deleted.

Lib/linux/IcuEC.dll.config

-15
This file was deleted.

Lib/linux/PerlExpressionEC.dll.config

-24
This file was deleted.

Lib/linux/PyScriptEC.dll.config

-7
This file was deleted.

Lib/linux/Release/AIGuesserEC.dll

-115 KB
Binary file not shown.

Lib/linux/Release/CcEC.dll

-19.5 KB
Binary file not shown.

Lib/linux/Release/ECInterfaces.dll

-167 KB
Binary file not shown.

Lib/linux/Release/IcuEC.dll

-28 KB
Binary file not shown.
-24.5 KB
Binary file not shown.

Lib/linux/Release/PyScriptEC.dll

-15.5 KB
Binary file not shown.
-224 KB
Binary file not shown.

Lib/linux/Release/libIcuConvEC.so

-13.1 KB
Binary file not shown.

Lib/linux/Release/libIcuConvEC_64.so

-18.5 KB
Binary file not shown.

Lib/linux/Release/libIcuRegexEC.so

-12.9 KB
Binary file not shown.

Lib/linux/Release/libIcuRegexEC_64.so

-18.2 KB
Binary file not shown.

Lib/linux/Release/libIcuTranslitEC.so

-17.4 KB
Binary file not shown.
-18.8 KB
Binary file not shown.
-17.1 KB
Binary file not shown.
-18.2 KB
Binary file not shown.

Lib/linux/Release/libecdriver.so

-51.6 KB
Binary file not shown.

Lib/linux/Release/libecdriver_64.so

-62.7 KB
Binary file not shown.

Lib/linux/SilEncConverters40.dll.config

-11
This file was deleted.

environ

+8-6
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ BASE=$(pwd)
88
COM=$(dirname "${BASE}")/libcom/COM
99
ARCH=$(uname -m)
1010
[ -z "$BUILD" ] && BUILD=Debug
11-
[ -z "$MONO_PREFIX" ] && MONO_PREFIX=/usr/local
12-
[ -z "$MONO_SILPKGDIR" ] && MONO_SILPKGDIR=/usr/lib/fieldworks
11+
[ -z "$MONO_PREFIX" ] && MONO_PREFIX=/opt/mono-sil
12+
[ -z "$MONO_SILPKGDIR" ] && MONO_SILPKGDIR=/opt/mono-sil
1313

1414
# Dependency locations
1515
# search for xulrunner and geckofx, select the best, and add its location to LD_LIBRARY_PATH
@@ -32,10 +32,10 @@ ${LD_LIBRARY_PATH}"
3232
[ -z "$PKG_CONFIG_PATH" ] && PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig
3333

3434
# Add packaged mono items to paths
35-
PATH="${MONO_SILPKGDIR}/mono/bin:${PATH}"
36-
LD_LIBRARY_PATH="${MONO_SILPKGDIR}/mono/lib:${LD_LIBRARY_PATH}"
37-
PKG_CONFIG_PATH="${MONO_SILPKGDIR}/mono/lib/pkgconfig:${PKG_CONFIG_PATH}"
38-
MONO_GAC_PREFIX="${MONO_SILPKGDIR}/mono:/usr:${MONO_PREFIX}"
35+
PATH="${MONO_SILPKGDIR}/bin:${PATH}"
36+
LD_LIBRARY_PATH="${MONO_SILPKGDIR}/lib:${LD_LIBRARY_PATH}"
37+
PKG_CONFIG_PATH="${MONO_SILPKGDIR}/lib/pkgconfig:${PKG_CONFIG_PATH}"
38+
MONO_GAC_PREFIX="${MONO_SILPKGDIR}:/usr:${MONO_PREFIX}"
3939

4040
if [ "$RUNMODE" != "PACKAGE" ]
4141
then
@@ -69,6 +69,8 @@ if [ "$RUNMODE" != "PACKAGE" -a "$RUNMODE" != "INSTALLED" ]
6969
then
7070
FW_CommonAppData=${BASE}/Output_${ARCH}/VarLibFieldworks
7171
[ ! -d $FW_CommonAppData ] && mkdir -p $FW_CommonAppData
72+
[ -d /var/lib/encConverters ] && cp -r /var/lib/encConverters/SIL $FW_CommonAppData \
73+
&& cp -r /var/lib/encConverters/registry $FW_CommonAppData
7274
fi
7375

7476
MONO_PATH="${BASE}/DistFiles:${BASE}/Output_${ARCH}/${BUILD}:${GDK_SHARP}:${GECKOFX}"

environ-other

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
#
55
# Source this file in a shell and then run make
66

7-
export PATH=/usr/lib/fieldworks/mono/bin:$PATH
8-
export LD_LIBRARY_PATH=/usr/lib/fieldworks/mono/lib:$LD_LIBRARY_PATH
7+
export PATH=/opt/mono-sil/bin:$PATH
8+
export LD_LIBRARY_PATH=/opt/mono-sil/lib:$LD_LIBRARY_PATH
9+
export PKG_CONFIG_PATH=/opt/mono-sil/lib/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:$PKG_CONFIG_PATH

0 commit comments

Comments
 (0)