Skip to content
Snippets Groups Projects
Commit 30f065b8 authored by Greg DiCristofaro's avatar Greg DiCristofaro
Browse files

fixes and improvements

parent 38657d93
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ apps: ...@@ -42,7 +42,7 @@ apps:
SOLR_PID_DIR: $HOME/.autopsy/dev/solr/logs SOLR_PID_DIR: $HOME/.autopsy/dev/solr/logs
command-chain: command-chain:
- autopsy/bin/tmpsetup.sh - autopsy/bin/tmpsetup.sh
command: autopsy/bin/autopsy command: bin/desktop-launch $SNAP/autopsy/bin/autopsy
# More info here: https://snapcraft.io/docs/gnome-extension # More info here: https://snapcraft.io/docs/gnome-extension
extensions: [ gnome ] extensions: [ gnome ]
common-id: org.sleuthkit.autopsy common-id: org.sleuthkit.autopsy
...@@ -86,6 +86,29 @@ apps: ...@@ -86,6 +86,29 @@ apps:
- x11 - x11
parts: parts:
# desktop helpers to get launch working correctly
# coming from https://forum.snapcraft.io/t/desktop-applications/13034,
# https://github.com/jibel/freeplane-snap/blob/master/snapcraft.yaml
desktop-glib:
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
source-subdir: glib-only
plugin: make
build-packages:
- libglib2.0-dev
stage-packages:
- adwaita-icon-theme
- dmz-cursor-theme
- gnome-themes-standard
- libgdk-pixbuf2.0-0
- libglib2.0-bin
- libgtk2.0-0
- libxkbcommon0
- light-themes
- locales-all
- shared-mime-info
- ttf-ubuntu-font-family
- xdg-user-dirs
sleuthkit: sleuthkit:
plugin: autotools plugin: autotools
source: https://github.com/sleuthkit/sleuthkit.git source: https://github.com/sleuthkit/sleuthkit.git
...@@ -119,7 +142,7 @@ parts: ...@@ -119,7 +142,7 @@ parts:
- libvhdi-dev - libvhdi-dev
- libvmdk-dev - libvmdk-dev
autopsy: autopsy:
after: [sleuthkit] after: [sleuthkit, desktop-glib]
# build-attributes: # build-attributes:
# - enable-patchelf # - enable-patchelf
build-packages: build-packages:
...@@ -193,7 +216,7 @@ parts: ...@@ -193,7 +216,7 @@ parts:
chmod 755 "$AUTOPSY_LOCATION/bin/autopsy" chmod 755 "$AUTOPSY_LOCATION/bin/autopsy"
echo '#!/bin/bash' > $AUTOPSY_LOCATION/bin/tmpsetup.sh echo '#!/bin/bash' > $AUTOPSY_LOCATION/bin/tmpsetup.sh
echo "mkdir -p $HOME/tmp" >> $AUTOPSY_LOCATION/bin/tmpsetup.sh echo 'mkdir -p $HOME/tmp' >> $AUTOPSY_LOCATION/bin/tmpsetup.sh
chmod 755 $AUTOPSY_LOCATION/bin/tmpsetup.sh chmod 755 $AUTOPSY_LOCATION/bin/tmpsetup.sh
# include this line to print all set variables # include this line to print all set variables
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment