From 0f76e5c2b078fb504bb13b5714a000cb56ca4e58 Mon Sep 17 00:00:00 2001 From: Kerry Hatcher Date: Wed, 2 Dec 2020 10:30:57 -0500 Subject: [PATCH 1/2] Add instructions for brew users Fixes azeam/camset#8 --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c072231..2664fba 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,20 @@ pkg-config If running from source (not using the camset pip package) you will also need gi (PyGObject @ pip) and OpenCV (opencv-python @ pip) **Installation** -For Ubuntu: +## For Ubuntu: 1. `sudo apt-get install python3 python3-pip v4l-utils pkg-config libcairo2-dev libgirepository1.0-dev` 2. `pip3 install camset` The pip install includes a .desktop file, which should be picked up by the DE. If `camset` is not found you may need to set up your path environment, for example: `PATH=$PATH:/home/USER/.local/bin` + +### Note for LinuxBrew(HomeBrew) users: + +Brew can sometimes take over `ld` and `pkg-config` binarys from system installed ones depending on what apps may have installed via brew in the past. + +See: (Install fails on pycairo dependancy )[https://github.com/azeam/camset/issues/8] + +To fix install the requried dependaices via brew (This will install a lot of things and take a very long time): +`brew install cairo pkg-config pygobject3 gtk+3` + +Alternatively disable or remove brew compeonts that provide or require `pkg-config` and `ld` then follow the Ubuntu instructions from above. \ No newline at end of file From c7dd0bf22639ded4a615af2593d3bb6ac53b86ff Mon Sep 17 00:00:00 2001 From: Kerry Hatcher Date: Wed, 2 Dec 2020 10:36:57 -0500 Subject: [PATCH 2/2] Fix formatting --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2664fba..45e6f3c 100644 --- a/README.md +++ b/README.md @@ -19,21 +19,22 @@ pkg-config If running from source (not using the camset pip package) you will also need gi (PyGObject @ pip) and OpenCV (opencv-python @ pip) -**Installation** -## For Ubuntu: +## Installation + +### For Ubuntu: 1. `sudo apt-get install python3 python3-pip v4l-utils pkg-config libcairo2-dev libgirepository1.0-dev` 2. `pip3 install camset` The pip install includes a .desktop file, which should be picked up by the DE. If `camset` is not found you may need to set up your path environment, for example: `PATH=$PATH:/home/USER/.local/bin` -### Note for LinuxBrew(HomeBrew) users: +#### Note for LinuxBrew(HomeBrew) users: Brew can sometimes take over `ld` and `pkg-config` binarys from system installed ones depending on what apps may have installed via brew in the past. -See: (Install fails on pycairo dependancy )[https://github.com/azeam/camset/issues/8] +See: [Install fails on pycairo dependancy](https://github.com/azeam/camset/issues/8) To fix install the requried dependaices via brew (This will install a lot of things and take a very long time): `brew install cairo pkg-config pygobject3 gtk+3` -Alternatively disable or remove brew compeonts that provide or require `pkg-config` and `ld` then follow the Ubuntu instructions from above. \ No newline at end of file +Alternatively disable or remove brew compeonts that provide or require `pkg-config` and `ld` then follow the [`Ubuntu instructions`](#for-ubuntu). from above. \ No newline at end of file