You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
4.1 KiB

9 years ago
# lightdm-webkit2-greeter
9 years ago
[![Latest Release](https://img.shields.io/github/release/Antergos/lightdm-webkit2-greeter.svg?style=flat-square)](https://github.com/Antergos/lightdm-webkit2-greeter/releases) [![Coverity Scan Build Status](https://img.shields.io/coverity/scan/6871.svg?style=flat-square)](https://scan.coverity.com/projects/antergos-lightdm-webkit2-greeter)
9 years ago
## Install It
9 years ago
#### Official Distro Packages
9 years ago
* ![antergos](https://dl.dropboxusercontent.com/u/60521097/logo-square26x26.png)  `sudo pacman -S lightdm-webkit2-greeter`
9 years ago
9 years ago
#### Unofficial Distro Packages
9 years ago
* ![arch](https://dl.dropboxusercontent.com/u/60521097/archlogo26x26.png)  `yaourt -S lightdm-webkit2-greeter`
* ![fedora](https://dl.dropboxusercontent.com/u/60521097/fedora-logo.png)  [OBS Repo](https://software.opensuse.org/download.html?project=home:antergos&package=lightdm-webkit2-greeter)
* ![openSUSE](https://dl.dropboxusercontent.com/u/60521097/Geeko-button-bling7.png)  [1 Click Install](https://software.opensuse.org/ymp/home:antergos/openSUSE_Leap_42.1/lightdm-webkit2-greeter.ymp?base=openSUSE%3ALeap%3A42.1&query=lightdm-webkit2-greeter)  |  [OBS Repo](https://software.opensuse.org/download.html?project=home:antergos&package=lightdm-webkit2-greeter)
9 years ago
## Build It
9 years ago
#### Dependencies
9 years ago
| | ![arch](https://dl.dropboxusercontent.com/u/60521097/archlogo26x26.png) | ![debian](https://dl.dropboxusercontent.com/u/60521097/openlogo-nd-25.png) | ![fedora](https://dl.dropboxusercontent.com/u/60521097/fedora-logo.png) | ![openSUSE](https://dl.dropboxusercontent.com/u/60521097/Geeko-button-bling7.png) | ![ubuntu](https://dl.dropboxusercontent.com/u/60521097/ubuntu_orange_hex.png) |
9 years ago
|-----------------------|-------------------------------------------------------------------------|----------------------------------------------------------------------------|-------------------------------------------------------------------------|-----------------------------------------------------------------------------------|--------------------------------------------------------------------------------|
9 years ago
|**liblightdm-gobject-1** |lightdm |liblightdm-gobject-dev | lightdm-gobject-devel | liblightdm-gobject-1-0 | liblightdm-gobject-dev |
|**gtk+ 3** |gtk3 |libgtk-3-0 | gtk3 | gtk3 | libgtk-3-0 |
|**webkit2gtk-4.0** |webkitgtk|libwebkit2gtk-4.0-dev | webkitgtk4 | webkit2gtk3 | libwebkit2gtk-4.0-dev |
|**dbus-glib-1** |dbus-glib|libdbus-glib-1-dev | dbus-glib | dbus-1-glib | libdbus-glib-1-dev |
|**exo-csource** |exo |exo-utils | exo-devel | exo-tools | exo-utils |
|[**antergos-wallpapers**](http://antergos.com/antergos-wallpapers-0.6.zip)| N/A | N/A| N/A | N/A| N/A |
9 years ago
#### How To Build
9 years ago
The process is slightly different depending on how you obtain the source.
9 years ago
##### Use Git To Clone This Repo
9 years ago
```sh
9 years ago
cd /tmp
9 years ago
git clone https://github.com/Antergos/lightdm-webkit2-greeter.git greeter
cd greeter
9 years ago
git submodule init && git submodule update
9 years ago
./autogen.sh --prefix=/usr
make
```
9 years ago
##### Download Repo In Archive Format (tar.gz, zip, etc)
9 years ago
```sh
9 years ago
cd /tmp
wget https://github.com/Antergos/lightdm-webkit2-greeter/archive/release/latest.zip
unzip latest.zip
cd lightdm**/themes
9 years ago
rm -rf antergos
9 years ago
wget https://github.com/Antergos/lightdm-webkit-theme-antergos/archive/latest.zip
unzip latest.zip
9 years ago
mv lightdm** antergos
9 years ago
cd ..
9 years ago
./autogen.sh --prefix=/usr
make
9 years ago
```
9 years ago
#### How To Install
```sh
cd themes/antergos
sed -i 's|/usr/share/|/usr/share/lightdm-webkit/themes/|g' index.html
wget http://antergos.com/antergos-wallpapers-0.6.zip
unzip antergos**.zip
sudo make install --prefix=/usr
sudo cp -R antergos-wa** /usr/share/lightdm-webkit/themes/antergos/wallpapers
```
9 years ago
## Theme JavaScript API:
9 years ago
The greeter exposes a JavaScript API to greeter themes which they must use to interact with the greeter (in order to facilitate the user login process). The [API Documentation](https://antergos.com/wiki/development/lightdm-webkit2-greeter-theme-javascript-api/) is a W.I.P.