parent
de81c8f67b
commit
033ce81baf
@ -0,0 +1 @@
|
||||
DIST plymouth-0.9.4.tar.xz 1103496 BLAKE2B abad2cefb89e9d17b77113396d7203090544759b3dd7f73f67153d9f126db28e5366d36aa11e2335566bf4046bebd50d8d9dd47c75634446fb3a0314cd458925 SHA512 83eb2de7e6d0980e9f7fa4e0b0f20c46a8238051d84bc38dbbb5dfa438e41c1a39846dcd652374256d9f1fe79967b154a3576cd9c433ef816b6c962be2d31e93
|
@ -0,0 +1,45 @@
|
||||
From f8d7813b32dfe129d1e5718719ee3eff131f4fac Mon Sep 17 00:00:00 2001
|
||||
From: Kjell Claesson <kjell.claesson@epost.tidanet.se>
|
||||
Date: Fri, 18 Aug 2017 00:25:56 +0200
|
||||
Subject: [PATCH] Fix build with newer glibc
|
||||
|
||||
Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org>
|
||||
---
|
||||
configure.ac | 1 +
|
||||
src/libply-splash-core/ply-terminal.c | 8 ++++++++
|
||||
2 files changed, 9 insertions(+)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index c32697f..8376789 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -5,6 +5,7 @@ AC_CONFIG_AUX_DIR(build-tools)
|
||||
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
AC_SYS_LARGEFILE
|
||||
+AC_HEADER_MAJOR
|
||||
AC_PROG_AWK
|
||||
AC_PROG_CC_STDC
|
||||
AM_PROG_CC_C_O
|
||||
diff --git a/src/libply-splash-core/ply-terminal.c b/src/libply-splash-core/ply-terminal.c
|
||||
index a0954f2..ef62bf8 100644
|
||||
--- a/src/libply-splash-core/ply-terminal.c
|
||||
+++ b/src/libply-splash-core/ply-terminal.c
|
||||
@@ -36,6 +36,14 @@
|
||||
#include <unistd.h>
|
||||
#include <wchar.h>
|
||||
|
||||
+/* major()/minor() */
|
||||
+#ifdef MAJOR_IN_MKDEV
|
||||
+# include <sys/mkdev.h>
|
||||
+#endif
|
||||
+#ifdef MAJOR_IN_SYSMACROS
|
||||
+# include <sys/sysmacros.h>
|
||||
+#endif
|
||||
+
|
||||
#include <linux/kd.h>
|
||||
#include <linux/major.h>
|
||||
#include <linux/vt.h>
|
||||
--
|
||||
2.14.1
|
||||
|
@ -0,0 +1,15 @@
|
||||
[Plymouth Theme]
|
||||
Name=Calculate
|
||||
Description=Simple theme that shows progressbar, image and text
|
||||
ModuleName=calculate
|
||||
|
||||
[calculate]
|
||||
ImageDir=/usr/share/plymouth/themes/calculate
|
||||
BackgroundStartColor=0x000000
|
||||
BackgroundEndColor=0x000000
|
||||
ProgressbarColor=0xcdc481
|
||||
BootImage=/usr/share/plymouth/themes/calculate/boot
|
||||
ShutdownImage=/usr/share/plymouth/themes/calculate/shutdown
|
||||
ShutdownText=Shutdown...
|
||||
ShutdownFont=DroidSand 30
|
||||
ShutdownTextColor=0xaaaaaa
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,113 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
MY_P=plymouth-${PV}
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://anongit.freedesktop.org/git/plymouth"
|
||||
else
|
||||
SRC_URI="${SRC_URI} https://www.freedesktop.org/software/plymouth/releases/${MY_P}.tar.xz"
|
||||
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
|
||||
fi
|
||||
|
||||
inherit autotools readme.gentoo-r1 systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="Calculate plugin for plymouth"
|
||||
HOMEPAGE="https://www.calculate-linux.org"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="
|
||||
>=media-libs/libpng-1.2.16:=
|
||||
dev-libs/glib:2
|
||||
>=x11-libs/gtk+-3.14:3
|
||||
x11-libs/cairo
|
||||
x11-libs/libdrm[libkms]
|
||||
>=x11-libs/pango-1.21
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
~sys-boot/plymouth-0.9.4
|
||||
virtual/udev
|
||||
!<sys-kernel/dracut-0.37-r3
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/0.9.3-glibc-sysmacros.patch
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
cp ${FILESDIR}/plugin.c ${S}/src/plugins/splash/throbgress
|
||||
sed -i 's/throbgress/calculate/g' ${S}/src/plugins/splash/throbgress/Makefile.*
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--with-system-root-install=no
|
||||
--localstatedir=/var
|
||||
--without-rhgb-compat-link
|
||||
--enable-documentation
|
||||
--enable-systemd-integration
|
||||
--with-systemdunitdir="$(systemd_get_systemunitdir)"
|
||||
--enable-drm
|
||||
--enable-gtk
|
||||
--enable-pango
|
||||
--enable-shared
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd src/libply
|
||||
emake
|
||||
cd ../libply-splash-core
|
||||
emake
|
||||
cd ../libply-splash-graphics
|
||||
emake
|
||||
cd ../plugins/splash/throbgress
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd ${S}/src/plugins/splash/throbgress
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
cd ${S}/themes/spinfinity
|
||||
|
||||
insinto /usr/share/plymouth/themes/calculate
|
||||
doins box.png bullet.png entry.png lock.png
|
||||
doins ${FILESDIR}/calculate.plymouth
|
||||
|
||||
#insinto /usr/share/plymouth
|
||||
#newins "${DISTDIR}"/gentoo-logo.png bizcom.png
|
||||
|
||||
#if use split-usr ; then
|
||||
# # Install compatibility symlinks as some rdeps hardcode the paths
|
||||
# dosym ../usr/bin/plymouth /bin/plymouth
|
||||
# dosym ../usr/sbin/plymouth-set-default-theme /sbin/plymouth-set-default-theme
|
||||
# dosym ../usr/sbin/plymouthd /sbin/plymouthd
|
||||
#fi
|
||||
|
||||
#readme.gentoo_create_doc
|
||||
|
||||
## looks like make install create /var/run/plymouth
|
||||
## this is not needed for systemd, same should hold for openrc
|
||||
## so remove
|
||||
#rm -rf "${D}"/var/run
|
||||
}
|
Loading…
Reference in new issue