Skip to content

Commit

Permalink
adding MonoDevelop and VisualStudio for Mac ver 8.x support
Browse files Browse the repository at this point in the history
  • Loading branch information
salaros committed May 31, 2019
1 parent 128e0f2 commit 1892162
Show file tree
Hide file tree
Showing 12 changed files with 47 additions and 21 deletions.
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
# use the new container-based Travis infrastructure
os: linux
dist: trusty
dist: bionic
sudo: false

language: csharp
solution: MonoDevelop.WakaTime.sln
mono:
- 4.8.0
- latest

install:
- sudo apt-get install -yq monodevelop # Install MonoDevelop for mdtool utility
- sudo apt install apt-transport-https dirmngr
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
- echo "deb https://download.mono-project.com/repo/ubuntu vs-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-vs.list
- sudo apt update -qy
- sudo apt-get install -yq nuget monodevelop # Install MonoDevelop for mdtool utility
- nuget restore ./src/MonoDevelop.WakaTime.sln

script:
Expand Down
2 changes: 1 addition & 1 deletion addin-project.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<AddinProject appVersion="7.0">
<AddinProject appVersion="8.0">
<Project platforms="Mac">
<AddinFile>bin/Debug/MonoDevelop.WakaTime.dll</AddinFile>
<BuildFile>src/MonoDevelop.WakaTime.sln</BuildFile>
Expand Down
Binary file added lib/8.x/MonoDevelop.Core.dll
Binary file not shown.
4 changes: 4 additions & 0 deletions lib/8.x/MonoDevelop.Core.dll.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<configuration>
<dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so.0" os="!osx,windows" />
<dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.dylib" os="osx" />
</configuration>
Binary file added lib/8.x/MonoDevelop.Ide.dll
Binary file not shown.
18 changes: 18 additions & 0 deletions lib/8.x/MonoDevelop.Ide.dll.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<dllmap os="!windows,osx" dll="libglib-2.0-0.dll" target="libglib-2.0.so.0"/>
<dllmap os="!windows,osx" dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/>
<dllmap os="!windows,osx" dll="libatk-1.0-0.dll" target="libatk-1.0.so.0"/>
<dllmap os="!windows,osx" dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so.0"/>
<dllmap os="!windows,osx" dll="libgdk-win32-2.0-0.dll" target="libgdk-x11-2.0.so.0"/>
<dllmap os="!windows,osx" dll="libpango-1.0-0.dll" target="libpango-1.0.so.0"/>
<dllmap os="!windows,osx" dll="libpangocairo-1.0-0.dll" target="libpangocairo-1.0.so.0"/>

<dllmap os="osx" dll="libglib-2.0-0.dll" target="libglib-2.0.0.dylib"/>
<dllmap os="osx" dll="libgobject-2.0-0.dll" target="libgobject-2.0.0.dylib"/>
<dllmap os="osx" dll="libatk-1.0-0.dll" target="libatk-1.0.0.dylib"/>
<dllmap os="osx" dll="libgtk-win32-2.0-0.dll" target="libgtk-quartz-2.0.0.dylib"/>
<dllmap os="osx" dll="libgdk-win32-2.0-0.dll" target="libgdk-quartz-2.0.0.dylib"/>
<dllmap os="osx" dll="libpango-1.0-0.dll" target="libpango-1.0.0.dylib"/>
<dllmap os="osx" dll="libpangocairo-1.0-0.dll" target="libpangocairo-1.0.0.dylib"/>
</configuration>
Binary file added lib/8.x/MonoDevelop.TextEditor.dll
Binary file not shown.
6 changes: 3 additions & 3 deletions src/MonoDevelop.WakaTime.addin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
copyright=""
description="WakaTime is a productivity and time tracking tool for programmers. Once the WakaTime plugin is installed, you get a dashboard with reports about your programming by time, language, project, and branch."
category="IDE extensions"
version="3.0.5">
version="4.0.1">

<!-- Resources -->
<Dependencies>
<Addin id="Ide" version="7.0" />
<Addin id="Core" version="7.0" />
<Addin id="Ide" version="8.0" />
<Addin id="Core" version="8.0" />
</Dependencies>
<Runtime>
<Import assembly="MonoDevelop.WakaTime.dll" />
Expand Down
18 changes: 9 additions & 9 deletions src/MonoDevelop.WakaTime.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<OutputType>Library</OutputType>
<RootNamespace>MonoDevelop.WakaTime</RootNamespace>
<AssemblyName>MonoDevelop.WakaTime</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -56,7 +56,7 @@
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\MonoDevelop.Addins.0.2.3\build\net40\MonoDevelop.Addins.targets" Condition="Exists('..\packages\MonoDevelop.Addins.0.2.3\build\net40\MonoDevelop.Addins.targets')" />
<Import Project="..\packages\MonoDevelop.Addins.0.4.7\build\net40\MonoDevelop.Addins.targets" Condition="Exists('..\packages\MonoDevelop.Addins.0.4.7\build\net40\MonoDevelop.Addins.targets')" />
<ItemGroup>
<Reference Include="System.Net" />
<Reference Include="System" />
Expand All @@ -73,7 +73,7 @@
<HintPath>packages\ICSharpCode.NRefactory.5.5.1\lib\Net40\ICSharpCode.NRefactory.dll</HintPath>
</Reference>
<Reference Include="Mono.Addins">
<HintPath>packages\Mono.Addins.1.3\lib\net40\Mono.Addins.dll</HintPath>
<HintPath>packages\Mono.Addins.1.3.8\lib\net45\Mono.Addins.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Mono.Cecil" Condition="'$(Configuration)'=='DebugWin32'">
Expand All @@ -97,19 +97,19 @@
<Reference Include="pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="glade-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="ConfigParser">
<HintPath>packages\Salaros.ConfigParser.0.3.1\lib\net45\ConfigParser.dll</HintPath>
<HintPath>packages\Salaros.ConfigParser.0.3.2\lib\net45\ConfigParser.dll</HintPath>
</Reference>
<Reference Include="WakaTime">
<HintPath>packages\WakaTime.8.1.10\lib\net45\WakaTime.dll</HintPath>
<HintPath>packages\WakaTime.8.1.11\lib\net45\WakaTime.dll</HintPath>
</Reference>
<Reference Include="MonoDevelop.Core">
<HintPath>..\lib\7.x\MonoDevelop.Core.dll</HintPath>
<HintPath>..\lib\8.x\MonoDevelop.Core.dll</HintPath>
</Reference>
<Reference Include="MonoDevelop.Ide">
<HintPath>..\lib\7.x\MonoDevelop.Ide.dll</HintPath>
<HintPath>..\lib\8.x\MonoDevelop.Ide.dll</HintPath>
</Reference>
<Reference Include="Mono.TextEditor">
<HintPath>..\lib\7.x\Mono.TextEditor.dll</HintPath>
<Reference Include="MonoDevelop.TextEditor">
<HintPath>..\lib\8.x\MonoDevelop.TextEditor.dll</HintPath>
</Reference>
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
Expand Down
2 changes: 1 addition & 1 deletion src/MonoDevelop.WakaTime/WakaTimeMonoDevelopPlugin.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using Mono.TextEditor;
using MonoDevelop.TextEditor;
using MonoDevelop.Ide;
using MonoDevelop.Core;
using MonoDevelop.Ide.Gui;
Expand Down
2 changes: 1 addition & 1 deletion src/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
[assembly: AssemblyProduct("MonoDevelop")]
[assembly: AssemblyTitle("WakaTime")]
[assembly: AssemblyDescription("WakaTime is a productivity & time tracking tool for programmers. Once the WakaTime plugin is installed, you get a dashboard with reports about your programming by time, language, project, and branch.")]
[assembly: AssemblyVersion("3.0.5")]
[assembly: AssemblyVersion("4.0.1")]
[assembly: AssemblyCopyright("MIT")]
6 changes: 3 additions & 3 deletions src/packages.config
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ICSharpCode.NRefactory" version="5.5.1" targetFramework="net45" />
<package id="Mono.Addins" version="1.3.7" targetFramework="net45" />
<package id="Mono.Addins" version="1.3.8" targetFramework="net45" />
<package id="Mono.Cecil" version="0.9.6.4" targetFramework="net45" />
<package id="Salaros.ConfigParser" version="0.3.1" targetFramework="net45" />
<package id="Salaros.ConfigParser" version="0.3.2" targetFramework="net45" />
<package id="SharpZipLib" version="0.86.0" targetFramework="net45" />
<package id="WakaTime" version="8.1.10" targetFramework="net45" />
<package id="WakaTime" version="8.1.11" targetFramework="net45" />
</packages>

0 comments on commit 1892162

Please sign in to comment.