Merge pull request #9486 from friberk/master

gdm, budgie-desktop, budgie-screensaver, adobe-source-code-pro-fonts, epiphany, evolution, gnome-initial-setup, gnome-online-miners, gnome-user-docs packaged
This commit is contained in:
Kamil ATLI
2021-06-08 07:06:08 +03:00
committed by GitHub
38 changed files with 269256 additions and 265217 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 2
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools
def setup():
mesontools.configure("-Dwith-gtk-doc=false")
def build():
mesontools.build()
def install():
mesontools.install()
pisitools.dodoc("README.md", "LICENSE*")
+112
View File
@@ -0,0 +1,112 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>budgie-desktop</Name>
<Homepage>https://github.com/solus-project/budgie-desktop</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<License>LGPLv2.1</License>
<Summary>Modern desktop environment from the Solus Project.</Summary>
<Description>Budgie is a desktop environment that uses GNOME technologies such as GTK3 and is developed by the Solus project.</Description>
<Archive sha1sum="ea9af70039786746b362c6a15e3f1984c75f3a67" type="tarxz">https://github.com/solus-project/budgie-desktop/releases/download/v10.5.3/budgie-desktop-v10.5.3.tar.xz</Archive>
<BuildDependencies>
<Dependency>vala-devel</Dependency>
<Dependency>intltool</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
<Dependency>sassc</Dependency>
<Dependency>budgie-screensaver</Dependency>
<Dependency>alsa-lib-devel</Dependency>
<Dependency>libnotify-devel</Dependency>
<Dependency>accountsservice-devel</Dependency>
<Dependency>libpeas-devel</Dependency>
<Dependency>libwnck3-devel</Dependency>
<Dependency>mutter-devel</Dependency>
<Dependency>ibus-devel</Dependency>
<Dependency>gnome-desktop-devel</Dependency>
<Dependency>libseccomp-devel</Dependency>
<Dependency>pulseaudio-libs-devel</Dependency>
<Dependency>upower-devel</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>polkit-devel</Dependency>
<Dependency>gnome-bluetooth-devel</Dependency>
<Dependency>gnome-menus-devel</Dependency>
<Dependency>gnome-settings-daemon-devel</Dependency>
<Dependency>meson</Dependency>
<Dependency>mesa-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>budgie-desktop</Name>
<RuntimeDependencies>
<Dependency>gtk3</Dependency>
<Dependency>ibus</Dependency>
<Dependency>cairo</Dependency>
<Dependency>glib2</Dependency>
<Dependency>pango</Dependency>
<Dependency>libX11</Dependency>
<Dependency>mutter</Dependency>
<Dependency>polkit</Dependency>
<Dependency>upower</Dependency>
<Dependency>libpeas</Dependency>
<Dependency>alsa-lib</Dependency>
<Dependency>libwnck3</Dependency>
<Dependency>libnotify</Dependency>
<Dependency>gdk-pixbuf</Dependency>
<Dependency>gnome-menus</Dependency>
<Dependency>gnome-desktop</Dependency>
<Dependency>libXcomposite</Dependency>
<Dependency>libutil-linux</Dependency>
<Dependency>gnome-bluetooth</Dependency>
<Dependency>pulseaudio-libs</Dependency>
<Dependency>gobject-introspection</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/etc/xdg</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/lib*.so*</Path>
<Path fileType="library">/usr/lib/budgie-desktop</Path>
<Path fileType="library">/usr/lib/girepository-1.0</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="data">/usr/share/backgrounds</Path>
<Path fileType="data">/usr/share/budgie-desktop</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/xsessions</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/gnome-session</Path>
<Path fileType="data">/usr/share/glib-2.0</Path>
</Files>
</Package>
<Package>
<Name>budgie-desktop-devel</Name>
<RuntimeDependencies>
<Dependency release="current">budgie-desktop</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libpeas-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/vala</Path>
<Path fileType="data">/usr/share/gir-1.0</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-06-05</Date>
<Version>10.5.3</Version>
<Comment>First release for Pisi Linux</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,20 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure()
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("COPYING*", "NEWS", "README*", "AUTHORS", "ChangeLog")
@@ -0,0 +1,93 @@
From 1553374b9c5db3db8232738dc8fa747684b070d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor@gmail.com>
Date: Fri, 30 Apr 2021 15:58:22 +0200
Subject: [PATCH] Fix killing gjs
---
src/gnome-screensaver.c | 22 +++++++++++-----------
src/gs-listener-dbus.c | 29 ++++++++++++-----------------
2 files changed, 23 insertions(+), 28 deletions(-)
diff --git a/src/gnome-screensaver.c b/src/gnome-screensaver.c
index d2ccae3..96a7d49 100644
--- a/src/gnome-screensaver.c
+++ b/src/gnome-screensaver.c
@@ -82,17 +82,17 @@ main (int argc,
exit (1);
}
- gchar** env_vars = g_get_environ(); // Get our list of environment variables
- gchar* desktop = g_environ_getenv(env_vars, "XDG_CURRENT_DESKTOP"); // Get the current desktop value
-
- if (desktop != NULL) { // Got a value
- if (!g_str_has_prefix(desktop, "Budgie")) { // Does not start with Budgie
- g_message("Not running under Budgie, exiting.");
- exit(1);
- }
- }
-
- g_strfreev(env_vars); // Free our environment variables
+ if (g_find_program_in_path("pkill") != NULL) { // Have pkill
+ g_spawn_command_line_sync("pkill -9 -f '/usr/bin/gjs /usr/share/gnome-shell/org.gnome.ScreenSaver'",
+ NULL,
+ NULL,
+ NULL,
+ &error);
+ if (error) {
+ g_warning("Failed to kill gjs: %s", error->message);
+ g_error_free (error);
+ }
+ }
gs_debug_init (debug, FALSE);
gs_debug ("initializing budgie-screensaver %s", VERSION);
diff --git a/src/gs-listener-dbus.c b/src/gs-listener-dbus.c
index 124d83a..f667127 100644
--- a/src/gs-listener-dbus.c
+++ b/src/gs-listener-dbus.c
@@ -1334,6 +1334,14 @@ gs_listener_acquire (GSListener *listener,
_("not connected to the message bus"));
return FALSE;
}
+ if (screensaver_is_running (listener->priv->connection)) {
+ g_set_error (error,
+ GS_LISTENER_ERROR,
+ GS_LISTENER_ERROR_ACQUISITION_FAILURE,
+ "%s",
+ _("screensaver already running in this session"));
+ return FALSE;
+ }
dbus_error_init (&buserror);
@@ -1345,23 +1353,10 @@ gs_listener_acquire (GSListener *listener,
return FALSE;
}
- if (g_find_program_in_path("pkill") != NULL) { // Have pkill
- char *argv[5];
- argv[0] = "pkill";
- argv[1] = "-9";
- argv[2] = "-f";
- argv[3] = "'/usr/bin/gjs /usr/share/gnome-shell/org.gnome.ScreenSaver'";
- argv[4] = NULL;
-
- g_autoptr(GError) error = NULL;
- gboolean kill_ret = g_spawn_sync(NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL, NULL, &error);
-
- if (!kill_ret) {
- g_warning("Failed to kill gjs: %s", error->message);
- }
- }
-
- res = dbus_bus_request_name (listener->priv->connection, GS_SERVICE, DBUS_NAME_FLAG_REPLACE_EXISTING, &buserror);
+ res = dbus_bus_request_name (listener->priv->connection,
+ GS_SERVICE,
+ DBUS_NAME_FLAG_DO_NOT_QUEUE | DBUS_NAME_FLAG_ALLOW_REPLACEMENT,
+ &buserror);
if (dbus_error_is_set (&buserror)) {
g_set_error (error,
GS_LISTENER_ERROR,
--
2.31.1
@@ -0,0 +1,69 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>budgie-screensaver</Name>
<Homepage>https://github.com/solus-project/budgie-desktop</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<Summary>Fork of GNOME Screensaver for Budgie 10.</Summary>
<Description>Budgie Screensaver is a fork of gnome-screensaver intended for use with Budgie Desktop and is similar in purpose to other screensavers such as MATE Screensaver.</Description>
<Archive sha1sum="0d7ec5cedc0d279af7538ae154ee62af1bc22539" type="tarxz">https://github.com/getsolus/budgie-screensaver/releases/download/v4.0/budgie-screensaver-v4.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>dbus-glib-devel</Dependency>
<Dependency>gnome-desktop-devel</Dependency>
<Dependency>pam-devel</Dependency>
<Dependency>elogind-devel</Dependency>
<Dependency>gsettings-desktop-schemas-devel</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>libseccomp-devel</Dependency>
<Dependency>intltool</Dependency>
<Dependency>glib2-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">0001-Fix-killing-gjs.patch</Patch>
</Patches>
</Source>
<Package>
<Name>budgie-screensaver</Name>
<RuntimeDependencies>
<Dependency>pam</Dependency>
<Dependency>dbus</Dependency>
<Dependency>gtk3</Dependency>
<Dependency>cairo</Dependency>
<Dependency>glib2</Dependency>
<Dependency>libX11</Dependency>
<Dependency>elogind</Dependency>
<Dependency>libXext</Dependency>
<Dependency>dbus-glib</Dependency>
<Dependency>gdk-pixbuf</Dependency>
<Dependency>libXxf86vm</Dependency>
<Dependency>libXxf86misc</Dependency>
<Dependency>gnome-desktop</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/etc/pam.d</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="executable">/usr/libexec</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/applications</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-06-05</Date>
<Version>4.0</Version>
<Comment>First release for Pisi Linux</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</PISI>
+3
View File
@@ -0,0 +1,3 @@
<PISI>
<Name>desktop.budgie</Name>
</PISI>
@@ -0,0 +1,13 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pisitools
def install():
pisitools.insinto("/usr/share/fonts/adobe-source-code-pro-fonts/", "OTF/*.otf")
pisitools.insinto("/usr/share/fonts/adobe-source-code-pro-fonts/", "VAR/*.otf")
pisitools.dodoc("LICENSE.md", "README.md")
@@ -0,0 +1,34 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>adobe-source-code-pro-fonts</Name>
<Homepage>http://www.gnome.org</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<Summary>Monospaced font family for user interface and coding environments.</Summary>
<Description>Source Code Pro is a set of OpenType fonts that have been designed to work well in user interface (UI) environments.</Description>
<License>OFL</License>
<Archive sha1sum="84fb2250f1156d575dea7cd2a77c76b0d414a0d6" type="targz">https://github.com/adobe-fonts/source-code-pro/archive/refs/tags/2.038R-ro/1.058R-it/1.018R-VAR.tar.gz</Archive>
</Source>
<Package>
<Name>adobe-source-code-pro-fonts</Name>
<Files>
<Path fileType="data">/usr/share/fonts</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-06-05</Date>
<Version>2.038R</Version>
<Comment>First release for Pisi Linux.</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</PISI>
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
mesontools.configure("-Dunit_tests=disabled")
def build():
mesontools.build()
def install():
mesontools.install()
pisitools.dodoc("COPYING", "README.md", "CONTRIBUTING.md", "HACKING.md")
+92
View File
@@ -0,0 +1,92 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>epiphany</Name>
<Homepage>https://gitlab.gnome.org/GNOME/epiphany</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:gui</IsA>
<Summary>Intuitive GNOME web browser.</Summary>
<Description>Epiphany is a GNOME web browser based on the WebKit rendering engine.</Description>
<BuildDependencies>
<Dependency>glib2-devel</Dependency>
<Dependency>itstool</Dependency>
<Dependency>NetworkManager-devel</Dependency>
<Dependency>avahi-glib-devel</Dependency>
<Dependency>gcr-devel</Dependency>
<Dependency>gnome-desktop-devel</Dependency>
<Dependency>json-glib-devel</Dependency>
<Dependency>libdazzle-devel</Dependency>
<Dependency>libhandy-devel</Dependency>
<Dependency>libnotify-devel</Dependency>
<Dependency>libsecret-devel</Dependency>
<Dependency>libsoup-gnome</Dependency>
<Dependency>libwnck3-devel</Dependency>
<Dependency>libxslt-devel</Dependency>
<Dependency>nettle-devel</Dependency>
<Dependency>nss-devel</Dependency>
<Dependency>webkit2gtk-devel</Dependency>
<Dependency>libportal-devel</Dependency>
<Dependency>libsoup-devel</Dependency>
<Dependency>libarchive-devel</Dependency>
<Dependency>appstream-glib-devel</Dependency>
<Dependency>gmp-devel</Dependency>
<Dependency>meson</Dependency>
</BuildDependencies>
<Archive sha1sum="f56d32e29bf46f9e714e009389a06c320d01d130" type="tarxz">https://download.gnome.org/sources/epiphany/3.38/epiphany-3.38.5.tar.xz</Archive>
</Source>
<Package>
<Name>epiphany</Name>
<RuntimeDependencies>
<Dependency>atk</Dependency>
<Dependency>cairo</Dependency>
<Dependency>gcr</Dependency>
<Dependency>gdk-pixbuf</Dependency>
<Dependency>glib2</Dependency>
<Dependency>gmp</Dependency>
<Dependency>gtk3</Dependency>
<Dependency>json-glib</Dependency>
<Dependency>libdazzle</Dependency>
<Dependency>libsecret</Dependency>
<Dependency>libsoup</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>nettle</Dependency>
<Dependency>pango</Dependency>
<Dependency>sqlite</Dependency>
<Dependency>webkit2gtk</Dependency>
<Dependency>libhandy</Dependency>
<Dependency>libportal</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="library">/usr/libexec</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/dbus-1</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/epiphany</Path>
<Path fileType="data">/usr/share/glib-2.0</Path>
<Path fileType="data">/usr/share/gnome-shell</Path>
<Path fileType="man">/usr/share/help</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/metainfo</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-06-07</Date>
<Version>3.38.5</Version>
<Comment>First release for Pisi Linux</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</PISI>
+27
View File
@@ -0,0 +1,27 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
# TODO: Add libchamplain (Contact Maps) support.
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONF_INSTALL_DIR=/etc \
-DENABLE_INSTALLED_TESTS=OFF \
-DENABLE_PST_IMPORT=OFF \
-DENABLE_YTNEF=OFF \
-DENABLE_CONTACT_MAPS=OFF \
-DENABLE_TEXT_HIGHLIGHT=OFF")
def build():
cmaketools.make()
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("COPYING", "ChangeLog", "HACKING", "MAINTAINERS", "NEWS", "README.md")
+114
View File
@@ -0,0 +1,114 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>evolution</Name>
<Homepage>https://gitlab.gnome.org/GNOME/evolution</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admin@pisilinux.org</Email>
</Packager>
<License>LGPLv2</License>
<License>LGPLv3</License>
<IsA>app:gui</IsA>
<Summary>Integrated mail, addressbook and calendaring for GNOME.</Summary>
<Description>The Evolution package contains an integrated mail, calendar and address book suite designed for the GNOME environment.</Description>
<Archive sha1sum="d9298995a45a8ead5353ab520a5e5e1ac9afafff" type="tarxz">https://download.gnome.org/sources/evolution/3.40/evolution-3.40.1.tar.xz</Archive>
<BuildDependencies>
<Dependency>gnome-desktop-devel</Dependency>
<Dependency>libcanberra-gtk3-devel</Dependency>
<Dependency>evolution-data-server-devel</Dependency>
<Dependency>gspell-devel</Dependency>
<Dependency>gnome-autoar-devel</Dependency>
<Dependency>libarchive-devel</Dependency>
<Dependency>intltool</Dependency>
<Dependency>itstool</Dependency>
<Dependency>docbook-xsl</Dependency>
<Dependency>NetworkManager-devel</Dependency>
<Dependency>yelp-tools</Dependency>
<Dependency>libgdata-devel</Dependency>
<Dependency>webkit2gtk-devel</Dependency>
<Dependency>enchant2-devel</Dependency>
<Dependency>libgweather-devel</Dependency>
<Dependency>libnotify-devel</Dependency>
<Dependency>clutter-gtk-devel</Dependency>
<Dependency>geoclue-devel</Dependency>
<Dependency>geocode-glib-devel</Dependency>
<Dependency>libseccomp-devel</Dependency>
<Dependency>openldap-client</Dependency>
<Dependency>cmake</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>evolution</Name>
<RuntimeDependencies>
<Dependency>atk</Dependency>
<Dependency>gcr</Dependency>
<Dependency>nss</Dependency>
<Dependency>gtk3</Dependency>
<Dependency>nspr</Dependency>
<Dependency>cairo</Dependency>
<Dependency>glib2</Dependency>
<Dependency>pango</Dependency>
<Dependency>gspell</Dependency>
<Dependency>sqlite</Dependency>
<Dependency>libical</Dependency>
<Dependency>libsoup</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>enchant2</Dependency>
<Dependency>libnotify</Dependency>
<Dependency>libsecret</Dependency>
<Dependency>gdk-pixbuf</Dependency>
<Dependency>webkit2gtk</Dependency>
<Dependency>libcanberra</Dependency>
<Dependency>libgweather</Dependency>
<Dependency>gnome-autoar</Dependency>
<Dependency>gnome-desktop</Dependency>
<Dependency>openldap-client</Dependency>
<Dependency>evolution-data-server</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/evolution-data-server</Path>
<Path fileType="library">/usr/lib/evolution</Path>
<Path fileType="executable">/usr/libexec</Path>
<Path fileType="data">/usr/share/GConf</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/evolution</Path>
<Path fileType="data">/usr/share/glib-2.0</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="man">/usr/share/help</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="info">/usr/share/metainfo</Path>
</Files>
</Package>
<Package>
<Name>evolution-devel</Name>
<RuntimeDependencies>
<Dependency release="current">evolution</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>gnome-desktop-devel</Dependency>
<Dependency>evolution-data-server-devel</Dependency>
<Dependency>webkit2gtk-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-06-05</Date>
<Version>3.40.1</Version>
<Comment>First release for Pisi Linux</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</PISI>
+34
View File
@@ -0,0 +1,34 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
shelltools.system("sed -i 's@systemd@elogind@' data/pam-lfs/gdm-launch-environment.pam")
shelltools.system("sed -i 's@-session@session @' data/pam-lfs/gdm-launch-environment.pam")
mesontools.configure("--prefix=/usr \
--localstatedir=/var \
--buildtype=release \
-Ddefault-pam-config=lfs \
-Dplymouth=disabled \
-Dpam-mod-dir=/lib/security \
-Dgdm-xsession=true \
-Dsystemd-journal=false \
-Dsystemdsystemunitdir=no \
-Dsystemduserunitdir=no \
-Dlogind-provider=elogind \
-Dscreenshot-dir=/var/lib/gdm/greeter")
def build():
mesontools.build()
def install():
mesontools.install()
pisitools.dodoc("NEWS", "README.md", "COPYING", "AUTHORS", "HACKING")
+25
View File
@@ -0,0 +1,25 @@
#!/usr/bin/python
import os, re
OUR_ID = 42
OUR_NAME = "gdm"
OUR_DESC = "GDM"
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
try:
os.system("groupadd -g %d %s" % (OUR_ID, OUR_NAME))
os.system("useradd -m -d /var/lib/gdm -r -s /bin/false -u %d -g %d %s -c %s" % (OUR_ID, OUR_ID, OUR_NAME, OUR_DESC))
os.system("passwd -ql %s" % (OUR_NAME))
os.system("/bin/chown gdm:gdm -R /var/lib/gdm")
os.system("/bin/chown root:gdm -R /var/log/gdm")
except:
pass
def postRemove():
try:
os.system("userdel %s" % OUR_NAME)
os.system("groupdel %s" % OUR_NAME)
except:
pass
+34
View File
@@ -0,0 +1,34 @@
#!/usr/bin/python
#-*- coding: UTF-8 -*-
from comar.service import *
import os
serviceType = "server"
serviceDesc = _({
"en": "GNOME Desktop",
"tr": "GNOME Masaüstü",
})
serviceDefault="on"
PIDFILE="/var/run/gdm/gdm.pid"
DAEMON="/usr/sbin/gdm"
@synchronized
def start():
startService(command=DAEMON,
pidfile=PIDFILE,
detach=True,
donotify=True)
@synchronized
def stop():
stopService(pidfile=PIDFILE,
donotify=True)
try:
os.unlink(PIDFILE)
except OSError:
pass
def status():
return isServiceRunning(PIDFILE)
@@ -0,0 +1,25 @@
From 1c8fc3f30630dec1526979d190c280902712b99d Mon Sep 17 00:00:00 2001
From: Joshua Strobl <joshua@stroblindustries.com>
Date: Wed, 17 Apr 2019 12:50:33 +0300
Subject: [PATCH 1/1] Force Xorg use on the login screen
---
data/gdm.conf-custom.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/gdm.conf-custom.in b/data/gdm.conf-custom.in
index 9b63ba95..4f220684 100644
--- a/data/gdm.conf-custom.in
+++ b/data/gdm.conf-custom.in
@@ -2,7 +2,7 @@
[daemon]
# Uncomment the line below to force the login screen to use Xorg
-#WaylandEnable=false
+WaylandEnable=false
[security]
--
2.21.0
@@ -0,0 +1,216 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Tue, 27 Oct 2020 18:59:14 +0000
Subject: [PATCH] pam-arch: Update to match pambase 20200721.1-2
Update the PAM files for Arch Linux. This has been applied downstream
since Aug 2020.
https://bugs.archlinux.org/task/67485
---
data/meson.build | 1 -
data/pam-arch/gdm-autologin.pam | 22 +++++++++--------
data/pam-arch/gdm-fingerprint.pam | 31 +++++++++++++++---------
data/pam-arch/gdm-launch-environment.pam | 24 ++++++++++--------
data/pam-arch/gdm-password.pam | 17 +++++++------
data/pam-arch/gdm-pin.pam | 13 ----------
data/pam-arch/gdm-smartcard.pam | 31 +++++++++++++++---------
7 files changed, 75 insertions(+), 64 deletions(-)
delete mode 100644 data/pam-arch/gdm-pin.pam
diff --git a/data/meson.build b/data/meson.build
index 23e2d7f9..7c5222ea 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -134,7 +134,6 @@ pam_data_files_map = {
'gdm-fingerprint',
'gdm-smartcard',
'gdm-password',
- 'gdm-pin',
],
'none': [],
# We should no longer have 'autodetect' at this point
diff --git a/data/pam-arch/gdm-autologin.pam b/data/pam-arch/gdm-autologin.pam
index 99b14209..30bdf529 100644
--- a/data/pam-arch/gdm-autologin.pam
+++ b/data/pam-arch/gdm-autologin.pam
@@ -1,13 +1,15 @@
-auth requisite pam_nologin.so
-auth required pam_env.so
-auth optional pam_gdm.so
-auth optional pam_gnome_keyring.so
-auth optional pam_permit.so
+#%PAM-1.0
-account include system-local-login
+auth required pam_shells.so
+auth requisite pam_nologin.so
+auth optional pam_permit.so
+auth required pam_env.so
+auth [success=ok default=1] pam_gdm.so
+auth optional pam_gnome_keyring.so
-password include system-local-login
+account include system-local-login
-session optional pam_keyinit.so force revoke
-session include system-local-login
-session optional pam_gnome_keyring.so auto_start
+password required pam_deny.so
+
+session include system-local-login
+session optional pam_gnome_keyring.so auto_start
diff --git a/data/pam-arch/gdm-fingerprint.pam b/data/pam-arch/gdm-fingerprint.pam
index a4808617..cc660d9a 100644
--- a/data/pam-arch/gdm-fingerprint.pam
+++ b/data/pam-arch/gdm-fingerprint.pam
@@ -1,14 +1,23 @@
-auth required pam_tally.so onerr=succeed file=/var/log/faillog
-auth required pam_shells.so
-auth requisite pam_nologin.so
-auth required pam_env.so
-auth required pam_fprintd.so
-auth optional pam_permit.so
+#%PAM-1.0
-account include system-local-login
+auth required pam_shells.so
+auth requisite pam_nologin.so
+auth required pam_faillock.so preauth
+# Optionally use requisite above if you do not want to prompt for the fingerprint
+# on locked accounts.
+auth [success=1 default=ignore] pam_fprintd.so
+auth [default=die] pam_faillock.so authfail
+auth optional pam_permit.so
+auth required pam_env.so
+auth required pam_faillock.so authsucc
+# If you drop the above call to pam_faillock.so the lock will be done also
+# on non-consecutive authentication failures.
+auth [success=ok default=1] pam_gdm.so
+auth optional pam_gnome_keyring.so
-password required pam_fprintd.so
-password optional pam_permit.so
+account include system-local-login
-session optional pam_keyinit.so force revoke
-session include system-local-login
+password required pam_deny.so
+
+session include system-local-login
+session optional pam_gnome_keyring.so auto_start
diff --git a/data/pam-arch/gdm-launch-environment.pam b/data/pam-arch/gdm-launch-environment.pam
index d59c9cb9..20d1810a 100644
--- a/data/pam-arch/gdm-launch-environment.pam
+++ b/data/pam-arch/gdm-launch-environment.pam
@@ -1,13 +1,17 @@
-auth required pam_env.so
-auth required pam_succeed_if.so audit quiet_success user = gdm
-auth optional pam_permit.so
+#%PAM-1.0
-account required pam_succeed_if.so audit quiet_success user = gdm
-account optional pam_permit.so
+auth required pam_succeed_if.so audit quiet_success user in gdm:gnome-initial-setup
+auth optional pam_permit.so
+auth required pam_env.so
-password required pam_deny.so
+account required pam_succeed_if.so audit quiet_success user in gdm:gnome-initial-setup
+account optional pam_permit.so
-session optional pam_keyinit.so force revoke
-session required pam_succeed_if.so audit quiet_success user = gdm
-session required pam_systemd.so
-session optional pam_permit.so
+password required pam_deny.so
+
+session optional pam_loginuid.so
+session optional pam_keyinit.so force revoke
+session required pam_succeed_if.so audit quiet_success user in gdm:gnome-initial-setup
+session optional pam_permit.so
+-session optional pam_systemd.so
+session required pam_env.so user_readenv=1
diff --git a/data/pam-arch/gdm-password.pam b/data/pam-arch/gdm-password.pam
index 8d34794e..137242a6 100644
--- a/data/pam-arch/gdm-password.pam
+++ b/data/pam-arch/gdm-password.pam
@@ -1,11 +1,12 @@
-auth include system-local-login
-auth optional pam_gnome_keyring.so
+#%PAM-1.0
-account include system-local-login
+auth include system-local-login
+auth optional pam_gnome_keyring.so
-password include system-local-login
-password optional pam_gnome_keyring.so use_authtok
+account include system-local-login
-session optional pam_keyinit.so force revoke
-session include system-local-login
-session optional pam_gnome_keyring.so auto_start
+password include system-local-login
+password optional pam_gnome_keyring.so use_authtok
+
+session include system-local-login
+session optional pam_gnome_keyring.so auto_start
diff --git a/data/pam-arch/gdm-pin.pam b/data/pam-arch/gdm-pin.pam
deleted file mode 100644
index 135e205e..00000000
--- a/data/pam-arch/gdm-pin.pam
+++ /dev/null
@@ -1,13 +0,0 @@
-auth requisite pam_pin.so
-auth include system-local-login
-auth optional pam_gnome_keyring.so
-
-account include system-local-login
-
-password include system-local-login
-password optional pam_pin.so
-password optional pam_gnome_keyring.so use_authtok
-
-session optional pam_keyinit.so force revoke
-session include system-local-login
-session optional pam_gnome_keyring.so auto_start
diff --git a/data/pam-arch/gdm-smartcard.pam b/data/pam-arch/gdm-smartcard.pam
index ec6f75d5..e6ec1299 100644
--- a/data/pam-arch/gdm-smartcard.pam
+++ b/data/pam-arch/gdm-smartcard.pam
@@ -1,14 +1,23 @@
-auth required pam_tally.so onerr=succeed file=/var/log/faillog
-auth required pam_shells.so
-auth requisite pam_nologin.so
-auth required pam_env.so
-auth required pam_pkcs11.so wait_for_card card_only
-auth optional pam_permit.so
+#%PAM-1.0
-account include system-local-login
+auth required pam_shells.so
+auth requisite pam_nologin.so
+auth required pam_faillock.so preauth
+# Optionally use requisite above if you do not want to prompt for the smartcard
+# on locked accounts.
+auth [success=1 default=ignore] pam_pkcs11.so wait_for_card card_only
+auth [default=die] pam_faillock.so authfail
+auth optional pam_permit.so
+auth required pam_env.so
+auth required pam_faillock.so authsucc
+# If you drop the above call to pam_faillock.so the lock will be done also
+# on non-consecutive authentication failures.
+auth [success=ok default=1] pam_gdm.so
+auth optional pam_gnome_keyring.so
-password required pam_pkcs11.so
-password optional pam_permit.so
+account include system-local-login
-session optional pam_keyinit.so force revoke
-session include system-local-login
+password required pam_deny.so
+
+session include system-local-login
+session optional pam_gnome_keyring.so auto_start
@@ -0,0 +1,28 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
Date: Sat, 20 Jun 2015 17:22:38 +0200
Subject: [PATCH] Xsession: Don't start ssh-agent by default
---
data/Xsession.in | 8 --------
1 file changed, 8 deletions(-)
diff --git a/data/Xsession.in b/data/Xsession.in
index 2e4de4fe..29ebc30e 100755
--- a/data/Xsession.in
+++ b/data/Xsession.in
@@ -207,14 +207,6 @@ if [ "x$command" = "xdefault" ] ; then
fi
fi
-# add ssh-agent if found
-sshagent="`gdmwhich ssh-agent`"
-if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then
- command="$sshagent -- $command"
-elif [ -z "$sshagent" ] ; then
- echo "$0: ssh-agent not found!"
-fi
-
echo "$0: Setup done, will execute: $command"
eval exec $command
@@ -0,0 +1,215 @@
From a8bb1878df6a98798c66b87bbc555bc9f55fcec6 Mon Sep 17 00:00:00 2001
From: Dudemanguy <random342@airmail.cc>
Date: Tue, 27 Oct 2020 18:00:24 -0500
Subject: [PATCH] enable elogind build
---
common/meson.build | 2 +-
data/meson.build | 62 ++++++++++++++----------
data/pam-arch/gdm-launch-environment.pam | 1 +
libgdm/meson.build | 2 +-
meson.build | 36 +++++++++-----
meson_options.txt | 5 +-
6 files changed, 66 insertions(+), 42 deletions(-)
diff --git a/common/meson.build b/common/meson.build
index 074dd92e..bca58f7c 100644
--- a/common/meson.build
+++ b/common/meson.build
@@ -11,7 +11,7 @@ libgdmcommon_src = files(
)
libgdmcommon_deps = [
- libsystemd_dep,
+ logind_dep,
gobject_dep,
gio_dep,
gio_unix_dep,
diff --git a/data/meson.build b/data/meson.build
index 5d9e2847..56074489 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -169,41 +169,53 @@ else
service_config.set('PLYMOUTH_QUIT_SERVICE', '')
endif
-if get_option('systemdsystemunitdir') != ''
- systemd_systemunitdir = get_option('systemdsystemunitdir')
-else
- systemd_systemunitdir = systemd_dep.get_pkgconfig_variable('systemdsystemunitdir')
+systemdsystemunitdir = get_option('systemdsystemunitdir')
+if systemdsystemunitdir != 'no'
+ assert(systemd_dep.found(), 'systemd required but not found, please provide a valid systemd system unit dir or disable it')
+ if get_option('systemdsystemunitdir') != ''
+ systemd_systemunitdir = get_option('systemdsystemunitdir')
+ else
+ systemd_systemunitdir = systemd_dep.get_pkgconfig_variable('systemdsystemunitdir')
+ endif
endif
-if get_option('systemduserunitdir') != ''
- systemd_userunitdir = get_option('systemduserunitdir')
-else
- systemd_userunitdir = systemd_dep.get_pkgconfig_variable('systemduserunitdir',
- define_variable: ['prefix', get_option('prefix')])
+systemduserunitdir = get_option('systemduserunitdir')
+if systemduserunitdir != 'no'
+ assert(systemd_dep.found(), 'systemd required but not found, please provide a valid systemd user unit dir or disable it')
+ if get_option('systemduserunitdir') != ''
+ systemd_userunitdir = get_option('systemduserunitdir')
+ else
+ systemd_userunitdir = systemd_dep.get_pkgconfig_variable('systemduserunitdir',
+ define_variable: ['prefix', get_option('prefix')])
+ endif
endif
-configure_file(
- input: 'gdm.service.in',
- output: '@BASENAME@',
- configuration: service_config,
- install_dir: systemd_systemunitdir,
- format: 'cmake'
-)
+if systemdsystemunitdir != 'no'
+ configure_file(
+ input: 'gdm.service.in',
+ output: '@BASENAME@',
+ configuration: service_config,
+ install_dir: systemd_systemunitdir,
+ format: 'cmake'
+ )
+endif
gdm_gnome_session_wanted_targets = []
foreach component: gdm_gnome_user_session_wanted_components
gdm_gnome_session_wanted_targets += 'Wants=@0@.target'.format(component)
endforeach
-configure_file(
- input: 'session.conf.in',
- output: 'session.conf',
- configuration: {
- 'requires_component': gdm_gnome_shell_component,
- 'wants_required_components': '\n'.join(gdm_gnome_session_wanted_targets),
- },
- install_dir: systemd_userunitdir / 'gnome-session@gnome-login.target.d',
-)
+if systemduserunitdir != 'no'
+ configure_file(
+ input: 'session.conf.in',
+ output: 'session.conf',
+ configuration: {
+ 'requires_component': gdm_gnome_shell_component,
+ 'wants_required_components': '\n'.join(gdm_gnome_session_wanted_targets),
+ },
+ install_dir: systemd_userunitdir / 'gnome-session@gnome-login.target.d',
+ )
+endif
# XSession
if get_option('gdm-xsession')
diff --git a/data/pam-arch/gdm-launch-environment.pam b/data/pam-arch/gdm-launch-environment.pam
index 20d1810a..d8910d0a 100644
--- a/data/pam-arch/gdm-launch-environment.pam
+++ b/data/pam-arch/gdm-launch-environment.pam
@@ -14,4 +14,5 @@ session optional pam_keyinit.so force revoke
session required pam_succeed_if.so audit quiet_success user in gdm:gnome-initial-setup
session optional pam_permit.so
-session optional pam_systemd.so
+-session optional pam_elogind.so
session required pam_env.so user_readenv=1
diff --git a/libgdm/meson.build b/libgdm/meson.build
index 3f8cafbb..83e95151 100644
--- a/libgdm/meson.build
+++ b/libgdm/meson.build
@@ -56,7 +56,7 @@ libgdm_deps = [
glib_dep,
gio_dep,
gio_unix_dep,
- libsystemd_dep,
+ logind_dep,
libgdmcommon_dep,
]
diff --git a/meson.build b/meson.build
index a729792c..e152c6ca 100644
--- a/meson.build
+++ b/meson.build
@@ -93,21 +93,30 @@ xdmcp_dep = cc.find_library('Xdmcp', required: get_option('xdmcp'))
if xdmcp_dep.found() and get_option('tcp-wrappers')
libwrap_dep = cc.find_library('libwrap')
endif
-# systemd
-systemd_dep = dependency('systemd')
-libsystemd_dep = dependency('libsystemd')
-if meson.version().version_compare('>= 0.53')
- systemd_multiseat_x = find_program('systemd-multi-seat-x',
- required: false,
- dirs: [
- systemd_dep.get_pkgconfig_variable('systemdutildir'),
- '/lib/systemd',
- '/usr/lib/systemd',
- ])
+
+logind_provider = get_option('logind-provider')
+systemd_dep = dependency('systemd', required: false)
+if logind_provider == 'systemd'
+ libsystemd_dep = dependency('libsystemd')
+ logind_dep = libsystemd_dep
+ if meson.version().version_compare('>= 0.53')
+ systemd_multiseat_x = find_program('systemd-multi-seat-x',
+ required: false,
+ dirs: [
+ systemd_dep.get_pkgconfig_variable('systemdutildir'),
+ '/lib/systemd',
+ '/usr/lib/systemd',
+ ])
+ else
+ systemd_multiseat_x = find_program('systemd-multi-seat-x', required: false)
+ endif
+ systemd_x_server = systemd_multiseat_x.found()? systemd_multiseat_x.path() : '/lib/systemd/systemd-multi-seat-x'
else
- systemd_multiseat_x = find_program('systemd-multi-seat-x', required: false)
+ elogind_dep = dependency('libelogind')
+ logind_dep = elogind_dep
+ systemd_x_server = 'disabled'
endif
-systemd_x_server = systemd_multiseat_x.found()? systemd_multiseat_x.path() : '/lib/systemd/systemd-multi-seat-x'
+
# Plymouth
plymouth_dep = dependency('ply-boot-client', required: get_option('plymouth'))
# Check for Solaris auditing API (ADT)
@@ -314,6 +323,7 @@ summary({
'PAM Syslog': have_pam_syslog,
'Supports PAM Extensions': pam_extensions_supported,
'SeLinux': libselinux_dep.found(),
+ 'Logind Provider': get_option('logind-provider'),
'Use GDM Xsession': get_option('gdm-xsession'),
'Use UserDisplayServer': get_option('user-display-server'),
'Use SystemdJournal': get_option('systemd-journal'),
diff --git a/meson_options.txt b/meson_options.txt
index 49550bc1..b01676da 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -13,6 +13,7 @@ option('initial-vt', type: 'integer', value: 1, description: 'Initial virtual te
option('ipv6', type: 'boolean', value: false, description: 'Enables compilation of IPv6 code.')
option('lang-file', type: 'string', value: '', description: 'File containing default language settings.')
option('libaudit', type: 'feature', value: 'auto', description: 'Add Linux audit support.')
+option('logind-provider', type: 'combo', choices: ['systemd', 'elogind'], value: 'systemd', description: 'Which logind library to use.')
option('log-dir', type: 'string', value: '/var/log/gdm', description: 'Log directory.')
option('pam-mod-dir', type: 'string', value: '', description: 'Directory to install PAM modules in.')
option('pam-prefix', type: 'string', value: '', description: 'Specify where PAM files go.')
@@ -28,8 +29,8 @@ option('solaris', type: 'boolean', value: false, description: 'Build for Solaris
option('split-authentication', type: 'boolean', value: true, description: 'Enable multiple simultaneous PAM conversations during login.')
option('sysconfsubdir', type: 'string', value: 'gdm', description: 'Directory name used under sysconfdir.')
option('systemd-journal', type: 'boolean', value: true, description: 'Use journald support.')
-option('systemdsystemunitdir', type: 'string', value: '', description: 'Directory for systemd service files.')
-option('systemduserunitdir', type: 'string', value: '', description: 'Directory for systemd user service files.')
+option('systemdsystemunitdir', type: 'string', value: '', description: 'Directory for systemd service files, or \'no\' to disable.')
+option('systemduserunitdir', type: 'string', value: '', description: 'Directory for systemd user service files, or \'no\' to disable.')
option('tcp-wrappers', type: 'boolean', value: false, description: 'Use TCP wrappers.')
option('udev-dir', type: 'string', value: '', description: 'Directory for udev rules file.')
option('user', type: 'string', value: 'gdm', description: 'GDM\'s username.')
--
2.29.1
@@ -0,0 +1,160 @@
--- a/meson.build 2021-03-21 16:32:37.222883748 +0100
+++ b/meson.build 2021-03-21 16:32:42.114763457 +0100
@@ -38,6 +38,7 @@
# Dependencies
udev_dep = dependency('udev')
+gudev_dep = dependency('gudev-1.0')
glib_min_version = '2.56.0'
--- a/data/meson.build 2021-03-21 16:07:53.023644342 +0100
+++ b/data/meson.build 2021-03-21 16:09:14.557724574 +0100
@@ -161,6 +161,7 @@
# DBus service files
service_config = configuration_data()
service_config.set('sbindir', gdm_prefix / get_option('sbindir'))
+service_config.set('libexecdir', gdm_prefix / get_option('libexecdir'))
service_config.set('GDM_INITIAL_VT', get_option('initial-vt'))
service_config.set('LANG_CONFIG_FILE', lang_config_file)
if plymouth_dep.found()
--- a/data/gdm.service.in
+++ b/data/gdm.service.in
@@ -30,6 +30,7 @@ StandardError=inherit
EnvironmentFile=-@LANG_CONFIG_FILE@
ExecReload=/bin/kill -SIGHUP $MAINPID
KeyringMode=shared
+ExecStartPre=@libexecdir@/gdm-wait-for-drm
[Install]
Alias=display-manager.service
--- a/utils/meson.build.ori 2021-03-21 16:15:47.036216779 +0100
+++ b/utils/meson.build 2021-03-21 16:15:25.328751199 +0100
@@ -39,3 +39,16 @@
install_dir: get_option('libexecdir'),
)
+# gdm-wait-for-drm
+gdm_wait_for_drm_deps = [
+ glib_dep,
+ gudev_dep
+]
+
+gdm_wait_for_drm = executable('gdm-wait-for-drm',
+ 'gdm-wait-for-drm.c',
+ dependencies: gdm_wait_for_drm_deps,
+ include_directories: config_h_dir,
+ install: true,
+ install_dir: get_option('libexecdir'),
+)
--- /dev/null
+++ b/utils/gdm-wait-for-drm.c
@@ -0,0 +1,101 @@
+#include <glib.h>
+#include <gudev/gudev.h>
+
+/*
+ * Workaround for LP: #1794280.
+ *
+ * That bug is because the DRM device isn't ready by the time GDM tries to
+ * start wayland/X.
+ * This is a script to add to ExecStartPre of gdm.service. It does the
+ * following:
+ *
+ * 1. Enumerate drm devices from udev, looking for a DRM master. If found,
+ * exit.
+ * 2. Connect to the 'uevent' signal of gudev, watching for the same to be
+ * added. Again exit if any are found.
+ * 3. If, after 10 seconds, we haven't seen anything, try to proceed anyway as
+ * a failsafe.
+ */
+
+static gboolean
+handle_device (GUdevDevice *device)
+{
+ const gchar * const * tags;
+ tags = g_udev_device_get_tags (device);
+ g_debug ("%s\n", g_udev_device_get_name (device));
+ if (g_strv_contains (tags, "master-of-seat"))
+ {
+ g_debug (" is seat master\n");
+ return TRUE;
+ }
+
+ return FALSE;
+}
+
+static void
+uevent_cb (GUdevClient *client G_GNUC_UNUSED,
+ gchar *action,
+ GUdevDevice *device,
+ gpointer user_data)
+{
+ GMainLoop *loop;
+
+ g_debug ("uevent action: %s\n", action);
+
+ loop = (GMainLoop *) user_data;
+
+ if (g_strcmp0 (action, "add") == 0)
+ {
+ if (handle_device (device))
+ {
+ g_debug (" this is good\n");
+ g_main_loop_quit (loop);
+ }
+ else
+ {
+ g_debug (" this is bad\n");
+ }
+ }
+}
+
+int
+main()
+{
+ const gchar * const subsystems[] = { "drm", NULL };
+
+ g_autoptr(GList) devices = NULL;
+ g_autoptr(GMainLoop) loop = NULL;
+ g_autoptr(GUdevClient) udev_client = NULL;
+ g_autoptr(GUdevEnumerator) enumerator = NULL;
+
+ loop = g_main_loop_new (NULL, FALSE);
+
+ udev_client = g_udev_client_new (subsystems);
+ enumerator = g_udev_enumerator_new (udev_client);
+ g_udev_enumerator_add_match_is_initialized (enumerator);
+ g_udev_enumerator_add_match_subsystem (enumerator, "drm");
+
+ devices = g_udev_enumerator_execute (enumerator);
+
+ g_debug ("enumerating devices...\n");
+
+ for (GList *l = devices; l != NULL; l = l->next)
+ {
+ g_autoptr(GUdevDevice) device = G_UDEV_DEVICE (l->data);
+
+ if (handle_device (device))
+ {
+ g_debug (" good enough for gdm\n");
+ return EXIT_SUCCESS;
+ }
+ }
+
+ g_signal_connect (udev_client, "uevent", G_CALLBACK (uevent_cb), loop);
+
+ /* after 10 seconds we try anyway */
+ g_timeout_add_seconds (10, (GSourceFunc) g_main_loop_quit, loop);
+
+ g_main_loop_run (loop);
+
+ return EXIT_SUCCESS;
+}
--
2.17.0
+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
exec $@
@@ -0,0 +1,2 @@
g gdm 42 -
u gdm 42 "GDM" /var/lib/gdm
+15
View File
@@ -0,0 +1,15 @@
d /var/cache/gdm 0755 gdm gdm
d /var/lib/gdm 0755 gdm gdm
d /var/lib/gdm/.local/share/applications 0755 gdm gdm
d /run/gdm/greeter 0755 gdm gdm
d /var/log/gdm 0755 - -
d /var/lib/gdm/.config 0755 gdm gdm
d /var/lib/gdm/.cache 0755 gdm gdm
d /var/lib/gdm/.local 0755 gdm gdm
d /var/lib/gdm/.local/share 0755 gdm gdm
d /var/lib/gdm/.local/share/applications 0755 gdm gdm
d /var/lib/gdm/.config/pulse 0755 gdm gdm
C /var/lib/gdm/.config/pulse/client.conf - gdm gdm -
+117
View File
@@ -0,0 +1,117 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>gdm</Name>
<Homepage>https://gitlab.gnome.org/GNOME/gdm</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<Summary>GNOME Graphical Display Manager</Summary>
<Description>A graphical login manager for your desktop, integrated within the GNOME desktop environment</Description>
<Archive sha1sum="05c48de8765bde97768b6740417ad6c374c20763" type="tarxz">https://download.gnome.org/sources/gdm/40/gdm-40.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>dconf-devel</Dependency>
<Dependency>gettext-devel</Dependency>
<Dependency>itstool</Dependency>
<Dependency>accountsservice-devel</Dependency>
<Dependency>elogind-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>iso-codes-devel</Dependency>
<Dependency>libSM-devel</Dependency>
<Dependency>libcanberra-devel</Dependency>
<Dependency>libcanberra-gtk3-devel</Dependency>
<Dependency>nss-devel</Dependency>
<Dependency>pam-devel</Dependency>
<Dependency>audit-devel</Dependency>
<Dependency>upower-devel</Dependency>
<Dependency>libdaemon-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
<Dependency>meson</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">0000-Force-Xorg-use-on-the-login-screen.patch</Patch>
<Patch level="1">0001-pam-arch-Update-to-match-pambase-20200721.1-2.patch</Patch>
<Patch level="1">0002-Xsession-Don-t-start-ssh-agent-by-default.patch</Patch>
<Patch level="1">0003-enable-elogind-build.patch</Patch>
<Patch level="1">0004-gdm-CanGraphical-wait-meson.patch</Patch>
</Patches>
</Source>
<Package>
<Name>gdm</Name>
<Conflicts>
<Package>lxdm</Package>
<Package>sddm</Package>
<Package>lightdm</Package>
</Conflicts>
<RuntimeDependencies>
<Dependency>pam</Dependency>
<Dependency>gtk3</Dependency>
<Dependency>glib2</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libXau</Dependency>
<Dependency>libxcb</Dependency>
<Dependency>elogind</Dependency>
<Dependency>libXdmcp</Dependency>
<Dependency>gdk-pixbuf</Dependency>
<Dependency>libcanberra</Dependency>
<Dependency>accountsservice</Dependency>
<Dependency>libcanberra-gtk3</Dependency>
<Dependency>audit</Dependency>
<Dependency>keyutils</Dependency>
<Dependency>libgudev</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="library">/lib</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/girepository-1.0</Path>
<Path fileType="library">/usr/lib/sysusers.d</Path>
<Path fileType="library">/usr/lib/libgdm.so*</Path>
<Path fileType="executable">/usr/libexec</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="data">/usr/share/dconf</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/gdm</Path>
<Path fileType="data">/usr/share/glib-2.0</Path>
<Path fileType="data">/usr/share/gnome-session</Path>
<Path fileType="doc">/usr/share/help</Path>
<Path fileType="localedata">/usr/share/locale</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/lib/sysusers.d/gdm.conf">gdm.sysusers</AdditionalFile>
</AdditionalFiles>
<Provides>
<COMAR script="service.py">System.Service</COMAR>
<COMAR script="package.py">System.Package</COMAR>
</Provides>
</Package>
<Package>
<Name>gdm-devel</Name>
<RuntimeDependencies>
<Dependency release="current">gdm</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>elogind-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/gir-1.0</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-06-05</Date>
<Version>40.0</Version>
<Comment>First release for Pisi Linux</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>gdm</Name>
<Summary xml:lang="tr">GNOME ekran yöneticisi</Summary>
<Description xml:lang="tr">GDM, yerel veya uzak makinelerde farklı oturumlar açmayı sağlar.</Description>
</Source>
</PISI>
@@ -0,0 +1,24 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import mesontools
from pisi.actionsapi import get
def setup():
mesontools.configure("-Dsoftware-sources=disabled \
-Dparental_controls=disabled \
-Dsystemd=false")
def build():
mesontools.build()
def install():
mesontools.install()
pisitools.dodoc("COPYING", "NEWS", "README*")
@@ -0,0 +1,93 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>gnome-initial-setup</Name>
<Homepage>https://gitlab.gnome.org/GNOME/gnome-initial-setup</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<Summary>GNOME Initial Setup application.</Summary>
<Description>After acquiring or installing a new system there are a few essential things to set up before use. gnome-initial-setup aims to provide a simple, easy, and safe way to prepare a new system.</Description>
<Archive sha1sum="c1689e383e12be8ac84e0890660e7bbabb68b1fc" type="tarxz">https://download.gnome.org/sources/gnome-initial-setup/40/gnome-initial-setup-40.1.tar.xz</Archive>
<BuildDependencies>
<Dependency>glib2-devel</Dependency>
<Dependency>gettext-devel</Dependency>
<Dependency>NetworkManager-devel</Dependency>
<Dependency>accountsservice-devel</Dependency>
<Dependency>gnome-desktop-devel</Dependency>
<Dependency>cheese-devel</Dependency>
<Dependency>libgweather-devel</Dependency>
<Dependency>webkit2gtk-devel</Dependency>
<Dependency>gnome-online-accounts-devel</Dependency>
<Dependency>gdm-devel</Dependency>
<Dependency>libpwquality-devel</Dependency>
<Dependency>vala-devel</Dependency>
<Dependency>mit-kerberos</Dependency>
<Dependency>libnma-devel</Dependency>
<Dependency>polkit-devel</Dependency>
<Dependency>librest-devel</Dependency>
<Dependency>libsecret-devel</Dependency>
<Dependency>ibus-devel</Dependency>
<Dependency>iso-codes-devel</Dependency>
<Dependency>geoclue-devel</Dependency>
<Dependency>pango-devel</Dependency>
<Dependency>meson</Dependency>
<Dependency>gnome-desktop-devel</Dependency>
<Dependency>libseccomp-devel</Dependency>
<Dependency>e2fsprogs-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>gnome-initial-setup</Name>
<RuntimeDependencies>
<Dependency>gdm</Dependency>
<Dependency>gtk3</Dependency>
<Dependency>ibus</Dependency>
<Dependency>cairo</Dependency>
<Dependency>glib2</Dependency>
<Dependency>pango</Dependency>
<Dependency>cheese</Dependency>
<Dependency>libnma</Dependency>
<Dependency>polkit</Dependency>
<Dependency>geoclue</Dependency>
<Dependency>librest</Dependency>
<Dependency>json-glib</Dependency>
<Dependency>libsecret</Dependency>
<Dependency>fontconfig</Dependency>
<Dependency>gdk-pixbuf</Dependency>
<Dependency>webkit2gtk</Dependency>
<Dependency>libgweather</Dependency>
<Dependency>libpwquality</Dependency>
<Dependency>mit-kerberos</Dependency>
<Dependency>gnome-desktop</Dependency>
<Dependency>NetworkManager</Dependency>
<Dependency>accountsservice</Dependency>
<Dependency>gnome-online-accounts</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="library">/usr/libexec/gnome-initial-setup*</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/gnome-session</Path>
<Path fileType="data">/usr/share/gnome-shell</Path>
<Path fileType="data">/usr/share/polkit-1</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/glib-2.0</Path>
<Path fileType="localedata">/usr/share/locale</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-04-21</Date>
<Version>40.1</Version>
<Comment>First release.</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,31 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
#
# TODO: Add libzapojit (Hotmail&Skydrive) support.
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.export("TRACKER_LIBS","-ltracker-sparql-3.0")
shelltools.export("TRACKER_CFLAGS","-I/usr/include/tracker-3.0")
autotools.autoreconf("-fi")
autotools.configure("--disable-silent-rules \
--disable-static \
--disable-windows-live")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("ChangeLog", "COPYING", "NEWS", "README")
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,53 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>gnome-online-miners</Name>
<Homepage>https://gitlab.gnome.org/GNOME/gnome-online-miners</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admin@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<Summary>GNOME Online Miners - crawls through your online content</Summary>
<Description>GNOME Online Miners provides a set of crawlers that go through your online content and index them locally in Tracker</Description>
<Archive sha1sum="10ed8c048cec610ccc4772915dab3352166e918b" type="tarxz">https://download.gnome.org/sources/gnome-online-miners/3.34/gnome-online-miners-3.34.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>intltool</Dependency>
<Dependency>libxslt-devel</Dependency>
<Dependency>docbook-xsl</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libgdata-devel</Dependency>
<Dependency>grilo-devel</Dependency>
<Dependency>tracker-devel</Dependency>
<Dependency>libgfbgraph-devel</Dependency>
<Dependency>gnome-online-accounts-devel</Dependency>
<Dependency>autoconf-archive</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">tracker3-support.patch</Patch>
</Patches>
</Source>
<Package>
<Name>gnome-online-miners</Name>
<RuntimeDependencies>
<Dependency>glib2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share/dbus-1</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-06-06</Date>
<Version>3.34.0</Version>
<Comment>First release for Pisi Linux</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,20 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure()
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("COPYING", "NEWS", "README")
@@ -0,0 +1,40 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>gnome-user-docs</Name>
<Homepage>https://gitlab.gnome.org/GNOME/gnome-user-docs</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>CCPL-Attribution-3.0</License>
<IsA>data:doc</IsA>
<Summary>GNOME User Documentation</Summary>
<Description>This package contains documents which are packaged together and shipped as gnome-user-docs in the core GNOME distribution.</Description>
<Archive sha1sum="90375504636e663d0ed97db1ac48ab963daa80d7" type="tarxz">https://download.gnome.org/sources/gnome-user-docs/40/gnome-user-docs-40.1.tar.xz</Archive>
<BuildDependencies>
<Dependency>libxml2-devel</Dependency>
<Dependency>itstool</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>gnome-user-docs</Name>
<IsA>data:doc</IsA>
<Files>
<Path fileType="doc">/usr/share/help</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-06-07</Date>
<Version>40.1</Version>
<Comment>First release for Pisi Linux</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</PISI>
+1
View File
@@ -42,6 +42,7 @@
<Package>
<Name>lightdm</Name>
<Conflicts>
<Package>gdm</Package>
<Package>lxdm</Package>
<Package>sddm</Package>
</Conflicts>
+1
View File
@@ -42,6 +42,7 @@
<Package>
<Name>sddm</Name>
<Conflicts>
<Package>gdm</Package>
<Package>lightdm</Package>
<Package>lxdm</Package>
<Package>mdm</Package>
+265940 -265215
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
0c1606e84de81b50439a964407b3116117d7eacd
2a8654e041541e485571dbb2d8f5696b30a2505d
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
30b9a430ddef3437a906160b0f1b2e2dc14735e0
0fdaffabcce93b42b86538b69bd354e097ce2500