xfce4-screensaver: moved to base and version bump.
This commit is contained in:
@@ -1,35 +0,0 @@
|
||||
#!/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 pisitools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
j = ''.join([
|
||||
'--enable-pam',
|
||||
'--enable-locking',
|
||||
'--enable-authentication-scheme=pam',
|
||||
'--disable-static',
|
||||
'--with-libgl',
|
||||
'--with-shadow',
|
||||
'--with-mit-ext',
|
||||
'--with-console-kit',
|
||||
'--with-pam-auth-type=system',
|
||||
'--without-systemd'])
|
||||
|
||||
def setup():
|
||||
# shelltools.system("patch -Rp1 < 0001-Catch-gs_listener_dbus_init-failures.patch")
|
||||
autotools.configure(j)
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("COPYING*", "INSTALL", "NEWS", "README.md")
|
||||
|
||||
-30
@@ -1,30 +0,0 @@
|
||||
From f596f888a2b6e6598b9d0e4f0200b60e7f9eef64 Mon Sep 17 00:00:00 2001
|
||||
From: Shawn Anastasio <shawn@anastas.io>
|
||||
Date: Sun, 6 Sep 2020 19:33:12 +0000
|
||||
Subject: [PATCH 1/1] Catch gs_listener_dbus_init failures
|
||||
|
||||
In cases where the dbus connection fails, gs_listener_dbus_init
|
||||
will fail and return FALSE. Previously, this status code was not
|
||||
checked in the gs_listener constructor, resulting in a silent failure
|
||||
that eventually resulted in a Segmentation Fault when the listener's
|
||||
system_connection pointer gets used.
|
||||
|
||||
Add a g_assert to ensure gs_listener_dbus_init succeeds, or bail out
|
||||
gracefully on failures.
|
||||
---
|
||||
src/gs-listener-dbus.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/gs-listener-dbus.c b/src/gs-listener-dbus.c
|
||||
index 6307324..7aebe00 100644
|
||||
--- a/src/gs-listener-dbus.c
|
||||
+++ b/src/gs-listener-dbus.c
|
||||
@@ -2196,7 +2196,7 @@ gs_listener_init (GSListener *listener) {
|
||||
#endif
|
||||
listener->priv->prefs = gs_prefs_new();
|
||||
|
||||
- gs_listener_dbus_init (listener);
|
||||
+ g_assert (gs_listener_dbus_init (listener));
|
||||
|
||||
init_session_id (listener);
|
||||
|
||||
@@ -1,92 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>xfce4-screensaver</Name>
|
||||
<Homepage>https://docs.xfce.org/apps/screensaver/start</Homepage>
|
||||
<Packager>
|
||||
<Name>fury</Name>
|
||||
<Email>wascheme@tuta.io</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<License>LGPLv2</License>
|
||||
<License>LGPLv2.1</License>
|
||||
<PartOf>desktop.xfce.base</PartOf>
|
||||
<IsA>app:utility</IsA>
|
||||
<Summary>Xfce Screensaver.</Summary>
|
||||
<Description>
|
||||
xfce4-screensaver is a screen saver and locker that aims to have simple, sane, secure defaults and be well integrated with the desktop.
|
||||
</Description>
|
||||
<Archive sha1sum="6389b4d73ee645b888d2f6134a09a78bc2f80199" type="tarbz2">https://archive.xfce.org/src/apps/xfce4-screensaver/4.16/xfce4-screensaver-4.16.0.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>xmlto</Dependency>
|
||||
<Dependency>intltool</Dependency>
|
||||
<Dependency>pam-devel</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>libSM-devel</Dependency>
|
||||
<Dependency>libICE-devel</Dependency>
|
||||
<Dependency>libX11-devel</Dependency>
|
||||
<Dependency>xfconf-devel</Dependency>
|
||||
<Dependency>garcon-devel</Dependency>
|
||||
<Dependency>libwnck3-devel</Dependency>
|
||||
<Dependency>libglvnd-devel</Dependency>
|
||||
<Dependency>dbus-glib-devel</Dependency>
|
||||
<Dependency>libxklavier-devel</Dependency>
|
||||
<Dependency>libXScrnSaver-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<AdditionalFiles>
|
||||
<!-- <AdditionalFile target="0001-Catch-gs_listener_dbus_init-failures.patch">0001-Catch-gs_listener_dbus_init-failures.patch</AdditionalFile> -->
|
||||
</AdditionalFiles>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>xfce4-screensaver</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>pam</Dependency>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>dbus</Dependency>
|
||||
<Dependency>mesa</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>xfconf</Dependency>
|
||||
<Dependency>garcon</Dependency>
|
||||
<Dependency>libXext</Dependency>
|
||||
<Dependency>libwnck3</Dependency>
|
||||
<Dependency>libglvnd</Dependency>
|
||||
<Dependency>dbus-glib</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
<Dependency>libxfce4ui</Dependency>
|
||||
<Dependency>libxklavier</Dependency>
|
||||
<Dependency>libXScrnSaver</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="executable">/usr/libexec</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2021-01-14</Date>
|
||||
<Version>4.16.0</Version>
|
||||
<Comment>Moved to base and version bump.</Comment>
|
||||
<Email>wascheme@tuta.io</Email>
|
||||
<Name>fury</Name>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2020-12-24</Date>
|
||||
<Version>0.1.11</Version>
|
||||
<Comment>Ver. bump</Comment>
|
||||
<Email>wascheme@tuta.io</Email>
|
||||
<Name>fury</Name>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user