Added lightdm & fixed flatpak

This commit is contained in:
Berk Çakar
2021-04-30 00:19:44 +03:00
parent 92feab4d12
commit 364da31c18
8 changed files with 255239 additions and 254849 deletions
+3 -2
View File
@@ -1,5 +1,6 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
@@ -17,9 +18,9 @@ def setup():
--libexecdir=/usr/libexec/ \
--disable-static \
--disable-tests \
--disable-liblightdm-qt5 \
--enable-liblightdm-qt5 \
--with-greeter-user=lightdm \
--with-greeter-session=lightdm-gtk-greeter")
--with-greeter-session=pisi-lightdm-greeter")
def build():
@@ -10,4 +10,4 @@ auth required pam_permit.so
account include system-local-login
password include system-local-login
session include system-local-login
-session optional pam_gnome_keyring.so auto_start
-session optional pam_gnome_keyring.so auto_start
@@ -1,6 +1,16 @@
--- lightdm-1.15.0.orig/data/lightdm.conf 2015-05-14 07:12:11.000000000 +0300
+++ lightdm-1.15.0/data/lightdm.conf 2016-09-07 06:27:09.913001757 +0300
@@ -106,7 +106,7 @@
diff -Nuar a/data/lightdm.conf b/data/lightdm.conf
--- a/data/lightdm.conf 2021-04-29 15:59:46.714211010 +0300
+++ b/data/lightdm.conf 2021-04-29 16:01:37.594219160 +0300
@@ -99,7 +99,7 @@
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
-#greeter-session=example-gtk-gnome
+greeter-session=pisi-lightdm-greeter
#greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
@@ -108,7 +108,7 @@
#allow-user-switching=true
#allow-guest=true
#guest-session=
@@ -9,8 +19,9 @@
#greeter-wrapper=
#guest-wrapper=
#display-setup-script=
--- lightdm-1.15.0.orig/data/users.conf 2014-05-19 23:10:03.000000000 +0300
+++ lightdm-1.15.0/data/users.conf 2016-09-07 06:27:25.985001874 +0300
diff -Nuar a/data/users.conf b/data/users.conf
--- a/data/users.conf 2021-04-29 16:00:22.690213654 +0300
+++ b/data/users.conf 2021-04-29 16:01:45.322219728 +0300
@@ -9,6 +9,6 @@
# hidden-shells = Shells that indicate a user cannot login
#
@@ -18,4 +29,4 @@
-minimum-uid=500
+minimum-uid=1000
hidden-users=nobody nobody4 noaccess
hidden-shells=/bin/false /usr/sbin/nologin
hidden-shells=/bin/false /usr/sbin/nologin /sbin/nologin
+43 -9
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "github.com/igor0pav/pkg/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>lightdm</Name>
@@ -10,8 +10,8 @@
</Packager>
<License>GPL2</License>
<IsA>app</IsA>
<Summary>LightDM Qt client library</Summary>
<Description>LightDM Qt client library</Description>
<Summary>LightDM is a cross-desktop display manager.</Summary>
<Description>LightDM is a cross-desktop display manager.</Description>
<Archive type="tarxz" sha1sum="d91966f79f173825ac8bb51973842f9fb6c9ef1b">https://github.com/CanonicalLtd/lightdm/releases/download/1.30.0/lightdm-1.30.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>itstool</Dependency>
@@ -26,6 +26,7 @@
<Dependency>dbus-glib-devel</Dependency>
<Dependency>libxcb-devel</Dependency>
<Dependency>libXdmcp-devel</Dependency>
<Dependency>qt5-base-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">lightdm-default-config.patch</Patch>
@@ -36,7 +37,7 @@
<Package>
<Name>lightdm</Name>
<Conflicts>
<Package>lxdm</Package>
<!--Package>lxdm</Package-->
<Package>sddm</Package>
</Conflicts>
<RuntimeDependencies>
@@ -51,9 +52,10 @@
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="library">/usr/lib/liblightdm-gobject-1.so*</Path>
<Path fileType="library">/usr/libexec</Path>
<Path fileType="library">/usr/lib/tmpfiles.d</Path>
<Path fileType="library">/usr/lib/girepository-1.0</Path>
<Path fileType="data">/usr/share/accountsservice</Path>
<Path fileType="data">/usr/share/bash-completion</Path>
<Path fileType="data">/usr/share/dbus-1</Path>
@@ -72,7 +74,7 @@
</AdditionalFiles>
<Provides>
<!--COMAR script="service.py">System.Service</COMAR-->
<COMAR script="service.py">System.Service</COMAR>
<COMAR script="package.py">System.Package</COMAR>
</Provides>
</Package>
@@ -80,12 +82,44 @@
<Package>
<Name>lightdm-devel</Name>
<Summary>LightDM is a cross-desktop display manager.</Summary>
<RuntimeDependencies>
<Dependency release="current">lightdm</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>libxklavier-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="header">/usr/include/lightdm-gobject-1</Path>
<Path fileType="library">/usr/lib/pkgconfig/liblightdm-gobject-1.pc</Path>
<Path fileType="data">/usr/share/gir-1.0</Path>
</Files>
</Package>
<Package>
<Name>liblightdm-qt5</Name>
<Summary>Qt5 library for LightDM.</Summary>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>lightdm</Dependency>
<Dependency>qt5-base</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/liblightdm-qt5-3.so*</Path>
</Files>
</Package>
<Package>
<Name>liblightdm-qt5-devel</Name>
<Summary>LightDM is a cross-desktop display manager.</Summary>
<RuntimeDependencies>
<Dependency release="current">liblightdm-qt5</Dependency>
<Dependency>qt5-base-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/lightdm-qt5-3</Path>
<Path fileType="library">/usr/lib/pkgconfig/liblightdm-qt5-3.pc</Path>
</Files>
</Package>
<History>
+255173 -254829
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
4adea05d7118debb594cd251f64cb44501f390d8
6ec2b4f9b3be75bbfef064a427ce4971c957880a
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
5674c8d9874e0764945d4d999dd038ba3864e164
0d538c49a30c90efb964ebf6f9f99a9551f64c84