commit initial, premières applications gérées: qtcreator, git, qgit, qcachegrind, valgrind, kdiff3

This commit is contained in:
Thomas Briffard
2021-06-29 10:17:23 +02:00
commit 9fad802282
32 changed files with 713 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
FROM cos7_base
ARG VALGRIND_VER=valgrind-3.17.0
RUN wget https://sourceware.org/pub/valgrind/$VALGRIND_VER.tar.bz2 && \
tar -xvf $VALGRIND_VER.tar.bz2 && \
cd $VALGRIND_VER && \
./configure && \
make -j$(nproc) && \
make install && \
cd ../ && rm -rf $VALGRIND_VER*
# Exécuter une commande au démarrage de l'image.
CMD ["/bin/bash"]

View File

@@ -0,0 +1,9 @@
[Desktop Entry]
Name=valgrind
Type=Application
Exec=valgrind
Icon=valgrind
Comment=analysis tools
Categories=Development
StartupWMClass=valgrind
Terminal=false

BIN
valgrind/valgrind.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

20
valgrind/valgrind_pre_step.sh Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
cp -r --preserve=links /usr/local/libexec/valgrind $WORK_DIR/AppDir/
cat << EOF > $WORK_DIR/AppRun
#!/bin/bash
APPDIR=\$(dirname -- "\$0")
export PATH=\$APPDIR/usr/bin:$PATH
export LD_LIBRARY_PATH=\$APPDIR/usr/lib/:$LD_LIBRARY_PATH
export VALGRIND_LIB=\$APPDIR/valgrind
exec \$APPDIR/usr/bin/$APP_NOM "\$@"
EOF
fichierIcon=/build/valgrind.png
fichierDesktop=/build/valgrind.desktop
AUTRES_OPTIONS="-i $fichierIcon -d $fichierDesktop --custom-apprun $WORK_DIR/AppRun"