diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-gfx/bootsplash-themes/bootsplash-themes-20060913.ebuild | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-gfx/bootsplash-themes/bootsplash-themes-20060913.ebuild')
-rw-r--r-- | media-gfx/bootsplash-themes/bootsplash-themes-20060913.ebuild | 298 |
1 files changed, 298 insertions, 0 deletions
diff --git a/media-gfx/bootsplash-themes/bootsplash-themes-20060913.ebuild b/media-gfx/bootsplash-themes/bootsplash-themes-20060913.ebuild new file mode 100644 index 000000000000..5ca28482794e --- /dev/null +++ b/media-gfx/bootsplash-themes/bootsplash-themes-20060913.ebuild @@ -0,0 +1,298 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="A collection of Bootsplash themes" +HOMEPAGE="http://dev.gentoo.org/~spock/repos/bootsplash/" +THEME_URI="mirror://gentoo" + +SRC_URI="${THEME_URI}/Theme-73labAllstar.tar.bz2 + ${THEME_URI}/Theme-acKme.tar.bz2 + ${THEME_URI}/Theme-AquaMatrix.tar.bz2 + ${THEME_URI}/Theme-ArchLinux.tar.bz2 + ${THEME_URI}/Theme-ArchPool.tar.bz2 + ${THEME_URI}/Theme-ArchRelief.tar.bz2 + ${THEME_URI}/Theme-Arch.tar.bz2 + ${THEME_URI}/Theme-ASPLinux.tar.bz2 + ${THEME_URI}/Theme-ASP.tar.bz2 + ${THEME_URI}/Theme-AthlonXP.tar.bz2 + ${THEME_URI}/Theme-Ayo.tar.bz2 + ${THEME_URI}/Theme-BabyTux.tar.bz2 + ${THEME_URI}/Theme-Berry.tar.bz2 + ${THEME_URI}/Theme-Black.tar.bz2 + ${THEME_URI}/Theme-Burek.tar.bz2 + ${THEME_URI}/Theme-CaixaMagica.tar.bz2 + ${THEME_URI}/Theme-Cargal.tar.bz2 + ${THEME_URI}/Theme-CCux.tar.bz2 + ${THEME_URI}/Theme-CLEE.tar.bz2 + ${THEME_URI}/Theme-CM.tar.bz2 + ${THEME_URI}/Theme-Compact.tar.bz2 + ${THEME_URI}/Theme-CRUX.tar.bz2 + ${THEME_URI}/Theme-Cybercity.tar.bz2 + ${THEME_URI}/Theme-Cynapses.tar.bz2 + ${THEME_URI}/Theme-DangerGirl.tar.bz2 + ${THEME_URI}/Theme-Dark-0.1.tar.bz2 + ${THEME_URI}/Theme-Dark-2-0.2.tar.bz2 + ${THEME_URI}/Theme-DarkBlue.tar.bz2 + ${THEME_URI}/Theme-DebBlue-Gnome.tar.bz2 + ${THEME_URI}/Theme-DebBlue-Gnoppix.tar.bz2 + ${THEME_URI}/Theme-DebBlue.tar.bz2 + ${THEME_URI}/Theme-Debian2.tar.bz2 + ${THEME_URI}/Theme-Debian3.tar.bz2 + ${THEME_URI}/Theme-Debian-Mist.tar.bz2 + ${THEME_URI}/Theme-Debian-Sarge.tar.bz2 + ${THEME_URI}/Theme-Debian.tar.bz2 + ${THEME_URI}/Theme-Debian-Tux-Gnulinex.tar.bz2 + ${THEME_URI}/Theme-Debian-Tux.tar.bz2 + ${THEME_URI}/Theme-Debian-Wave.tar.bz2 + ${THEME_URI}/Theme-Deflorist.tar.bz2 + ${THEME_URI}/Theme-DimmuBorgir.tar.bz2 + ${THEME_URI}/Theme-Dolphin.tar.bz2 + ${THEME_URI}/Theme-dotf.tar.bz2 + ${THEME_URI}/Theme-Dragon.tar.bz2 + ${THEME_URI}/Theme-ElvinTooka.tar.bz2 + ${THEME_URI}/Theme-Emergance.tar.bz2 + ${THEME_URI}/Theme-Enterprise-spot.tar.bz2 + ${THEME_URI}/Theme-Enterprise.tar.bz2 + ${THEME_URI}/Theme-ERPOSS3.tar.bz2 + ${THEME_URI}/Theme-EvenNewerTux.tar.bz2 + ${THEME_URI}/Theme-FarCry.tar.bz2 + ${THEME_URI}/Theme-FedoraCore2.tar.bz2 + ${THEME_URI}/Theme-Fedora.tar.bz2 + ${THEME_URI}/Theme-Flower.tar.bz2 + ${THEME_URI}/Theme-Freepia.tar.bz2 + ${THEME_URI}/Theme-FrozenBubble.tar.bz2 + ${THEME_URI}/Theme-Frugalware.tar.bz2 + ${THEME_URI}/Theme-Galantine.tar.bz2 + ${THEME_URI}/Theme-GalaxySlack2.tar.bz2 + ${THEME_URI}/Theme-GANT.tar.bz2 + ${THEME_URI}/Theme-GeeXboX-Halloween.tar.bz2 + ${THEME_URI}/Theme-GeeXboX-OMC.tar.bz2 + ${THEME_URI}/Theme-GeeXboX.tar.bz2 + ${THEME_URI}/Theme-GeeXboX-Xmas.tar.bz2 + ${THEME_URI}/Theme-Gentoo-Hornet.tar.bz2 + ${THEME_URI}/Theme-Gentoo-LiveCD-2004.0.tar.bz2 + ${THEME_URI}/Theme-Gentoo-LiveCD-2004.1.tar.bz2 + ${THEME_URI}/Theme-Gentoo-LiveCD-2004.2.tar.bz2 + ${THEME_URI}/Theme-Gentoo-LiveCD-2004.3.tar.bz2 + ${THEME_URI}/Theme-Gentool.tar.bz2 + ${THEME_URI}/Theme-Gentoo.tar.bz2 + ${THEME_URI}/Theme-GNU.tar.bz2 + ${THEME_URI}/Theme-GoGentooGo.tar.bz2 + ${THEME_URI}/Theme-Ignite.tar.bz2 + ${THEME_URI}/Theme-iRu.tar.bz2 + ${THEME_URI}/Theme-Jollix.tar.bz2 + ${THEME_URI}/Theme-Juicy.tar.bz2 + ${THEME_URI}/Theme-Junior.tar.bz2 + ${THEME_URI}/Theme-Kanotix.tar.bz2 + ${THEME_URI}/Theme-Keramik.tar.bz2 + ${THEME_URI}/Theme-KillBillTux-Grey.tar.bz2 + ${THEME_URI}/Theme-KillBillTux-Yellow.tar.bz2 + ${THEME_URI}/Theme-KnoppixKDE.tar.bz2 + ${THEME_URI}/Theme-KnoppixLT.tar.bz2 + ${THEME_URI}/Theme-KnoppMyth.tar.bz2 + ${THEME_URI}/Theme-Konsole.tar.bz2 + ${THEME_URI}/Theme-KuruminOrgBR.tar.bz2 + ${THEME_URI}/Theme-Leopard.tar.bz2 + ${THEME_URI}/Theme-libertnl.tar.bz2 + ${THEME_URI}/Theme-Lila.tar.bz2 + ${THEME_URI}/Theme-Linux.tar.bz2 + ${THEME_URI}/Theme-Lunar.tar.bz2 + ${THEME_URI}/Theme-MaiHoshino.tar.bz2 + ${THEME_URI}/Theme-Mandrake-10.0.tar.bz2 + ${THEME_URI}/Theme-Mandrake-9.2.tar.bz2 + ${THEME_URI}/Theme-Master.tar.bz2 + ${THEME_URI}/Theme-Matrix.tar.bz2 + ${THEME_URI}/Theme-MetallTux.tar.bz2 + ${THEME_URI}/Theme-Metal-Tosh.tar.bz2 + ${THEME_URI}/Theme-Misspingus3.tar.bz2 + ${THEME_URI}/Theme-Misspingus4.tar.bz2 + ${THEME_URI}/Theme-Momonga.tar.bz2 + ${THEME_URI}/Theme-Morphix.tar.bz2 + ${THEME_URI}/Theme-MyLittleTux.tar.bz2 + ${THEME_URI}/Theme-MythTV.tar.bz2 + ${THEME_URI}/Theme-NewFreepia.tar.bz2 + ${THEME_URI}/Theme-NewLinux-Deb.tar.bz2 + ${THEME_URI}/Theme-NewLinux.tar.bz2 + ${THEME_URI}/Theme-NewTux.tar.bz2 + ${THEME_URI}/Theme-NightWorld.tar.bz2 + ${THEME_URI}/Theme-Notes.tar.bz2 + ${THEME_URI}/Theme-OfficeDesktop.tar.bz2 + ${THEME_URI}/Theme-Oneill.tar.bz2 + ${THEME_URI}/Theme-OpenSchool.tar.bz2 + ${THEME_URI}/Theme-OpenXchange.tar.bz2 + ${THEME_URI}/Theme-Pativo.tar.bz2 + ${THEME_URI}/Theme-Pho.tar.bz2 + ${THEME_URI}/Theme-PLF1.tar.bz2 + ${THEME_URI}/Theme-PLF2.tar.bz2 + ${THEME_URI}/Theme-PLF5.tar.bz2 + ${THEME_URI}/Theme-Popcorn.tar.bz2 + ${THEME_URI}/Theme-PowerBook.tar.bz2 + ${THEME_URI}/Theme-Psychotoxic.tar.bz2 + ${THEME_URI}/Theme-Pyro.tar.bz2 + ${THEME_URI}/Theme-QiLinux-LiveCD-1.1.tar.bz2 + ${THEME_URI}/Theme-RadiantStar.tar.bz2 + ${THEME_URI}/Theme-Ratatouille.tar.bz2 + ${THEME_URI}/Theme-Raziel.tar.bz2 + ${THEME_URI}/Theme-Redmond.tar.bz2 + ${THEME_URI}/Theme-RH9.tar.bz2 + ${THEME_URI}/Theme-Rojo.tar.bz2 + ${THEME_URI}/Theme-Rollmops.tar.bz2 + ${THEME_URI}/Theme-Rustenguin.tar.bz2 + ${THEME_URI}/Theme-Shodan.tar.bz2 + ${THEME_URI}/Theme-Slack-3D.tar.bz2 + ${THEME_URI}/Theme-Slack-Black-Tux.tar.bz2 + ${THEME_URI}/Theme-Slack-Blue.tar.bz2 + ${THEME_URI}/Theme-Slack-Glass.tar.bz2 + ${THEME_URI}/Theme-Slack-Gray-B.tar.bz2 + ${THEME_URI}/Theme-Slack-Gray.tar.bz2 + ${THEME_URI}/Theme-Slack.tar.bz2 + ${THEME_URI}/Theme-Slackware2.tar.bz2 + ${THEME_URI}/Theme-SlackwareLinux.tar.bz2 + ${THEME_URI}/Theme-Slackware.tar.bz2 + ${THEME_URI}/Theme-Slide.tar.bz2 + ${THEME_URI}/Theme-SMGL.tar.bz2 + ${THEME_URI}/Theme-Spinner.tar.bz2 + ${THEME_URI}/Theme-Stargate-Tux.tar.bz2 + ${THEME_URI}/Theme-SuSE-7.2.tar.bz2 + ${THEME_URI}/Theme-SuSE-7.3.tar.bz2 + ${THEME_URI}/Theme-SuSE-8.0.tar.bz2 + ${THEME_URI}/Theme-SuSE-8.1.tar.bz2 + ${THEME_URI}/Theme-SuSE-8.2.tar.bz2 + ${THEME_URI}/Theme-SuSE-Home.tar.bz2 + ${THEME_URI}/Theme-SuSE-SLES.tar.bz2 + ${THEME_URI}/Theme-SuSE.tar.bz2 + ${THEME_URI}/Theme-SwirlPool.tar.bz2 + ${THEME_URI}/Theme-ThinkLinux.tar.bz2 + ${THEME_URI}/Theme-TuxInfo-Conectiva.tar.bz2 + ${THEME_URI}/Theme-TuxInfo-Debian.tar.bz2 + ${THEME_URI}/Theme-TuxInfo-Mandrake.tar.bz2 + ${THEME_URI}/Theme-TuxInfo-RedHat.tar.bz2 + ${THEME_URI}/Theme-TuxInfo-Slackware.tar.bz2 + ${THEME_URI}/Theme-TuxInfo-SuSE.tar.bz2 + ${THEME_URI}/Theme-TuxInfo.tar.bz2 + ${THEME_URI}/Theme-TuxNTosh.tar.bz2 + ${THEME_URI}/Theme-TuxSplash.tar.bz2 + ${THEME_URI}/Theme-Ubuntu.tar.bz2 + ${THEME_URI}/Theme-UnitedLinux.tar.bz2 + ${THEME_URI}/Theme-UrbanVisions-Debian.tar.bz2 + ${THEME_URI}/Theme-UrbanVisions-Mandrake.tar.bz2 + ${THEME_URI}/Theme-UrbanVisions-SuSE.tar.bz2 + ${THEME_URI}/Theme-VDR.tar.bz2 + ${THEME_URI}/Theme-Vortex.tar.bz2 + ${THEME_URI}/Theme-WarmAqua.tar.bz2 + ${THEME_URI}/Theme-Warty.tar.bz2" +SLOT="0" +LICENSE="freedist" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +RDEPEND=">=media-gfx/splashutils-1.1.9.6" +DEPEND="net-misc/wget ${RDEPEND}" +S="${WORKDIR}" + +src_unpack() { + unpack ${A} + cd "${S}" + + # clean it up a little, it's supposed to be config files, not scripts + elog "Cleaning up the themes" + find -name *.sh -exec rm -f "{}" \; 2>/dev/null + find -name rc.d -exec rm -rf "{}" \; 2>/dev/null + find -name rc* -exec rm -f "{}" \; 2>/dev/null + find -name 'Slackware 9.1.scripts' -exec rm -rf "{}" \; 2>/dev/null + find -name bootloader -exec rm -rf "{}" \; 2>/dev/null + find -name lilo -exec rm -rf "{}" \; 2>/dev/null + find -name Scripts -exec rm -rf "{}" \; 2>/dev/null + find -name example -exec rm -rf "{}" \; 2>/dev/null + find -name ".xvpics" -exec rm -rf "{}" \; 2>/dev/null + find -name INSTALL -exec rm -f "{}" \; 2>/dev/null + rm -rf "./SuSE-Home/var" + + # backup files? no, thank you. + find -regex '.*~$' -exec rm -f "{}" \; + + # we don't have images for these resolutions + rm -f Mandrake-10.0/config/bootsplash-1600x1200.cfg + rm -f Ayo/config/bootsplash-1600x1200.cfg + + # gentooify all paths + elog "Gentoo-ifying all paths" + for i in `grep "/etc/bootsplash/themes" -lR *` ; do + sed -i 's#/etc/bootsplash/themes#/etc/bootsplash#g' "$i" + done +} + +src_install() { + local mypath + + if has_version "media-gfx/splashutils" ; then + dodir /etc/splash + mypath="/etc/splash" + else + dodir /etc/bootsplash + mypath="/etc/bootsplash" + fi + + cd "${S}" + + if has_version "media-gfx/splashutils" ; then + for i in * ; do + elog "Converting ${i}" + [ -z "$(cd ${i} ; find -regex '.*config/bootsplash-[0-9]+x[0-9]+.cfg')" ] && continue + sed -i "s#/etc/bootsplash#${S}#g" ${i}/config/*.cfg + bootsplash2fbsplash --bootsplash-path "${S}" --fbsplash-path "${D}/etc/splash" "${i}" + sed -i "s#${D}#/#g" "${D}"/etc/splash/${i}/*.cfg + done + + # Add images that might not have been copied by the conversion script + cp Cybercity/images/bootsplash-1024x768.jpg "${D}"/etc/splash/Cybercity/images/verbose-1024x768.jpg + cp OpenSchool/images/bootsplash-800x600.jpg "${D}"/etc/splash/OpenSchool/images/verbose-800x600.jpg + cp OpenSchool/images/bootsplash-1024x768.jpg "${D}"/etc/splash/OpenSchool/images/verbose-1024x768.jpg + cp OpenSchool/images/bootsplash-1280x1024.jpg "${D}"/etc/splash/OpenSchool/images/verbose-1280x1024.jpg + cp OpenSchool/images/bootsplash-1600x1200.jpg "${D}"/etc/splash/OpenSchool/images/verbose-1600x1200.jpg + + # Fix symlinks + for i in "${D}"/etc/splash/*/images/*.{png,jpg} ; do + if [ -L ${i} ]; then + tg=`readlink ${i} | sed -e "s#${D}etc/splash/[^/]*/images/##"` + rm -f ${i} + i=${i/${D}///} + dosym ${tg} ${i} + fi + done + else + mv * "${D}/etc/bootsplash" + fi + + chown -R root:0 "${D}/${mypath}" + chmod -R o-w "${D}/${mypath}" +} + +pkg_postinst() { + elog "The themes provided in this package come directly from bootsplash.de" + elog "with only some very basic fixes applied along the way. Some of them" + elog "might not work properly on your system, some might not support verbose" + elog "or silent mode, or might only support a single resolution." + elog "" + + if has_version "media-gfx/splashutils" ; then + elog "The themes have been automatically converted to a format recognized" + elog "by splashutils. Note that the conversion process is purely automatical" + elog "and therefore 'dumb'. Some themes might not work, or work incorrectly." + elog "If you happen to find a theme that you like, but which doesn't work" + elog "after it has been automatically converted to the new format, please" + elog "fix it manually and submit for inclusion into a generic splashutils" + elog "theme package by posting it on bugzilla (http://bugs.gentoo.org/)" + elog "or sending it directly to the maintainer of this package." + else + elog "When testing the themes, please make sure you're running in a 16bpp" + elog "mode. 16bpp was the only supported color depth in the original bootsplash" + elog "patches. The version of the patch that you happen to be using might" + elog "work with other depths, but only 16bpp is guaranteed to be supported." + elog "" + elog "You might want to use:" + elog " /sbin/splash -s -u 0 /etc/bootsplash/<theme>/config/<configfile>.cfg" + elog "to test the themes. Note, that some of them don't support verbose mode." + fi +} |