echo "Commands:"
echo " build [module] Build a specific module"
echo " full Build all modules in src/ directory"
- echo " ext Build external modules in externals/ directory"
echo " dummy Generate dummy assemblies of all modules"
echo " pack [version] Make a NuGet package with build artifacts"
echo " clean Clean all artifacts"
$RUN_BUILD /t:dummy $NUGET_SOURCE_OPT
}
-cmd_ext_build() {
- if [ -d /nuget ]; then
- NUGET_SOURCE_OPT="/p:RestoreSources=/nuget;$SCRIPT_DIR/packages;$SCRIPT_DIR/Artifacts"
- fi
- PROJECTS=$(ls -1 $SCRIPT_DIR/externals/*.proj)
- for p in $PROJECTS; do
- $DOTNET_CMD msbuild $p /t:Build $NUGET_SOURCE_OPT /nologo
- done
-}
-
cmd_pack() {
VERSION=$1
if [ -z "$VERSION" ]; then
build|--build|-b) cmd_build $@ ;;
full |--full |-f) cmd_full_build $@ ;;
dummy|--dummy|-d) cmd_dummy_build $@ ;;
- ext |--ext |-e) cmd_ext_build $@ ;;
pack |--pack |-p) cmd_pack $@ ;;
clean|--clean|-c) cmd_clean $@ ;;
*) usage ;;
+++ /dev/null
-Subproject commit 273c2d4f8d5e2f8bf6facd51c8afdf58329fa69b
+++ /dev/null
-<Project DefaultTargets="Build">
-
-<Import Project="$(MSBuildThisFileDirectory)..\build\directories.props" />
-
-<PropertyGroup>
- <Configuration>Release</Configuration>
-</PropertyGroup>
-
-<PropertyGroup>
- <OpenTKProjectDirectory>$(MSBuildThisFileDirectory)opentk\src\OpenTK\</OpenTKProjectDirectory>
- <BindProjectDirectory>$(MSBuildThisFileDirectory)opentk\src\Generator.Bind\</BindProjectDirectory>
- <RewriteProjectDirectory>$(MSBuildThisFileDirectory)opentk\src\Generator.Rewrite\</RewriteProjectDirectory>
-
- <OpenTKProject>$(OpenTKProjectDirectory)OpenTK.Tizen.csproj</OpenTKProject>
- <BindProject>$(BindProjectDirectory)Generator.Bind.NETCore.csproj</BindProject>
- <RewriteProject>$(RewriteProjectDirectory)Generator.Rewrite.NETCore.csproj</RewriteProject>
-
- <OpenTKOutputDirectory>$(OpenTKProjectDirectory)bin\$(Configuration)\</OpenTKOutputDirectory>
- <BindOutputDirectory>$(BindProjectDirectory)bin\$(Configuration)\</BindOutputDirectory>
- <RewriteOutputDirectory>$(RewriteProjectDirectory)bin\$(Configuration)\</RewriteOutputDirectory>
-</PropertyGroup>
-
-<PropertyGroup>
- <BindCmd>dotnet $(BindOutputDirectory)/netcoreapp2.0/Bind.dll</BindCmd>
-</PropertyGroup>
-
-<Target Name="CleanOpenTK">
- <ItemGroup>
- <DirToRemove Include="$(OpenTKOutputDirectory)" />
- <DirToRemove Include="$(BindOutputDirectory)" />
- <DirToRemove Include="$(RewriteOutputDirectory)" />
- </ItemGroup>
- <RemoveDir Directories="@(DirToRemove)" />
-</Target>
-
-<Target Name="BuildTools">
- <ItemGroup>
- <ProjectsToBuild Include="$(BindProject)" />
- <ProjectsToBuild Include="$(RewriteProject)" />
- </ItemGroup>
- <MSBuild Projects="@(ProjectsToBuild)" Targets="Restore"
- Properties="Configuration=$(Configuration);RestoreSources=$(RestoreSources)" />
- <MSBuild Projects="@(ProjectsToBuild)" Targets="Build" Properties="Configuration=$(Configuration)" />
-</Target>
-
-<Target Name="BuildOpenTK">
- <!-- Run Bind.exe -->
- <Exec Command="$(BindCmd)" WorkingDirectory="$(MSBuildThisFileDirectory)opentk" />
-
- <!-- Build OpenTK.dll -->
- <MSBuild Projects="$(OpenTKProject)" Targets="Restore"
- Properties="Configuration=$(Configuration);RestoreSources=$(RestoreSources)" />
- <MSBuild Projects="$(OpenTKProject)" Targets="Build" Properties="Configuration=$(Configuration)" />
-
- <!-- Copy outputs to Artifacts -->
- <ItemGroup>
- <OpenTKOutputFiles Include="$(OpenTKOutputDirectory)netstandard2.0/OpenTK.dll" />
- <OpenTKOutputFiles Include="$(OpenTKOutputDirectory)netstandard2.0/OpenTK.xml" />
- <OpenTKOutputFiles Include="$(OpenTKOutputDirectory)netstandard2.0/OpenTK.pdb" />
- </ItemGroup>
- <Copy SourceFiles="@(OpenTKOutputFiles)" DestinationFolder="$(OutputExternalDir)" />
-</Target>
-
-<Target Name="PackOpenTK">
- <MSBuild Projects="$(OpenTKProject)" Targets="Pack" Properties="Configuration=$(Configuration);NoBuild=True" />
- <ItemGroup>
- <OpenTKOutputPackFiles Include="$(OpenTKOutputDirectory)OpenTK.Tizen.*.nupkg" />
- </ItemGroup>
- <Copy SourceFiles="@(OpenTKOutputPackFiles)" DestinationFolder="$(OutputBaseDir)" />
-</Target>
-
-<Target Name="Build"
- DependsOnTargets="CleanOpenTK;BuildTools;BuildOpenTK;PackOpenTK"
- Condition="Exists('$(OpenTKProjectDirectory)')">
-</Target>
-
-</Project>
\ No newline at end of file
# Auto-generated from csapi-tizenfx.spec.in by makespec.sh
%define TIZEN_NET_API_VERSION 5
-%define TIZEN_NET_RPM_VERSION 5.0.0.999+nui503
+%define TIZEN_NET_RPM_VERSION 5.0.0.999+nui504
%define TIZEN_NET_NUGET_VERSION 5.0.0.99999
%define TIZEN_NET_INTERNAL_NUGET_VERSION 5.0.0.999
%setup -q
cp %{SOURCE1} .
-# prepare external modules
-for ext in $(ls -1 packaging/externals.*.tar.gz); do
- extname=$(basename -- $ext)
- extname=${extname#externals\.}
- extname=${extname%\.tar\.gz}
- mkdir -p externals/$extname
- tar xvfz $ext -C externals/$extname
-done
-
%build
%{?asan:export ASAN_OPTIONS=use_sigaltstack=false:allow_user_segv_handler=true:handle_sigfpe=false:`cat /ASAN_OPTIONS`}
./build.sh --full
./build.sh --dummy
./build.sh --pack %{TIZEN_NET_NUGET_VERSION} %{TIZEN_NET_INTERNAL_NUGET_VERSION}
-./build.sh --ext
%install
mkdir -p %{buildroot}%{DOTNET_ASSEMBLY_PATH}
# Install Runtime Assemblies
install -p -m 644 %{_tizenfx_bin_path}/bin/public/*.dll %{buildroot}%{DOTNET_ASSEMBLY_PATH}
install -p -m 644 %{_tizenfx_bin_path}/bin/internal/*.dll %{buildroot}%{DOTNET_ASSEMBLY_PATH}
-[ -d %{_tizenfx_bin_path}/bin/external ] \
- && install -p -m 644 %{_tizenfx_bin_path}/bin/external/*.dll %{buildroot}%{DOTNET_ASSEMBLY_PATH}
# Install Debug Symbols
install -p -m 644 %{_tizenfx_bin_path}/bin/public/*.pdb %{buildroot}%{DOTNET_ASSEMBLY_PATH}
%setup -q
cp %{SOURCE1} .
-# prepare external modules
-for ext in $(ls -1 packaging/externals.*.tar.gz); do
- extname=$(basename -- $ext)
- extname=${extname#externals\.}
- extname=${extname%\.tar\.gz}
- mkdir -p externals/$extname
- tar xvfz $ext -C externals/$extname
-done
-
%build
%{?asan:export ASAN_OPTIONS=use_sigaltstack=false:allow_user_segv_handler=true:handle_sigfpe=false:`cat /ASAN_OPTIONS`}
./build.sh --full
./build.sh --dummy
./build.sh --pack %{TIZEN_NET_NUGET_VERSION} %{TIZEN_NET_INTERNAL_NUGET_VERSION}
-./build.sh --ext
%install
mkdir -p %{buildroot}%{DOTNET_ASSEMBLY_PATH}
# Install Runtime Assemblies
install -p -m 644 %{_tizenfx_bin_path}/bin/public/*.dll %{buildroot}%{DOTNET_ASSEMBLY_PATH}
install -p -m 644 %{_tizenfx_bin_path}/bin/internal/*.dll %{buildroot}%{DOTNET_ASSEMBLY_PATH}
-[ -d %{_tizenfx_bin_path}/bin/external ] \
- && install -p -m 644 %{_tizenfx_bin_path}/bin/external/*.dll %{buildroot}%{DOTNET_ASSEMBLY_PATH}
# Install Debug Symbols
install -p -m 644 %{_tizenfx_bin_path}/bin/public/*.pdb %{buildroot}%{DOTNET_ASSEMBLY_PATH}
+++ /dev/null
-#!/bin/bash
-
-SCRIPT_FILE=$(readlink -f $0)
-export SCRIPT_DIR=$(dirname $SCRIPT_FILE)
-
-git submodule init
-git submodule update
-git submodule foreach 'git archive --format=tar.gz HEAD -o $SCRIPT_DIR/externals.$name.tar.gz'
ElmSharp.dll #common #mobile #mobile-emul #tv #ivi #wearable
ElmSharp.Wearable.dll #wearable
-OpenTK.dll #mobile #mobile-emul #tv #wearable
res/maps_marker_pin_48.png #mobile #mobile-emul #tv #wearable
res/maps_marker_pin_72.png #mobile #mobile-emul #tv #wearable
res/maps_marker_sticker_48.png #mobile #mobile-emul #tv #wearable