Snapcraft :)
This commit is contained in:
		
							
								
								
									
										4
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -93,6 +93,10 @@ Network Trash Folder | |||||||
| Temporary Items | Temporary Items | ||||||
| .apdisk | .apdisk | ||||||
|  |  | ||||||
|  | # Intellij | ||||||
|  | .idea/ | ||||||
|  | *.iml | ||||||
|  |  | ||||||
|  |  | ||||||
| ###Snap### | ###Snap### | ||||||
|  |  | ||||||
|   | |||||||
| @@ -19,6 +19,12 @@ See the difference by disabling this optimization using the `-0` option. Or just | |||||||
|  |  | ||||||
| ## Installation | ## Installation | ||||||
|  |  | ||||||
|  | ### Snap | ||||||
|  |  | ||||||
|  |     sudo snap install --edge tiv | ||||||
|  |  | ||||||
|  | ### Build from source | ||||||
|  |  | ||||||
|     sudo apt install imagemagick || yum install ImageMagick |     sudo apt install imagemagick || yum install ImageMagick | ||||||
|     git clone https://github.com/stefanhaustein/TerminalImageViewer.git |     git clone https://github.com/stefanhaustein/TerminalImageViewer.git | ||||||
|     cd TerminalImageViewer/src/main/cpp |     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 |    https://build.opensuse.org/package/show/home:megamaced/terminalimageviewer | ||||||
|  - bperel has created a Docker image: |  - bperel has created a Docker image: | ||||||
|    https://hub.docker.com/r/bperel/terminalimageviewer |    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 | ## Common problems | ||||||
|  |  | ||||||
|   | |||||||
| @@ -26,7 +26,7 @@ parts: | |||||||
|       install $SNAPCRAFT_PART_BUILD/tiv $SNAPCRAFT_PART_INSTALL/usr/bin/ |       install $SNAPCRAFT_PART_BUILD/tiv $SNAPCRAFT_PART_INSTALL/usr/bin/ | ||||||
|   imagemagick: |   imagemagick: | ||||||
|     plugin: autotools |     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 |     source-type: tar | ||||||
|     configflags: |     configflags: | ||||||
|       - --enable-hdri=yes |       - --enable-hdri=yes | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 stefan.haustein@gmail.com
					stefan.haustein@gmail.com