Browse Source

Preparing for 3.1.0 version

sisyphus
JezerM 3 years ago
parent
commit
f14ecf0a99
No known key found for this signature in database
GPG Key ID: 66BBC5D01388C6B5
  1. 10
      build/DEBIAN/control
  2. 5
      build/DEBIAN/postinst
  3. 9
      build/utils.sh
  4. 10
      dist/web-greeter.desktop
  5. 6
      dist/web-xgreeter.desktop
  6. 4
      web-greeter/config.py

10
build/DEBIAN/control

@ -1,18 +1,14 @@
Package: web-greeter
Version: 3.0.0
Version: 3.1.0
Provides: lightdm-greeter
Replaces: lightdm-webkit-greeter
Section: x11
Priority: optional
Homepage: https://github.com/JezerM/web-greeter
Installed-Size: 15052
Installed-Size: 402396
Architecture: all
Maintainer: JezerM <amyuki4@gmail.com>
Depends: python3,
python3-pip,
python3-gi,
python3-pyqt5,
liblightdm-gobject-1-0,
Depends: liblightdm-gobject-1-0,
liblightdm-gobject-1-dev
Description: A modern, visually appealing greeter for LightDM.
Web Greeter utilizes themes built with HTML/CSS/JavaScript for it's login screen. Web Greeter

5
build/DEBIAN/postinst

@ -1,3 +1,6 @@
#!/usr/bin/env sh
pip3 install https://github.com/JezerM/whither/tarball/master
# Link to the binary
ln -sf '/opt/web-greeter/web-greeter' '/usr/bin/web-greeter'
update-desktop-database /usr/share/applications || true

9
build/utils.sh

@ -63,7 +63,7 @@ init_build_dir() {
prepare_install() {
cd "${BUILD_DIR}"
mkdir -p \
"${INSTALL_ROOT}${PREFIX}"/share/{man/man1,metainfo,web-greeter,xgreeters,zsh/vendor-completions,bash-completion/completions} \
"${INSTALL_ROOT}${PREFIX}"/share/{man/man1,metainfo,web-greeter,xgreeters,applications,zsh/vendor-completions,bash-completion/completions} \
"${INSTALL_ROOT}"/etc/{lightdm,xdg/lightdm/lightdm.conf.d}
# Themes
@ -88,8 +88,11 @@ prepare_install() {
# AppData File
cp "${BUILD_DIR}/dist/${PKGNAME}.appdata.xml" "${INSTALL_ROOT}${PREFIX}/share/metainfo"
# Desktop File
cp "${BUILD_DIR}/dist/${PKGNAME}.desktop" "${INSTALL_ROOT}${PREFIX}/share/xgreeters"
# Greeter desktop File
cp "${BUILD_DIR}/dist/web-xgreeter.desktop" "${INSTALL_ROOT}${PREFIX}/share/xgreeters/web-greeter.desktop"
# Application desktop File
cp "${BUILD_DIR}/dist/web-greeter.desktop" "${INSTALL_ROOT}${PREFIX}/share/applications/web-greeter.desktop"
# Xgreeter wrapper
cp "${BUILD_DIR}/dist/90-greeter-wrapper.conf" \

10
dist/web-greeter.desktop vendored

@ -1,6 +1,8 @@
[Desktop Entry]
Name=Web Greeter
Comment=Greeter for LightDM
Exec=web-greeter
Name=web-greeter
Exec=/opt/web-greeter/web-greeter %U
Terminal=false
Type=Application
X-Ubuntu-Gettext-Domain=web-greeter
StartupWMClass=web-greeter
Comment=Web based greeter for lightdm
Categories=system;

6
dist/web-xgreeter.desktop vendored

@ -0,0 +1,6 @@
[Desktop Entry]
Name=Web Greeter
Comment=Greeter for LightDM
Exec=web-greeter
Type=Application
X-Ubuntu-Gettext-Domain=web-greeter

4
web-greeter/config.py

@ -68,9 +68,9 @@ web_greeter_config = {
"debug_mode": False,
"theme_dir": "/usr/share/web-greeter/themes/",
"version": {
"full": "3.0.0",
"full": "3.1.0",
"major": 3,
"minor": 3,
"minor": 1,
"micro": 0,
},
}

Loading…
Cancel
Save