nimiux      14/03/13 10:31:40

  Modified:             ChangeLog
  Added:                linux-logo-5.11-r3.ebuild
  Log:
  Fix bug #500782 and #500784
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
D628E536)

Revision  Changes    Path
1.90                 app-misc/linux-logo/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/linux-logo/ChangeLog?rev=1.90&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/linux-logo/ChangeLog?rev=1.90&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/linux-logo/ChangeLog?r1=1.89&r2=1.90

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/linux-logo/ChangeLog,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- ChangeLog   11 Jan 2014 09:37:52 -0000      1.89
+++ ChangeLog   13 Mar 2014 10:31:40 -0000      1.90
@@ -1,6 +1,13 @@
 # ChangeLog for app-misc/linux-logo
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/linux-logo/ChangeLog,v 1.89 
2014/01/11 09:37:52 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/linux-logo/ChangeLog,v 1.90 
2014/03/13 10:31:40 nimiux Exp $
+
+*linux-logo-5.11-r3 (13 Mar 2014)
+
+  13 Mar 2014; Chema Alonso <[email protected]> +linux-logo-5.11-r3.ebuild,
+  files/linux-logo-5.11.conf, +files/gentoo-alt.logo, +files/gentoo-linux.logo,
+  +files/logo-config:
+  Fix bug #500782 and #500784
 
   11 Jan 2014; Pacho Ramos <[email protected]> linux-logo-5.11-r2.ebuild:
   ppc/sparc stable, bug #494578



1.1                  app-misc/linux-logo/linux-logo-5.11-r3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/linux-logo/linux-logo-5.11-r3.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/linux-logo/linux-logo-5.11-r3.ebuild?rev=1.1&content-type=text/plain

Index: linux-logo-5.11-r3.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/app-misc/linux-logo/linux-logo-5.11-r3.ebuild,v 1.1 
2014/03/13 10:31:40 nimiux Exp $

EAPI=5

inherit toolchain-funcs systemd

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 ~ia64 ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="nls"

RDEPEND="nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
        nls? ( sys-devel/gettext )"

src_prepare() {
        cp "${FILESDIR}"/logo-config "${S}/logo_config" || die
        cp "${FILESDIR}"/linux_logo_creator "${S}/" || die
        cp "${FILESDIR}"/linux-logo.service "${S}/" || die
        cp "${FILESDIR}"/gentoo-*.logo "${S}"/logos/ || die

        # Remove warn_unused_result warning
        sed -i -e 's/FILE \*fff;/FILE \*fff;\n   char *stemp;/' \
            -e 's/fgets/stemp=fgets/' "${S}"/load_logo.c || die
}

src_configure() {
        ARCH="" ./configure --prefix="${ED}"/usr || die
}

src_compile() {
        emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)"
}

src_install() {
        emake install

        dodoc BUGS README README.CUSTOM_LOGOS TODO USAGE LINUX_LOGO.FAQ

        dobin "${FILESDIR}"/linux_logo_creator
        newinitd "${FILESDIR}"/${PN}.init.d ${PN}
        newconfd "${FILESDIR}"/${P}.conf ${PN}

        # systemd support
        systemd_newunit "${FILESDIR}/linux-logo.service" "linux-logo.service"
}

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 gentoo"
        elog "To display the second Gentoo logo type: linux_logo -L gentoo-alt"
        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 "or for systemd"
        elog "   systemctl enable linux-logo.service"
        elog "which uses the settings found in"
        elog "   /etc/conf.d/linux-logo"
        echo
}

pkg_prerm() {
        # Restore issue files
        mv /etc/issue.linux-logo.backup /etc/issue 2> /dev/null
        mv /etc/issue.net.linux-logo.backup /etc/issue.net 2> /dev/null
}




Reply via email to