Remove Tizen.UI dependency
authorWonYoung Choi <wy80.choi@samsung.com>
Tue, 16 Aug 2016 05:42:28 +0000 (14:42 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Tue, 16 Aug 2016 06:11:04 +0000 (15:11 +0900)
This change uses Tizen.Common.Color of Tizen.dll instead of Tizen.UI.Color.

Change-Id: Ia005272f5f6811607dd53ab8da3f69d19bfe15d2

Tizen.System/Device/Led.cs [changed mode: 0755->0644]
Tizen.System/Tizen.System.csproj [changed mode: 0755->0644]
packaging/csapi-system.spec

old mode 100755 (executable)
new mode 100644 (file)
index b20196d..c948b83
@@ -1,5 +1,7 @@
 using System;
-using Tizen.UI;
+
+using Tizen.Common;
+
 namespace Tizen.System
 {
     /// <summary>
old mode 100755 (executable)
new mode 100644 (file)
index 7baae3d..80605dd
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProjectGuid>{A5C7AB61-87F1-4707-BBF4-322D682E223E}</ProjectGuid>
-    <OutputType>Library</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>Tizen.System</RootNamespace>
-    <AssemblyName>Tizen.System</AssemblyName>
-    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
-    <FileAlignment>512</FileAlignment>
-    <TargetFrameworkProfile />
-    <ProductVersion>8.0.30703</ProductVersion>
-    <SchemaVersion>2.0</SchemaVersion>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
-    <OutputPath>bin\Debug\</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DebugType>pdbonly</DebugType>
-    <Optimize>true</Optimize>
-    <OutputPath>bin\Release\</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <PropertyGroup>
-    <SignAssembly>true</SignAssembly>
-  </PropertyGroup>
-  <PropertyGroup>
-    <AssemblyOriginatorKeyFile>Tizen.System.snk</AssemblyOriginatorKeyFile>
-  </PropertyGroup>
-  <Import Project="CoreFx.References.targets" />
-  <ItemGroup Condition=" '$(CoreFxPath)' == '' ">
-    <Reference Include="System" />
-    <Reference Include="System.Core" />
-    <Reference Include="System.Xml.Linq" />
-    <Reference Include="System.Data.DataSetExtensions" />
-    <Reference Include="Microsoft.CSharp" />
-    <Reference Include="System.Data" />
-    <Reference Include="System.Net.Http" />
-    <Reference Include="System.Xml" />
-  </ItemGroup>
-  <ItemGroup>
-    <Reference Include="Tizen.Internals">
-      <HintPath>..\..\tizen\Tizen.Internals\bin\Debug\Tizen.Internals.dll</HintPath>
-    </Reference>
-    <Reference Include="Tizen">
-      <HintPath>..\..\tizen\Tizen\bin\Debug\Tizen.dll</HintPath>
-    </Reference>
-    <Reference Include="Tizen.UI">
-      <HintPath>..\..\uifw\Tizen.UI\bin\Debug\Tizen.UI.dll</HintPath>
-    </Reference>
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="Device\Battery.cs" />
-    <Compile Include="Device\DeviceExceptionFactory.cs" />
-    <Compile Include="Device\Display.cs" />
-    <Compile Include="Device\Haptic.cs" />
-    <Compile Include="Device\Led.cs" />
-    <Compile Include="Device\Power.cs" />
-    <Compile Include="Device\IR.cs" />
-    <Compile Include="Device\DeviceEventArgs.cs" />
-    <Compile Include="Interop\Interop.Device.cs" />
-    <Compile Include="Interop\Interop.RuntimeInfo.cs" />
-    <Compile Include="Interop\Interop.Libraries.cs" />
-    <Compile Include="Interop\Interop.Storage.cs" />
-    <Compile Include="Interop\Interop.SystemInfo.cs" />
-    <Compile Include="Interop\Interop.SystemSettings.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
-    <Compile Include="RuntimeInfo\CpuUsage.cs" />
-    <Compile Include="RuntimeInfo\Enumerations.cs" />
-    <Compile Include="RuntimeInfo\RuntimeInfoErrorFactory.cs" />
-    <Compile Include="RuntimeInfo\RuntimeInformation.cs" />
-    <Compile Include="RuntimeInfo\RuntimeKeyStatusChangedEventArgs.cs" />
-    <Compile Include="RuntimeInfo\MemoryInformation.cs" />
-    <Compile Include="Storage\DirectoryType.cs" />
-    <Compile Include="Storage\Storage.cs" />
-    <Compile Include="Storage\StorageArea.cs" />
-    <Compile Include="Storage\StorageManager.cs" />
-    <Compile Include="Storage\StorageState.cs" />
-    <Compile Include="SystemInfo\SystemInfo.cs" />
-    <Compile Include="SystemSettings\SystemSettings.cs" />
-    <Compile Include="SystemSettings\SystemSettingsEnums.cs" />
-    <Compile Include="SystemSettings\SystemSettingsEventArgs.cs" />
-    <Compile Include="SystemSettings\SystemSettingsExceptionFactory.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <None Include="Tizen.System.snk" />
-  </ItemGroup>
-  <ItemGroup />
-  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />\r
+  <PropertyGroup>\r
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>\r
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>\r
+    <ProjectGuid>{A5C7AB61-87F1-4707-BBF4-322D682E223E}</ProjectGuid>\r
+    <OutputType>Library</OutputType>\r
+    <AppDesignerFolder>Properties</AppDesignerFolder>\r
+    <RootNamespace>Tizen.System</RootNamespace>\r
+    <AssemblyName>Tizen.System</AssemblyName>\r
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>\r
+    <FileAlignment>512</FileAlignment>\r
+    <TargetFrameworkProfile />\r
+    <ProductVersion>8.0.30703</ProductVersion>\r
+    <SchemaVersion>2.0</SchemaVersion>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
+    <DebugSymbols>true</DebugSymbols>\r
+    <DebugType>full</DebugType>\r
+    <Optimize>false</Optimize>\r
+    <OutputPath>bin\Debug\</OutputPath>\r
+    <DefineConstants>DEBUG;TRACE</DefineConstants>\r
+    <ErrorReport>prompt</ErrorReport>\r
+    <WarningLevel>4</WarningLevel>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
+    <DebugType>pdbonly</DebugType>\r
+    <Optimize>true</Optimize>\r
+    <OutputPath>bin\Release\</OutputPath>\r
+    <DefineConstants>TRACE</DefineConstants>\r
+    <ErrorReport>prompt</ErrorReport>\r
+    <WarningLevel>4</WarningLevel>\r
+  </PropertyGroup>\r
+  <PropertyGroup>\r
+    <SignAssembly>true</SignAssembly>\r
+  </PropertyGroup>\r
+  <PropertyGroup>\r
+    <AssemblyOriginatorKeyFile>Tizen.System.snk</AssemblyOriginatorKeyFile>\r
+  </PropertyGroup>\r
+  <Import Project="CoreFx.References.targets" />\r
+  <ItemGroup Condition=" '$(CoreFxPath)' == '' ">\r
+    <Reference Include="System" />\r
+    <Reference Include="System.Core" />\r
+    <Reference Include="System.Xml.Linq" />\r
+    <Reference Include="System.Data.DataSetExtensions" />\r
+    <Reference Include="Microsoft.CSharp" />\r
+    <Reference Include="System.Data" />\r
+    <Reference Include="System.Net.Http" />\r
+    <Reference Include="System.Xml" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <Reference Include="Tizen.Internals">\r
+      <HintPath>..\..\tizen\Tizen.Internals\bin\Debug\Tizen.Internals.dll</HintPath>\r
+    </Reference>\r
+    <Reference Include="Tizen">\r
+      <HintPath>..\..\tizen\Tizen\bin\Debug\Tizen.dll</HintPath>\r
+    </Reference>\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <Compile Include="Device\Battery.cs" />\r
+    <Compile Include="Device\DeviceExceptionFactory.cs" />\r
+    <Compile Include="Device\Display.cs" />\r
+    <Compile Include="Device\Haptic.cs" />\r
+    <Compile Include="Device\Led.cs" />\r
+    <Compile Include="Device\Power.cs" />\r
+    <Compile Include="Device\IR.cs" />\r
+    <Compile Include="Device\DeviceEventArgs.cs" />\r
+    <Compile Include="Interop\Interop.Device.cs" />\r
+    <Compile Include="Interop\Interop.RuntimeInfo.cs" />\r
+    <Compile Include="Interop\Interop.Libraries.cs" />\r
+    <Compile Include="Interop\Interop.Storage.cs" />\r
+    <Compile Include="Interop\Interop.SystemInfo.cs" />\r
+    <Compile Include="Interop\Interop.SystemSettings.cs" />\r
+    <Compile Include="Properties\AssemblyInfo.cs" />\r
+    <Compile Include="RuntimeInfo\CpuUsage.cs" />\r
+    <Compile Include="RuntimeInfo\Enumerations.cs" />\r
+    <Compile Include="RuntimeInfo\RuntimeInfoErrorFactory.cs" />\r
+    <Compile Include="RuntimeInfo\RuntimeInformation.cs" />\r
+    <Compile Include="RuntimeInfo\RuntimeKeyStatusChangedEventArgs.cs" />\r
+    <Compile Include="RuntimeInfo\MemoryInformation.cs" />\r
+    <Compile Include="Storage\DirectoryType.cs" />\r
+    <Compile Include="Storage\Storage.cs" />\r
+    <Compile Include="Storage\StorageArea.cs" />\r
+    <Compile Include="Storage\StorageManager.cs" />\r
+    <Compile Include="Storage\StorageState.cs" />\r
+    <Compile Include="SystemInfo\SystemInfo.cs" />\r
+    <Compile Include="SystemSettings\SystemSettings.cs" />\r
+    <Compile Include="SystemSettings\SystemSettingsEnums.cs" />\r
+    <Compile Include="SystemSettings\SystemSettingsEventArgs.cs" />\r
+    <Compile Include="SystemSettings\SystemSettingsExceptionFactory.cs" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <None Include="Tizen.System.snk" />\r
+  </ItemGroup>\r
+  <ItemGroup />\r
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
        Other similar extension points exist, see Microsoft.Common.targets.
   <Target Name="BeforeBuild">
   </Target>
   <Target Name="AfterBuild">
   </Target>
-  -->
+  -->\r
 </Project>
\ No newline at end of file
index 3842ada..4d48cba 100755 (executable)
@@ -29,7 +29,6 @@ BuildRequires: corefx-managed-32b-ref
 
 # C# API Requires
 BuildRequires: csapi-tizen
-BuildRequires: csapi-uifw
 
 %description
 Tizen System API for C#