Accepting request 140245 from home:elvigia:branches:Base:System
- Update to an slightly newer git snapshot to fix regression from 0.8.8 - Version 0.8.8 * main: Try to own socket before anything else * main: silently succeed if plymouthd is started a second time * service: start plymouthd unconditionally * x11: make window fullscreen by default * x11: only create windows when necessary - plymoith-sd-notforking.patch: Make plymouthd to not use Service type "forking" - ply-sdunitdir.patch: Must install units in %{_unitdir} as returned by pkg-config not in a hardcoded location. OBS-URL: https://build.opensuse.org/request/show/140245 OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=90
This commit is contained in:
parent
1a63490de9
commit
7c28e203e3
11
ply-sdunitdir.patch
Normal file
11
ply-sdunitdir.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- configure.ac.orig
|
||||||
|
+++ configure.ac
|
||||||
|
@@ -254,7 +254,7 @@ AM_CONDITIONAL(ENABLE_SYSTEMD_INTEGRATIO
|
||||||
|
|
||||||
|
if test x$enable_systemd_integration = xyes; then
|
||||||
|
AC_DEFINE(PLY_ENABLE_SYSTEMD_INTEGRATION, 1, [Coordinate boot up with systemd])
|
||||||
|
- SYSTEMD_UNIT_DIR=/lib/systemd/system
|
||||||
|
+ SYSTEMD_UNIT_DIR=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
|
||||||
|
AC_SUBST(SYSTEMD_UNIT_DIR)
|
||||||
|
fi
|
||||||
|
|
52
plymoith-sd-notforking.patch
Normal file
52
plymoith-sd-notforking.patch
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
--- systemd-units/plymouth-halt.service.in.orig
|
||||||
|
+++ systemd-units/plymouth-halt.service.in
|
||||||
|
@@ -6,6 +6,5 @@ DefaultDependencies=no
|
||||||
|
ConditionKernelCommandLine=!plymouth.enable=0
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
-ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown --attach-to-session
|
||||||
|
+ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --no-daemon --mode=shutdown --attach-to-session
|
||||||
|
ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash
|
||||||
|
-Type=forking
|
||||||
|
--- systemd-units/plymouth-kexec.service.in.orig
|
||||||
|
+++ systemd-units/plymouth-kexec.service.in
|
||||||
|
@@ -6,6 +6,5 @@ DefaultDependencies=no
|
||||||
|
ConditionKernelCommandLine=!plymouth.enable=0
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
-ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown --attach-to-session
|
||||||
|
+ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --no-daemon --mode=shutdown --attach-to-session
|
||||||
|
ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash
|
||||||
|
-Type=forking
|
||||||
|
--- systemd-units/plymouth-poweroff.service.in.orig
|
||||||
|
+++ systemd-units/plymouth-poweroff.service.in
|
||||||
|
@@ -6,6 +6,5 @@ DefaultDependencies=no
|
||||||
|
ConditionKernelCommandLine=!plymouth.enable=0
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
-ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown --attach-to-session
|
||||||
|
+ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --no-daemon --mode=shutdown --attach-to-session
|
||||||
|
ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash
|
||||||
|
-Type=forking
|
||||||
|
--- systemd-units/plymouth-reboot.service.in.orig
|
||||||
|
+++ systemd-units/plymouth-reboot.service.in
|
||||||
|
@@ -6,6 +6,5 @@ DefaultDependencies=no
|
||||||
|
ConditionKernelCommandLine=!plymouth.enable=0
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
-ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown --attach-to-session
|
||||||
|
+ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --no-daemon --mode=shutdown --attach-to-session
|
||||||
|
ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash
|
||||||
|
-Type=forking
|
||||||
|
--- systemd-units/plymouth-start.service.in.orig
|
||||||
|
+++ systemd-units/plymouth-start.service.in
|
||||||
|
@@ -7,8 +7,7 @@ Before=systemd-ask-password-plymouth.ser
|
||||||
|
ConditionKernelCommandLine=!plymouth.enable=0
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
-ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=boot --pid-file=@plymouthruntimedir@/pid --attach-to-session
|
||||||
|
+ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --no-daemon --mode=boot --attach-to-session
|
||||||
|
ExecStartPost=-/sbin/udevadm settle --timeout=30 --exit-if-exists=/sys/class/drm/card0/dev ; /sbin/udevadm settle --timeout=30 --exit-if-exists=/sys/class/graphics/fb0/dev ; @PLYMOUTH_CLIENT_DIR@/plymouth show-splash
|
||||||
|
-Type=forking
|
||||||
|
KillMode=none
|
||||||
|
SendSIGKILL=no
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ac8253daddf0a8a48c12f4bf380134cc871a8ed63c7f3fda9f3eba893f43da4d
|
|
||||||
size 831351
|
|
3
plymouth-0.8.8_git201211022126.tar.xz
Normal file
3
plymouth-0.8.8_git201211022126.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:333fced6dc5d061db6d71903256ff1d9366bb8687fc829539ddb027e4693f6df
|
||||||
|
size 791860
|
@ -1,3 +1,29 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 5 17:35:39 UTC 2012 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Update to an slightly newer git snapshot to fix regression
|
||||||
|
from 0.8.8
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 1 21:36:22 UTC 2012 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Version 0.8.8
|
||||||
|
|
||||||
|
* main: Try to own socket before anything else
|
||||||
|
* main: silently succeed if plymouthd is started a second time
|
||||||
|
* service: start plymouthd unconditionally
|
||||||
|
* x11: make window fullscreen by default
|
||||||
|
* x11: only create windows when necessary
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 1 20:35:34 UTC 2012 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- plymoith-sd-notforking.patch: Make plymouthd to not use
|
||||||
|
Service type "forking"
|
||||||
|
|
||||||
|
- ply-sdunitdir.patch: Must install units in %{_unitdir} as
|
||||||
|
returned by pkg-config not in a hardcoded location.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 12 08:59:08 UTC 2012 - tittiatcoke@gmail.com
|
Fri Oct 12 08:59:08 UTC 2012 - tittiatcoke@gmail.com
|
||||||
|
|
||||||
|
@ -22,13 +22,13 @@
|
|||||||
%define plymouth_initrd_file /boot/initrd-plymouth.img
|
%define plymouth_initrd_file /boot/initrd-plymouth.img
|
||||||
|
|
||||||
Name: plymouth
|
Name: plymouth
|
||||||
Version: 0.8.7
|
Version: 0.8.8_git201211022126
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Graphical Boot Animation and Logger
|
Summary: Graphical Boot Animation and Logger
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
Url: http://freedesktop.org/software/plymouth/releases
|
Url: http://freedesktop.org/software/plymouth/releases
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.xz
|
||||||
Source1: boot-duration
|
Source1: boot-duration
|
||||||
# PATCH-OPENSUSE -- Support the openSUSE initrd
|
# PATCH-OPENSUSE -- Support the openSUSE initrd
|
||||||
Patch1: suse-initrd-support
|
Patch1: suse-initrd-support
|
||||||
@ -47,6 +47,8 @@ Patch8: systemd-no-warning.patch
|
|||||||
Patch10: 0001-Some-greenish-openSUSE-colors.patch
|
Patch10: 0001-Some-greenish-openSUSE-colors.patch
|
||||||
# PATCH-FIX-UPSTREAM -- Plymouth will check itself if it is already running (bnc#780976)
|
# PATCH-FIX-UPSTREAM -- Plymouth will check itself if it is already running (bnc#780976)
|
||||||
Patch11: plymouth-remove-pid-file.patch
|
Patch11: plymouth-remove-pid-file.patch
|
||||||
|
Patch12: plymoith-sd-notforking.patch
|
||||||
|
Patch13: ply-sdunitdir.patch
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: kernel-headers
|
BuildRequires: kernel-headers
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
@ -60,6 +62,7 @@ BuildRequires: pkgconfig(libdrm_intel)
|
|||||||
BuildRequires: pkgconfig(libdrm_nouveau)
|
BuildRequires: pkgconfig(libdrm_nouveau)
|
||||||
BuildRequires: pkgconfig(libdrm_radeon)
|
BuildRequires: pkgconfig(libdrm_radeon)
|
||||||
BuildRequires: pkgconfig(libkms)
|
BuildRequires: pkgconfig(libkms)
|
||||||
|
BuildRequires: pkgconfig(systemd)
|
||||||
Requires: %{name}-branding
|
Requires: %{name}-branding
|
||||||
Requires: gnu-unifont-bitmap-fonts
|
Requires: gnu-unifont-bitmap-fonts
|
||||||
%ifarch %ix86 x86_64 ppc ppc64
|
%ifarch %ix86 x86_64 ppc ppc64
|
||||||
@ -310,7 +313,8 @@ plugin.
|
|||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
#patch11 -p1
|
#patch11 -p1
|
||||||
|
%patch12
|
||||||
|
%patch13
|
||||||
# replace builddate with patch0date
|
# replace builddate with patch0date
|
||||||
sed -i "s/__DATE__/\"$(stat -c %y %{_sourcedir}/%{name}.changes)\"/" src/main.c
|
sed -i "s/__DATE__/\"$(stat -c %y %{_sourcedir}/%{name}.changes)\"/" src/main.c
|
||||||
|
|
||||||
@ -334,7 +338,7 @@ autoreconf -fiv
|
|||||||
--without-gdm-autostart-file \
|
--without-gdm-autostart-file \
|
||||||
--with-release-file=/etc/os-release
|
--with-release-file=/etc/os-release
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
||||||
@ -476,7 +480,7 @@ fi
|
|||||||
%{_localstatedir}/spool/plymouth
|
%{_localstatedir}/spool/plymouth
|
||||||
%{_mandir}/man?/*
|
%{_mandir}/man?/*
|
||||||
%ghost %{_localstatedir}/lib/plymouth/boot-duration
|
%ghost %{_localstatedir}/lib/plymouth/boot-duration
|
||||||
/lib/systemd/system/*
|
%{_unitdir}/*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
Loading…
Reference in New Issue
Block a user