Snapcraft :)

This commit is contained in:
stefan.haustein@gmail.com 2019-01-13 22:47:16 +01:00
parent deab25bf68
commit cca06fdaca
3 changed files with 12 additions and 2 deletions

4
.gitignore vendored
View file

@ -93,6 +93,10 @@ Network Trash Folder
Temporary Items
.apdisk
# Intellij
.idea/
*.iml
###Snap###

View file

@ -19,6 +19,12 @@ See the difference by disabling this optimization using the `-0` option. Or just
## Installation
### Snap
sudo snap install --edge tiv
### Build from source
sudo apt install imagemagick || yum install ImageMagick
git clone https://github.com/stefanhaustein/TerminalImageViewer.git
cd TerminalImageViewer/src/main/cpp
@ -37,7 +43,7 @@ The shell will expand wildcards. By default, thumbnails and file names will be d
https://build.opensuse.org/package/show/home:megamaced/terminalimageviewer
- bperel has created a Docker image:
https://hub.docker.com/r/bperel/terminalimageviewer
- teresaejunior has created a snapcraft.yaml file, which can build a Snap package with `sudo docker run -it --rm -v "$PWD:$PWD" -w "$PWD" snapcore/snapcraft sh -c 'apt-get update && snapcraft'`, and then installed with `sudo snap install --dangerous ./*.snap`, until tiv is available in the Snap Store.
- teresaejunior has created a snapcraft.yaml file, which can build a Snap package with `sudo docker run -it --rm -v "$PWD:$PWD" -w "$PWD" snapcore/snapcraft sh -c 'apt-get update && snapcraft'`, and then installed with `sudo snap install --dangerous ./*.snap`.
## Common problems

View file

@ -26,7 +26,7 @@ parts:
install $SNAPCRAFT_PART_BUILD/tiv $SNAPCRAFT_PART_INSTALL/usr/bin/
imagemagick:
plugin: autotools
source: https://www.imagemagick.org/download/releases/ImageMagick-7.0.8-19.tar.xz
source: https://www.imagemagick.org/download/releases/ImageMagick-7.0.8-23.tar.xz
source-type: tar
configflags:
- --enable-hdri=yes