summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-09-14 22:48:06 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-09-14 22:48:06 +0000
commit62ec210f7866c6e46862d22ca9f419c942504e9b (patch)
treefd4a6a54cfd08397d1610fae9a0ab28c0db44010 /media-gfx/splash-themes-livecd
parentStable on amd64 wrt bug #189349 (diff)
downloadgentoo-2-62ec210f7866c6e46862d22ca9f419c942504e9b.tar.gz
gentoo-2-62ec210f7866c6e46862d22ca9f419c942504e9b.tar.bz2
gentoo-2-62ec210f7866c6e46862d22ca9f419c942504e9b.zip
Added a patch from Michal Januszewski <spock@gentoo.org> to fix an icon cycling issue. This closes bug #182065.
(Portage version: 2.1.3.7)
Diffstat (limited to 'media-gfx/splash-themes-livecd')
-rw-r--r--media-gfx/splash-themes-livecd/ChangeLog10
-rw-r--r--media-gfx/splash-themes-livecd/files/digest-splash-themes-livecd-2007.0-r13
-rw-r--r--media-gfx/splash-themes-livecd/files/splash-themes-livecd-2007.0-rounding.patch12
-rw-r--r--media-gfx/splash-themes-livecd/splash-themes-livecd-2007.0-r1.ebuild42
4 files changed, 66 insertions, 1 deletions
diff --git a/media-gfx/splash-themes-livecd/ChangeLog b/media-gfx/splash-themes-livecd/ChangeLog
index 7fd083284970..4ac9184fc627 100644
--- a/media-gfx/splash-themes-livecd/ChangeLog
+++ b/media-gfx/splash-themes-livecd/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-gfx/splash-themes-livecd
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/splash-themes-livecd/ChangeLog,v 1.15 2007/08/15 10:01:40 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/splash-themes-livecd/ChangeLog,v 1.16 2007/09/14 22:48:06 wolf31o2 Exp $
+
+*splash-themes-livecd-2007.0-r1 (14 Sep 2007)
+
+ 14 Sep 2007; Chris Gianelloni <wolf31o2@gentoo.org>
+ +files/splash-themes-livecd-2007.0-rounding.patch,
+ +splash-themes-livecd-2007.0-r1.ebuild:
+ Added a patch from Michal Januszewski <spock@gentoo.org> to fix an icon
+ cycling issue. This closes bug #182065.
15 Aug 2007; Matthias Schwarzott <zzam@gentoo.org>
splash-themes-livecd-2005.0.ebuild, splash-themes-livecd-2005.1.ebuild,
diff --git a/media-gfx/splash-themes-livecd/files/digest-splash-themes-livecd-2007.0-r1 b/media-gfx/splash-themes-livecd/files/digest-splash-themes-livecd-2007.0-r1
new file mode 100644
index 000000000000..2a2dc08c5909
--- /dev/null
+++ b/media-gfx/splash-themes-livecd/files/digest-splash-themes-livecd-2007.0-r1
@@ -0,0 +1,3 @@
+MD5 983c853d5a13c76cc6e4b7d4c4afcee0 gentoo-livecd-2007.0-0.9.5.tar.bz2 4760038
+RMD160 abba1801ede06a4a6d707f591a2525f641105c4d gentoo-livecd-2007.0-0.9.5.tar.bz2 4760038
+SHA256 58b6ef88458996dddd47567cbc6b1fb4ffe2c4cd5ff0f637b3b3155cd936ae4b gentoo-livecd-2007.0-0.9.5.tar.bz2 4760038
diff --git a/media-gfx/splash-themes-livecd/files/splash-themes-livecd-2007.0-rounding.patch b/media-gfx/splash-themes-livecd/files/splash-themes-livecd-2007.0-rounding.patch
new file mode 100644
index 000000000000..9239d37d551e
--- /dev/null
+++ b/media-gfx/splash-themes-livecd/files/splash-themes-livecd-2007.0-rounding.patch
@@ -0,0 +1,12 @@
+diff -Naurp gentoo-livecd-2007.0-orig/scripts/rc_init-pre gentoo-livecd-2007.0/scripts/rc_init-pre
+--- gentoo-livecd-2007.0-orig/scripts/rc_init-pre 2007-09-08 11:43:00.000000000 +0200
++++ gentoo-livecd-2007.0/scripts/rc_init-pre 2007-09-08 11:43:17.000000000 +0200
+@@ -89,7 +89,7 @@ fi
+ P_RESOLUTION="$($C_FBRES)"
+ if [ -n "${P_RESOLUTION}" -a -n "${P_ICONW}" -a -n "${P_ICONH}" ]; then
+ P_ICONX="$(($((${P_RESOLUTION%x*} / 2)) - $((${P_ICONW} / 2))))"
+- P_ICONY="$(echo "" | awk "{f=${P_RESOLUTION#*x};ih=${P_ICONH};print ((f/2)+((f/2)-(ih/3))/2)}")"
++ P_ICONY="$(echo "" | awk "{f=${P_RESOLUTION#*x};ih=${P_ICONH};print int((f/2)+((f/2)-(ih/3))/2)}")"
+ else
+ log err "failed to configure resolution and icon positioning"
+ exit "${E_RESOLUTION}"
diff --git a/media-gfx/splash-themes-livecd/splash-themes-livecd-2007.0-r1.ebuild b/media-gfx/splash-themes-livecd/splash-themes-livecd-2007.0-r1.ebuild
new file mode 100644
index 000000000000..fc2abad71b7c
--- /dev/null
+++ b/media-gfx/splash-themes-livecd/splash-themes-livecd-2007.0-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/splash-themes-livecd/splash-themes-livecd-2007.0-r1.ebuild,v 1.1 2007/09/14 22:48:06 wolf31o2 Exp $
+
+inherit eutils
+
+MY_P="gentoo-livecd-${PV}"
+MY_REV="0.9.5"
+DESCRIPTION="Gentoo theme for gensplash consoles"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI="http://dev.gentoo.org/~wolf31o2/sources/${PN}/${MY_P}-${MY_REV}.tar.bz2"
+
+SLOT=${PV}
+LICENSE="GPL-2"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+RESTRICT="binchecks strip"
+
+DEPEND=">=media-gfx/splashutils-1.4.1"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if ! built_with_use media-gfx/splashutils mng
+ then
+ ewarn "MNG support is missing from splashutils. You will not see the"
+ ewarn "service icons as services are starting."
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i -e 's-/sbin/functions.sh-/etc/init.d/functions.sh-' \
+ scripts/rc_init-pre
+ epatch "${FILESDIR}"/${P}-rounding.patch
+}
+
+src_install() {
+ dodir /etc/splash/livecd-${PV}
+ cp -r ${S}/* ${D}/etc/splash/livecd-${PV}
+}