# HG changeset patch # User Hans-G?nter Theisgen # Date 1655541108 -3600 # Node ID 2c370a02aaa3796c0e9d978fe29b62addbafd792 # Parent 180119c209e8e638b8aeeb188f8012133e94053b modified recipe for lightdm diff -r 180119c209e8 -r 2c370a02aaa3 lightdm/receipt --- a/lightdm/receipt Fri Jun 17 09:35:48 2022 +0000 +++ b/lightdm/receipt Sat Jun 18 09:31:48 2022 +0100 @@ -7,16 +7,18 @@ MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL3 LGPL3" WEB_SITE="https://launchpad.net/lightdm" +HELP="https://wiki.archlinux.org/index.php/LightDM" + TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/canonical/lightdm/archive/refs/tags/$VERSION.tar.gz" -HELP="https://wiki.archlinux.org/index.php/LightDM" + +DEPENDS="libgcrypt libgio libxklavier pam xorg-libX11" +BUILD_DEPENDS="automake gobject-introspection-dev gtk-doc itstool + libgcrypt-dev libtool libxklavier-dev pam-dev wget yelp-tools" + CONFIG_FILES="/etc/init/lightdm.conf /etc/lightdm/keys.conf \ /etc/lightdm/lightdm.conf /etc/lightdm/users.conf" -DEPENDS="libgcrypt libgio libxklavier pam xorg-libX11" -BUILD_DEPENDS="gobject-introspection-dev pam-dev itstool libxklavier-dev \ -libgcrypt-dev wget automake" - # What is the latest version available today? current_version() { @@ -27,15 +29,14 @@ # Rules to configure and make the package. compile_rules() { - ./autogen.sh - ./configure \ - --libexecdir=/usr/lib \ - --sysconfdir=/etc \ - --disable-static \ - --enable-introspection \ - --enable-liblightdm-gobject \ - --disable-gtk-doc \ - --with-greeter-session=lightdm-gtk-greeter \ + ./autogen.sh \ + --libexecdir=/usr/lib \ + --sysconfdir=/etc \ + --disable-static \ + --enable-introspection \ + --enable-liblightdm-gobject \ + --disable-gtk-doc \ + --with-greeter-session=lightdm-gtk-greeter \ $CONFIGURE_ARGS && make && make install @@ -44,19 +45,22 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p \ - $fs/usr/lib \ - $fs/usr/share/locale - cp -a $install/etc $fs - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/lightdm $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/sbin $fs/usr + mkdir -p $fs/usr/lib + mkdir -p $fs/usr/share/locale + + cp -a $install/etc $fs + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/lightdm $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/sbin $fs/usr # localization + # split off to lightdm-lang ? . $WOK/slitaz-i18n/stuff/locale-pack.conf - for lang in $LOCALE_PACK; do + for lang in $LOCALE_PACK + do langf=$install/usr/share/locale/$lang - [ -d $langf ] && cp -a $langf $fs/usr/share/locale - done + [ -d $langf ] && + cp -a $langf $fs/usr/share/locale + done }