mirror of https://framagit.org/kyodev/kyopages.git
+new keepassXC-compil
This commit is contained in:
parent
d51fdc9440
commit
aa6db2f6d7
|
@ -0,0 +1,72 @@
|
||||||
|
# compil KeePassXC
|
||||||
|
|
||||||
|
essentiellement utile pour dev ou plateforme 32b
|
||||||
|
|
||||||
|
## installation des outils de compilation
|
||||||
|
|
||||||
|
```shell
|
||||||
|
#C++ toolchain
|
||||||
|
apt install build-essential cmake g++
|
||||||
|
#
|
||||||
|
apt install git gitk
|
||||||
|
|
||||||
|
#dépendances
|
||||||
|
apt install libxi-dev libxtst-dev qtbase5-dev \
|
||||||
|
libqt5x11extras5-dev qttools5-dev qttools5-dev-tools \
|
||||||
|
libgcrypt20-dev zlib1g-dev libyubikey-dev libykpers-1-dev
|
||||||
|
```
|
||||||
|
|
||||||
|
## chargement des sources
|
||||||
|
```shell
|
||||||
|
git clone https://github.com/keepassxreboot/keepassxc.git --depth 1
|
||||||
|
cd keepassxc
|
||||||
|
```
|
||||||
|
## compil, install
|
||||||
|
```shell
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
#cmake -DWITH_XC_AUTOTYPE=ON -DWITH_XC_HTTP=ON -DWITH_XC_YUBIKEY=ON -DCMAKE_BUILD_TYPE=Release ..
|
||||||
|
cmake -DWITH_XC_AUTOTYPE=ON -DWITH_XC_HTTP=OFF -DWITH_XC_YUBIKEY=ON -DCMAKE_BUILD_TYPE=Release ..
|
||||||
|
make -j$(nproc)
|
||||||
|
|
||||||
|
# failed: checkinstall --install=no # voir https://wiki.debian.org/fr/CheckInstall
|
||||||
|
|
||||||
|
make DESTDIR=~/.local install
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## install
|
||||||
|
|
||||||
|
intégration lanceur au système
|
||||||
|
```shell
|
||||||
|
cp /home/kyodev/.local/usr/local/share/applications/keepassxc.desktop /usr/share/applications/keepassxc.desktop
|
||||||
|
```
|
||||||
|
|
||||||
|
test: lancer manuellement
|
||||||
|
```shell
|
||||||
|
~/.local/usr/local/bin/keepassxc
|
||||||
|
```
|
||||||
|
|
||||||
|
construction lanceur desktop, plus utile
|
||||||
|
```shell
|
||||||
|
su
|
||||||
|
echo "[Desktop Entry]" >> /usr/share/applications/keepassxc.desktop
|
||||||
|
echo "Name=KeePassXC" >> /usr/share/applications/keepassxc.desktop
|
||||||
|
echo "Comment=Password Manager" >> /usr/share/applications/keepassxc.desktop
|
||||||
|
echo "Exec=/home/kyodev/.local/usr/local/bin/keepassxc" >> /usr/share/applications/keepassxc.desktop
|
||||||
|
echo "Path=/home/kyodev/.local/usr/local/bin/" >> /usr/share/applications/keepassxc.desktop
|
||||||
|
echo "Icon=/home/kyodev/.local/usr/local/share/keepassxc/icons/application/48x48/apps/keepassxc.png" >> /usr/share/applications/keepassxc.desktop
|
||||||
|
echo "Terminal=false" >> /usr/share/applications/keepassxc.desktop
|
||||||
|
echo "Type=Application" >> /usr/share/applications/keepassxc.desktop
|
||||||
|
echo "Categories=Utility;" >> /usr/share/applications/keepassxc.desktop
|
||||||
|
echo "MimeType=application/x-keepass2;" >> /usr/share/applications/keepassxc.desktop
|
||||||
|
exit
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## développement
|
||||||
|
|
||||||
|
réservé architecture 64b, bug 32
|
||||||
|
```shell
|
||||||
|
./release-tool build --version 2.2.0
|
||||||
|
```
|
|
@ -38,6 +38,7 @@ pages:
|
||||||
- Firefox: softs/firefox.md
|
- Firefox: softs/firefox.md
|
||||||
- Foremost: softs/foremost.md
|
- Foremost: softs/foremost.md
|
||||||
- KeepassXC: softs/keepassxc.md
|
- KeepassXC: softs/keepassxc.md
|
||||||
|
- KeepassXC compil: softs/keepassxc-compil.md
|
||||||
- LibreOffice: softs/libreoffice.md
|
- LibreOffice: softs/libreoffice.md
|
||||||
- TermRecord: softs/termrecord.md
|
- TermRecord: softs/termrecord.md
|
||||||
- liens: softs/liens.md
|
- liens: softs/liens.md
|
||||||
|
|
Loading…
Reference in New Issue