From 83deef3230ed4858322b10f11f2c89d6981ad685 Mon Sep 17 00:00:00 2001 From: Chuan Ji <326631+jichu4n@users.noreply.github.com> Date: Mon, 22 Oct 2018 14:48:26 -0700 Subject: [PATCH 1/2] Add installation instructions to README. --- README | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/README b/README index 0ab9deb..20ccfe7 100644 --- a/README +++ b/README @@ -1,5 +1,5 @@ JFBView -===== +======= JFBView is a PDF and image viewer for the Linux framebuffer. It is very fast and has a number of advanced and unique features including: @@ -16,6 +16,34 @@ The home page of JFBView is at https://github.com/jichu4n/jfbview. Please refer to the home page for more information, including installation instructions and usage. +INSTALLATION +------------ + + * Arch Linux: + - Install package `jfbview` from the AUR, e.g. + ``` + yay -S jfbview + ``` + - Source: https://aur.archlinux.org/packages/jfbview + * Debian / Ubuntu: + - Install dependencies: + ``` + sudo apt-get install \ + libssl-dev \ + libopenjp2-7-dev \ + libjbig2dec-dev \ + libharfbuzz-dev \ + libncurses5-dev \ + libimlib2-dev \ + libmupdf-dev + ``` + - Clone this repo and build: + ``` + git clone https://github.com/jichu4n/jfbview.git + cd jfbview + make + ``` + BUILDING -------- From ce38e365f6f8ae5baab4d8efe45e54e466edeb9d Mon Sep 17 00:00:00 2001 From: Chuan Ji <326631+jichu4n@users.noreply.github.com> Date: Mon, 22 Oct 2018 14:51:17 -0700 Subject: [PATCH 2/2] Update formatting for installation instructions --- README | 47 ++++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/README b/README index 20ccfe7..f95fa83 100644 --- a/README +++ b/README @@ -19,30 +19,31 @@ instructions and usage. INSTALLATION ------------ - * Arch Linux: - - Install package `jfbview` from the AUR, e.g. - ``` +Arch Linux: + * Install package `jfbview` from the AUR, e.g. + ``` yay -S jfbview - ``` - - Source: https://aur.archlinux.org/packages/jfbview - * Debian / Ubuntu: - - Install dependencies: - ``` - sudo apt-get install \ - libssl-dev \ - libopenjp2-7-dev \ - libjbig2dec-dev \ - libharfbuzz-dev \ - libncurses5-dev \ - libimlib2-dev \ - libmupdf-dev - ``` - - Clone this repo and build: - ``` - git clone https://github.com/jichu4n/jfbview.git - cd jfbview - make - ``` + ``` + * Source: https://aur.archlinux.org/packages/jfbview + +Debian / Ubuntu: + * Install dependencies: + ``` + sudo apt-get install \ + libssl-dev \ + libopenjp2-7-dev \ + libjbig2dec-dev \ + libharfbuzz-dev \ + libncurses5-dev \ + libimlib2-dev \ + libmupdf-dev + ``` + * Clone this repo and build: + ``` + git clone https://github.com/jichu4n/jfbview.git + cd jfbview + make + ``` BUILDING --------