mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 07:56:16 +00:00
fixes and improvements
This commit is contained in:
parent
38657d93ad
commit
30f065b873
@ -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:
|
|||||||
- 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:
|
|||||||
- 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:
|
|||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user