Skip to content

Commit

Permalink
Merge pull request #189 from andreriesco/dev
Browse files Browse the repository at this point in the history
Add the possibility to use scripts in deps.json, for check-deps
  • Loading branch information
microhobby authored Mar 18, 2024
2 parents c3b2cea + 431ba2c commit 7c03386
Show file tree
Hide file tree
Showing 26 changed files with 425 additions and 80 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ We encourage you to also contribute templates. The community supported templates
| ![](assets/img/electronjs.png?raw=true) | Node.js JavaScript Electron Application | Electron | JavaScript | ![](assets/img/arm32.png?raw=true&id=2) ![](assets/img/arm64.png?raw=true&id=2) | [nodeElectron](./nodeElectron) | ![](https://avatars.githubusercontent.com/u/2633321?v=4) [@microhobby](https://www.github.com/microhobby) |
| ![](assets/img/monowinforms.png?raw=true) | Mono 4.7 C# Windows Forms Application | .NET 4.7 | C# | ![](assets/img/arm32.png?raw=true&id=2) ![](assets/img/arm64.png?raw=true&id=2) | [monoCsharpForms](./monoCsharpForms) | ![](https://avatars.githubusercontent.com/u/2633321?v=4) [@microhobby](https://www.github.com/microhobby) |
| ![](assets/img/unofbdrm.png?raw=true) | .NET 6 C# Uno Platform Frame Buffer | .NET 6.0 | C# | ![](assets/img/arm32.png?raw=true&id=2) ![](assets/img/arm64.png?raw=true&id=2) | [dotnetUnoFrameBuffer](./dotnetUnoFrameBuffer) | ![](https://avatars.githubusercontent.com/u/2633321?v=4) [@microhobby](https://www.github.com/microhobby) |
| ![](assets/img/avaloniafbdrm.png?raw=true) | .NET 6 C# Avalonia Frame Buffer DRM | .NET 6.0 | C# | ![](assets/img/arm32.png?raw=true&id=2) ![](assets/img/arm64.png?raw=true&id=2) | [dotnetAvaloniaFrameBuffer](./dotnetAvaloniaFrameBuffer) | ![](https://avatars.githubusercontent.com/u/2633321?v=4) [@microhobby](https://www.github.com/microhobby) |
| ![](assets/img/avaloniagtk.png?raw=true) | .NET 6 C# Avalonia GTK MVVM | .NET 6.0 | C# | ![](assets/img/arm32.png?raw=true&id=2) ![](assets/img/arm64.png?raw=true&id=2) | [dotnetAvalonia](./dotnetAvalonia) | ![](https://avatars.githubusercontent.com/u/2633321?v=4) [@microhobby](https://www.github.com/microhobby) |
| ![](assets/img/avaloniafbdrm.png?raw=true) | .NET 8 C# Avalonia Frame Buffer DRM | .NET 8.0 | C# | ![](assets/img/arm32.png?raw=true&id=2) ![](assets/img/arm64.png?raw=true&id=2) | [dotnetAvaloniaFrameBuffer](./dotnetAvaloniaFrameBuffer) | ![](https://avatars.githubusercontent.com/u/2633321?v=4) [@microhobby](https://www.github.com/microhobby) |
| ![](assets/img/avaloniagtk.png?raw=true) | .NET 8 C# Avalonia GTK MVVM | .NET 8.0 | C# | ![](assets/img/arm32.png?raw=true&id=2) ![](assets/img/arm64.png?raw=true&id=2) | [dotnetAvalonia](./dotnetAvalonia) | ![](https://avatars.githubusercontent.com/u/2633321?v=4) [@microhobby](https://www.github.com/microhobby) |
| ![](assets/img/gambasform.png?raw=true) | Gambas3 Form Project | Gambas3 | Visual Basic | ![](assets/img/arm32.png?raw=true&id=2) ![](assets/img/arm64.png?raw=true&id=2) | [gambasForms](./gambasForms) | ![](https://avatars.githubusercontent.com/u/2633321?v=4) [@microhobby](https://www.github.com/microhobby) |
| ![](assets/img/python3console.png?raw=true) | Python 3 Pyside 2(Qt5) QML | Pyside 2 | Python 3 | ![](assets/img/arm32.png?raw=true&id=2) ![](assets/img/arm64.png?raw=true&id=2) | [python3Pyside2QML](./python3Pyside2QML) | ![](https://avatars.githubusercontent.com/u/83607022?v=4) [@andreriesco](https://www.github.com/andreriesco) |
| ![](assets/img/cconsole.png?raw=true) | C Makefile Console Application | libc | C | ![](assets/img/arm32.png?raw=true&id=2) ![](assets/img/arm64.png?raw=true&id=2) ![](assets/img/riscv64.png?raw=true&id=2) ![](assets/img/x8664.png?raw=true&id=2) | [cConsole](./cConsole) | ![](https://avatars.githubusercontent.com/u/19562097?v=4) [@hiagofranco](https://www.github.com/hiagofranco) |
Expand Down
6 changes: 4 additions & 2 deletions aspnetBlazor/.conf/deps.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"packages": [
"openssh-client",
"sshpass",
"dotnet-sdk-6.0"
"sshpass"
],
"installDepsScripts": [
".conf/installDepsScripts/installDotnetSDK8.sh"
]
}
5 changes: 2 additions & 3 deletions cConsole/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,8 @@ dkms.conf
# Compiled Static libraries
*.lai

/bin
/obj
/debug
#Build directories
build-*

# End of https://www.gitignore.io/api/c,c++,cmake

Expand Down
6 changes: 1 addition & 5 deletions cmakeConsole/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,13 @@ dkms.conf
# Compiled Static libraries
*.lai

/bin
/obj
/debug

# End of https://www.gitignore.io/api/c,c++,cmake

credentials.zip
*.lock.yml

#Build directories
/build-*
build-*

.conf/.depok
.conf/.docok
5 changes: 2 additions & 3 deletions cppConsole/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,8 @@ dkms.conf
# Compiled Static libraries
*.lai

/bin
/obj
/debug
#Build directories
build-*

# End of https://www.gitignore.io/api/c,c++,cmake

Expand Down
6 changes: 4 additions & 2 deletions cppQML/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ amd64
credentials.zip
*.lock.yml

#Build directories
build-*

# After committing it once, to stop having modifications every time you do

# After committing it once, to stop having modifications every time you do
# anything on Qt Creator (like dragging the window, literally almost anything),
# uncomment the line below
# .qt

.conf/.depok
.conf/.docok
.conf/.docok
6 changes: 4 additions & 2 deletions dotnetAvalonia/.conf/deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
"packages": [
"openssh-client",
"sshpass",
"dotnet-sdk-7.0",
"dotnet-sdk-8.0",
"libgtk-3-dev"
],
"installDepsScripts": [
".conf/installDepsScripts/installDotnetSDK7.sh",
".conf/installDepsScripts/installDotnetSDK8.sh"
]
}
8 changes: 5 additions & 3 deletions dotnetAvaloniaFrameBuffer/.conf/deps.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"packages": [
"openssh-client",
"sshpass",
"dotnet-sdk-8.0",
"dotnet-sdk-7.0"
"sshpass"
],
"installDepsScripts": [
".conf/installDepsScripts/installDotnetSDK7.sh",
".conf/installDepsScripts/installDotnetSDK8.sh"
]
}
2 changes: 1 addition & 1 deletion dotnetAvaloniaFrameBuffer/.doc/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# .NET 6 C# Avalonia Frame Buffer DRM Template Specific Documentation
# .NET 8 C# Avalonia Frame Buffer DRM Template Specific Documentation


> ⚠️ **WARNING:** This is just the documentation part specific of this template. **For the complete and general Torizon IDE documentation, check the [developer website documentation](https://developer.toradex.com/torizon/application-development/ide-extension/)** ⚠️
Expand Down
6 changes: 4 additions & 2 deletions dotnetConsole/.conf/deps.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"packages": [
"openssh-client",
"sshpass",
"dotnet-sdk-8.0"
"sshpass"
],
"installDepsScripts": [
".conf/installDepsScripts/installDotnetSDK8.sh"
]
}
2 changes: 1 addition & 1 deletion dotnetConsole/.doc/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# .NET 6 C# Console Template Specific Documentation
# .NET 8 C# Console Template Specific Documentation


> ⚠️ **WARNING:** This is just the documentation part specific of this template. **For the complete and general Torizon IDE documentation, check the [developer website documentation](https://developer.toradex.com/torizon/application-development/ide-extension/)** ⚠️
Expand Down
6 changes: 4 additions & 2 deletions dotnetSlint/.conf/deps.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"packages": [
"openssh-client",
"sshpass",
"dotnet-sdk-8.0"
"sshpass"
],
"installDepsScripts": [
".conf/installDepsScripts/installDotnetSDK8.sh"
]
}
4 changes: 3 additions & 1 deletion dotnetUno/.conf/deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"packages": [
"openssh-client",
"sshpass",
"dotnet-sdk-6.0",
"libgtk-3-dev"
],
"installDepsScripts": [
".conf/installDepsScripts/installDotnetSDK6.sh"
]
}
2 changes: 1 addition & 1 deletion dotnetUno/.doc/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# .NET6 C# Uno Platform Skia.GTK Template Specific Documentation
# .NET 6 C# Uno Platform Skia.GTK Template Specific Documentation


> ⚠️ **WARNING:** This is just the documentation part specific of this template. **For the complete and general Torizon IDE documentation, check the [developer website documentation](https://developer.toradex.com/torizon/application-development/ide-extension/)** ⚠️
Expand Down
4 changes: 3 additions & 1 deletion dotnetUno5/.conf/deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"packages": [
"openssh-client",
"sshpass",
"dotnet-sdk-8.0",
"libgtk-3-dev"
],
"installDepsScripts": [
".conf/installDepsScripts/installDotnetSDK8.sh"
]
}
4 changes: 3 additions & 1 deletion dotnetUno5FrameBuffer/.conf/deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"packages": [
"openssh-client",
"sshpass",
"dotnet-sdk-8.0",
"libgtk-3-dev"
],
"installDepsScripts": [
".conf/installDepsScripts/installDotnetSDK8.sh"
]
}
6 changes: 4 additions & 2 deletions dotnetUnoFrameBuffer/.conf/deps.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"packages": [
"openssh-client",
"sshpass",
"dotnet-sdk-6.0"
"sshpass"
],
"installDepsScripts": [
".conf/installDepsScripts/installDotnetSDK6.sh"
]
}
6 changes: 3 additions & 3 deletions monoCsharpForms/.conf/deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"packages": [
"openssh-client",
"sshpass",
"mono-complete",
"mono-roslyn",
"mono-dbg",
"msbuild",
"nuget"
],
"installDepsScripts": [
".conf/installDepsScripts/install-mono-devel.sh"
]
}
33 changes: 33 additions & 0 deletions monoCsharpForms/.conf/install-deps-scripts/install-mono-devel.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/bash
set -e

# This is a script to install .MOno on Ubuntu, based on the official Mono project recommended method of installation:
# https://www.mono-project.com/download/stable/#download-lin

package='mono-devel'


# Get the source URL of the mono-devel package installed
source=$(apt policy $package | awk '/ \*/{getline; print $2}')


# Check if the dotnet-sdk installed package comes from the Microsoft source
if [ "$source" != "https://download.mono-project.com/repo/ubuntu" ]; then

sudo apt install ca-certificates gnupg -y

# Get and install mono signing key and repository
sudo gpg --homedir /tmp --no-default-keyring --keyring /usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF -y

# Remove the mono-devel installation that doesn't come from the Microsoft source
sudo apt-get remove $package -y

sudo apt-get autoremove -y

fi

# Update packages
sudo apt update -y

# Install the mono-devel that come from the Microsoft source
sudo apt-get install $package -y
Loading

0 comments on commit 7c03386

Please sign in to comment.