summaryrefslogtreecommitdiff
path: root/README.indilib-drivers
blob: 0bbeb145cd6aee156a4d2b37d1ec1ed22e184227 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
This overlay contains ebuilds for 3rd party drivers included in inidlib.org's releases and code repository.

Refer to the indilib.org to see which hardware is supported by each particular driver.

STEP BY STEP INSTALLATION GUIDE

0. Login as root or use sudo.

1. Install layman to manage overlays if don't have this tool already.

sudo emerge -v app-portage/layman

2. Add brancik-overlay.xml file to the /var/lib/layman/ directory wit the following content:

sudo nano -w /var/lib/layman/brancik-overlay.xml

<?xml version="1.0" encoding="UTF-8"?>
<repositories version="1.0">
<repo priority="50" quality="experimental" status="unofficial">
    <name>brancik-overlay</name>
    <description>Some dirty work for my needs.</description>
    <homepage>http://git.brancik.cz/brancik-overlay</homepage>
    <owner>
      <email>ctibor@brancik.cz</email>
    </owner>
    <source type="git">git://git.brancik.cz/gentoo-overlay.git</source>
  </repo>
</repositories>

Or you can use layman-overlay-maker tool if you have >=app-portage/layman-2.0.0.

More info about Gentoo overlays and their management can be found on https://wiki.gentoo.org/wiki/Layman.

3. Add overlay:

sudo layman -a overlay

4. To install all available indilib drivers (e.g. for testing if the driver can be compiled on certain ARCH) simply use provided portage set:

sudo emerge -v @indilib-drivers

5. If you want to install only drivers for the devices you use (The Gentoo Way TM), you have to set appropriate USE flags:

Available USE flags (note that only 3rd party drivers are present, with exception of indi-qhy-old. All other drivers are installed by sci-libs/indilib itself):
  
  - aagcloudwatcher
  - apogee
  - asicam
  - duino
  - eqmod
  - fishcamp
  - fli
  - gphoto2
  - maxdomeii
  - meadedsi
  - qhy
  - qsi
  - sbig
  - spectracyber
  - sx
  - tess

nano -w /etc/portage/package.use/indilib

#Enable drivers USE flag which pulls sci-libs/indilib-drivers as dependency
sci-libs/indilib drivers

# To install indi_gphoto_ccd, indi_qhy_ccd and indi_sbig_ccd.
# sci-libs/indilib-drivers is a meta ebuild and works similar to x11-base/xorg-drivers package.
sci-libs/indilib-drivers gphoto2 qhy sbig

sudo emerge sci-libs/indilib::brancik-overlay


6. Note that ebuilds for stable release of indilib drivers (currently 0.9.9) are masked as unstable (~amd64, ~x86 and ~arm specifically) and live source ebuilds are masked by missing keywords. You will have to unmask them during installation (use emerge with --autounmask-write option). See https://wiki.gentoo.org/wiki/Handbook:X86/Portage/Branches if you do not know what to do exactly.