Skip to content

Commit

Permalink
Merge pull request #1 from chon-group/upTo1.1.0-Revision1936
Browse files Browse the repository at this point in the history
Up to1.1.0 revision1936
  • Loading branch information
nilsonLazarin authored Jun 1, 2024
2 parents fb44ea6 + f9008bb commit 656e789
Show file tree
Hide file tree
Showing 7,894 changed files with 286,026 additions and 37,739 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Package: chonos-simulide
Version: 0.1
Version: 1.1.0-240601
Priority:
Architecture: amd64
Essential:
Depends: libfuse-dev
Pre-depends: javino, chonos-serial-port-emulator
Pre-depends: javino, chonos-serial-port-emulator, libc-bin, gawk
Suggests:
Installed-Size:
Maintainer: [email protected]
Expand Down
22 changes: 12 additions & 10 deletions DEBIAN/postinst
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
#!/bin/bash

echo "Including SimulIDE parameters"
echo "Including SimulIDE parameters for all valid users"

for home_dir in /home/*; do
username=$(basename "$home_dir")
simulide_ini_path="$home_dir/.local/share/simulide/simulide.ini"
getent passwd | awk -F: '$3 == 0 || $3 >= 1000 {print $1, $6}' | while read -r username home_dir; do
if [ -d "$home_dir" ]; then
echo "Including SimulIDE parameters for: $username"
simulide_ini_path="$home_dir/.local/share/simulide/simulide.ini"

mkdir -p "$(dirname "$simulide_ini_path")"
mkdir -p "$(dirname "$simulide_ini_path")"

echo "[General]" > "$simulide_ini_path"
echo "Arduino_inclPath=$home_dir/Arduino/libraries/" >> "$simulide_ini_path"
echo "Arduino_toolPath=/opt/chonos-embMAS/lib/arduino/" >> "$simulide_ini_path"
echo "[General]" > "$simulide_ini_path"
echo "Arduino_inclPath=$home_dir/Arduino/libraries/" >> "$simulide_ini_path"
echo "Arduino_toolPath=/opt/group.chon/arduino/" >> "$simulide_ini_path"

chown "$username:$username" "$home_dir/.local/share/simulide" -R
done
chown "$username:$username" "$home_dir/.local/share/simulide" -R
fi
done
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# dpkg-simulide
SimulIDE (Revision 1448) for Debian, Ubuntu, and derivatives.
# SimulIDE Chon-Group Debian Package
This repository implements a APT Package of
[SimulIDE 1.1.0 (Revision 1936)](https://simulide.com/p/testers/) for Debian, Ubuntu, and derivatives with [Cognitive Hardware on Network Basic Prototypes (ChonBots)](https://github.com/chon-group/ChonBots) examples.

## Installation
1) Install the dependencies. On your Debian-like Linux machine, run:
## How to Install?
1) In a terminal run the commands below:

```console
echo "deb [trusted=yes] http://packages.chon.group/ chonos main" | sudo tee /etc/apt/sources.list.d/chonos.list
sudo apt update
sudo apt install chonos-simulide
```

## COPYRIGHT
[SimulIDE](https://simulide.com/) is a simple real time electronic circuit simulator, intended for hobbyist or students to learn and experiment with analog and digital electronic circuits and microcontrollers, supporting PIC, AVR and Arduino.
51 changes: 0 additions & 51 deletions opt/chonos-embMAS/lib/simulide/data/AVR/avr/types.txt

This file was deleted.

80 changes: 0 additions & 80 deletions opt/chonos-embMAS/lib/simulide/data/AVR/m1281_2561/m1281.package

This file was deleted.

This file was deleted.

70 changes: 0 additions & 70 deletions opt/chonos-embMAS/lib/simulide/data/AVR/m1281_2561/m1281_int.xml

This file was deleted.

Loading

0 comments on commit 656e789

Please sign in to comment.