mirror of https://framagit.org/kyodev/kyopages.git
maj
This commit is contained in:
parent
c87e4caed2
commit
3b462011f6
|
@ -1,27 +1,74 @@
|
||||||
# compil KeePassXC
|
# compil KeePassXC-32b
|
||||||
|
|
||||||
essentiellement utile pour dev ou plateforme 32b
|
|
||||||
|
|
||||||
## installation des outils de compilation
|
## installation des outils de compilation
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#C++ toolchain
|
# C++ toolchain
|
||||||
apt install build-essential cmake g++
|
apt install build-essential cmake g++
|
||||||
#
|
# git
|
||||||
apt install git gitk
|
apt install git gitk
|
||||||
|
|
||||||
#dépendances
|
# dépendances
|
||||||
apt install libxi-dev libxtst-dev qtbase5-dev \
|
apt install libxi-dev libxtst-dev qtbase5-dev \
|
||||||
libqt5x11extras5-dev qttools5-dev qttools5-dev-tools \
|
libqt5x11extras5-dev qttools5-dev qttools5-dev-tools \
|
||||||
libgcrypt20-dev zlib1g-dev libyubikey-dev libykpers-1-dev
|
libgcrypt20-dev zlib1g-dev libyubikey-dev libykpers-1-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
## chargement des sources
|
## chargement des sources
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git clone https://github.com/keepassxreboot/keepassxc.git --depth 1
|
git clone --depth 1 https://github.com/keepassxreboot/keepassxc.git
|
||||||
|
|
||||||
cd keepassxc
|
cd keepassxc
|
||||||
```
|
```
|
||||||
## compil, install
|
|
||||||
|
|
||||||
|
## build AppImage
|
||||||
|
|
||||||
|
* ~~bug AppImage~~, [PR252 acceptée](https://github.com/AppImage/AppImages/pull/252)
|
||||||
|
* build for amd64
|
||||||
|
* build on i386, ~~bug keepassxc~~ [PR737acceptée](https://github.com/keepassxreboot/keepassxc/pull/737)
|
||||||
|
|
||||||
|
remarque le build pour le 64bits est Ok de suite, le 32bits à vérifier, si le fix doit être released
|
||||||
|
ou pris en compte dès la branche _develop_
|
||||||
|
|
||||||
|
```shell
|
||||||
|
./release-tool build --version 2.2.0
|
||||||
|
```
|
||||||
|
|
||||||
|
### options
|
||||||
|
|
||||||
|
à utiliser à bon escient...
|
||||||
|
|
||||||
|
```text
|
||||||
|
Options:
|
||||||
|
-v, --version Release version number or name (required)
|
||||||
|
-a, --app-name Application name (default: '${APP_NAME}')
|
||||||
|
-s, --source-dir Source directory (default: '${SRC_DIR}')
|
||||||
|
-o, --output-dir Output directory where to build the release
|
||||||
|
(default: '${OUTPUT_DIR}')
|
||||||
|
-t, --tag-name Release tag to check out (defaults to version number)
|
||||||
|
-b, --build Build sources after exporting release
|
||||||
|
-d, --docker-image Use the specified Docker image to compile the application.
|
||||||
|
The image must have all required build dependencies installed.
|
||||||
|
This option has no effect if --build is not set.
|
||||||
|
--container-name Docker container name (default: '${DOCKER_CONTAINER_NAME}')
|
||||||
|
The container must not exist already
|
||||||
|
-c, --cmake-options Additional CMake options for compiling the sources
|
||||||
|
--compiler Compiler to use (default: '${COMPILER}')
|
||||||
|
-m, --make-options Make options for compiling sources (default: '${MAKE_OPTIONS}')
|
||||||
|
-i, --install-prefix Install prefix (default: '${INSTALL_PREFIX}')
|
||||||
|
-p, --plugins Space-separated list of plugins to build
|
||||||
|
(default: ${BUILD_PLUGINS})
|
||||||
|
-n, --no-source-tarball Don't build source tarball
|
||||||
|
-h, --help Show this help
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## compilation & install
|
||||||
|
|
||||||
|
destiné au développement, une AppImage est préférable à l'utilisation
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
@ -35,19 +82,20 @@ make DESTDIR=~/.local install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## install
|
### install
|
||||||
|
|
||||||
intégration lanceur au système
|
intégration lanceur au système
|
||||||
```shell
|
```shell
|
||||||
cp /home/kyodev/.local/usr/local/share/applications/keepassxc.desktop /usr/share/applications/keepassxc.desktop
|
cp /home/kyodev/.local/usr/local/share/applications/keepassxc.desktop /usr/share/applications/keepassxc.desktop
|
||||||
```
|
```
|
||||||
|
|
||||||
test: lancer manuellement
|
|
||||||
|
#### lancer manuellement
|
||||||
```shell
|
```shell
|
||||||
~/.local/usr/local/bin/keepassxc
|
~/.local/usr/local/bin/keepassxc
|
||||||
```
|
```
|
||||||
|
|
||||||
construction lanceur desktop, plus utile
|
####construction lanceur desktop, plus utile
|
||||||
```shell
|
```shell
|
||||||
su
|
su
|
||||||
echo "[Desktop Entry]" >> /usr/share/applications/keepassxc.desktop
|
echo "[Desktop Entry]" >> /usr/share/applications/keepassxc.desktop
|
||||||
|
@ -62,11 +110,3 @@ echo "Categories=Utility;" >> /usr/share/applications/keepassxc.desktop
|
||||||
echo "MimeType=application/x-keepass2;" >> /usr/share/applications/keepassxc.desktop
|
echo "MimeType=application/x-keepass2;" >> /usr/share/applications/keepassxc.desktop
|
||||||
exit
|
exit
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## développement
|
|
||||||
|
|
||||||
release tool à corriger pour debian
|
|
||||||
```shell
|
|
||||||
./release-tool build --version 2.2.0
|
|
||||||
```
|
|
||||||
|
|
|
@ -132,9 +132,11 @@ Would you like to integrate /opt/KeePassXC-2.2.0-x86_64.AppImage with your syste
|
||||||
This will add it to your applications menu and install icons.
|
This will add it to your applications menu and install icons.
|
||||||
If you don't do this you can still launch the application by double-clicking on the AppImage.
|
If you don't do this you can still launch the application by double-clicking on the AppImage.
|
||||||
```
|
```
|
||||||
répondre Oui, Quitter.
|
répondre Oui, Quitter.
|
||||||
|
|
||||||
|
en cas de réponse par non, pour revenir en arrière, effacer
|
||||||
|
`~/.local/share/appimagekit/KeePassXC_no_desktopintegration` (à vérifier)
|
||||||
|
|
||||||
voilà, le lanceur de KeepassXC est dans le menu, **catégorie : Accessoires**
|
voilà, le lanceur de KeepassXC est dans le menu, **catégorie : Accessoires**
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue