From 82b8957279cc6a9b8c341f81d875a990eda0384a Mon Sep 17 00:00:00 2001 From: Michael Januszewski Date: Fri, 13 Apr 2007 17:59:46 +0000 Subject: [PATCH] Version bump (bug #174450). Package-Manager: portage-2.1.2.3 --- app-misc/linux-logo/ChangeLog | 8 +- .../linux-logo/files/digest-linux-logo-4.16 | 3 + app-misc/linux-logo/linux-logo-4.16.ebuild | 74 +++++++++++++++++++ 3 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 app-misc/linux-logo/files/digest-linux-logo-4.16 create mode 100644 app-misc/linux-logo/linux-logo-4.16.ebuild diff --git a/app-misc/linux-logo/ChangeLog b/app-misc/linux-logo/ChangeLog index 43e77b5f4384..1f10a870641d 100644 --- a/app-misc/linux-logo/ChangeLog +++ b/app-misc/linux-logo/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/linux-logo # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/linux-logo/ChangeLog,v 1.42 2007/02/02 17:30:54 spock Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/linux-logo/ChangeLog,v 1.43 2007/04/13 17:59:46 spock Exp $ + +*linux-logo-4.16 (13 Apr 2007) + + 13 Apr 2007; Michał Januszewski + +linux-logo-4.16.ebuild: + Version bump (bug #174450). 02 Feb 2007; Michał Januszewski -linux-logo-4.13.ebuild, -linux-logo-4.14.ebuild: diff --git a/app-misc/linux-logo/files/digest-linux-logo-4.16 b/app-misc/linux-logo/files/digest-linux-logo-4.16 new file mode 100644 index 000000000000..de86458c508e --- /dev/null +++ b/app-misc/linux-logo/files/digest-linux-logo-4.16 @@ -0,0 +1,3 @@ +MD5 854429725a1ec35d93cde575ae173efe linux_logo-4.16.tar.gz 93821 +RMD160 52e84ef96d5d2ee8d66cf37cf36de36d61e7a4f7 linux_logo-4.16.tar.gz 93821 +SHA256 0f9097e61497097ff3dd8251dce4795bb1384d7feb938effb473ceb751ae13a3 linux_logo-4.16.tar.gz 93821 diff --git a/app-misc/linux-logo/linux-logo-4.16.ebuild b/app-misc/linux-logo/linux-logo-4.16.ebuild new file mode 100644 index 000000000000..17a4c96dab0b --- /dev/null +++ b/app-misc/linux-logo/linux-logo-4.16.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/linux-logo/linux-logo-4.16.ebuild,v 1.1 2007/04/13 17:59:46 spock Exp $ + +inherit eutils + +MY_P=${PN/-/_}-${PV} +S=${WORKDIR}/${MY_P} +DESCRIPTION="A utility that displays an ANSI/ASCII logo and some system information" +HOMEPAGE="http://www.deater.net/weave/vmwprod/linux_logo/" +SRC_URI="http://www.deater.net/weave/vmwprod/linux_logo/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~mips ~ppc ~sparc ~x86" +IUSE="nls" + +RDEPEND="nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd "${S}" + echo "./logos/gentoo.logo" >> logo_config + cp "${FILESDIR}"/gentoo.logo "${S}"/logos/ + + epatch "${FILESDIR}"/${PN}-4.07-gentoo-logo.patch + sed -i -e 's:.*Trying to open .*::' linux_logo.c + + if ! use nls ; then + sed -i 's:cd po && $(MAKE):echo:' Makefile + fi + + sed -i \ + -e '/C_OPTS/s: -O2 : $(CFLAGS) :' \ + -e '/@strip/d' \ + Makefile || die + gunzip linux_logo.1.gz || die +} + +src_compile() { + emake || die +} + +src_install() { + dobin linux_logo || die + doman linux_logo.1 + + dodoc BUGS CHANGES README README.CUSTOM_LOGOS TODO USAGE LINUX_LOGO.FAQ + + if use nls ; then + dodir /usr/share/locale + make INSTALLDIR="${D}"/usr/share/locale -C po install || die + fi + + newinitd "${FILESDIR}"/${PN}.initscript ${PN} + newconfd "${FILESDIR}"/${PN}.conf ${PN} +} + +pkg_postinst() { + echo + elog "Linux_logo ebuild for Gentoo comes with two Gentoo logos." + elog "" + elog "To display the first Gentoo logo type: linux_logo -L 3" + elog "To display the second Gentoo logo type: linux_logo -L 4" + elog "To display all the logos available type: linux_logo -L list." + elog "" + elog "To start linux_logo on boot, please type:" + elog " rc-update add linux-logo default" + elog "which uses the settings found in" + elog " /etc/conf.d/linux-logo" + echo +} -- 2.26.2