forked from danbodoh/picsnvideos-jpilot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL-FROM-GIT
41 lines (34 loc) · 995 Bytes
/
INSTALL-FROM-GIT
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
To build from GIT repository https://github.com/CoSoCo/JPilotMediaPlugin
Install JPilot & pilot-link:
curl -s https://packagecloud.io/install/repositories/judd/jpilot/script.deb.sh | sudo bash
sudo apt install jpilot jpilot-plugins pilot-link
Install dependencies:
Get libpisock-dev_*_amd64.deb from: https://packages.ubuntu.com/bionic/amd64/libpisock-dev/download
Manually extract 'data.tar.xz' from it.
sudo tar -xkf data.tar.xz -C /
sudo apt install libusb-dev libbluetooth-dev
From the project folder:
autoreconf -i
./configure --prefix=/usr
#./configure ## for local install
make clean
make
make check
sudo make install
#make local_install ## for local install
Uninstall:
sudo bash "uninstall libpisock-dev.sh"
sudo apt purge libusb-dev libbluetooth-dev
sudo make uninstall
GIT:
git status
git add
git commit -m "comment"
Increment version:
In configure.ac edit line 5: [1.0] -> [x.y]
git add
git commit -m "comment"
git tag -m "comment" x.y
Push to GitHub:
git push
git push --tags