Merge pull request #9418 from friberk/master
evolution-data-server, folks, gnome-bluetooth, gnome-session, python3…
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
#!/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 GDATA AND GNOME ONLINE ACCOUNTS 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_VALA_BINDINGS=ON \
|
||||
-DENABLE_INSTALLED_TESTS=ON \
|
||||
-DENABLE_GOOGLE=OFF \
|
||||
-DENABLE_GOOGLE_AUTH=OFF \
|
||||
-DWITH_OPENLDAP=OFF \
|
||||
-DWITH_KRB5=ON \
|
||||
-DENABLE_INTROSPECTION=ON \
|
||||
-DENABLE_CANBERRA=ON \
|
||||
-DENABLE_WEATHER=ON \
|
||||
-DENABLE_GTK=ON \
|
||||
-DENABLE_GTK_DOC=OFF \
|
||||
-DENABLE_OAUTH2=ON \
|
||||
-DENABLE_GOA=OFF \
|
||||
-DWITH_SYSTEMDUSERUNITDIR=NO")
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("COPYING", "ChangeLog", "HACKING", "MAINTAINERS", "NEWS", "README")
|
||||
|
||||
@@ -0,0 +1,127 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>evolution-data-server</Name>
|
||||
<Homepage>https://gitlab.gnome.org/GNOME/evolution-data-server</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<Summary>The Evolution Data Server package provides a unified backend for programs that work with
|
||||
contacts, tasks, and calendar information.</Summary>
|
||||
<Description>The Evolution Data Server provides a single database for common, desktop-wide information,
|
||||
such as a user's address book or calendar events.</Description>
|
||||
<BuildDependencies>
|
||||
<Dependency>flex</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>gperf</Dependency>
|
||||
<Dependency>intltool</Dependency>
|
||||
<Dependency>boost-devel</Dependency>
|
||||
<Dependency>libical-devel</Dependency>
|
||||
<Dependency>webkit2gtk-devel</Dependency>
|
||||
<Dependency>libgweather-devel</Dependency>
|
||||
<Dependency>mit-kerberos</Dependency>
|
||||
<Dependency>libsoup-devel</Dependency>
|
||||
<Dependency>nspr-devel</Dependency>
|
||||
<Dependency>nss-devel</Dependency>
|
||||
<Dependency>gcr-devel</Dependency>
|
||||
<Dependency>json-glib-devel</Dependency>
|
||||
<Dependency>libsecret-devel</Dependency>
|
||||
<Dependency>e2fsprogs-devel</Dependency>
|
||||
<Dependency>libcanberra-gtk3-devel</Dependency>
|
||||
<Dependency>gobject-introspection-devel</Dependency>
|
||||
<Dependency>vala</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
</BuildDependencies>
|
||||
<Archive sha1sum="076732a2b9cbe6ebae6b5cebbe6027a258b3e48e" type="tarxz">https://download.gnome.org/sources/evolution-data-server/3.40/evolution-data-server-3.40.1.tar.xz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>evolution-data-server</Name>
|
||||
<Summary>The Evolution Data Server package provides a unified backend for programs that work with contacts, tasks, and calendar information.</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>db</Dependency>
|
||||
<Dependency>gcr</Dependency>
|
||||
<Dependency>nss</Dependency>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>nspr</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>icu4c</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>sqlite</Dependency>
|
||||
<Dependency>libical</Dependency>
|
||||
<Dependency>libsoup</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
<Dependency>json-glib</Dependency>
|
||||
<Dependency>libsecret</Dependency>
|
||||
<Dependency>webkit2gtk</Dependency>
|
||||
<Dependency>libcanberra</Dependency>
|
||||
<Dependency>libgweather</Dependency>
|
||||
<Dependency>libcanberra-gtk3</Dependency>
|
||||
<Dependency>mit-kerberos</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/libexec</Path>
|
||||
<Path fileType="library">/usr/lib/evolution-data-server</Path>
|
||||
<Path fileType="library">/usr/lib/girepository-1.0</Path>
|
||||
<Path fileType="library">/usr/lib/lib*.so*</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="data">/usr/share/pixmaps</Path>
|
||||
<Path fileType="data">/usr/share/glib-2.0</Path>
|
||||
<Path fileType="data">/etc</Path>
|
||||
<Path fileType="data">/usr/share/GConf</Path>
|
||||
<Path fileType="data">/usr/share/applications</Path>
|
||||
<Path fileType="data">/usr/share/dbus-1</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>evolution-data-server-docs</Name>
|
||||
<IsA>data:doc</IsA>
|
||||
<Summary>Help files and API documents for evolution-data-server</Summary>
|
||||
<Files>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="doc">/usr/share/gtk-doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>evolution-data-server-devel</Name>
|
||||
<Summary>Development files for evolution-data-server</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">evolution-data-server</Dependency>
|
||||
<Dependency>nss-devel</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>nspr-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>sqlite-devel</Dependency>
|
||||
<Dependency>libical-devel</Dependency>
|
||||
<Dependency>libsoup-devel</Dependency>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
<Dependency>libsecret-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share/installed-tests</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/share/gir-1.0</Path>
|
||||
<Path fileType="data">/usr/share/vala</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-05-27</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>
|
||||
@@ -0,0 +1,19 @@
|
||||
#!/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
|
||||
|
||||
def setup():
|
||||
mesontools.configure()
|
||||
|
||||
def build():
|
||||
mesontools.build()
|
||||
|
||||
def install():
|
||||
mesontools.install()
|
||||
|
||||
pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README.md")
|
||||
@@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>folks</Name>
|
||||
<Homepage>https://wiki.gnome.org/Projects/Folks</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<Summary>Library to aggregates people into metacontacts</Summary>
|
||||
<Description>Library to aggregates people into metacontacts</Description>
|
||||
<BuildDependencies>
|
||||
<Dependency>evolution-data-server-devel</Dependency>
|
||||
<Dependency>readline-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>intltool</Dependency>
|
||||
<Dependency>libgee-devel</Dependency>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
<Dependency>telepathy-glib-devel</Dependency>
|
||||
<Dependency>readline-devel</Dependency>
|
||||
<Dependency>meson</Dependency>
|
||||
<Dependency>python3-dbusmock</Dependency>
|
||||
<Dependency>gobject-introspection-devel</Dependency>
|
||||
<Dependency>vala</Dependency>
|
||||
</BuildDependencies>
|
||||
<Archive sha1sum="d579d056ffe97f53eea274f34f34faaa3c08d18d" type="targz">https://gitlab.gnome.org/GNOME/folks/-/archive/0.14/folks-0.14.tar.gz</Archive>
|
||||
</Source>
|
||||
<Package>
|
||||
<Name>folks</Name>
|
||||
<Summary>Library to aggregates people into metacontacts</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>evolution-data-server</Dependency>
|
||||
<Dependency>libgee</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
<Dependency>telepathy-glib</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib/folks</Path>
|
||||
<Path fileType="library">/usr/lib/girepository-1.0</Path>
|
||||
<Path fileType="library">/usr/lib*.so*</Path>
|
||||
<Path fileType="data">/usr/share/GConf</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>
|
||||
<Package>
|
||||
<Name>folks-devel</Name>
|
||||
<Summary>Development files for folks</Summary>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/share/gir-1.0</Path>
|
||||
<Path fileType="data">/usr/share/vala</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-04-21</Date>
|
||||
<Version>0.14.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Berk Çakar</Name>
|
||||
<Email>berk2238@hotmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,21 @@
|
||||
#!/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
|
||||
|
||||
def setup():
|
||||
mesontools.configure("-Dicon-update=false \
|
||||
-Dgtk_doc=false \
|
||||
-Dintrospection=true")
|
||||
|
||||
def build():
|
||||
mesontools.build()
|
||||
|
||||
def install():
|
||||
mesontools.install()
|
||||
|
||||
pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README.md")
|
||||
@@ -0,0 +1,83 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gnome-bluetooth</Name>
|
||||
<Homepage>https://gitlab.gnome.org/GNOME/gnome-bluetooth</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<Summary>gnome-bluetooth is a fork of bluez-gnome focused on integration with GNOME.</Summary>
|
||||
<Description>gnome-bluetooth is collection of widgets for applications that want
|
||||
to select Bluetooth devices. It is also used by GNOME session
|
||||
components such as the Settings and gnome-shell.</Description>
|
||||
<Archive sha1sum="0321aeee016b34fef5050dcf9511ba48d0779b81">https://download.gnome.org/sources/gnome-bluetooth/3.34/gnome-bluetooth-3.34.5.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>intltool</Dependency>
|
||||
<Dependency>itstool</Dependency>
|
||||
<Dependency>gobject-introspection-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>libnotify-devel</Dependency>
|
||||
<Dependency>dconf-devel</Dependency>
|
||||
<Dependency>gvfs</Dependency>
|
||||
<Dependency>bluez-libs-devel</Dependency>
|
||||
<Dependency>eudev-devel</Dependency>
|
||||
<Dependency>libcanberra-devel</Dependency>
|
||||
<Dependency>libcanberra-gtk3-devel</Dependency>
|
||||
<Dependency>libXi-devel</Dependency>
|
||||
<Dependency>meson</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gnome-bluetooth</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>atk</Dependency>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>eudev</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>libnotify</Dependency>
|
||||
<Dependency>libcanberra</Dependency>
|
||||
<Dependency>libcanberra-gtk3</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib/girepository-1.0</Path>
|
||||
<Path fileType="library">/usr/lib/lib*.so*</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/icons</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="data">/usr/share/applications</Path>
|
||||
<Path fileType="data">/usr/share/gnome-bluetooth</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>gnome-bluetooth-devel</Name>
|
||||
<Summary>Development files for gnome-bluetooth</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">gnome-bluetooth</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>glib2-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-05-28</Date>
|
||||
<Version>3.34.5</Version>
|
||||
<Comment>First release for Pisi Linux</Comment>
|
||||
<Name>Berk Çakar</Name>
|
||||
<Email>berk2238@hotmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- 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 autotools
|
||||
from pisi.actionsapi import mesontools
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
mesontools.configure("-Dsystemd=false \
|
||||
-Dsystemd_session=disable \
|
||||
-Dsystemd_journal=false \
|
||||
-Delogind=true")
|
||||
|
||||
def build():
|
||||
mesontools.build()
|
||||
|
||||
def install():
|
||||
mesontools.install()
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
From 1de3575a1ea9cdb3579ad538108c51818847797c Mon Sep 17 00:00:00 2001
|
||||
From: Rasmus Thomsen <oss@cogitri.dev>
|
||||
Date: Fri, 6 Dec 2019 11:48:02 +0100
|
||||
Subject: [PATCH] revert: autostart-app: Strip blacklisted variables from
|
||||
autostart environment
|
||||
|
||||
This breaks gnome-session on non-systemd systems.
|
||||
|
||||
https://gitlab.gnome.org/GNOME/gnome-session/issues/44
|
||||
---
|
||||
gnome-session/gsm-autostart-app.c | 5 -----
|
||||
gnome-session/gsm-util.c | 6 ------
|
||||
gnome-session/gsm-util.h | 1 -
|
||||
3 files changed, 12 deletions(-)
|
||||
|
||||
diff --git a/gnome-session/gsm-autostart-app.c b/gnome-session/gsm-autostart-app.c
|
||||
index 6fd5915..01ba5f9 100644
|
||||
--- gnome-session/gsm-autostart-app.c
|
||||
+++ gnome-session/gsm-autostart-app.c
|
||||
@@ -997,7 +997,6 @@ autostart_app_start_spawn (GsmAutostartApp *app,
|
||||
gboolean success;
|
||||
GError *local_error;
|
||||
const char *startup_id;
|
||||
- const char * const *variable_blacklist;
|
||||
const char * const *child_environment;
|
||||
int i;
|
||||
GAppLaunchContext *ctx;
|
||||
@@ -1014,10 +1013,6 @@ autostart_app_start_spawn (GsmAutostartApp *app,
|
||||
local_error = NULL;
|
||||
ctx = g_app_launch_context_new ();
|
||||
|
||||
- variable_blacklist = gsm_util_get_variable_blacklist ();
|
||||
- for (i = 0; variable_blacklist[i] != NULL; i++)
|
||||
- g_app_launch_context_unsetenv (ctx, variable_blacklist[i]);
|
||||
-
|
||||
child_environment = gsm_util_listenv ();
|
||||
for (i = 0; child_environment[i] != NULL; i++) {
|
||||
char **environment_tuple;
|
||||
diff --git a/gnome-session/gsm-util.c b/gnome-session/gsm-util.c
|
||||
index 02bc4a5..ada1225 100644
|
||||
--- gnome-session/gsm-util.c
|
||||
+++ gnome-session/gsm-util.c
|
||||
@@ -808,9 +808,3 @@ gsm_util_listenv (void)
|
||||
return (const char * const *) child_environment;
|
||||
|
||||
}
|
||||
-
|
||||
-const char * const *
|
||||
-gsm_util_get_variable_blacklist (void)
|
||||
-{
|
||||
- return variable_blacklist;
|
||||
-}
|
||||
diff --git a/gnome-session/gsm-util.h b/gnome-session/gsm-util.h
|
||||
index bd7b698..8bca5f4 100644
|
||||
--- gnome-session/gsm-util.h
|
||||
+++ gnome-session/gsm-util.h
|
||||
@@ -50,7 +50,6 @@ char * gsm_util_generate_startup_id (void);
|
||||
void gsm_util_setenv (const char *variable,
|
||||
const char *value);
|
||||
const char * const * gsm_util_listenv (void);
|
||||
-const char * const * gsm_util_get_variable_blacklist(void);
|
||||
|
||||
gboolean gsm_util_export_activation_environment (GError **error);
|
||||
#ifdef HAVE_SYSTEMD
|
||||
--
|
||||
2.24.0
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
By default GNOME folks want us to put all stuff in /usr/share/gdm/env.d
|
||||
(which is a lot of effort for no good reason for us) or use the systemd
|
||||
specific /etc/environment.d to set environment variables. With this
|
||||
patch we just force gnome-session's hand to include the env variables
|
||||
of /etc/profile.
|
||||
|
||||
--- gnome-session/gnome-session.in
|
||||
+++ gnome-session/gnome-session.in
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/sh
|
||||
+#!/bin/bash
|
||||
|
||||
if [ "x$XDG_SESSION_TYPE" = "xwayland" ] &&
|
||||
[ "x$XDG_SESSION_CLASS" != "xgreeter" ] &&
|
||||
@@ -25,4 +25,6 @@ if [ -n "$REGION" ]; then
|
||||
export LC_PAPER=$REGION
|
||||
fi
|
||||
|
||||
+source /etc/profile
|
||||
+
|
||||
exec @libexecdir@/gnome-session-binary "$@"
|
||||
@@ -0,0 +1,14 @@
|
||||
--- meson.build
|
||||
+++ meson.build
|
||||
@@ -130,10 +130,7 @@ if enable_systemd or enable_consolekit
|
||||
|
||||
# Check for systemd
|
||||
if enable_systemd
|
||||
- systemd_dep = dependency('systemd', version: '>= 242', required: true)
|
||||
- systemd_userunitdir = systemd_dep.get_pkgconfig_variable('systemduserunitdir',
|
||||
- define_variable: ['prefix', prefix])
|
||||
-
|
||||
+ systemd_userunitdir = '/tmp'
|
||||
libsystemd_dep = dependency('libsystemd', version: '>= 209', required: false)
|
||||
session_bin_deps += libsystemd_dep
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
From 4454f2a63394b69fba2c900151165ad8b5742f31 Mon Sep 17 00:00:00 2001
|
||||
From: Mart Raudsepp <leio@gentoo.org>
|
||||
Date: Sun, 15 Mar 2020 14:34:39 +0200
|
||||
Subject: [PATCH] meson: Support elogind
|
||||
|
||||
---
|
||||
meson.build | 12 +++++++++---
|
||||
meson_options.txt | 1 +
|
||||
2 files changed, 10 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index ef5132c6..7f68aaae 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -124,8 +124,10 @@ enable_systemd = get_option('systemd')
|
||||
enable_systemd_session = get_option('systemd_session') != 'disable'
|
||||
use_systemd_session = get_option('systemd_session') == 'default'
|
||||
enable_systemd_journal = get_option('systemd_journal')
|
||||
+enable_elogind = get_option('elogind')
|
||||
enable_consolekit = get_option('consolekit')
|
||||
-if enable_systemd or enable_consolekit
|
||||
+assert(not (enable_systemd and enable_elogind), 'Can not support systemd and elogind at once')
|
||||
+if enable_systemd or enable_elogind or enable_consolekit
|
||||
session_bin_deps += dependency('gio-unix-2.0', version: glib_req_version)
|
||||
|
||||
# Check for systemd
|
||||
@@ -152,6 +154,10 @@ if enable_systemd or enable_consolekit
|
||||
endif
|
||||
|
||||
session_tracking = 'systemd'
|
||||
+ elif enable_elogind
|
||||
+ libelogind_dep = dependency('libelogind', version: '>= 239.4')
|
||||
+ session_bin_deps += libelogind_dep
|
||||
+ session_tracking = 'elogind'
|
||||
endif
|
||||
|
||||
# Check for ConsoleKit
|
||||
@@ -161,7 +167,7 @@ if enable_systemd or enable_consolekit
|
||||
|
||||
session_bin_deps += dbus_glib_dep
|
||||
|
||||
- if enable_systemd
|
||||
+ if enable_systemd or enable_elogind
|
||||
session_tracking += ' (with fallback to ConsoleKit)'
|
||||
else
|
||||
session_tracking = 'ConsoleKit'
|
||||
@@ -171,7 +177,7 @@ endif
|
||||
if enable_systemd_session
|
||||
assert(enable_systemd, 'Systemd support must be enabled when using systemd session management')
|
||||
endif
|
||||
-config_h.set('HAVE_SYSTEMD', enable_systemd)
|
||||
+config_h.set('HAVE_SYSTEMD', enable_systemd or enable_elogind)
|
||||
config_h.set('ENABLE_SYSTEMD_SESSION', enable_systemd_session)
|
||||
config_h.set('ENABLE_SYSTEMD_JOURNAL', enable_systemd_journal)
|
||||
config_h.set('HAVE_CONSOLEKIT', enable_consolekit)
|
||||
diff --git a/meson_options.txt b/meson_options.txt
|
||||
index 4c05dc6e..512d1528 100644
|
||||
--- a/meson_options.txt
|
||||
+++ b/meson_options.txt
|
||||
@@ -1,4 +1,5 @@
|
||||
option('deprecation_flags', type: 'boolean', value: false, description: 'use *_DISABLE_DEPRECATED flags')
|
||||
+option('elogind', type: 'boolean', value: true, description: 'Use elogind')
|
||||
option('session_selector', type: 'boolean', value: false, description: 'enable building a custom session selector dialog')
|
||||
option('systemd', type: 'boolean', value: true, description: 'Use systemd')
|
||||
option('systemd_session', type: 'combo', choices: ['disable', 'enable', 'default'], value: 'default', description: 'Whether to include systemd session support and use it by default')
|
||||
--
|
||||
2.26.2
|
||||
@@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gnome-session</Name>
|
||||
<Homepage>https://gitlab.gnome.org/GNOME/gnome-session</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<Summary>GNOME session manager</Summary>
|
||||
<Description>gnome-session manages X11-compliant sessions with ConsoleKit daemon and starts GNOME core services</Description>
|
||||
<Archive sha1sum="497bcbe97f8d665618438d352c555373393f89d7">https://download.gnome.org/sources/gnome-session/40/gnome-session-40.1.1.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>intltool</Dependency>
|
||||
<Dependency>xmlto</Dependency>
|
||||
<Dependency>elogind-devel</Dependency>
|
||||
<Dependency>gnome-desktop-devel</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>json-glib-devel</Dependency>
|
||||
<Dependency>libXtst-devel</Dependency>
|
||||
<Dependency>libSM-devel</Dependency>
|
||||
<Dependency>startup-notification-devel</Dependency>
|
||||
<Dependency>upower-devel</Dependency>
|
||||
<Dependency>libseccomp-devel</Dependency>
|
||||
<Dependency>xtrans</Dependency>
|
||||
<Dependency>meson</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch>0001-revert-autostart-app-Strip-blacklisted-variables-fro.patch</Patch>
|
||||
<Patch>include-profile-env-variables.patch</Patch>
|
||||
<Patch>no-systemd-dep.patch</Patch>
|
||||
<Patch>support-elogind.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gnome-session</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>libSM</Dependency>
|
||||
<Dependency>libICE</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libepoxy</Dependency>
|
||||
<Dependency>libglvnd</Dependency>
|
||||
<Dependency>json-glib</Dependency>
|
||||
<Dependency>gnome-desktop</Dependency>
|
||||
<Dependency>libXcomposite</Dependency>
|
||||
<Dependency>elogind</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="executable">/usr/libexec</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/wayland-sessions</Path>
|
||||
<Path fileType="doc">/usr/share/gnome-session</Path>
|
||||
<Path fileType="doc">/usr/share/xsessions</Path>
|
||||
<Path fileType="doc">/usr/share/glib-2.0</Path>
|
||||
<Path fileType="doc">/usr/share/GConf</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-05-27</Date>
|
||||
<Version>40.1.1</Version>
|
||||
<Comment>First release for Pisi Linux</Comment>
|
||||
<Name>Berk Çakar</Name>
|
||||
<Email>berk2238@hotmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,7 @@
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gnome-session</Name>
|
||||
<Summary xml:lang="tr">GNOME oturum yöneticisi</Summary>
|
||||
<Description xml:lang="tr">gnome-session, ConsoleKit ile birlikte X11-uyumlu oturumları yönetir ve temel GNOME servislerini başlatır.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
+20350
-19919
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
||||
dabe348a84479908c1ba66e860b3acc97190017a
|
||||
632a3805cfdaf8b3722e5c72caf06d14e87601d0
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
f0b06424a636fd3058c9fc1f7f9de77433bcdaa5
|
||||
b14daa737ea34dbf34f8d53240d2ccda5640fd08
|
||||
@@ -0,0 +1,15 @@
|
||||
#!/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 pythonmodules
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def build():
|
||||
pythonmodules.compile(pyVer = '3')
|
||||
|
||||
def install():
|
||||
pythonmodules.install(pyVer = '3')
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python3-dbusmock</Name>
|
||||
<Homepage>https://github.com/martinpitt/python-dbusmock</Homepage>
|
||||
<Packager>
|
||||
<Name>Berk Çakar</Name>
|
||||
<Email>berk2238@hotmail.com</Email>
|
||||
</Packager>
|
||||
<License>LGPLv3</License>
|
||||
<Summary>Mock D-Bus objects for tests</Summary>
|
||||
<Description>Mock D-Bus objects for tests</Description>
|
||||
<BuildDependencies>
|
||||
<Dependency>dbus-python3</Dependency>
|
||||
<Dependency>python-pygobject3</Dependency>
|
||||
<Dependency>python3-setuptools</Dependency>
|
||||
</BuildDependencies>
|
||||
<Archive type="targz" sha1sum="c5652401216df5db618e7582c424adfbc91328af">https://github.com/martinpitt/python-dbusmock/releases/download/0.23.0/python-dbusmock-0.23.0.tar.gz</Archive>
|
||||
</Source>
|
||||
<Package>
|
||||
<Name>python3-dbusmock</Name>
|
||||
<Summary>Mock D-Bus objects for tests</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>dbus-python3</Dependency>
|
||||
<Dependency>python-pygobject3</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/python3.8</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-04-21</Date>
|
||||
<Version>0.23.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Berk Çakar</Name>
|
||||
<Email>berk2238@hotmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user