Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eric Duminil
casanova-online
Commits
3a81a87a
Commit
3a81a87a
authored
May 17, 2026
by
Eric Duminil
Browse files
Removing unneeded stuff
parent
43f3c479
Changes
7
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
3a81a87a
...
@@ -2,9 +2,6 @@ FROM jlesage/baseimage-gui:ubuntu-24.04-v4.11.3
...
@@ -2,9 +2,6 @@ FROM jlesage/baseimage-gui:ubuntu-24.04-v4.11.3
ARG
DEBIAN_FRONTEND=noninteractive
ARG
DEBIAN_FRONTEND=noninteractive
################################################################################
# Config #
################################################################################
RUN
set-cont-env APP_NAME
"Web-CASANOVA"
RUN
set-cont-env APP_NAME
"Web-CASANOVA"
ENV
HOME=/config
ENV
HOME=/config
...
@@ -16,17 +13,6 @@ ENV WEB_AUDIO=0
...
@@ -16,17 +13,6 @@ ENV WEB_AUDIO=0
ENV
WINEARCH=win32
ENV
WINEARCH=win32
ENV
WINEPREFIX=/opt/wine
ENV
WINEPREFIX=/opt/wine
################################################################################
# Install third party apps, and dark theme #
################################################################################
RUN
apt-get update
&&
\
apt-get
install
pcmanfm xterm
--no-install-recommends
-y
&&
\
rm
-rf
/var/lib/apt/lists/
*
&&
\
apt-get clean
################################################################################
# WINE #
################################################################################
RUN
dpkg
--add-architecture
i386
\
RUN
dpkg
--add-architecture
i386
\
&&
apt-get update
\
&&
apt-get update
\
&&
apt-get
install
-y
--no-install-recommends
\
&&
apt-get
install
-y
--no-install-recommends
\
...
@@ -42,28 +28,7 @@ RUN dpkg --add-architecture i386 \
...
@@ -42,28 +28,7 @@ RUN dpkg --add-architecture i386 \
innoextract
\
innoextract
\
&&
apt-get clean
\
&&
apt-get clean
\
&&
rm
-rf
/var/lib/apt/lists/
*
&&
rm
-rf
/var/lib/apt/lists/
*
################################################################################
# Anaconda & Spyder #
################################################################################
# RUN apt-get update && \
# apt-get install curl libpci3 libasound2 \
# --no-install-recommends -y && \
# rm -rf /var/lib/apt/lists/* && \
# curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -o /tmp/miniconda.sh -k && \
# /bin/bash /tmp/miniconda.sh -b -p /opt/conda && \
# rm /tmp/miniconda.sh && \
# apt-get remove curl -y && \
# apt-get clean
#
# ENV PATH /opt/conda/bin:$PATH
#
# RUN pip install insel
# RUN CONDA_PLUGINS_AUTO_ACCEPT_TOS=true conda install spyder matplotlib
# RUN apt-get update && \
# apt-get install cabextract --no-install-recommends -y && \
# rm -rf /var/lib/apt/lists/* && \
# apt-get clean
COPY
rootfs/ /
COPY
rootfs/ /
RUN
mkdir
-p
"
$WINEPREFIX
"
&&
\
RUN
mkdir
-p
"
$WINEPREFIX
"
&&
\
...
@@ -73,6 +38,3 @@ RUN mkdir -p "$WINEPREFIX" && \
...
@@ -73,6 +38,3 @@ RUN mkdir -p "$WINEPREFIX" && \
mv
/tmp/casanova/app
"
$WINEPREFIX
/drive_c/Program Files (x86)/CASAnova"
&&
\
mv
/tmp/casanova/app
"
$WINEPREFIX
/drive_c/Program Files (x86)/CASAnova"
&&
\
rm
-rf
/tmp/casanova
&&
\
rm
-rf
/tmp/casanova
&&
\
chown
-R
1000:1000
"
$WINEPREFIX
"
chown
-R
1000:1000
"
$WINEPREFIX
"
# It's a lie. Sun will launch Spyder
# RUN ln /opt/conda/bin/spyder /usr/local/bin/wine
rootfs/etc/openbox/main-window-selection.xml
View file @
3a81a87a
<Type>
normal
</Type>
<Type>
normal
</Type>
<GroupClass>
Pcmanfm
</GroupClass>
rootfs/startapp.sh
View file @
3a81a87a
#! /bin/sh
#! /bin/sh
set
-e
set
-e
# Stop script if any command fails
set
-u
set
-u
# Complains if a variable is undefined
########################
# Parameters #
########################
export
HOME
=
/config
export
HOME
=
/config
cd
$HOME
cd
"
$WINEPREFIX
/drive_c/Program Files (x86)/CASAnova"
exec
wine CASAnova.exe
# # NOTE: Home Required for Java preferences. Set by startup script to /dev/null otherwise
# # NOTE: https://askubuntu.com/a/957184/743264 to avoid "GLX version 1.3 or higher is required""
# export _JAVA_OPTIONS="-Duser.home=$HOME -Dprism.order=sw"
########################
# Config files #
########################
if
[
!
-f
/config/.gtk-bookmarks
]
;
then
echo
"Adding bookmarks"
echo
"file:///config/Documents/insel.work INSEL Models
file:///config/Documents/shared Shared Folder"
>
/config/.gtk-bookmarks
fi
########################
# Documents folder #
########################
# mkdir -p /config/Documents/insel.work/inselUB/doc
# mkdir -p /config/Documents/insel.work/inselUB/resources
# mkdir -p /config/Documents/insel.work/inselUB/src
#cp userblocks makefile
# cp /usr/local/insel/makefile /config/Documents/insel.work/inselUB/resources/makefile
########################
# Welcome files #
########################
# If volume was imported from another user
# rm -f /config/Documents/insel.work/hello_*.txt
# echo "Welcome to Web-INSEL, ${STUDENT}!
#
# You can save your models in this folder.
#
# Here are some common symbols which you could copy-paste, e.g. for diagrams:
#
# € $ % & [ ] { } ² ³ / \\ °
# Α α, Β β, Γ γ, Δ δ, Ε ε, Ζ ζ,
# Η η, Θ θ, Ι ι, Κ κ, Λ λ, Μ μ,
# Ν ν, Ξ ξ, Ο ο, Π π, Ρ ρ, Σ σ/ς,
# Τ τ, Υ υ, Φ φ, Χ χ, Ψ ψ, Ω ω
# " > /config/Documents/insel.work/hello_${STUDENT}.txt
#
# echo "Here is a folder shared between all users.
#
# You can upload files to this folder at https://simstadt.hft-stuttgart.de/sence-mmb/upload/
#
# Every day, models will be saved to https://simstadt.hft-stuttgart.de/download/Misc/sence_insel_models.zip
# " > /config/Documents/shared/README.md
#
# if [ ! -f /config/Documents/insel.work/01_sum.vseit ]; then
# echo "Adding example model"
# cp /usr/share/01_sum.vseit /config/Documents/insel.work/
# fi
########################
# Start programs #
########################
rm
-rf
/config/log
#rm -rf /config/xdg
exec
pcmanfm /config/ &
# insel -v
# exec insel_8
exec
xterm
-e
bash
rootfs/usr/local/insel/insel_gui/lib/app/loggingInsel.properties
deleted
100644 → 0
View file @
43f3c479
############################################################
# Global properties
############################################################
# "handlers" specifies a comma separated list of log Handler
# classes. These handlers will be installed during VM startup.
# Note that these classes must be on the system classpath.
# By default we only configure a ConsoleHandler, which will only
# show messages at the INFO and above levels.
#handlers=java.util.logging.ConsoleHandler
# To also add the FileHandler, use the following line instead.
handlers
=
java.util.logging.FileHandler, java.util.logging.ConsoleHandler
# Default global logging level.
# This specifies which kinds of events are logged across
# all loggers. For any given facility this global level
# can be overridden by a more restrictive specific level
# Note that the ConsoleHandler also has a separate level
# setting to limit messages printed to the console.
.level
=
CONFIG
############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################
# default file output is in user's home directory.
java.util.logging.FileHandler.pattern
=
/config/.insel_8_3/INSEL_%g_%u.log
java.util.logging.FileHandler.limit
=
1000000
java.util.logging.FileHandler.count
=
3
java.util.logging.FileHandler.formatter
=
java.util.logging.SimpleFormatter
# Limit the message that are printed on the console to CONFIG and above.
java.util.logging.ConsoleHandler.level
=
CONFIG
java.util.logging.ConsoleHandler.formatter
=
java.util.logging.SimpleFormatter
############################################################
# Facility specific properties.
# Provides extra control for each logger.
############################################################
# For example, set the com.xyz.foo logger to only log SEVERE messages:
# com.xyz.foo=SEVERE
rootfs/usr/share/01_sum.vseit
deleted
100644 → 0
View file @
43f3c479
<?xml version='1.0' encoding='UTF-8'?>
<!-- XML for representing entities of a VSEit Network with their attributes and relationships-->
<vseit-network
xmlns:xlink=
"http://www.w3.org/1999/xlink"
client-class=
"eu.insel.vseit.InselVseit"
client-class-version=
"9"
first-id=
"0"
entity-count=
"11"
>
<entity
id=
"_0"
class=
"eu.insel.block.CONST"
>
<ref
name=
"outPorts"
><to>
_5
</to></ref>
<attr
name=
"blockName"
><string>
CONST
</string></attr>
<attr
name=
"blockFunction"
><string>
fb0001
</string></attr>
<attr
name=
"userBlockNumber"
><int>
1
</int></attr>
<attr
name=
"inputPortsCount"
><int>
0
</int></attr>
<attr
name=
"outputPortsCount"
><int>
1
</int></attr>
<attr
name=
"bp1"
><string>
1
</string></attr>
</entity>
<entity
id=
"_1"
class=
"eu.insel.block.CONST"
>
<ref
name=
"outPorts"
><to>
_6
</to></ref>
<attr
name=
"blockName"
><string>
CONST
</string></attr>
<attr
name=
"blockFunction"
><string>
fb0001
</string></attr>
<attr
name=
"userBlockNumber"
><int>
2
</int></attr>
<attr
name=
"inputPortsCount"
><int>
0
</int></attr>
<attr
name=
"outputPortsCount"
><int>
1
</int></attr>
<attr
name=
"bp1"
><string>
2
</string></attr>
</entity>
<entity
id=
"_2"
class=
"eu.insel.block.PortIn"
>
<ref
name=
"linkFrom"
><to>
_5
</to></ref>
<ref
name=
"portOf"
><to>
_8
</to></ref>
</entity>
<entity
id=
"_3"
class=
"eu.insel.block.PortIn"
>
<ref
name=
"linkFrom"
><to>
_6
</to></ref>
<ref
name=
"portOf"
><to>
_8
</to></ref>
</entity>
<entity
id=
"_4"
class=
"eu.insel.block.PortIn"
>
<ref
name=
"linkFrom"
><to>
_7
</to></ref>
<ref
name=
"portOf"
><to>
_9
</to></ref>
</entity>
<entity
id=
"_5"
class=
"eu.insel.block.PortOut"
>
<ref
name=
"linkTo"
><to>
_2
</to></ref>
<ref
name=
"portOf"
><to>
_0
</to></ref>
</entity>
<entity
id=
"_6"
class=
"eu.insel.block.PortOut"
>
<ref
name=
"linkTo"
><to>
_3
</to></ref>
<ref
name=
"portOf"
><to>
_1
</to></ref>
</entity>
<entity
id=
"_7"
class=
"eu.insel.block.PortOut"
>
<ref
name=
"linkTo"
><to>
_4
</to></ref>
<ref
name=
"portOf"
><to>
_8
</to></ref>
</entity>
<entity
id=
"_8"
class=
"eu.insel.block.SUM"
>
<ref
name=
"inPorts"
><to>
_2
</to><to>
_3
</to></ref>
<ref
name=
"outPorts"
><to>
_7
</to></ref>
<attr
name=
"blockName"
><string>
SUM
</string></attr>
<attr
name=
"blockFunction"
><string>
fb0002
</string></attr>
<attr
name=
"userBlockNumber"
><int>
3
</int></attr>
<attr
name=
"inputPortsCount"
><int>
2
</int></attr>
<attr
name=
"outputPortsCount"
><int>
1
</int></attr>
</entity>
<entity
id=
"_9"
class=
"eu.insel.block.SCREEN1G"
>
<ref
name=
"inPorts"
><to>
_4
</to></ref>
<attr
name=
"blockName"
><string>
SCREEN1G
</string></attr>
<attr
name=
"blockFunction"
><string>
fb0014
</string></attr>
<attr
name=
"userBlockNumber"
><int>
4
</int></attr>
<attr
name=
"inputPortsCount"
><int>
1
</int></attr>
<attr
name=
"outputPortsCount"
><int>
0
</int></attr>
</entity>
<entity
id=
"_10"
class=
"eu.insel.graphics.Label"
>
<attr
name=
"width"
><int>
279
</int></attr>
<attr
name=
"height"
><int>
101
</int></attr>
<attr
name=
"keepRatio"
><bool>
false
</bool></attr>
<attr
name=
"borderWidth"
><float>
1.0
</float></attr>
<attr
name=
"borderColor"
><color>
black
</color></attr>
<attr
name=
"text"
><string>
<
html>
Hallo SENCE-Studis!
<
/html>
</string></attr>
</entity>
<!-- One or more layouts of the VSEit Network above -->
<layout
name=
"Default"
show-name=
"false"
routing-policy=
"de.vseit.network.routing.RoutingPolicyOrthogonal"
background-color=
"none"
auto-display-new=
"true"
>
<geom
node=
"_10"
><layer>
1
</layer><x>
267
</x><y>
177
</y><w>
279
</w><h>
101
</h></geom>
<geom
node=
"_4"
><layer>
1
</layer><x>
429
</x><y>
352
</y><w>
2
</w><h>
6
</h></geom>
<geom
node=
"_9"
><layer>
1
</layer><x>
432
</x><y>
342
</y><w>
115
</w><h>
34
</h></geom>
<geom
node=
"_7"
><layer>
1
</layer><x>
395
</x><y>
352
</y><w>
2
</w><h>
6
</h></geom>
<geom
node=
"_3"
><layer>
1
</layer><x>
357
</x><y>
361
</y><w>
2
</w><h>
6
</h></geom>
<geom
node=
"_2"
><layer>
1
</layer><x>
357
</x><y>
343
</y><w>
2
</w><h>
6
</h></geom>
<geom
node=
"_8"
><layer>
1
</layer><x>
360
</x><y>
342
</y><w>
34
</w><h>
34
</h></geom>
<geom
node=
"_6"
><layer>
1
</layer><x>
305
</x><y>
388
</y><w>
2
</w><h>
6
</h></geom>
<geom
node=
"_1"
><layer>
1
</layer><x>
270
</x><y>
387
</y><w>
34
</w><h>
16
</h></geom>
<geom
node=
"_5"
><layer>
1
</layer><x>
305
</x><y>
316
</y><w>
2
</w><h>
6
</h></geom>
<geom
node=
"_0"
><layer>
1
</layer><x>
270
</x><y>
315
</y><w>
34
</w><h>
16
</h></geom>
</layout>
<insel-file>
<![CDATA[
B 1 CONST
P 1
1 % Constant value
B 2 CONST
P 2
2 % Constant value
B 3 SUM
1.1
2.1
B 4 SCREEN1G
3.1
]]>
</insel-file>
</vseit-network>
rootfs/usr/share/applications/defaults.list
deleted
100644 → 0
View file @
43f3c479
[Added Associations]
image/png=qpdfview.desktop;
application/pdf=qpdfview.desktop;
application/insel+xml=insel.desktop;
text/plain=pluma.desktop;
image/x-eps=pluma.desktop;
image/svg+xml=qpdfview.desktop;
[Default Applications]
image/png=qpdfview.desktop
application/pdf=qpdfview.desktop
application/insel+xml=insel.desktop
text/plain=pluma.desktop
image/x-eps=pluma.desktop
image/svg+xml=qpdfview.desktop
rootfs/usr/share/applications/qpdfview.desktop
deleted
100644 → 0
View file @
43f3c479
[Desktop Entry]
Type=Application
Terminal=false
Name=qpdfview
Icon=qpdfview
GenericName=tabbed document viewer
Comment=A tabbed document viewer using Qt and the Poppler library.
Categories=Viewer;Office;
Keywords=viewer;document;presentation;pdf;ps;djvu;
TryExec=qpdfview
Exec=qpdfview %F
MimeType=application/pdf;application/x-pdf;text/pdf;text/x-pdf;image/pdf;image/x-pdf;application/postscript;image/vnd.djvu;image/x-djvu;image/png
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment